jekyll-theme-tufte 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/LICENSE.txt +24 -0
- data/README.md +81 -0
- data/_config.yml +18 -0
- data/_includes/footer.html +11 -0
- data/_includes/head.html +25 -0
- data/_includes/header.html +33 -0
- data/_includes/print-footer.html +1 -0
- data/_layouts/blog.html +30 -0
- data/_layouts/default.html +12 -0
- data/_layouts/page-hero.html +8 -0
- data/_layouts/page.html +8 -0
- data/_layouts/post.html +12 -0
- data/_sass/_extras.scss +362 -0
- data/_sass/_settings.scss +16 -0
- data/_sass/_site-style.scss +1 -0
- data/_sass/_style_base16.monokai.dark.css +81 -0
- data/_sass/_style_github.css +221 -0
- data/_sass/_syntax-highlighting.scss +11 -0
- data/_sass/_tufte.scss +447 -0
- data/assets/css/fonts-et-book.css +38 -0
- data/assets/css/fonts-lato.css +92 -0
- data/assets/css/latex.scss +21 -0
- data/assets/css/main.scss +14 -0
- data/assets/fonts/et-book/et-book-bold-line-figures/et-book-bold-line-figures.woff +0 -0
- data/assets/fonts/et-book/et-book-display-italic-old-style-figures/et-book-display-italic-old-style-figures.woff +0 -0
- data/assets/fonts/et-book/et-book-roman-line-figures/et-book-roman-line-figures.woff +0 -0
- data/assets/fonts/et-book/et-book-roman-old-style-figures/et-book-roman-old-style-figures.woff +0 -0
- data/assets/fonts/et-book/et-book-semi-bold-old-style-figures/et-book-semi-bold-old-style-figures.woff +0 -0
- data/assets/fonts/lato-latin/LatoLatin-Black.woff2 +0 -0
- data/assets/fonts/lato-latin/LatoLatin-BlackItalic.woff2 +0 -0
- data/assets/fonts/lato-latin/LatoLatin-Bold.woff2 +0 -0
- data/assets/fonts/lato-latin/LatoLatin-BoldItalic.woff2 +0 -0
- data/assets/fonts/lato-latin/LatoLatin-Heavy.woff2 +0 -0
- data/assets/fonts/lato-latin/LatoLatin-HeavyItalic.woff2 +0 -0
- data/assets/fonts/lato-latin/LatoLatin-Italic.woff2 +0 -0
- data/assets/fonts/lato-latin/LatoLatin-Light.woff2 +0 -0
- data/assets/fonts/lato-latin/LatoLatin-LightItalic.woff2 +0 -0
- data/assets/fonts/lato-latin/LatoLatin-Medium.woff2 +0 -0
- data/assets/fonts/lato-latin/LatoLatin-MediumItalic.woff2 +0 -0
- data/assets/fonts/lato-latin/LatoLatin-Regular.woff2 +0 -0
- data/assets/fonts/lato-latin/LatoLatin-Thin.woff2 +0 -0
- data/assets/fonts/lato-latin/LatoLatin-ThinItalic.woff2 +0 -0
- data/assets/fonts/lato-latin/OFL.txt +94 -0
- data/blog/index.md +5 -0
- data/lib/jekyll-theme-tufte/epigraph.rb +59 -0
- data/lib/jekyll-theme-tufte/fullwidth.rb +36 -0
- data/lib/jekyll-theme-tufte/main_column_img.rb +36 -0
- data/lib/jekyll-theme-tufte/margin_figure.rb +44 -0
- data/lib/jekyll-theme-tufte/marginnote.rb +27 -0
- data/lib/jekyll-theme-tufte/mathjaxtag.rb +27 -0
- data/lib/jekyll-theme-tufte/newthought.rb +32 -0
- data/lib/jekyll-theme-tufte/sidenote.rb +27 -0
- data/lib/jekyll-theme-tufte.rb +10 -0
- metadata +154 -0
data/_sass/_tufte.scss
ADDED
|
@@ -0,0 +1,447 @@
|
|
|
1
|
+
@charset "UTF-8";
|
|
2
|
+
|
|
3
|
+
/* Tufte CSS styles */
|
|
4
|
+
html {
|
|
5
|
+
font-size: 15px;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
body {
|
|
9
|
+
width: 87.5%;
|
|
10
|
+
margin-left: auto;
|
|
11
|
+
margin-right: auto;
|
|
12
|
+
padding-left: 12.5%;
|
|
13
|
+
font-family: et-book, Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Georgia, serif;
|
|
14
|
+
background-color: #fffff8;
|
|
15
|
+
color: #111;
|
|
16
|
+
max-width: 1400px;
|
|
17
|
+
counter-reset: sidenote-counter;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
/* Adds dark mode */
|
|
21
|
+
@media (prefers-color-scheme: dark) {
|
|
22
|
+
body {
|
|
23
|
+
background-color: #151515;
|
|
24
|
+
color: #ddd;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
h1 {
|
|
29
|
+
font-weight: 400;
|
|
30
|
+
margin-top: 4rem;
|
|
31
|
+
margin-bottom: 1.5rem;
|
|
32
|
+
font-size: 3.2rem;
|
|
33
|
+
line-height: 1;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
h2 {
|
|
37
|
+
font-style: italic;
|
|
38
|
+
font-weight: 400;
|
|
39
|
+
margin-top: 2.1rem;
|
|
40
|
+
margin-bottom: 1.4rem;
|
|
41
|
+
font-size: 2.2rem;
|
|
42
|
+
line-height: 1;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
h3 {
|
|
46
|
+
font-style: italic;
|
|
47
|
+
font-weight: 400;
|
|
48
|
+
font-size: 1.7rem;
|
|
49
|
+
margin-top: 2rem;
|
|
50
|
+
margin-bottom: 1.4rem;
|
|
51
|
+
line-height: 1;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
hr {
|
|
55
|
+
display: block;
|
|
56
|
+
height: 1px;
|
|
57
|
+
width: 55%;
|
|
58
|
+
border: 0;
|
|
59
|
+
border-top: 1px solid #ccc;
|
|
60
|
+
margin: 1em 0;
|
|
61
|
+
padding: 0;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
p.subtitle {
|
|
65
|
+
font-style: italic;
|
|
66
|
+
margin-top: 1rem;
|
|
67
|
+
margin-bottom: 1rem;
|
|
68
|
+
font-size: 1.8rem;
|
|
69
|
+
display: block;
|
|
70
|
+
line-height: 1;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.numeral {
|
|
74
|
+
font-family: et-book-roman-old-style;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.danger {
|
|
78
|
+
color: red;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
article {
|
|
82
|
+
padding: 5rem 0rem;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
section {
|
|
86
|
+
padding-top: 1rem;
|
|
87
|
+
padding-bottom: 1rem;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
p,
|
|
91
|
+
dl,
|
|
92
|
+
ol,
|
|
93
|
+
ul {
|
|
94
|
+
font-size: 1.4rem;
|
|
95
|
+
line-height: 2rem;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
p {
|
|
99
|
+
margin-top: 1.4rem;
|
|
100
|
+
margin-bottom: 1.4rem;
|
|
101
|
+
padding-right: 0;
|
|
102
|
+
vertical-align: baseline;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
/* Chapter Epigraphs */
|
|
106
|
+
div.epigraph {
|
|
107
|
+
margin: 5em 0;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
div.epigraph > blockquote {
|
|
111
|
+
margin-top: 3em;
|
|
112
|
+
margin-bottom: 3em;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
div.epigraph > blockquote,
|
|
116
|
+
div.epigraph > blockquote > p {
|
|
117
|
+
font-style: italic;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
div.epigraph > blockquote > footer {
|
|
121
|
+
font-style: normal;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
div.epigraph > blockquote > footer > cite {
|
|
125
|
+
font-style: italic;
|
|
126
|
+
}
|
|
127
|
+
/* end chapter epigraphs styles */
|
|
128
|
+
|
|
129
|
+
blockquote {
|
|
130
|
+
font-size: 1.4rem;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
blockquote p {
|
|
134
|
+
width: 55%;
|
|
135
|
+
margin-right: 40px;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
blockquote footer {
|
|
139
|
+
width: 55%;
|
|
140
|
+
font-size: 1.1rem;
|
|
141
|
+
text-align: right;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
section > p,
|
|
145
|
+
section > footer,
|
|
146
|
+
section > table {
|
|
147
|
+
width: 55%;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
/* 50 + 5 == 55, to be the same width as paragraph */
|
|
151
|
+
section > dl,
|
|
152
|
+
section > ol,
|
|
153
|
+
section > ul {
|
|
154
|
+
width: 50%;
|
|
155
|
+
-webkit-padding-start: 5%;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
dt:not(:first-child),
|
|
159
|
+
li:not(:first-child) {
|
|
160
|
+
margin-top: 0.25rem;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
figure {
|
|
164
|
+
padding: 0;
|
|
165
|
+
border: 0;
|
|
166
|
+
font-size: 100%;
|
|
167
|
+
font: inherit;
|
|
168
|
+
vertical-align: baseline;
|
|
169
|
+
max-width: 55%;
|
|
170
|
+
-webkit-margin-start: 0;
|
|
171
|
+
-webkit-margin-end: 0;
|
|
172
|
+
margin: 0 0 3em 0;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
figcaption {
|
|
176
|
+
float: right;
|
|
177
|
+
clear: right;
|
|
178
|
+
margin-top: 0;
|
|
179
|
+
margin-bottom: 0;
|
|
180
|
+
font-size: 1.1rem;
|
|
181
|
+
line-height: 1.6;
|
|
182
|
+
vertical-align: baseline;
|
|
183
|
+
position: relative;
|
|
184
|
+
max-width: 40%;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
figure.fullwidth figcaption {
|
|
188
|
+
margin-right: 24%;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
/* Links: replicate underline that clears descenders */
|
|
192
|
+
a:link,
|
|
193
|
+
a:visited {
|
|
194
|
+
color: inherit;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.no-tufte-underline:link {
|
|
198
|
+
background: unset;
|
|
199
|
+
text-shadow: unset;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
a:link, .tufte-underline, .hover-tufte-underline:hover {
|
|
203
|
+
text-decoration: none;
|
|
204
|
+
background: -webkit-linear-gradient(#fffff8, #fffff8), -webkit-linear-gradient(#fffff8, #fffff8), -webkit-linear-gradient(currentColor, currentColor);
|
|
205
|
+
background: linear-gradient(#fffff8, #fffff8), linear-gradient(#fffff8, #fffff8), linear-gradient(currentColor, currentColor);
|
|
206
|
+
-webkit-background-size: 0.05em 1px, 0.05em 1px, 1px 1px;
|
|
207
|
+
-moz-background-size: 0.05em 1px, 0.05em 1px, 1px 1px;
|
|
208
|
+
background-size: 0.05em 1px, 0.05em 1px, 1px 1px;
|
|
209
|
+
background-repeat: no-repeat, no-repeat, repeat-x;
|
|
210
|
+
text-shadow: 0.03em 0 #fffff8, -0.03em 0 #fffff8, 0 0.03em #fffff8, 0 -0.03em #fffff8, 0.06em 0 #fffff8, -0.06em 0 #fffff8, 0.09em 0 #fffff8, -0.09em 0 #fffff8, 0.12em 0 #fffff8, -0.12em 0 #fffff8, 0.15em 0 #fffff8, -0.15em 0 #fffff8;
|
|
211
|
+
background-position: 0% 93%, 100% 93%, 0% 93%;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
@media screen and (-webkit-min-device-pixel-ratio: 0) {
|
|
215
|
+
a:link, .tufte-underline, .hover-tufte-underline:hover {
|
|
216
|
+
background-position-y: 87%, 87%, 87%;
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
/* Adds dark mode */
|
|
221
|
+
@media (prefers-color-scheme: dark) {
|
|
222
|
+
a:link, .tufte-underline, .hover-tufte-underline:hover {
|
|
223
|
+
text-shadow: 0.03em 0 #151515, -0.03em 0 #151515, 0 0.03em #151515, 0 -0.03em #151515, 0.06em 0 #151515, -0.06em 0 #151515, 0.09em 0 #151515, -0.09em 0 #151515, 0.12em 0 #151515, -0.12em 0 #151515, 0.15em 0 #151515, -0.15em 0 #151515;
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
a:link::selection,
|
|
228
|
+
a:link::-moz-selection {
|
|
229
|
+
text-shadow: 0.03em 0 #b4d5fe, -0.03em 0 #b4d5fe, 0 0.03em #b4d5fe, 0 -0.03em #b4d5fe, 0.06em 0 #b4d5fe, -0.06em 0 #b4d5fe, 0.09em 0 #b4d5fe, -0.09em 0 #b4d5fe, 0.12em 0 #b4d5fe, -0.12em 0 #b4d5fe, 0.15em 0 #b4d5fe, -0.15em 0 #b4d5fe;
|
|
230
|
+
background: #b4d5fe;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
/* Sidenotes, margin notes, figures, captions */
|
|
234
|
+
img {
|
|
235
|
+
max-width: 100%;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
.sidenote,
|
|
239
|
+
.marginnote {
|
|
240
|
+
float: right;
|
|
241
|
+
clear: right;
|
|
242
|
+
margin-right: -60%;
|
|
243
|
+
width: 50%;
|
|
244
|
+
margin-top: 0.3rem;
|
|
245
|
+
margin-bottom: 0;
|
|
246
|
+
font-size: 1.1rem;
|
|
247
|
+
line-height: 1.3;
|
|
248
|
+
vertical-align: baseline;
|
|
249
|
+
position: relative;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
.sidenote-number {
|
|
253
|
+
counter-increment: sidenote-counter;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
.sidenote-number:after,
|
|
257
|
+
.sidenote:before {
|
|
258
|
+
font-family: et-book-roman-old-style;
|
|
259
|
+
position: relative;
|
|
260
|
+
vertical-align: baseline;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
.sidenote-number:after {
|
|
264
|
+
content: counter(sidenote-counter);
|
|
265
|
+
font-size: 1rem;
|
|
266
|
+
top: -0.5rem;
|
|
267
|
+
left: 0.1rem;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
.sidenote:before {
|
|
271
|
+
content: counter(sidenote-counter) " ";
|
|
272
|
+
font-size: 1rem;
|
|
273
|
+
top: -0.5rem;
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
blockquote .sidenote,
|
|
277
|
+
blockquote .marginnote {
|
|
278
|
+
margin-right: -82%;
|
|
279
|
+
min-width: 59%;
|
|
280
|
+
text-align: left;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
div.fullwidth,
|
|
284
|
+
table.fullwidth {
|
|
285
|
+
width: 100%;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
div.table-wrapper {
|
|
289
|
+
overflow-x: auto;
|
|
290
|
+
font-family: "Trebuchet MS", "Gill Sans", "Gill Sans MT", sans-serif;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
.sans {
|
|
294
|
+
font-family: "Gill Sans", "Gill Sans MT", Calibri, sans-serif;
|
|
295
|
+
letter-spacing: .03em;
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
code, pre > code {
|
|
299
|
+
font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
|
|
300
|
+
font-size: 1.0rem;
|
|
301
|
+
line-height: 1.42;
|
|
302
|
+
-webkit-text-size-adjust: 100%; /* Prevent adjustments of font size after orientation changes in iOS. See https://github.com/edwardtufte/tufte-css/issues/81#issuecomment-261953409 */
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
.sans > code {
|
|
306
|
+
font-size: 1.2rem;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
h1 > code,
|
|
310
|
+
h2 > code,
|
|
311
|
+
h3 > code {
|
|
312
|
+
font-size: 0.80em;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
.marginnote > code,
|
|
316
|
+
.sidenote > code {
|
|
317
|
+
font-size: 1rem;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
pre > code {
|
|
321
|
+
font-size: 0.9rem;
|
|
322
|
+
width: 52.5%;
|
|
323
|
+
margin-left: 2.5%;
|
|
324
|
+
overflow-x: auto;
|
|
325
|
+
display: block;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
pre.fullwidth > code {
|
|
329
|
+
width: 90%;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
.fullwidth {
|
|
333
|
+
max-width: 90%;
|
|
334
|
+
clear:both;
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
span.newthought {
|
|
338
|
+
font-variant: small-caps;
|
|
339
|
+
font-size: 1.2em;
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
input.margin-toggle {
|
|
343
|
+
display: none;
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
label.sidenote-number {
|
|
347
|
+
display: inline-block;
|
|
348
|
+
max-height: 2rem; /* should be less than or equal to paragraph line-height */
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
label.margin-toggle:not(.sidenote-number) {
|
|
352
|
+
display: none;
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
.iframe-wrapper {
|
|
356
|
+
position: relative;
|
|
357
|
+
padding-bottom: 56.25%; /* 16:9 */
|
|
358
|
+
padding-top: 25px;
|
|
359
|
+
height: 0;
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
.iframe-wrapper iframe {
|
|
363
|
+
position: absolute;
|
|
364
|
+
top: 0;
|
|
365
|
+
left: 0;
|
|
366
|
+
width: 100%;
|
|
367
|
+
height: 100%;
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
@media (max-width: 760px) {
|
|
371
|
+
body {
|
|
372
|
+
width: 84%;
|
|
373
|
+
padding-left: 8%;
|
|
374
|
+
padding-right: 8%;
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
hr,
|
|
378
|
+
section > p,
|
|
379
|
+
section > footer,
|
|
380
|
+
section > table {
|
|
381
|
+
width: 100%;
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
pre > code {
|
|
385
|
+
width: 97%;
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
section > dl,
|
|
389
|
+
section > ol,
|
|
390
|
+
section > ul {
|
|
391
|
+
width: 90%;
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
figure {
|
|
395
|
+
max-width: 90%;
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
figcaption,
|
|
399
|
+
figure.fullwidth figcaption {
|
|
400
|
+
margin-right: 0%;
|
|
401
|
+
max-width: none;
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
blockquote {
|
|
405
|
+
margin-left: 1.5em;
|
|
406
|
+
margin-right: 0em;
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
blockquote p,
|
|
410
|
+
blockquote footer {
|
|
411
|
+
width: 100%;
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
label.margin-toggle:not(.sidenote-number) {
|
|
415
|
+
display: inline;
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
.sidenote,
|
|
419
|
+
.marginnote {
|
|
420
|
+
display: none;
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
.margin-toggle:checked + .sidenote,
|
|
424
|
+
.margin-toggle:checked + .marginnote {
|
|
425
|
+
display: block;
|
|
426
|
+
float: left;
|
|
427
|
+
left: 1rem;
|
|
428
|
+
clear: both;
|
|
429
|
+
width: 95%;
|
|
430
|
+
margin: 1rem 2.5%;
|
|
431
|
+
vertical-align: baseline;
|
|
432
|
+
position: relative;
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
label {
|
|
436
|
+
cursor: pointer;
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
div.table-wrapper,
|
|
440
|
+
table {
|
|
441
|
+
width: 85%;
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
img {
|
|
445
|
+
width: 100%;
|
|
446
|
+
}
|
|
447
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/* Import ET Book styles
|
|
2
|
+
adapted from https://github.com/edwardtufte/et-book/blob/gh-pages/et-book.css */
|
|
3
|
+
|
|
4
|
+
@font-face {
|
|
5
|
+
font-family: "et-book";
|
|
6
|
+
src: url("../fonts/et-book/et-book-roman-line-figures/et-book-roman-line-figures.woff") format("woff");
|
|
7
|
+
font-weight: normal;
|
|
8
|
+
font-style: normal;
|
|
9
|
+
font-display: block;
|
|
10
|
+
text-rendering: optimizeLegibility;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
@font-face {
|
|
14
|
+
font-family: "et-book";
|
|
15
|
+
src: url("../fonts/et-book/et-book-display-italic-old-style-figures/et-book-display-italic-old-style-figures.woff") format("woff");
|
|
16
|
+
font-weight: normal;
|
|
17
|
+
font-style: italic;
|
|
18
|
+
font-display: block;
|
|
19
|
+
text-rendering: optimizeLegibility;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
@font-face {
|
|
23
|
+
font-family: "et-book";
|
|
24
|
+
src: url("../fonts/et-book/et-book-bold-line-figures/et-book-bold-line-figures.woff") format("woff");
|
|
25
|
+
font-weight: bold;
|
|
26
|
+
font-style: normal;
|
|
27
|
+
font-display: block;
|
|
28
|
+
text-rendering: optimizeLegibility;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
@font-face {
|
|
32
|
+
font-family: "et-book-roman-old-style";
|
|
33
|
+
src: url("../fonts/et-book/et-book-roman-old-style-figures/et-book-roman-old-style-figures.woff") format("woff");
|
|
34
|
+
font-weight: normal;
|
|
35
|
+
font-style: normal;
|
|
36
|
+
font-display: block;
|
|
37
|
+
text-rendering: optimizeLegibility;
|
|
38
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
/* The .woff2 format is supported by Chrome 26+, Opera 23+, Firefox 39+ */
|
|
2
|
+
|
|
3
|
+
/* lato-100 - latin */
|
|
4
|
+
@font-face {
|
|
5
|
+
font-family: 'Lato';
|
|
6
|
+
font-style: normal;
|
|
7
|
+
font-weight: 100;
|
|
8
|
+
src: local('Lato Thin'),
|
|
9
|
+
url('../fonts/LatoLatin-Thin.woff2') format('woff2');
|
|
10
|
+
text-rendering: optimizeLegibility;
|
|
11
|
+
}
|
|
12
|
+
/* lato-100italic - latin */
|
|
13
|
+
@font-face {
|
|
14
|
+
font-family: 'Lato';
|
|
15
|
+
font-style: italic;
|
|
16
|
+
font-weight: 100;
|
|
17
|
+
src: local('Lato Thin Italic'),
|
|
18
|
+
url('../fonts/LatoLatin-ThinItalic.woff2') format('woff2');
|
|
19
|
+
text-rendering: optimizeLegibility;
|
|
20
|
+
}
|
|
21
|
+
/* lato-300 - latin */
|
|
22
|
+
@font-face {
|
|
23
|
+
font-family: 'Lato';
|
|
24
|
+
font-style: normal;
|
|
25
|
+
font-weight: 300;
|
|
26
|
+
src: local('Lato Light'),
|
|
27
|
+
url('../fonts/LatoLatin-Light.woff2') format('woff2');
|
|
28
|
+
text-rendering: optimizeLegibility;
|
|
29
|
+
}
|
|
30
|
+
/* lato-300italic - latin */
|
|
31
|
+
@font-face {
|
|
32
|
+
font-family: 'Lato';
|
|
33
|
+
font-style: italic;
|
|
34
|
+
font-weight: 300;
|
|
35
|
+
src: local('Lato Light Italic'),
|
|
36
|
+
url('../fonts/LatoLatin-LightItalic.woff2') format('woff2');
|
|
37
|
+
text-rendering: optimizeLegibility;
|
|
38
|
+
}
|
|
39
|
+
/* lato-regular - latin */
|
|
40
|
+
@font-face {
|
|
41
|
+
font-family: 'Lato';
|
|
42
|
+
font-style: normal;
|
|
43
|
+
font-weight: 400;
|
|
44
|
+
src: local('Lato Regular'),
|
|
45
|
+
url('../fonts/LatoLatin-Regular.woff2') format('woff2');
|
|
46
|
+
text-rendering: optimizeLegibility;
|
|
47
|
+
}
|
|
48
|
+
/* lato-italic - latin */
|
|
49
|
+
@font-face {
|
|
50
|
+
font-family: 'Lato';
|
|
51
|
+
font-style: italic;
|
|
52
|
+
font-weight: 400;
|
|
53
|
+
src: local('Lato Italic'),
|
|
54
|
+
url('../fonts/LatoLatin-Italic.woff2') format('woff2');
|
|
55
|
+
text-rendering: optimizeLegibility;
|
|
56
|
+
}
|
|
57
|
+
/* lato-700 - latin */
|
|
58
|
+
@font-face {
|
|
59
|
+
font-family: 'Lato';
|
|
60
|
+
font-style: normal;
|
|
61
|
+
font-weight: 700;
|
|
62
|
+
src: local('Lato Bold'),
|
|
63
|
+
url('../fonts/LatoLatin-Bold.woff2') format('woff2');
|
|
64
|
+
text-rendering: optimizeLegibility;
|
|
65
|
+
}
|
|
66
|
+
/* lato-700italic - latin */
|
|
67
|
+
@font-face {
|
|
68
|
+
font-family: 'Lato';
|
|
69
|
+
font-style: italic;
|
|
70
|
+
font-weight: 700;
|
|
71
|
+
src: local('Lato Bold Italic'),
|
|
72
|
+
url('../fonts/LatoLatin-BoldItalic.woff2') format('woff2');
|
|
73
|
+
text-rendering: optimizeLegibility;
|
|
74
|
+
}
|
|
75
|
+
/* lato-900 - latin */
|
|
76
|
+
@font-face {
|
|
77
|
+
font-family: 'Lato';
|
|
78
|
+
font-style: normal;
|
|
79
|
+
font-weight: 900;
|
|
80
|
+
src: local('Lato Black'),
|
|
81
|
+
url('../fonts/LatoLatin-Black.woff2') format('woff2');
|
|
82
|
+
text-rendering: optimizeLegibility;
|
|
83
|
+
}
|
|
84
|
+
/* lato-900italic - latin */
|
|
85
|
+
@font-face {
|
|
86
|
+
font-family: 'Lato';
|
|
87
|
+
font-style: italic;
|
|
88
|
+
font-weight: 900;
|
|
89
|
+
src: local('Lato Black Italic'),
|
|
90
|
+
url('../fonts/LatoLatin-BlackItalic.woff2') format('woff2');
|
|
91
|
+
text-rendering: optimizeLegibility;
|
|
92
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
---
|
|
2
|
+
|
|
3
|
+
---
|
|
4
|
+
.latex-sub, .latex-sup { text-transform: uppercase;
|
|
5
|
+
font-size: smaller;
|
|
6
|
+
position: relative; }
|
|
7
|
+
|
|
8
|
+
.latex-sub { top: 0.2rem;
|
|
9
|
+
margin-left: -0.1667rem;
|
|
10
|
+
margin-right: -0.125rem; }
|
|
11
|
+
|
|
12
|
+
.latex-sup { top: -0.2rem;
|
|
13
|
+
margin-left: -0.36rem;
|
|
14
|
+
margin-right: -0.15rem;
|
|
15
|
+
text-shadow: none; }
|
|
16
|
+
|
|
17
|
+
.latex::selection, .latex span:not(.latex-sup)::selection { text-shadow: 0.03em 0 #b4d5fe, -0.03em 0 #b4d5fe, 0 0.03em #b4d5fe, 0 -0.03em #b4d5fe, 0.06em 0 #b4d5fe, -0.06em 0 #b4d5fe, 0.09em 0 #b4d5fe, -0.09em 0 #b4d5fe, 0.12em 0 #b4d5fe, -0.12em 0 #b4d5fe, 0.15em 0 #b4d5fe, -0.15em 0 #b4d5fe;
|
|
18
|
+
background: #b4d5fe; }
|
|
19
|
+
|
|
20
|
+
.latex::-moz-selection, .latex span:not(.latex-sup)::-moz-selection { text-shadow: 0.03em 0 #b4d5fe, -0.03em 0 #b4d5fe, 0 0.03em #b4d5fe, 0 -0.03em #b4d5fe, 0.06em 0 #b4d5fe, -0.06em 0 #b4d5fe, 0.09em 0 #b4d5fe, -0.09em 0 #b4d5fe, 0.12em 0 #b4d5fe, -0.12em 0 #b4d5fe, 0.15em 0 #b4d5fe, -0.15em 0 #b4d5fe;
|
|
21
|
+
background: #b4d5fe; }
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
data/assets/fonts/et-book/et-book-roman-old-style-figures/et-book-roman-old-style-figures.woff
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|