Skip to content

Commit

Permalink
Merge pull request #83 from openameba/feat/license
Browse files Browse the repository at this point in the history
feat: ライセンス表記を追加
  • Loading branch information
masuP9 authored Jun 10, 2020
2 parents d21153d + fd996fd commit 7b56087
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 3 deletions.
9 changes: 8 additions & 1 deletion layouts/partials/footer.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
<footer class="Footer">
<div class="Container">
<div class="Footer__License License">
<p>この文書は、<a href="https://openfresh.github.io/a11y-guidelines/">FRESH! LIVE Accessibility Guidelines</a>を元に、<a href="https://www.w3.org/TR/WCAG21/">Web Content Accessibility Guidelines(WCAG)2.1</a>の内容を簡易的に翻訳し加筆修正したものである。ウェブアクセシビリティ基盤委員会(WAIC)による<a href="https://waic.jp/docs/WCAG21/">WCAG 2.1翻訳文書</a>を併せて参考にしている。</p>
<p>この文書は<a rel="license" href="http://creativecommons.org/licenses/by/4.0/">クリエイティブ・コモンズ表示 4.0 国際ライセンス</a>の下に提供されている。</p>
<a class="License__Anchor" rel="license" href="http://creativecommons.org/licenses/by/4.0/">
<img alt="クリエイティブ・コモンズ・ライセンス" src="https://i.creativecommons.org/l/by/4.0/88x31.png" />
</a>
</div>
<small class="Footer__Credit">
Copyright © CyberAgent, Inc. All Rights Reserved.
Copyright © 2017 CyberAgent, Inc. All Rights Reserved.
<a href="https://www.cyberagent.co.jp/">
<img src="/a11y-guidelines/img/cyberagent.png" alt="CyberAgent" width="113" height="20">
</a>
Expand Down
5 changes: 3 additions & 2 deletions src/styles/common/footer.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
.Footer {
border-top: solid 1px var(--clr-silver);
margin-top: 30px;
padding: 2.4rem 0 2rem;
padding: 3.2rem 0;
color: var(--clr-darkgray);
font-size: 1rem;
}

.Footer a {
.Footer__Credit a {
color: inherit;
margin-left: 16px;
line-height: 1;
Expand All @@ -23,4 +23,5 @@
display: flex;
justify-content: flex-end;
align-items: center;
margin-top: 2.8rem;
}
1 change: 1 addition & 0 deletions src/styles/common/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@
@import "./footer.css";
@import "./header.css";
@import "./label.css";
@import "./license.css";
@import "./figure.css";
@import "./rule_label.css";
12 changes: 12 additions & 0 deletions src/styles/common/license.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
.License p {
font-size: 1.2rem;
margin-top: 1.6rem;
}

.License p:first-child {
margin-top: 0;
}

.License__Anchor {
display: block;
}

0 comments on commit 7b56087

Please sign in to comment.