-
Notifications
You must be signed in to change notification settings - Fork 0
/
theme.css
489 lines (411 loc) · 9.95 KB
/
theme.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
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
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
/**
* A simple theme for reveal.js presentations, similar
* to the default theme. The accent color is darkblue.
*
* This theme is Copyright (C) 2022 Jason Manuel, https://jason-manuel.com. Based on the Paradigm theme in Google Docs.
* Copyright (C) 2012 Owen Versteeg, https://github.com/StereotypicalApps. It is MIT licensed.
* reveal.js is Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
*/
@import url(https://unpkg.com/primer/build/build.css);
@import url(https://fonts.googleapis.com/css?family=News+Cycle:400,700);
@import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
section.has-dark-background, section.has-dark-background h1, section.has-dark-background h2, section.has-dark-background h3, section.has-dark-background h4, section.has-dark-background h5, section.has-dark-background h6 {
color: #fff;
}
/*********************************************
* GLOBAL STYLES
*********************************************/
:root {
--r-background-color: #24292e;
--r-main-font: inherit;
--r-main-font-size: 36px;
--r-main-color: #000;
--r-block-margin: 20px;
--r-heading-margin: 0 0 20px 0;
--r-heading-font: inherit;
--r-heading-color: #000;
--r-heading-line-height: 1.2;
--r-heading-letter-spacing: normal;
--r-heading-text-transform: none;
--r-heading-text-shadow: none;
--r-heading-font-weight: normal;
--r-heading1-text-shadow: none;
--r-heading1-size: 2.50em;
--r-heading2-size: 1.75em;
--r-heading3-size: 1.55em;
--r-heading4-size: 1em;
--r-code-font: monospace;
--r-link-color: #fff;
--r-link-color-dark: rgb(83, 155, 245);
--r-link-color-hover: #71b7ff;
--r-link-color-hover-dark: #0366d6;
}
.slide-background {
background: linear-gradient(165deg, #fff 60%, var(--r-background-color) 60%);
}
.slide-background.title-and-body {
background: linear-gradient(to right, #0000 45%, #fff 45%),
linear-gradient(165deg, #0000 59.5%, #444d56 59.5% 60.5%, #0000 60.5%),
linear-gradient(to right, var(--r-background-color) 45%, #fff 45%);
}
.slide-background.one-column-text {
background: linear-gradient(to right, var(--r-background-color) 42.5%, #fff 42.5%);;
}
.slide-background.main-point {
background: #444d56;
}
.reveal {
font-family: var(--r-main-font);
font-size: var(--r-main-font-size);
font-weight: normal;
color: var(--r-main-color);
}
.reveal .slides {
text-align: left;
}
.reveal .slides section,
.reveal .slides section > section {
line-height: 1.3;
font-weight: inherit;
}
/*********************************************
* HEADERS
*********************************************/
.reveal h1,
.reveal h2,
.reveal h3,
.reveal h4,
.reveal h5,
.reveal h6 {
margin: var(--r-heading-margin);
color: var(--r-heading-color);
font-family: var(--r-heading-font);
font-weight: var(--r-heading-font-weight);
line-height: var(--r-heading-line-height);
letter-spacing: var(--r-heading-letter-spacing);
text-transform: var(--r-heading-text-transform);
text-shadow: var(--r-heading-text-shadow);
word-wrap: break-word;
}
.reveal h1 {
font-size: var(--r-heading1-size);
grid-column-start: 2;
grid-column-end: -1;
grid-row-start: 1;
grid-row-end: 3;
align-self: center;
justify-self: start;
}
.reveal h2 {
font-size: var(--r-heading2-size);
color: #fff;
grid-column: 1 / 9;
grid-row: 1 / 3;
align-self: start;
justify-self: start;
}
.one-column-text h2 {
grid-column: 1 / 8;
}
.main-point h2 {
align-self: center;
}
.pdf-page h2 {
grid-column-start: 2;
}
.pdf-page pre {
margin-right: 8px !important;
}
.pdf-page .main-point h2 {
grid-column-start: 2 !important;
}
.reveal .left {
color: #fff;
grid-column: 1 / 9;
grid-row: 3 / -1;
align-self: center;
justify-self: start;
}
.pdf-page .left {
grid-column-start: 2;
grid-row-start: 4;
}
.pdf-page .left img {
margin: 0;
}
.reveal .slides>section.main-point h2, .reveal .pdf-page>section.main-point h2, .reveal .slides>section.main-point>section h2 {
grid-row: 2 / 6;
grid-column: 1 / 15;
}
.reveal h3 {
font-size: var(--r-heading3-size);
}
.reveal h4 {
font-size: var(--r-heading4-size);
}
.reveal h1 {
text-shadow: var(--r-heading1-text-shadow);
}
/*********************************************
* OTHER
*********************************************/
.reveal .slides>section, .reveal .slides>section>section {
display: grid !important;
grid-template-columns: repeat(20, 1fr);
grid-template-rows: repeat(6, 1fr);
height: 100%;
}
html.print-pdf .reveal .slides section {
display: grid !important;
grid-template-columns: repeat(20, 1fr);
grid-template-rows: repeat(6, 1fr);
height: 100%;
left: unset !important;
top: unset !important;
}
.reveal .slides>section .body, .reveal .pdf-page>section .body, .reveal .slides>section>section .body {
grid-column: 11 / -1;
grid-row: 1 / -1;
}
.reveal .slides>section.one-column-text .body, .reveal .pdf-page>section.one-column-text .body, .reveal .slides>section.one-column-text>section .body {
grid-column-end: 8;
grid-row: 3 / -1;
color: #fff;
}
.reveal .slides>section.one-column-text .body, .reveal .slides>section.one-column-text>section .body {
grid-column-start: 1;
}
.reveal .pdf-page>section.one-column-text .body {
grid-column-start: 2;
}
.reveal .slides>section.one-column-text .column-2, .reveal .pdf-page>section.one-column-text .column-2, .reveal .slides>section.one-column-text>section .column-2 {
grid-column: 10 / -1;
grid-row: 1 / -1;
}
.subtitle {
grid-column: 2 / 9;
grid-row: 3 / 4;
align-self: start;
justify-self: start;
}
.reveal p {
line-height: 1.3;
}
/* Remove trailing margins after titles */
.reveal h1:last-child,
.reveal h2:last-child,
.reveal h3:last-child,
.reveal h4:last-child,
.reveal h5:last-child,
.reveal h6:last-child {
margin-bottom: 0;
}
/* Ensure certain elements are never larger than the slide itself */
.reveal img,
.reveal video,
.reveal iframe {
max-width: 95%;
max-height: 95%;
}
.reveal strong,
.reveal b {
font-weight: bold;
}
.reveal em {
font-style: italic;
}
.reveal ol,
.reveal dl,
.reveal ul {
display: inline-block;
text-align: left;
margin: 0 0 0 1em;
}
.reveal ol {
list-style-type: decimal;
}
.reveal ul {
list-style-type: disc;
}
.reveal ul ul {
list-style-type: circle;
}
.reveal ul ul ul {
list-style-type: square;
}
.reveal ul ul ul ul {
list-style-type: disc;
}
.reveal ul ul ul ul ul {
list-style-type: circle;
}
.reveal ul ul ul ul ul ul {
list-style-type: square;
}
.reveal ul ul,
.reveal ul ol,
.reveal ol ol,
.reveal ol ul {
display: block;
margin-left: 40px;
font-size: calc(11/13 * var(--r-main-font-size));
}
.reveal dt {
font-weight: bold;
}
.reveal dd {
margin-left: 40px;
}
.reveal blockquote {
display: block;
position: relative;
margin: var(--r-block-margin) auto;
padding: 5px;
font-style: italic;
background: rgba(255, 255, 255, 0.05);
box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
}
.reveal blockquote p:first-child,
.reveal blockquote p:last-child {
display: inline-block;
}
.reveal q {
font-style: italic;
}
.reveal pre {
display: block;
position: relative;
margin: var(--r-block-margin) auto;
text-align: left;
font-size: var(--r-main-font-size);
font-family: var(--r-code-font);
line-height: 1.2em;
word-wrap: break-word;
box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.15);
}
.reveal code {
font-size: var(--r-main-font-size);
font-family: var(--r-code-font);
text-transform: none;
tab-size: 2;
}
.reveal pre code {
display: block;
padding: 5px;
max-height: 400px;
word-wrap: normal;
background: var(--r-background-color);
}
.reveal .code-wrapper {
white-space: normal;
}
.reveal .code-wrapper code {
white-space: pre-wrap;
}
.reveal table {
margin: auto;
border-collapse: collapse;
border-spacing: 0;
}
.reveal table th {
font-weight: bold;
}
.reveal table th,
.reveal table td {
text-align: left;
padding: 0.2em 0.5em 0.2em 0.5em;
border-bottom: 1px solid;
}
.reveal table th[align=center],
.reveal table td[align=center] {
text-align: center;
}
.reveal table th[align=right],
.reveal table td[align=right] {
text-align: right;
}
.reveal table tbody tr:last-child th,
.reveal table tbody tr:last-child td {
border-bottom: none;
}
.reveal sup {
vertical-align: super;
font-size: smaller;
}
.reveal sub {
vertical-align: sub;
font-size: smaller;
}
.reveal small {
display: inline-block;
font-size: 0.6em;
line-height: 1.2em;
vertical-align: top;
}
.reveal small * {
vertical-align: top;
}
.reveal img {
margin: var(--r-block-margin) 0;
}
.reveal figure {
margin: 0;
}
/*********************************************
* LINKS
*********************************************/
.reveal a {
color: var(--r-link-color);
text-decoration: underline;
transition: color 0.15s ease;
}
.reveal a.on-light-background {
color: var(--r-link-color-dark);
}
.reveal a:hover {
color: var(--r-link-color-hover);
text-shadow: none;
border: none;
}
.reveal a:hover.on-light-background {
color: var(--r-link-color-hover-dark);
}
.reveal .roll span:after {
color: #fff;
background: var(--r-link-color-dark);
}
/*********************************************
* Frame helper
*********************************************/
.reveal .r-frame {
border: 4px solid var(--r-main-color);
box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}
.reveal a .r-frame {
transition: all 0.15s linear;
}
.reveal a:hover .r-frame {
border-color: var(--r-link-color);
box-shadow: 0 0 20px rgba(0, 0, 0, 0.55);
}
/*********************************************
* NAVIGATION CONTROLS
*********************************************/
.reveal .controls {
color: var(--r-link-color);
}
/*********************************************
* PROGRESS BAR
*********************************************/
.reveal .progress {
background: rgba(0, 0, 0, 0.2);
color: var(--r-link-color);
}
/*********************************************
* PRINT BACKGROUND
*********************************************/
@media print {
.backgrounds {
background-color: var(--r-background-color);
}
}