-
Notifications
You must be signed in to change notification settings - Fork 3
/
style.sass
300 lines (240 loc) · 4.87 KB
/
style.sass
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
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
---
---
@font-face
font-family: 'Vollkorn'
font-style: normal
font-weight: 400
font-display: swap
src: url(fonts/vollkorn-regular.woff2) format('woff2')
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD
@font-face
font-family: 'Vollkorn'
font-style: italic
font-weight: 400
font-display: swap
src: url(fonts/vollkorn-italic.woff2) format('woff2')
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD
@font-face
font-family: 'Vollkorn'
font-style: normal
font-weight: 700
font-display: swap
src: url(fonts/vollkorn-regular.woff2) format('woff2')
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD
@font-face
font-family: 'Vollkorn'
font-style: italic
font-weight: 700
font-display: swap
src: url(fonts/vollkorn-italic.woff2) format('woff2')
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD
body
margin: 0
padding: 0 2em
border-top: 1em solid #333
background: #f9f9f5 url(img/background.png)
color: #333
font: 110%/1.35 Vollkorn, serif
@media all and (max-width: 52em)
padding: 0
@media all and (max-width: 39em)
font-size: 100%
ul, ol
margin: 1em 0 0 0
padding: 0 1.25em
li
margin: 0.5em 0 0 0
&:first-child
margin: 0
#languages-and-books
position: absolute
top: 2em
left: 1em
width: 250px
> p:first-child
margin: 0 0 1em 0
h3, .h3
margin: 1em 0 0 0
ul,
li ul,
li ol
margin: 0.2em 0 0 0
padding: 0 1.15em
li,
li ul li,
li ol li
margin: 0
@media all and (max-width: 80em)
position: static
display: inline-block
padding: 1em 0
border-bottom: 1px solid #ccc
margin-bottom: 0.75em
background-color: #f9f9f5
width: 100%
box-sizing: border-box
ul
padding: 0
li
list-style-type: none
display: inline-block
margin-left: 0.65em
&:first-child
margin-left: 0
@media all and (max-width: 52em)
padding: 1em
#wrapper
background: #f9f9f5 url(img/mesh-top.png) right top no-repeat
max-width: 32em
margin: 0 auto
border: 0.5em solid #edede8
border-width: 0 0.5em
padding: 5em 5em 3em 5em
@media all and (max-width: 52em)
padding: 1em
@media all and (max-width: 39em)
border: 0
li ul,
li ol
list-style-type: disc
h1, h2, h3, h4,
.h1, .h2, .h3, .h4
color: black
h1, h2,
.h1, .h2
font-weight: normal
h1, .h1
font-size: 140%
line-height: 1.25
margin: 1em 0 0 0
border-top: 1px solid #777
padding-top: 0.9em
.small
font-size: 90%
margin-left: 1em
&.headline
font-size: 300%
line-height: 1
margin: 0 0 0.75em 0
border: 0
padding: 0
@media all and (max-width: 52em)
font-size: 225%
margin-bottom: 0
em
font-size: 65%
margin-left: 0
h2, .h2
font-size: 117%
line-height: 1.25
margin: 0 0 0.75em 0
padding-top: 1.25em
h1 + h2,
h1 + .h2,
.h1 + h2,
.h1 + .h2
padding-top: 1em
h3, .h3
margin: 1em 0 0 0
font-weight: bold
font-size: 100%
line-height: 1.25
p
margin: 1em 0 0 0
/* <a> */
.back-to-top
display: block
margin-top: 1em
text-align: right
font-size: 85%
blockquote
margin: 1em 2.25em 1em 1em
text-align: right
p
margin: 0 0 0.25em 0
border-left: 0.25em solid #333
padding-left: 1em
font-style: italic
text-align: left
font-size: 110%
#table-of-contents ul
margin: 0
li
margin: 0
a:link
color: #733
a:visited
color: #666
a:hover
color: #a33
a:active
color: black
h1, h2,
.h1, .h2
a:link, a:visited, a:hover, a:active
color: black
text-decoration: none
a:hover::before
content: "¶"
font-size: 90%
position: absolute
width: 1em
margin-left: -1.5em
text-align: right
#mesh-bottom
display: block
margin: 1em 0 -3em -5em
max-width: 100%
height: auto
@media all and (max-width: 52em)
margin-left: -1em
margin-bottom: -1em
.print-only
display: none
.error
font-weight: bold
color: #933
.ok
font-weight: bold
color: #393
.code
background-color: #edede8
border: 1px solid #bbb
padding: 0 0.25em
border-radius: 0.25em
@media print
@page
margin: 1.5cm 2.7cm
body
margin: 0
border: 0
padding: 0
background: transparent
color: black
#wrapper
padding: 0
max-width: none
#languages-and-books,
#mesh-bottom,
.back-to-top
display: none
h1, .h1
margin-bottom: 0
.print-only
display: block
h1, h2, h3, .h1, .h2, .h3, blockquote
page-break-inside: avoid
h1, h2, h3, .h1, .h2, .h3
page-break-after: avoid
h1, h2, h3, .h1, .h2, .h3, p
orphans: 3
widows: 3
a:link,
a:visited,
a:hover,
a:active
color: black
a[href^="http"]::after
content: "[" attr(href) "]"
display: inline-block
margin-left: 0.2em