Skip to content

Commit 7b56087

Browse files
authored
Merge pull request #83 from openameba/feat/license
feat: ライセンス表記を追加
2 parents d21153d + fd996fd commit 7b56087

File tree

4 files changed

+24
-3
lines changed

4 files changed

+24
-3
lines changed

layouts/partials/footer.html

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
11
<footer class="Footer">
22
<div class="Container">
3+
<div class="Footer__License License">
4+
<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>
5+
<p>この文書は<a rel="license" href="http://creativecommons.org/licenses/by/4.0/">クリエイティブ・コモンズ表示 4.0 国際ライセンス</a>の下に提供されている。</p>
6+
<a class="License__Anchor" rel="license" href="http://creativecommons.org/licenses/by/4.0/">
7+
<img alt="クリエイティブ・コモンズ・ライセンス" src="https://i.creativecommons.org/l/by/4.0/88x31.png" />
8+
</a>
9+
</div>
310
<small class="Footer__Credit">
4-
Copyright © CyberAgent, Inc. All Rights Reserved.
11+
Copyright © 2017 CyberAgent, Inc. All Rights Reserved.
512
<a href="https://www.cyberagent.co.jp/">
613
<img src="/a11y-guidelines/img/cyberagent.png" alt="CyberAgent" width="113" height="20">
714
</a>

src/styles/common/footer.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
.Footer {
55
border-top: solid 1px var(--clr-silver);
66
margin-top: 30px;
7-
padding: 2.4rem 0 2rem;
7+
padding: 3.2rem 0;
88
color: var(--clr-darkgray);
99
font-size: 1rem;
1010
}
1111

12-
.Footer a {
12+
.Footer__Credit a {
1313
color: inherit;
1414
margin-left: 16px;
1515
line-height: 1;
@@ -23,4 +23,5 @@
2323
display: flex;
2424
justify-content: flex-end;
2525
align-items: center;
26+
margin-top: 2.8rem;
2627
}

src/styles/common/index.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@
88
@import "./footer.css";
99
@import "./header.css";
1010
@import "./label.css";
11+
@import "./license.css";
1112
@import "./figure.css";
1213
@import "./rule_label.css";

src/styles/common/license.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
.License p {
2+
font-size: 1.2rem;
3+
margin-top: 1.6rem;
4+
}
5+
6+
.License p:first-child {
7+
margin-top: 0;
8+
}
9+
10+
.License__Anchor {
11+
display: block;
12+
}

0 commit comments

Comments
 (0)