forked from amp-letter/amp-letter.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
executable file
·123 lines (108 loc) · 1.72 KB
/
style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
html, body {
margin: 0;
color: #222;
font-size: 1em;
line-height: 1.4;
font-family: Helvetica Neue, Helvetica, sans-serif;
font-size: 18px;
}
::-moz-selection {
background: #b3d4fc;
text-shadow: none;
}
::selection {
background: #b3d4fc;
text-shadow: none;
}
hr {
display: block;
height: 1px;
border: 0;
border-top: 1px solid #ccc;
margin: 1em 0;
padding: 0;
}
header {
text-align: center;
padding: 1em 0;
background: #1D0F30;
margin: 0 0 3em 0;
}
main {
margin: 2em 0;
}
.main-logo {
width: 100px;
height: 100px;
}
h1 {
font-weight: normal;
color: white;
}
.container {
margin: 1em auto;
padding: 0 1em;
max-width: 900px;
}
h2 {
text-transform: uppercase;
font-size: 14px;
}
a {
color: #3c6dbb;
}
html *[lang] { display: none; }
html[lang=en] *[lang=en],
html[lang=es] *[lang=es],
html[lang=fr] *[lang=fr],
html[lang=ja] *[lang=ja] {
display: block
}
.note {
font-style: italic;
font-size: 80%;
margin: 0.5em 0;
}
.signatories {
list-style-type: none;
padding: 0;
}
.smaller-text {
font-size: 80%;
}
.signatories li {
display: inline;
}
.signatories li::after {
content: ', ';
}
.signatories li:last-of-type::after {
content: '';
}
.lang-switcher {
background: #eee;
padding: 1em;
text-align: center;
}
.lang-switcher h2 {
display: inline;
padding: 0;
margin: 0;
}
.lang-switcher ul {
display: inline;
padding: 0;
list-style-type: none;
}
.lang-switcher li {
display: inline-block;
margin-left: 0.7em;
}
html[lang=en] .lang-switcher li [data-langswitch='en'],
html[lang=es] .lang-switcher li [data-langswitch='es'],
html[lang=fr] .lang-switcher li [data-langswitch='fr'],
html[lang=ja] .lang-switcher li [data-langswitch='ja'] {
color: inherit;
text-decoration: inherit;
pointer-events: none;
}