rshow 0.0.0-stage → 0.0.2
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.
- package/LICENSE +21 -0
- package/README.md +50 -2
- package/dist/main.js +8500 -0
- package/package.json +48 -4
- package/skills/rshow/SKILL.md +144 -0
- package/skills/rshow/reference/cli.md +263 -0
- package/skills/rshow/reference/dashboard.md +122 -0
- package/skills/rshow/reference/mockups.md +113 -0
- package/skills/rshow/reference/page-contract.md +83 -0
- package/skills/rshow/reference/pages.md +174 -0
- package/skills/rshow/reference/poster.md +137 -0
- package/skills/rshow/reference/project-page.md +132 -0
- package/skills/rshow/reference/reports.md +158 -0
- package/skills/rshow/reference/sketch.md +78 -0
- package/skills/rshow/reference/terminal.md +148 -0
- package/skills/rshow/reference/themes.md +139 -0
- package/skills/rshow-implement/SKILL.md +112 -0
- package/skills/rshow-implement/reference/compare.md +156 -0
- package/skills/rshow-implement/reference/handoff.md +125 -0
- package/skills/rshow-implement/reference/map.md +151 -0
- package/skills/rshow-slides/SKILL.md +136 -0
- package/skills/rshow-slides/reference/layouts.md +251 -0
- package/themes/default/dashboard.css +521 -0
- package/themes/default/dashboard.js +1390 -0
- package/themes/default/deck.css +586 -0
- package/themes/default/deck.js +741 -0
- package/themes/default/example/capture.ans +1 -0
- package/themes/default/example/dashboard.html +106 -0
- package/themes/default/example/demo.cast +14 -0
- package/themes/default/example/drawing.excalidraw +377 -0
- package/themes/default/example/index.html +311 -0
- package/themes/default/example/mockup-desktop.html +331 -0
- package/themes/default/example/mockup-platforms.html +742 -0
- package/themes/default/example/mockup.html +416 -0
- package/themes/default/example/page.html +153 -0
- package/themes/default/example/poster-figure.svg +58 -0
- package/themes/default/example/poster.html +181 -0
- package/themes/default/example/project.html +229 -0
- package/themes/default/example/report.html +404 -0
- package/themes/default/example/results.csv +61 -0
- package/themes/default/example/sketch.html +178 -0
- package/themes/default/example/teaser.svg +66 -0
- package/themes/default/example/terminal.html +231 -0
- package/themes/default/example/tui.html +223 -0
- package/themes/default/fonts/IBMPlexMono-Regular-Latin1.woff2 +0 -0
- package/themes/default/fonts/IBMPlexSans-Light-Latin1.woff2 +0 -0
- package/themes/default/fonts/IBMPlexSans-Regular-Latin1.woff2 +0 -0
- package/themes/default/fonts/IBMPlexSans-SemiBold-Latin1.woff2 +0 -0
- package/themes/default/fonts/OFL.txt +93 -0
- package/themes/default/fonts.css +63 -0
- package/themes/default/index.html +573 -0
- package/themes/default/mockup.css +1078 -0
- package/themes/default/mockup.js +1433 -0
- package/themes/default/mode.js +242 -0
- package/themes/default/page.css +320 -0
- package/themes/default/poster.css +480 -0
- package/themes/default/poster.js +223 -0
- package/themes/default/project.css +482 -0
- package/themes/default/project.js +116 -0
- package/themes/default/report.css +776 -0
- package/themes/default/report.js +427 -0
- package/themes/default/sketch.css +166 -0
- package/themes/default/sketch.js +681 -0
- package/themes/default/skins/adwaita.css +669 -0
- package/themes/default/skins/custom.css +596 -0
- package/themes/default/skins/egui.css +639 -0
- package/themes/default/skins/fluent.css +1093 -0
- package/themes/default/skins/fluent.js +458 -0
- package/themes/default/skins/mac.css +647 -0
- package/themes/default/skins/material.css +692 -0
- package/themes/default/skins/sketch.css +436 -0
- package/themes/default/skins/sketch.js +494 -0
- package/themes/default/skins/wire.css +561 -0
- package/themes/default/terminal.css +292 -0
- package/themes/default/terminal.js +433 -0
- package/themes/default/theme.json +149 -0
- package/themes/default/tokens.css +255 -0
- package/themes/default/tui.css +703 -0
- package/themes/default/tui.js +472 -0
- package/worker/index.js +6918 -0
- package/worker/migrations/0001_init.sql +52 -0
- package/worker/migrations/0002_blobs.sql +5 -0
- package/worker/migrations/0003_projects.sql +31 -0
- package/worker/migrations/0004_page_data_blob.sql +19 -0
|
@@ -0,0 +1,586 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* rshow theme "default": deck layout
|
|
3
|
+
*
|
|
4
|
+
* Link order: fonts.css, tokens.css, deck.css, then deck.js. This file holds
|
|
5
|
+
* no colour and no font family of its own: every value comes from a token in
|
|
6
|
+
* tokens.css, so a deck restyles itself by overriding a token.
|
|
7
|
+
*
|
|
8
|
+
* Canvas: 1280 x 720 (16:9), scaled to fit the window by deck.js.
|
|
9
|
+
* Markup: <main class="deck"><section class="slide">...</section>...</main>
|
|
10
|
+
*
|
|
11
|
+
* One slide carries one idea. The title states the claim as a sentence, and
|
|
12
|
+
* the figure, chart or table under it is the evidence. Nothing on the slide is
|
|
13
|
+
* decoration: no eyebrow label, no numbering, no edge bar, no hairline rule
|
|
14
|
+
* that carries no information.
|
|
15
|
+
*
|
|
16
|
+
* Balance. A slide fills the 1280 x 720 canvas, so a sparse slide is centred on
|
|
17
|
+
* the optical centre and not on the geometric one: the block sits a little
|
|
18
|
+
* above the middle, which is where the eye reads the middle. A slide with a
|
|
19
|
+
* figure starts at the top and lets the figure take the rest, and a slide with
|
|
20
|
+
* a title and bullets sets the bullets 28px, directly under the title.
|
|
21
|
+
*/
|
|
22
|
+
|
|
23
|
+
*,
|
|
24
|
+
*::before,
|
|
25
|
+
*::after {
|
|
26
|
+
box-sizing: border-box;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
html,
|
|
30
|
+
body {
|
|
31
|
+
height: 100%;
|
|
32
|
+
margin: 0;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
html {
|
|
36
|
+
/* Scrollbars and form controls follow the theme, not the browser default. */
|
|
37
|
+
color-scheme: var(--color-scheme);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
body {
|
|
41
|
+
background: var(--bg-shell);
|
|
42
|
+
color: var(--fg);
|
|
43
|
+
font-family: var(--font-sans);
|
|
44
|
+
font-size: var(--text-md);
|
|
45
|
+
line-height: var(--lh-body);
|
|
46
|
+
overflow: hidden;
|
|
47
|
+
-webkit-font-smoothing: antialiased;
|
|
48
|
+
text-rendering: optimizeLegibility;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
:focus-visible {
|
|
52
|
+
outline: 2px solid var(--focus);
|
|
53
|
+
outline-offset: 2px;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/* ---------------------------------------------------------------- canvas */
|
|
57
|
+
|
|
58
|
+
main.deck {
|
|
59
|
+
position: absolute;
|
|
60
|
+
top: 50%;
|
|
61
|
+
left: 50%;
|
|
62
|
+
width: 1280px;
|
|
63
|
+
height: 720px;
|
|
64
|
+
transform: translate(-50%, -50%);
|
|
65
|
+
transform-origin: 0 0;
|
|
66
|
+
background: var(--bg);
|
|
67
|
+
overflow: hidden;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
/* No JS: slides flow down the page so the deck is still readable. */
|
|
71
|
+
main.deck > .slide {
|
|
72
|
+
position: relative;
|
|
73
|
+
width: 1280px;
|
|
74
|
+
height: 720px;
|
|
75
|
+
padding: var(--pad-y) var(--pad-x);
|
|
76
|
+
background: var(--bg);
|
|
77
|
+
opacity: 1;
|
|
78
|
+
visibility: visible;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
/* JS on: one slide at 0,0 inside the fixed canvas. */
|
|
82
|
+
main.deck.is-ready > .slide {
|
|
83
|
+
position: absolute;
|
|
84
|
+
inset: 0;
|
|
85
|
+
opacity: 0;
|
|
86
|
+
visibility: hidden;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
main.deck.is-ready > .slide.is-active {
|
|
90
|
+
opacity: 1;
|
|
91
|
+
visibility: visible;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.slide {
|
|
95
|
+
display: flex;
|
|
96
|
+
flex-direction: column;
|
|
97
|
+
justify-content: center;
|
|
98
|
+
overflow: hidden;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
/* Sparse slides carry one short block, so the air belongs under it. The extra
|
|
102
|
+
48px at the bottom lifts the block 24px above the geometric centre: a block
|
|
103
|
+
centred on the middle reads low, a block centred on the optical centre reads
|
|
104
|
+
centred. The selector matches main.deck > .slide above, which sets the pads. */
|
|
105
|
+
main.deck > .slide.title,
|
|
106
|
+
main.deck > .slide.section,
|
|
107
|
+
main.deck > .slide.statement,
|
|
108
|
+
main.deck > .slide.quote,
|
|
109
|
+
main.deck > .slide.big-number,
|
|
110
|
+
main.deck > .slide.bullets {
|
|
111
|
+
padding-bottom: calc(var(--pad-y) + var(--space-09));
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
/* ------------------------------------------------------------ typography */
|
|
115
|
+
|
|
116
|
+
.slide h1,
|
|
117
|
+
.slide h2,
|
|
118
|
+
.slide h3 {
|
|
119
|
+
margin: 0;
|
|
120
|
+
font-weight: 400;
|
|
121
|
+
line-height: var(--lh-heading);
|
|
122
|
+
letter-spacing: 0;
|
|
123
|
+
text-wrap: balance;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
/* Display: the opener, and a claim set as one sentence. */
|
|
127
|
+
.slide h1 {
|
|
128
|
+
font-size: var(--text-5xl);
|
|
129
|
+
font-weight: 300;
|
|
130
|
+
letter-spacing: var(--tracking-display);
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
/* The title of a content slide. It states the takeaway, not a topic. */
|
|
134
|
+
.slide h2 {
|
|
135
|
+
margin-bottom: var(--space-07);
|
|
136
|
+
font-size: var(--text-2xl);
|
|
137
|
+
max-width: 30ch;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
/* A heading inside a column, which counts as small, so it takes the weight. */
|
|
141
|
+
.slide h3 {
|
|
142
|
+
margin-bottom: var(--space-05);
|
|
143
|
+
font-size: var(--text-lg);
|
|
144
|
+
font-weight: 600;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.slide p {
|
|
148
|
+
margin: 0 0 var(--space-05);
|
|
149
|
+
font-size: var(--text-md);
|
|
150
|
+
max-width: 40ch;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.slide p:last-child {
|
|
154
|
+
margin-bottom: 0;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.slide strong {
|
|
158
|
+
font-weight: 600;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.slide em {
|
|
162
|
+
font-style: italic;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.slide a {
|
|
166
|
+
color: var(--accent);
|
|
167
|
+
text-decoration: underline;
|
|
168
|
+
text-decoration-thickness: 1px;
|
|
169
|
+
text-underline-offset: 2px;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.slide ul,
|
|
173
|
+
.slide ol {
|
|
174
|
+
margin: 0;
|
|
175
|
+
padding-left: var(--space-07);
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.slide li {
|
|
179
|
+
font-size: var(--text-lg);
|
|
180
|
+
line-height: var(--lh-list);
|
|
181
|
+
max-width: 72ch;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.slide li::marker {
|
|
185
|
+
color: var(--muted);
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.slide li > p {
|
|
189
|
+
margin: var(--space-02) 0 0;
|
|
190
|
+
font-size: var(--text-base);
|
|
191
|
+
line-height: var(--lh-list);
|
|
192
|
+
color: var(--muted);
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
/* The one small line of text that sits under a figure or a title. */
|
|
196
|
+
.slide .muted,
|
|
197
|
+
.slide figcaption,
|
|
198
|
+
.slide cite,
|
|
199
|
+
.slide .byline,
|
|
200
|
+
.slide .source {
|
|
201
|
+
color: var(--muted);
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
/* Mono is for code and for data, never for a label. */
|
|
205
|
+
.slide code,
|
|
206
|
+
.slide kbd,
|
|
207
|
+
.slide pre {
|
|
208
|
+
font-family: var(--font-mono);
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
.slide code {
|
|
212
|
+
font-size: 0.92em;
|
|
213
|
+
overflow-wrap: anywhere;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
/* --------------------------------------------------------- reveal steps */
|
|
217
|
+
|
|
218
|
+
.step {
|
|
219
|
+
opacity: 0;
|
|
220
|
+
transition: opacity 160ms ease;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
.step.is-revealed,
|
|
224
|
+
main.deck:not(.is-ready) .step {
|
|
225
|
+
opacity: 1;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
/* --------------------------------------------------------------- layouts */
|
|
229
|
+
|
|
230
|
+
/* title: the opener and the closer */
|
|
231
|
+
.slide.title h1 {
|
|
232
|
+
max-width: 24ch;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
.slide.title .subtitle {
|
|
236
|
+
margin: var(--space-07) 0 0;
|
|
237
|
+
font-size: var(--text-xl);
|
|
238
|
+
line-height: 1.3;
|
|
239
|
+
color: var(--muted);
|
|
240
|
+
max-width: 44ch;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
/* Name, affiliation, venue, date. One line, sentence case, body font. */
|
|
244
|
+
.slide.title .byline {
|
|
245
|
+
margin: var(--space-06) 0 0;
|
|
246
|
+
font-size: var(--text-base);
|
|
247
|
+
max-width: 60ch;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
/* section: a divider between parts of the talk */
|
|
251
|
+
.slide.section h2 {
|
|
252
|
+
margin: 0;
|
|
253
|
+
max-width: 24ch;
|
|
254
|
+
font-size: var(--text-3xl);
|
|
255
|
+
font-weight: 300;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
.slide.section p {
|
|
259
|
+
margin: var(--space-06) 0 0;
|
|
260
|
+
font-size: var(--text-md);
|
|
261
|
+
color: var(--muted);
|
|
262
|
+
max-width: 52ch;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
/* statement: one sentence that carries the claim of the slide */
|
|
266
|
+
.slide.statement p {
|
|
267
|
+
margin: 0;
|
|
268
|
+
max-width: 28ch;
|
|
269
|
+
font-size: var(--text-3xl);
|
|
270
|
+
font-weight: 300;
|
|
271
|
+
line-height: var(--lh-heading);
|
|
272
|
+
letter-spacing: 0;
|
|
273
|
+
text-wrap: balance;
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
/* bullets: a takeaway title and at most five short points, 28px body */
|
|
277
|
+
.slide.bullets h2 {
|
|
278
|
+
margin-bottom: var(--space-05);
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
.slide.bullets ul {
|
|
282
|
+
display: flex;
|
|
283
|
+
flex-direction: column;
|
|
284
|
+
gap: var(--space-05);
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
/* figure: one image or diagram, as large as the canvas allows */
|
|
288
|
+
.slide.figure,
|
|
289
|
+
.slide.chart,
|
|
290
|
+
.slide.figure-two {
|
|
291
|
+
justify-content: flex-start;
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
.slide.figure figure,
|
|
295
|
+
.slide.chart figure {
|
|
296
|
+
display: flex;
|
|
297
|
+
flex-direction: column;
|
|
298
|
+
flex: 1;
|
|
299
|
+
min-height: 0;
|
|
300
|
+
margin: 0;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
.slide.figure figure img,
|
|
304
|
+
.slide.figure figure svg,
|
|
305
|
+
.slide.chart figure svg {
|
|
306
|
+
display: block;
|
|
307
|
+
flex: 1;
|
|
308
|
+
min-height: 0;
|
|
309
|
+
width: 100%;
|
|
310
|
+
object-fit: contain;
|
|
311
|
+
border: 0;
|
|
312
|
+
background: none;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
.slide figcaption {
|
|
316
|
+
margin: var(--space-05) 0 0;
|
|
317
|
+
font-size: var(--text-sm);
|
|
318
|
+
line-height: 1.4;
|
|
319
|
+
max-width: 80ch;
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
/* figure-two: two diagrams, one short label under each */
|
|
323
|
+
.slide.figure-two h2 {
|
|
324
|
+
flex: none;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
.slide.figure-two figure {
|
|
328
|
+
margin: 0;
|
|
329
|
+
min-width: 0;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
.slide.figure-two .pair {
|
|
333
|
+
display: grid;
|
|
334
|
+
grid-template-columns: 1fr 1fr;
|
|
335
|
+
gap: var(--space-09);
|
|
336
|
+
flex: 1;
|
|
337
|
+
min-height: 0;
|
|
338
|
+
align-content: center;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
.slide.figure-two .pair svg {
|
|
342
|
+
display: block;
|
|
343
|
+
width: 100%;
|
|
344
|
+
height: auto;
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
.slide.figure-two figcaption {
|
|
348
|
+
margin-top: var(--space-04);
|
|
349
|
+
font-size: var(--text-base);
|
|
350
|
+
color: var(--fg);
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
/* table: a clean data table, numbers right aligned */
|
|
354
|
+
.slide.table h2 {
|
|
355
|
+
margin-bottom: var(--space-08);
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
.slide table {
|
|
359
|
+
width: 100%;
|
|
360
|
+
border-collapse: collapse;
|
|
361
|
+
font-size: var(--text-md);
|
|
362
|
+
line-height: 1.3;
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
.slide caption {
|
|
366
|
+
padding: 0 0 var(--space-05);
|
|
367
|
+
font-size: var(--text-sm);
|
|
368
|
+
text-align: left;
|
|
369
|
+
color: var(--muted);
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
.slide th,
|
|
373
|
+
.slide td {
|
|
374
|
+
padding: var(--space-04) var(--space-05);
|
|
375
|
+
text-align: left;
|
|
376
|
+
vertical-align: baseline;
|
|
377
|
+
border-bottom: 1px solid var(--border-subtle);
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
.slide thead th {
|
|
381
|
+
padding-top: 0;
|
|
382
|
+
font-size: var(--text-base);
|
|
383
|
+
font-weight: 600;
|
|
384
|
+
color: var(--muted);
|
|
385
|
+
border-bottom: 1px solid var(--border-strong);
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
.slide tbody tr:last-child th,
|
|
389
|
+
.slide tbody tr:last-child td {
|
|
390
|
+
border-bottom: 0;
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
.slide .num-cell {
|
|
394
|
+
text-align: right;
|
|
395
|
+
font-family: var(--font-sans);
|
|
396
|
+
font-variant-numeric: tabular-nums;
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
/* code: one block of code or one command */
|
|
400
|
+
.slide.code pre {
|
|
401
|
+
margin: 0;
|
|
402
|
+
padding: var(--space-06) var(--space-07);
|
|
403
|
+
max-height: 480px;
|
|
404
|
+
overflow: auto;
|
|
405
|
+
font-size: var(--text-md);
|
|
406
|
+
line-height: var(--lh-code);
|
|
407
|
+
color: var(--fg);
|
|
408
|
+
background: var(--layer-01);
|
|
409
|
+
border: 0;
|
|
410
|
+
border-radius: var(--radius);
|
|
411
|
+
white-space: pre-wrap;
|
|
412
|
+
word-break: break-word;
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
.slide.code pre code {
|
|
416
|
+
padding: 0;
|
|
417
|
+
font-size: inherit;
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
.slide.code figcaption,
|
|
421
|
+
.slide.code .source {
|
|
422
|
+
margin-top: var(--space-05);
|
|
423
|
+
font-size: var(--text-sm);
|
|
424
|
+
max-width: 80ch;
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
/* two-col: two blocks of text, one plain heading each */
|
|
428
|
+
.slide.two-col {
|
|
429
|
+
display: grid;
|
|
430
|
+
grid-template-columns: 1fr 1fr;
|
|
431
|
+
gap: var(--space-07) var(--space-10);
|
|
432
|
+
align-content: center;
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
.slide.two-col > h2 {
|
|
436
|
+
grid-column: 1 / -1;
|
|
437
|
+
margin-bottom: 0;
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
.slide.two-col .col > :last-child {
|
|
441
|
+
margin-bottom: 0;
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
.slide.two-col .col ul {
|
|
445
|
+
padding-left: var(--space-06);
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
.slide.two-col .col li {
|
|
449
|
+
font-size: var(--text-lg);
|
|
450
|
+
line-height: var(--lh-list);
|
|
451
|
+
margin-bottom: var(--space-03);
|
|
452
|
+
max-width: 34ch;
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
.slide.two-col .col p {
|
|
456
|
+
font-size: var(--text-lg);
|
|
457
|
+
line-height: var(--lh-list);
|
|
458
|
+
max-width: 34ch;
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
/* quote: one sentence and who said it */
|
|
462
|
+
.slide.quote blockquote {
|
|
463
|
+
margin: 0;
|
|
464
|
+
max-width: 26ch;
|
|
465
|
+
font-size: var(--text-2xl);
|
|
466
|
+
line-height: var(--lh-heading);
|
|
467
|
+
font-weight: 400;
|
|
468
|
+
letter-spacing: 0;
|
|
469
|
+
text-wrap: balance;
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
.slide.quote cite {
|
|
473
|
+
display: block;
|
|
474
|
+
margin-top: var(--space-07);
|
|
475
|
+
font-style: normal;
|
|
476
|
+
font-size: var(--text-base);
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
/* big-number: one number and the sentence that says what it means */
|
|
480
|
+
.slide.big-number .value {
|
|
481
|
+
margin: 0;
|
|
482
|
+
max-width: 100%;
|
|
483
|
+
font-size: var(--text-5xl);
|
|
484
|
+
font-weight: 300;
|
|
485
|
+
line-height: var(--lh-flat);
|
|
486
|
+
letter-spacing: var(--tracking-display);
|
|
487
|
+
font-variant-numeric: tabular-nums;
|
|
488
|
+
overflow-wrap: anywhere;
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
.slide.big-number .caption {
|
|
492
|
+
margin: var(--space-07) 0 0;
|
|
493
|
+
max-width: 30ch;
|
|
494
|
+
font-size: var(--text-xl);
|
|
495
|
+
line-height: 1.3;
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
.slide.big-number .source {
|
|
499
|
+
margin: var(--space-05) 0 0;
|
|
500
|
+
font-size: var(--text-sm);
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
/* ------------------------------------------------------------- furniture */
|
|
504
|
+
|
|
505
|
+
aside.notes {
|
|
506
|
+
display: none;
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
.deck-hud {
|
|
510
|
+
position: absolute;
|
|
511
|
+
right: var(--space-07);
|
|
512
|
+
bottom: var(--space-05);
|
|
513
|
+
z-index: 5;
|
|
514
|
+
font-size: var(--text-2xs);
|
|
515
|
+
font-variant-numeric: tabular-nums;
|
|
516
|
+
color: var(--muted);
|
|
517
|
+
pointer-events: none;
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
@media (prefers-reduced-motion: reduce) {
|
|
521
|
+
.step {
|
|
522
|
+
transition: none;
|
|
523
|
+
}
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
/* ---------------------------------------------------------------- print */
|
|
527
|
+
|
|
528
|
+
/* Browsers that do not know length values in @page keep landscape. */
|
|
529
|
+
@page {
|
|
530
|
+
size: landscape;
|
|
531
|
+
margin: 0;
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
@media print {
|
|
535
|
+
html,
|
|
536
|
+
body {
|
|
537
|
+
height: auto;
|
|
538
|
+
overflow: visible;
|
|
539
|
+
background: var(--bg);
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
body {
|
|
543
|
+
-webkit-print-color-adjust: exact;
|
|
544
|
+
print-color-adjust: exact;
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
main.deck {
|
|
548
|
+
position: static;
|
|
549
|
+
top: auto !important;
|
|
550
|
+
left: auto !important;
|
|
551
|
+
width: 1280px;
|
|
552
|
+
height: auto;
|
|
553
|
+
transform: none !important;
|
|
554
|
+
overflow: visible;
|
|
555
|
+
}
|
|
556
|
+
|
|
557
|
+
main.deck > .slide,
|
|
558
|
+
main.deck.is-ready > .slide {
|
|
559
|
+
position: relative;
|
|
560
|
+
inset: auto;
|
|
561
|
+
opacity: 1 !important;
|
|
562
|
+
visibility: visible !important;
|
|
563
|
+
page-break-after: always;
|
|
564
|
+
break-after: page;
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
main.deck > .slide:last-child {
|
|
568
|
+
page-break-after: auto;
|
|
569
|
+
break-after: auto;
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
.step {
|
|
573
|
+
opacity: 1 !important;
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
.deck-hud,
|
|
577
|
+
aside.notes {
|
|
578
|
+
display: none !important;
|
|
579
|
+
}
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
/* Exact 16:9 sheet for one slide per page. */
|
|
583
|
+
@page {
|
|
584
|
+
size: 1280px 720px;
|
|
585
|
+
margin: 0;
|
|
586
|
+
}
|