-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
236 lines (200 loc) · 3.5 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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
@import url(https://fonts.googleapis.com/css?family=Roboto:400,500,700,300,100);
* {
box-sizing: border-box;
}
body {
font-family: "Roboto", helvetica, arial, sans-serif;
margin: 0;
padding: 0;
min-height: 100%;
}
#background {
height: 100%;
width: 100%;
position: fixed;
/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#545454+2,818181+100 */
background: rgb(84, 84, 84); /* Old browsers */
background: -moz-linear-gradient(
45deg,
rgba(84, 84, 84, 1) 2%,
rgba(129, 129, 129, 1) 100%
); /* FF3.6-15 */
background: -webkit-linear-gradient(
45deg,
rgba(84, 84, 84, 1) 2%,
rgba(129, 129, 129, 1) 100%
); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(
45deg,
rgba(84, 84, 84, 1) 2%,
rgba(129, 129, 129, 1) 100%
); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#545454', endColorstr='#818181',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}
nav {
position: fixed;
width: 13em;
text-align: center;
height: 100%;
background-color: rgba(0, 0, 0, 0.3);
overflow: auto;
}
nav h1 {
color: white;
background: rgba(0, 0, 0, 0.2);
padding: 1.3em 0;
margin: 0;
}
#tabs ol a,
nav h3,
nav h3 a {
display: block;
padding: 0.5em;
padding-left: 2em;
text-decoration: none;
color: white;
}
nav h3,
nav h3 a {
text-align: left;
margin: 0;
padding: 0;
}
nav h3 {
padding: 0.6em;
margin-top: 0.9em;
}
#tabs ol,
#tabs {
list-style-type: none;
margin: 0;
margin-bottom: 1.5em;
padding: 0;
text-align: left;
}
#tabs ol li a:hover,
nav ol li a.selected {
background: rgba(255, 255, 255, 0.1);
color: #ffffff;
}
.hiddenTab {
display: none;
}
.banner {
max-width: 100%;
margin: 0;
padding: 0;
}
.selected {
background: rgba(255, 255, 255, 0.2);
color: #ffffff;
}
.preview {
min-height: 15rem;
max-width: 100%;
margin: 0.5em 0;
}
.clickable {
cursor: pointer;
}
#content {
position: absolute;
right: 0;
left: 13em;
min-width: 20em;
background-color: #f5f5f5; /* light grey */
padding-bottom: 10rem;
}
#content article {
max-width: 50em;
margin: 0 auto;
}
#content h1 {
font-size: 2em;
}
#content p {
font-size: 1.1em;
}
#content > section > p {
max-width: 35em;
}
#content pre,
#content details > p {
background: rgba(84, 84, 84, 0.2);
padding: 1em;
}
#content details > summary {
cursor: pointer;
margin: 0.5em;
}
.bullet-table {
width: 100%;
font-weight: bold;
}
.bullet-table td {
padding: 0.5em 2rem;
}
.links {
list-style-type: none;
padding: 0;
margin-bottom: 0;
font-size: 1.1em;
}
.links li {
margin-top: 0.5em;
}
.logos a {
height: 8rem;
display: inline-block;
margin: 0.5rem 1.5rem 0.5rem 0;
}
.logos a img {
height: 100%;
margin: auto;
}
.logos .wide {
width: 18rem;
}
.logos li {
display: inline-block;
}
.circle {
border-radius: 50%;
}
h1,
h2,
h3 {
margin: 0 0 0.2em 0;
color: rgba(0, 0, 0, 0.6);
}
#content h2 {
margin-top: 1em;
}
article > h1 > a {
color: inherit;
text-decoration: none;
}
/* Navigate to slightly above anchors in article titles */
article > h1 > a:before {
content: "";
display: block;
position: relative;
width: 0;
height: 10rem;
}
@media screen and (max-width: 800px) {
article > h1 > a:before {
height: 0rem;
}
#content article {
padding: 1em;
}
#content {
width: 100%;
right: 0;
padding-top: 0;
}
.logos {
text-align: center;
}
}