mdeck 2.3.0 → 3.0.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.
- package/CHANGELOG.md +12 -1
- package/README.md +9 -9
- package/assets/base.css +4 -1
- package/assets/packs/academic/pack.toml +8 -0
- package/assets/packs/aurora/pack.toml +8 -0
- package/assets/packs/lagoon/pack.toml +8 -0
- package/assets/packs/minimal/minimal/extension.toml +45 -0
- package/assets/packs/minimal/minimal/styles.css +342 -0
- package/assets/packs/minimal/pack.toml +8 -0
- package/assets/packs/minimal/paper/extension.toml +27 -0
- package/assets/packs/neue/pack.toml +8 -0
- package/docs/reference/authoring.md +13 -18
- package/docs/reference/claude-skill.md +1 -1
- package/docs/reference/extensions.md +29 -20
- package/docs/reference/palettes.md +8 -12
- package/docs/reference/themes.md +8 -7
- package/docs/site/content/appearance.md +33 -49
- package/docs/site/content/commands.md +2 -2
- package/docs/site/content/theme-authoring.md +1 -1
- package/docs/site/content/theme-repository.md +19 -15
- package/docs/site/examples/first-talk.md +1 -1
- package/docs/site/images/themes/academic-dark.webp +0 -0
- package/docs/site/images/themes/academic-light.webp +0 -0
- package/docs/site/images/themes/academic.webp +0 -0
- package/docs/site/images/themes/aurora-dark.webp +0 -0
- package/docs/site/images/themes/aurora-light.webp +0 -0
- package/docs/site/images/themes/aurora.webp +0 -0
- package/docs/site/images/themes/minimal-dark.webp +0 -0
- package/docs/site/images/themes/minimal-light.webp +0 -0
- package/docs/site/images/themes/minimal.webp +0 -0
- package/docs/site/images/themes/neue-dark.webp +0 -0
- package/docs/site/images/themes/neue-light.webp +0 -0
- package/docs/site/images/themes/neue.webp +0 -0
- package/docs/site/pages.js +1 -1
- package/examples/custom-layouts/slides.md +1 -1
- package/examples/poll/slides.md +1 -1
- package/examples/python/slides.md +2 -2
- package/examples/showcase/slides.md +3 -3
- package/package.json +1 -1
- package/skills/write-slides/SKILL.md +2 -2
- package/src/build/check.js +0 -7
- package/src/build/editorPlugin.js +19 -11
- package/src/build/themeCheck.js +15 -5
- package/src/cli/args.js +1 -1
- package/src/cli/index.js +3 -3
- package/src/cli/themes.js +93 -64
- package/src/core/validateDeck.js +4 -2
- package/src/editor/api.js +9 -1
- package/src/editor/components/App.jsx +4 -2
- package/src/editor/components/DesignApp.jsx +12 -3
- package/src/editor/components/ExtensionEditor.jsx +15 -4
- package/src/editor/components/ExtensionsPanel.jsx +19 -21
- package/src/editor/designLink.js +18 -1
- package/src/editor/sampleDeck.js +3 -1
- package/src/extensions/appearance.js +2 -1
- package/src/extensions/discover.js +56 -16
- package/src/extensions/installed.js +63 -0
- package/src/extensions/moved.js +13 -0
- package/src/extensions/packs.js +135 -46
- package/src/home/Home.jsx +12 -6
- package/src/layouts/layoutApi.jsx +10 -2
- package/src/paths.js +2 -0
- package/src/runtime/themeLoader.js +5 -2
- package/assets/extensions/palettes/brand/extension.toml +0 -29
- package/assets/extensions/palettes/cobalt/extension.toml +0 -27
- package/assets/extensions/palettes/ember/extension.toml +0 -27
- package/assets/extensions/palettes/forest/extension.toml +0 -27
- package/assets/extensions/palettes/graphite/extension.toml +0 -27
- package/assets/extensions/palettes/pastel/extension.toml +0 -30
- package/assets/extensions/palettes/phosphor/extension.toml +0 -27
- package/assets/extensions/palettes/terra/extension.toml +0 -27
- package/assets/extensions/themes/duet/extension.toml +0 -46
- package/assets/extensions/themes/duet/styles.css +0 -573
- package/assets/extensions/themes/editorial/extension.toml +0 -46
- package/assets/extensions/themes/editorial/styles.css +0 -574
- package/assets/extensions/themes/fhnw/extension.toml +0 -61
- package/assets/extensions/themes/fhnw/styles.css +0 -604
- package/assets/extensions/themes/sketch/extension.toml +0 -48
- package/assets/extensions/themes/sketch/styles.css +0 -633
- package/assets/extensions/themes/terminal/extension.toml +0 -38
- package/assets/extensions/themes/terminal/styles.css +0 -550
- package/docs/site/images/themes/duet-dark.webp +0 -0
- package/docs/site/images/themes/duet-light.webp +0 -0
- package/docs/site/images/themes/duet.webp +0 -0
- package/docs/site/images/themes/editorial-dark.webp +0 -0
- package/docs/site/images/themes/editorial-light.webp +0 -0
- package/docs/site/images/themes/editorial.webp +0 -0
- package/docs/site/images/themes/fhnw.webp +0 -0
- package/docs/site/images/themes/sketch-dark.webp +0 -0
- package/docs/site/images/themes/sketch-light.webp +0 -0
- package/docs/site/images/themes/sketch.webp +0 -0
- package/docs/site/images/themes/terminal-dark.webp +0 -0
- package/docs/site/images/themes/terminal-light.webp +0 -0
- package/docs/site/images/themes/terminal.webp +0 -0
- package/examples/python/.mdeck-backups/slides.drawings-2026-10-06T08-36-47Z.json +0 -19
- package/examples/python/.mdeck-backups/slides.drawings-2026-10-06T11-27-30Z.json +0 -6
- package/examples/showcase/.mdeck-backups/slides.drawings-2026-10-06T08-08-30Z.json +0 -10
- package/examples/showcase/.mdeck-backups/slides.drawings-2026-10-06T11-41-35Z.json +0 -13
- /package/assets/{extensions/themes → packs/academic}/academic/extension.toml +0 -0
- /package/assets/{extensions/themes → packs/academic}/academic/styles.css +0 -0
- /package/assets/{extensions/palettes → packs/academic}/nordic/extension.toml +0 -0
- /package/assets/{extensions/themes → packs/aurora}/aurora/extension.toml +0 -0
- /package/assets/{extensions/themes → packs/aurora}/aurora/styles.css +0 -0
- /package/assets/{extensions/palettes → packs/aurora}/neon/extension.toml +0 -0
- /package/assets/{extensions/palettes → packs/lagoon}/lagoon/extension.toml +0 -0
- /package/assets/{extensions/themes → packs/neue}/neue/extension.toml +0 -0
- /package/assets/{extensions/themes → packs/neue}/neue/styles.css +0 -0
- /package/assets/{extensions/palettes → packs/neue}/swiss/extension.toml +0 -0
|
@@ -1,550 +0,0 @@
|
|
|
1
|
-
/* Terminal — a real terminal session.
|
|
2
|
-
JetBrains Mono throughout. Headings read as commands typed at a prompt,
|
|
3
|
-
the title waits at a blinking cursor, a chapter starts like running a new
|
|
4
|
-
command, callouts are log lines, and the footer is a tmux status bar.
|
|
5
|
-
Code is in the same face as the text, so it is set apart by a window
|
|
6
|
-
frame with a title bar. Dark by default; in light it reads as a printout
|
|
7
|
-
of the session. Colours come only from the palette roles. */
|
|
8
|
-
|
|
9
|
-
.slide {
|
|
10
|
-
--prompt: '~/talk $ ';
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
/* ─────────────────────────────────────────────
|
|
14
|
-
HEADER — the organisation as a comment, the section in brackets
|
|
15
|
-
───────────────────────────────────────────── */
|
|
16
|
-
.slide-header {
|
|
17
|
-
font-weight: 400;
|
|
18
|
-
letter-spacing: 0.04em;
|
|
19
|
-
color: var(--muted);
|
|
20
|
-
}
|
|
21
|
-
.slide-header .brand { color: var(--muted); }
|
|
22
|
-
.slide-header .brand:not(:empty)::before { content: '# '; color: var(--accent); }
|
|
23
|
-
.slide-header > span:last-child:not(:first-child):not(:empty)::before { content: '['; }
|
|
24
|
-
.slide-header > span:last-child:not(:first-child):not(:empty)::after { content: ']'; }
|
|
25
|
-
|
|
26
|
-
.slide-logo {
|
|
27
|
-
position: absolute;
|
|
28
|
-
top: var(--pad-y);
|
|
29
|
-
right: var(--pad-x);
|
|
30
|
-
height: 120px;
|
|
31
|
-
width: auto;
|
|
32
|
-
max-width: 480px;
|
|
33
|
-
object-fit: contain;
|
|
34
|
-
filter: var(--logo-filter, none);
|
|
35
|
-
transform: translateY(calc(var(--fs-eyebrow) * 0.5 - 50%));
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
/* ─────────────────────────────────────────────
|
|
39
|
-
FOOTER — a tmux status bar across the bottom edge: the session (the
|
|
40
|
-
deck's title) in the accent on the left, the page number on the right
|
|
41
|
-
───────────────────────────────────────────── */
|
|
42
|
-
.slide-footer {
|
|
43
|
-
font-family: var(--font-body);
|
|
44
|
-
font-size: var(--fs-small);
|
|
45
|
-
font-weight: 400;
|
|
46
|
-
color: var(--ink-soft);
|
|
47
|
-
background: var(--surface);
|
|
48
|
-
justify-content: flex-start;
|
|
49
|
-
gap: 32px;
|
|
50
|
-
/* Across the bottom edge, in the slide's lower padding, out of the flow
|
|
51
|
-
(a negative margin would make the slide look overfull to fit.js). */
|
|
52
|
-
position: absolute;
|
|
53
|
-
left: 0;
|
|
54
|
-
right: 0;
|
|
55
|
-
bottom: 0;
|
|
56
|
-
z-index: 1;
|
|
57
|
-
padding: 0 var(--pad-x) 0 0;
|
|
58
|
-
height: 52px;
|
|
59
|
-
}
|
|
60
|
-
.slide-footer::before {
|
|
61
|
-
content: '[' var(--meta-title, 'talk') ']';
|
|
62
|
-
flex: none;
|
|
63
|
-
align-self: stretch;
|
|
64
|
-
display: flex;
|
|
65
|
-
align-items: center;
|
|
66
|
-
max-width: 900px;
|
|
67
|
-
overflow: hidden;
|
|
68
|
-
text-overflow: ellipsis;
|
|
69
|
-
white-space: nowrap;
|
|
70
|
-
padding: 0 28px 0 var(--pad-x);
|
|
71
|
-
background: var(--accent);
|
|
72
|
-
color: var(--on-accent);
|
|
73
|
-
font-weight: 700;
|
|
74
|
-
}
|
|
75
|
-
.slide-footer > span:last-child:not(:first-child) { margin-left: auto; color: var(--ink); font-weight: 700; }
|
|
76
|
-
|
|
77
|
-
/* ─────────────────────────────────────────────
|
|
78
|
-
TYPOGRAPHY HELPERS
|
|
79
|
-
───────────────────────────────────────────── */
|
|
80
|
-
.eyebrow {
|
|
81
|
-
font-family: var(--font-body);
|
|
82
|
-
font-size: var(--fs-eyebrow);
|
|
83
|
-
font-weight: 400;
|
|
84
|
-
letter-spacing: 0.04em;
|
|
85
|
-
color: var(--muted);
|
|
86
|
-
margin: 0 0 var(--gap-title) 0;
|
|
87
|
-
}
|
|
88
|
-
.eyebrow::before { content: '# '; color: var(--accent); }
|
|
89
|
-
.display {
|
|
90
|
-
font-family: var(--font-display);
|
|
91
|
-
font-size: var(--fs-display);
|
|
92
|
-
font-weight: 800;
|
|
93
|
-
line-height: 1.05;
|
|
94
|
-
letter-spacing: -0.04em;
|
|
95
|
-
margin: 0;
|
|
96
|
-
color: var(--ink);
|
|
97
|
-
text-wrap: balance;
|
|
98
|
-
}
|
|
99
|
-
.title {
|
|
100
|
-
font-family: var(--font-display);
|
|
101
|
-
font-size: var(--fs-h);
|
|
102
|
-
font-weight: 700;
|
|
103
|
-
line-height: 1.15;
|
|
104
|
-
letter-spacing: -0.03em;
|
|
105
|
-
margin: 0;
|
|
106
|
-
color: var(--ink);
|
|
107
|
-
text-wrap: balance;
|
|
108
|
-
}
|
|
109
|
-
.subtitle {
|
|
110
|
-
font-family: var(--font-body);
|
|
111
|
-
font-size: var(--fs-sub);
|
|
112
|
-
font-weight: 400;
|
|
113
|
-
line-height: 1.35;
|
|
114
|
-
color: var(--ink-soft);
|
|
115
|
-
margin: 0;
|
|
116
|
-
text-wrap: pretty;
|
|
117
|
-
}
|
|
118
|
-
.body-text {
|
|
119
|
-
font-family: var(--font-body);
|
|
120
|
-
font-size: var(--fs-body);
|
|
121
|
-
font-weight: 400;
|
|
122
|
-
line-height: 1.55;
|
|
123
|
-
color: var(--ink-soft);
|
|
124
|
-
margin: 0;
|
|
125
|
-
text-wrap: pretty;
|
|
126
|
-
}
|
|
127
|
-
.meta {
|
|
128
|
-
font-family: var(--font-body);
|
|
129
|
-
font-size: var(--fs-small);
|
|
130
|
-
color: var(--muted);
|
|
131
|
-
}
|
|
132
|
-
em {
|
|
133
|
-
font-style: normal;
|
|
134
|
-
color: var(--accent);
|
|
135
|
-
}
|
|
136
|
-
strong { color: var(--ink); font-weight: 700; }
|
|
137
|
-
/* Inline code is in the text's own face: a background tells it apart. */
|
|
138
|
-
.slide-body :not(pre) > code {
|
|
139
|
-
font-family: inherit;
|
|
140
|
-
font-size: 0.92em;
|
|
141
|
-
background: var(--surface);
|
|
142
|
-
color: var(--accent-2);
|
|
143
|
-
padding: 0.05em 0.3em;
|
|
144
|
-
border-radius: 0;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
/* ─────────────────────────────────────────────
|
|
148
|
-
LAYOUT: TITLE — a command line above, the title waiting at a cursor
|
|
149
|
-
───────────────────────────────────────────── */
|
|
150
|
-
.slide--title .slide-body {
|
|
151
|
-
justify-content: center;
|
|
152
|
-
align-items: flex-start;
|
|
153
|
-
}
|
|
154
|
-
.slide--title .title-text::before {
|
|
155
|
-
content: '$ ./present';
|
|
156
|
-
display: block;
|
|
157
|
-
font-size: var(--fs-sub);
|
|
158
|
-
font-weight: 400;
|
|
159
|
-
color: var(--muted);
|
|
160
|
-
margin-bottom: 48px;
|
|
161
|
-
}
|
|
162
|
-
.slide--title .display {
|
|
163
|
-
font-size: var(--fs-display);
|
|
164
|
-
max-width: 1600px;
|
|
165
|
-
}
|
|
166
|
-
.slide--title .display::after {
|
|
167
|
-
content: '';
|
|
168
|
-
display: inline-block;
|
|
169
|
-
width: 0.55em;
|
|
170
|
-
height: 0.95em;
|
|
171
|
-
margin-left: 0.15em;
|
|
172
|
-
vertical-align: -0.12em;
|
|
173
|
-
background: var(--accent);
|
|
174
|
-
}
|
|
175
|
-
.slide--title .subtitle {
|
|
176
|
-
margin-top: 44px;
|
|
177
|
-
max-width: 1300px;
|
|
178
|
-
}
|
|
179
|
-
.slide--title .subtitle::before { content: '> '; color: var(--accent); }
|
|
180
|
-
.slide--title.has-image .slide-body {
|
|
181
|
-
display: grid;
|
|
182
|
-
grid-template-columns: 1.15fr 1fr;
|
|
183
|
-
column-gap: 80px;
|
|
184
|
-
align-items: center;
|
|
185
|
-
}
|
|
186
|
-
.slide--title.has-image .display { font-size: calc(var(--fs-display) * 0.7); }
|
|
187
|
-
.slide--title.has-image .title-image {
|
|
188
|
-
width: 100%;
|
|
189
|
-
height: 600px;
|
|
190
|
-
object-fit: cover;
|
|
191
|
-
border: 2px solid var(--rule);
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
/* The cursor blinks while presenting; never in print or for people who
|
|
195
|
-
prefer less motion. */
|
|
196
|
-
@media screen and (prefers-reduced-motion: no-preference) {
|
|
197
|
-
.slide--title .display::after { animation: terminal-blink 1.1s steps(1) infinite; }
|
|
198
|
-
}
|
|
199
|
-
@keyframes terminal-blink { 50% { opacity: 0; } }
|
|
200
|
-
deck-stage[data-deck-static] .slide--title .display::after { animation: none; }
|
|
201
|
-
|
|
202
|
-
/* ─────────────────────────────────────────────
|
|
203
|
-
LAYOUT: CHAPTER — running a new command: the command line, the part as
|
|
204
|
-
a comment, then the title large. A faint scanline on screen only.
|
|
205
|
-
───────────────────────────────────────────── */
|
|
206
|
-
@media screen {
|
|
207
|
-
.slide--chapter {
|
|
208
|
-
background-image: repeating-linear-gradient(to bottom, transparent 0 3px, color-mix(in oklab, var(--ink) 4%, transparent) 3px 4px);
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
.slide--chapter .slide-body {
|
|
212
|
-
justify-content: center;
|
|
213
|
-
align-items: flex-start;
|
|
214
|
-
}
|
|
215
|
-
.chapter-num {
|
|
216
|
-
font-family: var(--font-display);
|
|
217
|
-
font-size: var(--fs-sub);
|
|
218
|
-
font-weight: 700;
|
|
219
|
-
line-height: 1.3;
|
|
220
|
-
color: var(--ink);
|
|
221
|
-
margin: 0 0 12px 0;
|
|
222
|
-
}
|
|
223
|
-
.chapter-num::before { content: '$ ./chapter '; color: var(--muted); font-weight: 400; }
|
|
224
|
-
.chapter-meta {
|
|
225
|
-
font-family: var(--font-body);
|
|
226
|
-
font-size: var(--fs-sub);
|
|
227
|
-
font-weight: 400;
|
|
228
|
-
line-height: 1.3;
|
|
229
|
-
color: var(--muted);
|
|
230
|
-
margin: 0 0 56px 0;
|
|
231
|
-
}
|
|
232
|
-
.chapter-meta::before { content: '# '; color: var(--accent); }
|
|
233
|
-
.slide--chapter .chapter-title {
|
|
234
|
-
font-family: var(--font-display);
|
|
235
|
-
font-size: var(--fs-title);
|
|
236
|
-
font-weight: 800;
|
|
237
|
-
line-height: 1.05;
|
|
238
|
-
letter-spacing: -0.04em;
|
|
239
|
-
margin: 0 0 40px 0;
|
|
240
|
-
color: var(--ink);
|
|
241
|
-
max-width: 1500px;
|
|
242
|
-
text-wrap: balance;
|
|
243
|
-
}
|
|
244
|
-
.slide--chapter .chapter-desc {
|
|
245
|
-
font-family: var(--font-body);
|
|
246
|
-
font-size: var(--fs-sub);
|
|
247
|
-
font-weight: 400;
|
|
248
|
-
line-height: 1.35;
|
|
249
|
-
color: var(--ink-soft);
|
|
250
|
-
max-width: 1300px;
|
|
251
|
-
margin: 0;
|
|
252
|
-
}
|
|
253
|
-
.slide--chapter .chapter-desc::before { content: '> '; color: var(--accent); }
|
|
254
|
-
.slide--chapter.has-image .slide-body {
|
|
255
|
-
display: grid;
|
|
256
|
-
grid-template-columns: 1fr 1fr;
|
|
257
|
-
column-gap: 80px;
|
|
258
|
-
align-items: stretch;
|
|
259
|
-
}
|
|
260
|
-
.slide--chapter.has-image .chapter-content {
|
|
261
|
-
display: flex;
|
|
262
|
-
flex-direction: column;
|
|
263
|
-
justify-content: center;
|
|
264
|
-
align-items: flex-start;
|
|
265
|
-
}
|
|
266
|
-
.slide--chapter.has-image .chapter-title { font-size: calc(var(--fs-title) * 0.75); }
|
|
267
|
-
.slide--chapter.has-image .chapter-image {
|
|
268
|
-
width: 100%;
|
|
269
|
-
height: 100%;
|
|
270
|
-
min-height: 0;
|
|
271
|
-
box-sizing: border-box;
|
|
272
|
-
object-fit: cover;
|
|
273
|
-
border: 2px solid var(--rule);
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
/* ─────────────────────────────────────────────
|
|
277
|
-
LAYOUT: FOCUS — a statement printed by a command
|
|
278
|
-
───────────────────────────────────────────── */
|
|
279
|
-
.slide--focus .slide-body {
|
|
280
|
-
justify-content: center;
|
|
281
|
-
align-items: flex-start;
|
|
282
|
-
}
|
|
283
|
-
.focus-eyebrow {
|
|
284
|
-
font-family: var(--font-body);
|
|
285
|
-
font-size: var(--fs-eyebrow);
|
|
286
|
-
font-weight: 400;
|
|
287
|
-
color: var(--muted);
|
|
288
|
-
margin: 0 0 24px 0;
|
|
289
|
-
}
|
|
290
|
-
.focus-eyebrow::before { content: '# '; color: var(--accent); }
|
|
291
|
-
.focus-content {
|
|
292
|
-
display: flex;
|
|
293
|
-
flex-direction: column;
|
|
294
|
-
width: 100%;
|
|
295
|
-
}
|
|
296
|
-
.focus-content::before {
|
|
297
|
-
content: '$ cat statement.txt';
|
|
298
|
-
font-size: var(--fs-sub);
|
|
299
|
-
font-weight: 400;
|
|
300
|
-
color: var(--muted);
|
|
301
|
-
margin-bottom: 40px;
|
|
302
|
-
}
|
|
303
|
-
.focus-statement,
|
|
304
|
-
.slide--focus .focus-content h1,
|
|
305
|
-
.slide--focus .focus-content p {
|
|
306
|
-
font-family: var(--font-display);
|
|
307
|
-
font-size: var(--fs-focus);
|
|
308
|
-
font-weight: 700;
|
|
309
|
-
line-height: 1.2;
|
|
310
|
-
letter-spacing: -0.03em;
|
|
311
|
-
color: var(--ink);
|
|
312
|
-
max-width: 1550px;
|
|
313
|
-
margin: 0;
|
|
314
|
-
text-wrap: balance;
|
|
315
|
-
}
|
|
316
|
-
.focus-attribution {
|
|
317
|
-
font-family: var(--font-body);
|
|
318
|
-
font-size: var(--fs-sub);
|
|
319
|
-
font-weight: 400;
|
|
320
|
-
color: var(--muted);
|
|
321
|
-
margin: 48px 0 0 0;
|
|
322
|
-
}
|
|
323
|
-
.focus-attribution::before { content: '# '; color: var(--accent); }
|
|
324
|
-
|
|
325
|
-
/* ─────────────────────────────────────────────
|
|
326
|
-
LAYOUT: IMAGE + TEXT
|
|
327
|
-
───────────────────────────────────────────── */
|
|
328
|
-
.image-pane {
|
|
329
|
-
flex: 1.15;
|
|
330
|
-
min-width: 0;
|
|
331
|
-
display: flex;
|
|
332
|
-
align-items: center;
|
|
333
|
-
justify-content: center;
|
|
334
|
-
background: var(--surface);
|
|
335
|
-
border: 2px solid var(--rule);
|
|
336
|
-
overflow: hidden;
|
|
337
|
-
position: relative;
|
|
338
|
-
}
|
|
339
|
-
.image-placeholder {
|
|
340
|
-
width: 100%;
|
|
341
|
-
height: 100%;
|
|
342
|
-
background: repeating-linear-gradient(135deg, var(--surface) 0 22px, var(--bg) 22px 44px);
|
|
343
|
-
display: flex;
|
|
344
|
-
align-items: center;
|
|
345
|
-
justify-content: center;
|
|
346
|
-
}
|
|
347
|
-
.image-placeholder span {
|
|
348
|
-
font-family: var(--font-body);
|
|
349
|
-
font-size: 22px;
|
|
350
|
-
color: var(--muted);
|
|
351
|
-
background: var(--bg);
|
|
352
|
-
padding: 14px 20px;
|
|
353
|
-
border: 1px solid var(--rule);
|
|
354
|
-
}
|
|
355
|
-
.text-pane .title { font-size: var(--fs-h); }
|
|
356
|
-
.text-pane .body-text + .body-text { margin-top: 8px; }
|
|
357
|
-
.text-pane .eyebrow { margin-bottom: 12px; }
|
|
358
|
-
|
|
359
|
-
/* ─────────────────────────────────────────────
|
|
360
|
-
LAYOUT: SPLIT — two panes, divided like a tmux split
|
|
361
|
-
───────────────────────────────────────────── */
|
|
362
|
-
.slide--split .split-columns { gap: 0; }
|
|
363
|
-
.slide--split .split-left { padding-right: 56px; }
|
|
364
|
-
.slide--split .split-right { padding-left: 56px; border-left: 2px solid var(--rule); }
|
|
365
|
-
|
|
366
|
-
/* ─────────────────────────────────────────────
|
|
367
|
-
LISTS — > for bullets, [1] for numbers
|
|
368
|
-
───────────────────────────────────────────── */
|
|
369
|
-
.slide-body ul li {
|
|
370
|
-
font-weight: 400;
|
|
371
|
-
line-height: 1.45;
|
|
372
|
-
padding-left: 1.6em;
|
|
373
|
-
position: relative;
|
|
374
|
-
}
|
|
375
|
-
.slide-body ul li::before {
|
|
376
|
-
content: '>';
|
|
377
|
-
position: absolute;
|
|
378
|
-
left: 0;
|
|
379
|
-
top: 0;
|
|
380
|
-
color: var(--accent);
|
|
381
|
-
font-weight: 700;
|
|
382
|
-
}
|
|
383
|
-
.slide-body ol li {
|
|
384
|
-
padding-left: 2.6em;
|
|
385
|
-
font-weight: 400;
|
|
386
|
-
line-height: 1.45;
|
|
387
|
-
}
|
|
388
|
-
.slide-body ol li::before {
|
|
389
|
-
content: '[' counter(slide-ol) ']';
|
|
390
|
-
position: absolute;
|
|
391
|
-
left: 0;
|
|
392
|
-
top: 0;
|
|
393
|
-
font-weight: 700;
|
|
394
|
-
color: var(--accent);
|
|
395
|
-
}
|
|
396
|
-
|
|
397
|
-
/* ─────────────────────────────────────────────
|
|
398
|
-
LAYOUT: FULL-BLEED IMAGE
|
|
399
|
-
───────────────────────────────────────────── */
|
|
400
|
-
.slide--full-bleed-image.has-overlay .slide-bg::after {
|
|
401
|
-
content: '';
|
|
402
|
-
position: absolute;
|
|
403
|
-
inset: 0;
|
|
404
|
-
background: rgba(0, 0, 0, 0.5);
|
|
405
|
-
}
|
|
406
|
-
.slide--full-bleed-image .overlay-title {
|
|
407
|
-
font-family: var(--font-display);
|
|
408
|
-
font-size: var(--fs-h);
|
|
409
|
-
font-weight: 700;
|
|
410
|
-
line-height: 1.15;
|
|
411
|
-
letter-spacing: -0.03em;
|
|
412
|
-
color: #fff;
|
|
413
|
-
margin: 0;
|
|
414
|
-
max-width: 1300px;
|
|
415
|
-
text-wrap: balance;
|
|
416
|
-
}
|
|
417
|
-
|
|
418
|
-
/* ─────────────────────────────────────────────
|
|
419
|
-
GENERIC / CONTENT SLIDE — the heading typed at the prompt
|
|
420
|
-
───────────────────────────────────────────── */
|
|
421
|
-
.slide-body h1 {
|
|
422
|
-
font-family: var(--font-display);
|
|
423
|
-
font-size: var(--fs-h);
|
|
424
|
-
font-weight: 700;
|
|
425
|
-
line-height: 1.15;
|
|
426
|
-
letter-spacing: -0.03em;
|
|
427
|
-
color: var(--ink);
|
|
428
|
-
margin: 0 0 var(--gap-title) 0;
|
|
429
|
-
max-width: 1600px;
|
|
430
|
-
text-wrap: balance;
|
|
431
|
-
}
|
|
432
|
-
:is(.slide-body, .split-heading) > h1:first-child::before {
|
|
433
|
-
content: var(--prompt);
|
|
434
|
-
color: var(--muted);
|
|
435
|
-
font-weight: 400;
|
|
436
|
-
letter-spacing: -0.04em;
|
|
437
|
-
}
|
|
438
|
-
.slide-body h2 {
|
|
439
|
-
font-family: var(--font-display);
|
|
440
|
-
font-size: var(--fs-sub);
|
|
441
|
-
font-weight: 700;
|
|
442
|
-
line-height: 1.2;
|
|
443
|
-
letter-spacing: -0.02em;
|
|
444
|
-
color: var(--ink);
|
|
445
|
-
margin: 0 0 var(--gap-item) 0;
|
|
446
|
-
}
|
|
447
|
-
.slide-body h2:not(.chapter-title)::before { content: '## '; color: var(--accent); font-weight: 400; }
|
|
448
|
-
.slide-body p {
|
|
449
|
-
font-family: var(--font-body);
|
|
450
|
-
font-size: var(--fs-body);
|
|
451
|
-
font-weight: 400;
|
|
452
|
-
line-height: 1.55;
|
|
453
|
-
color: var(--ink-soft);
|
|
454
|
-
margin: 0 0 var(--gap-item) 0;
|
|
455
|
-
text-wrap: pretty;
|
|
456
|
-
}
|
|
457
|
-
.slide-body > p { max-width: 1550px; }
|
|
458
|
-
|
|
459
|
-
/* ─────────────────────────────────────────────
|
|
460
|
-
CALLOUTS — log lines: a level in brackets, no box
|
|
461
|
-
───────────────────────────────────────────── */
|
|
462
|
-
.slide-body .callout {
|
|
463
|
-
--level: var(--accent);
|
|
464
|
-
display: flex;
|
|
465
|
-
align-items: baseline;
|
|
466
|
-
gap: 0.6em;
|
|
467
|
-
background: none;
|
|
468
|
-
border: 0;
|
|
469
|
-
padding: 0;
|
|
470
|
-
margin: 36px 0 0;
|
|
471
|
-
}
|
|
472
|
-
.slide-body :is(.callout-warning, .callout-caution, .callout-definition) { --level: var(--accent-2); }
|
|
473
|
-
.slide-body .callout:is(.callout-theorem, .callout-lemma, .callout-corollary, .callout-definition) .callout-title { color: var(--level); }
|
|
474
|
-
.slide-body .callout-important { --level: var(--ink); }
|
|
475
|
-
.slide-body .callout .callout-title {
|
|
476
|
-
flex: none;
|
|
477
|
-
font-size: var(--fs-body);
|
|
478
|
-
font-weight: 700;
|
|
479
|
-
letter-spacing: 0;
|
|
480
|
-
text-transform: lowercase;
|
|
481
|
-
color: var(--level);
|
|
482
|
-
margin: 0;
|
|
483
|
-
}
|
|
484
|
-
.slide-body .callout .callout-title::before { content: '['; }
|
|
485
|
-
.slide-body .callout .callout-title::after { content: ']'; }
|
|
486
|
-
.slide-body .callout p { padding-left: 0; margin: 0; color: var(--ink); font-size: var(--fs-body); }
|
|
487
|
-
.slide-body .callout > :not(.callout-title) + * { margin-top: 8px; }
|
|
488
|
-
/* A proof is a log line too: [proof] … ∎ */
|
|
489
|
-
.slide-body .callout.callout-proof { display: flex; }
|
|
490
|
-
.slide-body .callout.callout-proof .callout-title { float: none; font-style: normal; text-transform: lowercase; color: var(--muted); }
|
|
491
|
-
.slide-body .callout.callout-proof .callout-title::before { content: '['; }
|
|
492
|
-
.slide-body .callout.callout-proof .callout-title::after { content: ']'; }
|
|
493
|
-
|
|
494
|
-
/* ─────────────────────────────────────────────
|
|
495
|
-
CODE BLOCK — a window: a frame in the rule colour and a title bar
|
|
496
|
-
───────────────────────────────────────────── */
|
|
497
|
-
.code-block {
|
|
498
|
-
--code-bg: var(--bg);
|
|
499
|
-
--code-radius: 0;
|
|
500
|
-
--code-size: 26px;
|
|
501
|
-
background: var(--code-bg);
|
|
502
|
-
border: 2px solid var(--rule);
|
|
503
|
-
border-top: 0;
|
|
504
|
-
border-radius: 0;
|
|
505
|
-
padding: 32px 40px;
|
|
506
|
-
margin: 0;
|
|
507
|
-
overflow: hidden;
|
|
508
|
-
font-size: var(--code-size);
|
|
509
|
-
font-family: var(--font-body);
|
|
510
|
-
line-height: 1.6;
|
|
511
|
-
}
|
|
512
|
-
/* The title bar with three window buttons, above the code (outside it, so
|
|
513
|
-
it stays when tall code scrolls). */
|
|
514
|
-
.code-block-wrapper::before {
|
|
515
|
-
content: '';
|
|
516
|
-
display: block;
|
|
517
|
-
height: 40px;
|
|
518
|
-
box-sizing: border-box;
|
|
519
|
-
border: 2px solid var(--rule);
|
|
520
|
-
background:
|
|
521
|
-
radial-gradient(circle at 24px 50%, var(--muted) 0 6px, transparent 7px),
|
|
522
|
-
radial-gradient(circle at 46px 50%, var(--muted) 0 6px, transparent 7px),
|
|
523
|
-
radial-gradient(circle at 68px 50%, var(--muted) 0 6px, transparent 7px),
|
|
524
|
-
var(--surface);
|
|
525
|
-
}
|
|
526
|
-
.code-block code {
|
|
527
|
-
font-family: inherit;
|
|
528
|
-
font-size: inherit;
|
|
529
|
-
background: none;
|
|
530
|
-
padding: 0;
|
|
531
|
-
}
|
|
532
|
-
.code-output { font-family: var(--font-body); border-radius: 0; }
|
|
533
|
-
|
|
534
|
-
/* ─────────────────────────────────────────────
|
|
535
|
-
AUDIENCE QUESTIONS — square bars, a framed join code
|
|
536
|
-
───────────────────────────────────────────── */
|
|
537
|
-
.slide .poll-track, .slide .poll-fill, .slide .scale-track, .slide .scale-fill { border-radius: 0; }
|
|
538
|
-
.slide .poll-track, .slide .scale-track { background: var(--surface); }
|
|
539
|
-
.slide .question-cards li { border-radius: 0; background: var(--surface); }
|
|
540
|
-
.slide .poll-join { border-radius: 0; border: 2px solid var(--rule); }
|
|
541
|
-
|
|
542
|
-
/* ─────────────────────────────────────────────
|
|
543
|
-
MATH (KaTeX)
|
|
544
|
-
───────────────────────────────────────────── */
|
|
545
|
-
.slide .katex-display {
|
|
546
|
-
font-size: var(--fs-sub);
|
|
547
|
-
margin: 48px 0;
|
|
548
|
-
overflow-x: auto;
|
|
549
|
-
overflow-y: hidden;
|
|
550
|
-
}
|
|
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
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 1,
|
|
3
|
-
"width": 1920,
|
|
4
|
-
"height": 1080,
|
|
5
|
-
"slides": {
|
|
6
|
-
"the-tools-your-field-uses-are-written-in": [
|
|
7
|
-
{"id":"63zmhi:muvocmul6","tool":"pen","color":"#f59e0b","size":6,"points":[[531,278,0.5],[502,280,0.5],[481,280,0.5],[482,282,0.5],[493,284,0.5],[532,286,0.5],[859,286,0.5],[925,293,0.5],[977,298,0.5],[1013,302,0.5],[1146,312,0.5],[1204,317,0.5],[1281,322,0.5],[1299,324,0.5],[1451,332,0.5],[1470,334,0.5],[1507,336,0.5],[1525,338,0.5],[1544,339,0.5],[1579,343,0.5],[1597,344,0.5],[1682,355,0.5],[1747,360,0.5]]}
|
|
8
|
-
],
|
|
9
|
-
"variables-and-data-types": [
|
|
10
|
-
{"id":"63zmhi:muvocong7","tool":"pen","color":"#f59e0b","size":6,"points":[[734,266,0.5],[699,289,0.5],[690,298,0.5],[678,315,0.5],[673,326,0.5],[665,347,0.5],[659,369,0.5],[658,382,0.5],[658,439,0.5],[662,450,0.5],[677,470,0.5],[686,481,0.5],[706,498,0.5],[718,507,0.5],[742,519,0.5],[753,524,0.5],[765,528,0.5],[777,529,0.5],[805,529,0.5],[812,528,0.5],[818,521,0.5],[823,512,0.5],[827,502,0.5],[830,490,0.5],[836,451,0.5],[838,412,0.5],[838,369,0.5],[837,362,0.5],[835,356,0.5],[831,350,0.5],[826,345,0.5],[811,342,0.5],[805,343,0.5],[793,343,0.5],[787,344,0.5],[781,347,0.5],[775,352,0.5],[760,377,0.5],[755,393,0.5],[755,420,0.5],[760,429,0.5],[768,432,0.5],[787,436,0.5],[884,436,0.5],[900,435,0.5],[915,432,0.5],[931,428,0.5],[961,416,0.5],[975,409,0.5],[986,401,0.5],[999,393,0.5],[1020,377,0.5],[1043,355,0.5],[1052,343,0.5],[1055,335,0.5],[1055,332,0.5],[1054,332,0.5],[1051,337,0.5],[1046,348,0.5],[1045,354,0.5],[1045,392,0.5],[1048,398,0.5],[1058,408,0.5],[1071,416,0.5],[1080,417,0.5],[1096,421,0.5],[1149,421,0.5],[1158,419,0.5],[1175,412,0.5],[1199,393,0.5],[1217,377,0.5],[1232,360,0.5],[1247,345,0.5],[1251,342,0.5],[1263,336,0.5],[1275,332,0.5],[1282,331,0.5],[1324,331,0.5],[1347,338,0.5],[1396,363,0.5],[1411,368,0.5],[1424,371,0.5],[1440,373,0.5],[1456,373,0.5]]}
|
|
11
|
-
],
|
|
12
|
-
"variables-store-data": [
|
|
13
|
-
{"id":"63zmhi:muvocqi48","tool":"pen","color":"#f59e0b","size":6,"points":[[831,368,0.5],[793,362,0.5],[788,366,0.5],[793,375,0.5],[793,437,0.5],[798,461,0.5],[803,471,0.5],[811,483,0.5],[820,491,0.5],[830,499,0.5],[841,507,0.5],[854,513,0.5],[883,519,0.5],[898,521,0.5],[913,522,0.5],[1010,522,0.5],[1026,519,0.5],[1053,510,0.5],[1075,493,0.5],[1083,484,0.5],[1091,472,0.5],[1098,460,0.5],[1104,445,0.5],[1110,416,0.5],[1112,385,0.5],[1111,370,0.5],[1111,344,0.5],[1109,322,0.5],[1106,313,0.5],[1092,300,0.5],[1080,293,0.5],[1059,290,0.5],[1057,291,0.5],[1052,291,0.5],[1051,292,0.5],[1051,331,0.5],[1060,345,0.5],[1076,360,0.5],[1084,366,0.5],[1117,383,0.5],[1129,387,0.5],[1140,390,0.5],[1164,392,0.5],[1186,392,0.5],[1195,391,0.5],[1204,391,0.5],[1211,384,0.5],[1216,375,0.5],[1220,364,0.5],[1225,340,0.5],[1228,293,0.5],[1228,251,0.5],[1228,255,0.5],[1230,258,0.5],[1235,268,0.5],[1240,273,0.5],[1258,291,0.5],[1282,310,0.5],[1299,321,0.5],[1322,330,0.5],[1334,334,0.5],[1360,340,0.5],[1387,344,0.5],[1414,345,0.5],[1499,345,0.5],[1510,344,0.5],[1520,340,0.5],[1547,331,0.5],[1570,325,0.5],[1587,323,0.5],[1641,323,0.5],[1661,328,0.5],[1718,352,0.5],[1742,360,0.5],[1755,363,0.5]]}
|
|
14
|
-
],
|
|
15
|
-
"four-types-cover-most-biology-data": [
|
|
16
|
-
{"id":"63zmhi:muvocsxn9","tool":"pen","color":"#f59e0b","size":6,"points":[[1110,277,0.5],[1072,262,0.5],[1059,259,0.5],[1050,260,0.5],[1026,256,0.5],[1002,254,0.5],[935,254,0.5],[923,255,0.5],[900,261,0.5],[851,281,0.5],[838,289,0.5],[824,297,0.5],[795,314,0.5],[779,323,0.5],[747,342,0.5],[731,350,0.5],[716,359,0.5],[669,382,0.5],[654,390,0.5],[642,395,0.5],[592,422,0.5],[587,427,0.5],[583,431,0.5],[582,434,0.5],[582,445,0.5],[591,455,0.5],[610,464,0.5],[622,467,0.5],[662,477,0.5],[679,479,0.5],[716,481,0.5],[889,481,0.5],[907,479,0.5],[922,475,0.5],[948,465,0.5],[958,459,0.5],[964,453,0.5],[970,444,0.5],[974,437,0.5],[975,427,0.5],[975,393,0.5],[968,367,0.5],[962,354,0.5],[941,328,0.5],[919,305,0.5],[896,284,0.5],[883,275,0.5],[856,262,0.5],[841,257,0.5],[814,252,0.5],[800,252,0.5],[787,251,0.5],[773,252,0.5],[749,252,0.5],[738,256,0.5],[728,263,0.5],[711,278,0.5],[697,296,0.5],[687,314,0.5],[684,324,0.5],[682,343,0.5],[683,352,0.5],[683,369,0.5],[686,379,0.5],[699,396,0.5],[721,413,0.5],[745,427,0.5],[773,438,0.5],[803,446,0.5],[834,453,0.5],[865,455,0.5],[881,455,0.5],[896,456,0.5],[910,455,0.5],[939,455,0.5],[966,450,0.5],[980,444,0.5],[1003,433,0.5],[1022,418,0.5],[1033,412,0.5],[1040,404,0.5],[1055,390,0.5],[1066,377,0.5],[1073,367,0.5],[1081,356,0.5],[1082,353,0.5],[1085,348,0.5],[1091,344,0.5],[1132,344,0.5],[1145,351,0.5],[1161,360,0.5],[1190,376,0.5],[1212,384,0.5],[1237,392,0.5],[1279,399,0.5],[1310,401,0.5],[1498,401,0.5],[1509,400,0.5],[1559,398,0.5],[1568,396,0.5],[1631,396,0.5],[1649,400,0.5],[1654,403,0.5],[1664,407,0.5],[1684,412,0.5],[1690,413,0.5],[1707,414,0.5],[1725,414,0.5]]}
|
|
17
|
-
]
|
|
18
|
-
}
|
|
19
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 1,
|
|
3
|
-
"width": 1920,
|
|
4
|
-
"height": 1080,
|
|
5
|
-
"slides": {
|
|
6
|
-
"draw-on-any-slide": [
|
|
7
|
-
{"id":"pkpb2b:muw89tng0","tool":"pen","color":"#e11d48","size":6,"points":[[1247,286,0.5]]}
|
|
8
|
-
],
|
|
9
|
-
"give-the-talk": [
|
|
10
|
-
{"id":"pkpb2b:muwectdg0","tool":"pen","color":"#e11d48","size":6,"points":[[950,358,0.5],[917,358,0.5],[899,362,0.5],[877,369,0.5],[861,381,0.5],[851,391,0.5],[845,403,0.5],[838,421,0.5],[833,439,0.5],[831,453,0.5],[831,490,0.5],[833,506,0.5],[839,517,0.5],[849,525,0.5],[868,532,0.5],[895,536,0.5],[958,537,0.5],[998,533,0.5],[1043,522,0.5],[1087,505,0.5],[1132,483,0.5],[1181,452,0.5],[1207,433,0.5],[1235,409,0.5],[1257,386,0.5],[1275,364,0.5],[1287,341,0.5],[1294,318,0.5],[1297,295,0.5],[1297,270,0.5],[1290,245,0.5],[1270,214,0.5],[1241,186,0.5],[1205,169,0.5],[1142,159,0.5],[1061,157,0.5],[975,179,0.5],[878,227,0.5],[793,283,0.5],[709,354,0.5],[637,423,0.5],[587,486,0.5],[544,556,0.5],[519,618,0.5],[508,672,0.5],[510,716,0.5],[527,752,0.5],[558,779,0.5],[601,798,0.5],[653,809,0.5],[712,812,0.5],[775,810,0.5],[843,797,0.5],[961,744,0.5],[1006,711,0.5],[1055,668,0.5],[1095,620,0.5],[1126,571,0.5],[1141,534,0.5],[1147,501,0.5],[1149,467,0.5],[1146,443,0.5],[1130,424,0.5],[1094,413,0.5],[1047,420,0.5],[995,450,0.5],[953,487,0.5],[917,531,0.5],[886,571,0.5],[872,599,0.5],[856,633,0.5],[846,662,0.5],[843,691,0.5],[844,722,0.5],[856,739,0.5],[893,745,0.5],[949,740,0.5],[1015,717,0.5],[1093,675,0.5],[1174,620,0.5],[1232,574,0.5],[1261,543,0.5],[1292,508,0.5],[1313,480,0.5],[1341,420,0.5],[1339,409,0.5],[1318,400,0.5],[1254,406,0.5],[1155,442,0.5],[1035,512,0.5],[932,585,0.5],[836,667,0.5],[758,743,0.5],[724,785,0.5],[704,814,0.5],[686,843,0.5],[666,887,0.5],[659,916,0.5],[685,915,0.5],[767,878,0.5],[884,801,0.5],[977,728,0.5],[1051,667,0.5],[1140,590,0.5],[1218,521,0.5],[1260,481,0.5],[1325,417,0.5],[1334,405,0.5],[1334,399,0.5],[1306,412,0.5],[1172,492,0.5],[1112,530,0.5],[1079,553,0.5],[1039,582,0.5],[1016,601,0.5]]}
|
|
11
|
-
]
|
|
12
|
-
}
|
|
13
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|