@hypersocial/decks-cli 0.9.23 → 0.9.24
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/package.json +1 -1
- package/skills/hyperdecks/SKILL.md +113 -67
- package/skills/hyperdecks/chat.md +11 -8
- package/skills/hyperdecks/terminal.md +82 -0
- package/src/bars.mjs +268 -0
- package/src/brand.mjs +51 -8
- package/src/check.mjs +311 -15
- package/src/checkRules.mjs +616 -27
- package/src/commands.mjs +157 -28
- package/src/deckSlug.mjs +41 -0
- package/src/export-video.mjs +20 -3
- package/src/files.mjs +35 -0
- package/src/guide.mjs +91 -13
- package/src/hosted.mjs +18 -8
- package/src/iconAliasNames.mjs +70 -0
- package/src/iconChoice.mjs +97 -0
- package/src/iconSets.mjs +89 -0
- package/src/iconSlots.mjs +48 -0
- package/src/icons.mjs +285 -45
- package/src/iconsCli.mjs +76 -0
- package/src/layoutRoutes.mjs +92 -0
- package/src/layouts.mjs +4 -4
- package/src/mediaPreviews.mjs +3 -1
- package/src/narrate.mjs +31 -4
- package/src/opening.mjs +9 -3
- package/src/ops.mjs +49 -0
- package/src/photosGuide.mjs +47 -0
- package/src/picturesGuide.mjs +53 -0
- package/src/play.mjs +3 -2
- package/src/presenter.mjs +3 -1
- package/src/release.mjs +13 -5
- package/src/runtime.mjs +9 -2
- package/src/scaffold.mjs +73 -13
- package/src/source.mjs +86 -14
- package/src/stockMedia.mjs +299 -0
- package/src/themeCli.mjs +41 -0
- package/src/themes.mjs +345 -0
- package/templates/icons/material.LICENSE +202 -0
- package/templates/icons/material.json.gz +0 -0
- package/templates/icons/phosphor.LICENSE +21 -0
- package/templates/icons/phosphor.json.gz +0 -0
- package/templates/icons/tabler.LICENSE +21 -0
- package/templates/icons/tabler.json.gz +0 -0
- package/templates/layouts/_deck.html +177 -36
- package/templates/layouts/bento.html +75 -0
- package/templates/layouts/chart.html +6 -4
- package/templates/layouts/closer.html +10 -3
- package/templates/layouts/compare.html +13 -4
- package/templates/layouts/cover-band.html +10 -8
- package/templates/layouts/cover-frame.html +9 -7
- package/templates/layouts/cover-poster.html +8 -5
- package/templates/layouts/cover-split.html +7 -6
- package/templates/layouts/cover-type.html +1 -0
- package/templates/layouts/features.html +9 -7
- package/templates/layouts/funnel.html +60 -0
- package/templates/layouts/hero.html +40 -22
- package/templates/layouts/lanes.html +63 -0
- package/templates/layouts/loop.html +81 -0
- package/templates/layouts/number.html +2 -1
- package/templates/layouts/phone-stage.html +68 -0
- package/templates/layouts/phones.html +1 -0
- package/templates/layouts/picture-full.html +48 -0
- package/templates/layouts/portrait.html +45 -0
- package/templates/layouts/product.html +7 -6
- package/templates/layouts/quote.html +2 -1
- package/templates/layouts/rail.html +71 -0
- package/templates/layouts/scorecard.html +70 -0
- package/templates/layouts/screens.html +85 -0
- package/templates/layouts/sentence.html +39 -0
- package/templates/layouts/split.html +22 -7
- package/templates/layouts/spotlight.html +77 -0
- package/templates/layouts/stack.html +83 -0
- package/templates/layouts/staircase.html +76 -0
- package/templates/layouts/strike.html +46 -0
- package/templates/layouts/tap-through.html +73 -0
- package/templates/layouts/team.html +3 -2
- package/templates/layouts/timeline.html +16 -6
- package/templates/layouts/two-bars.html +53 -0
- package/templates/layouts/two-by-two.html +71 -0
- package/templates/layouts/video-beats.html +66 -0
- package/templates/layouts/video-full.html +62 -0
- package/templates/layouts/wall.html +81 -0
- package/templates/layouts/zoom.html +144 -0
- package/templates/narrated-deck.html +12 -7
- package/templates/script.md +2 -2
- /package/templates/icons/{LICENSE → lucide.LICENSE} +0 -0
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
layout: spotlight
|
|
3
|
+
summary: Three to five options, the picked one large in the accent on the left and the rest set back in a column beside it: the one that matters among several.
|
|
4
|
+
brief: Three to five options, one picked out large, the rest set back beside it.
|
|
5
|
+
says: the one that matters
|
|
6
|
+
needs: 3 to 5 options
|
|
7
|
+
use: the new one among the old, the plan you chose among the options, the tier most people buy. Mark the picked card with class is-on (one only). Names of a word or two, no word over about 14 letters (each name is sized to its card so its longest word fits; words never break). [go] on a card also lifts it and sets its neighbours back, so the narration can walk the options before landing on the picked one. A large presenter: data-presenter-size="l" or "xl" on this slide's own section tag (not the player tag) narrows both columns, clear of the presenter.
|
|
8
|
+
slot: bottom-right
|
|
9
|
+
presenter: stage
|
|
10
|
+
nopresenter: The two columns take the full width of the slide.
|
|
11
|
+
cues: [look: #__ID__-row] as the narration names the options; [go: #__ID__-on] at the picked one, then [go: slot].
|
|
12
|
+
script: There are four ways to present. [look: #__ID__-row] This one is new: [go: #__ID__-on] your avatar, moving with the words. [go: slot]
|
|
13
|
+
-->
|
|
14
|
+
<style>
|
|
15
|
+
/* The picked option fills the left column, tall, in the accent; the others stack as rows in the right column, quiet,
|
|
16
|
+
in the slide's own colour. Both end left of the presenter's corner (the stage presenter at m reaches 1064px across).
|
|
17
|
+
Each name is sized to its card (cqi: the card's width) so a word of about 14 letters fits in any theme; words
|
|
18
|
+
never break. */
|
|
19
|
+
.l-spotlight .row { list-style: none; flex: 1; min-height: 0; max-height: 520px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-auto-rows: minmax(0, 1fr); grid-auto-flow: row dense; gap: 16px 24px; max-width: 980px; margin-top: 8px; }
|
|
20
|
+
.l-spotlight .row li { container-type: inline-size; grid-column: 2; display: flex; flex-direction: column; justify-content: center; gap: 4px; min-width: 0; padding: 14px 22px; border-radius: calc(20 * var(--round)); border: calc(3 * var(--line)) solid color-mix(in srgb, currentColor 35%, transparent); color: color-mix(in srgb, currentColor 70%, transparent); background: color-mix(in srgb, currentColor 6%, transparent); }
|
|
21
|
+
.l-spotlight .row b { font-family: var(--display, var(--font)); font-weight: var(--display-weight, 700); letter-spacing: var(--display-tracking, -.045em); font-size: min(var(--t-lead), 11cqi); line-height: 1.05; }
|
|
22
|
+
.l-spotlight .row p { font-size: min(var(--t-body), 9cqi); line-height: 1.3; }
|
|
23
|
+
.l-spotlight .row li.is-on { grid-column: 1; grid-row: 1 / -1; justify-content: space-between; gap: 14px; padding: 32px 34px; border-color: var(--ink); background: var(--accent); color: var(--accent-ink); box-shadow: calc(10 * var(--drop-x)) calc(10 * var(--drop-y)) calc(10 * var(--drop-blur)) color-mix(in srgb, var(--ink) var(--drop-mix), transparent); }
|
|
24
|
+
.l-spotlight .row:has(li:nth-child(5)) li.is-on { grid-row: 1 / span 4; }
|
|
25
|
+
.l-spotlight .row:not(:has(li:nth-child(5))) li.is-on { grid-row: 1 / span 3; }
|
|
26
|
+
.l-spotlight .row:not(:has(li:nth-child(4))) li.is-on { grid-row: 1 / span 2; }
|
|
27
|
+
.on-ink.l-spotlight .row li.is-on { box-shadow: calc(10 * var(--drop-x)) calc(10 * var(--drop-y)) calc(10 * var(--drop-blur)) color-mix(in srgb, var(--accent-2) var(--drop-mix), transparent); }
|
|
28
|
+
.on-accent.l-spotlight .row li.is-on { background: var(--card); color: var(--ink); }
|
|
29
|
+
.l-spotlight .row li.is-on b { font-size: min(var(--t-title), 11cqi); line-height: var(--display-leading); }
|
|
30
|
+
.l-spotlight .row li.is-on p { font-size: min(var(--t-lead), 8cqi); }
|
|
31
|
+
@media (max-width: 650px) {
|
|
32
|
+
.l-spotlight .row { flex: none; max-height: none; grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; gap: 8px; max-width: none; margin: 0; }
|
|
33
|
+
.l-spotlight .row li, .l-spotlight .row li.is-on { grid-column: 1; grid-row: auto; gap: 2px; padding: 10px 14px; border-width: calc(2 * var(--line)); border-radius: calc(14 * var(--round)); }
|
|
34
|
+
.l-spotlight .row li.is-on { box-shadow: calc(5 * var(--drop-x)) calc(5 * var(--drop-y)) calc(5 * var(--drop-blur)) color-mix(in srgb, var(--ink) var(--drop-mix), transparent); }
|
|
35
|
+
.l-spotlight .row b, .l-spotlight .row li.is-on b { font-size: min(var(--t-lead), 9cqi); }
|
|
36
|
+
.l-spotlight .row p, .l-spotlight .row li.is-on p { font-size: var(--t-body); }
|
|
37
|
+
}
|
|
38
|
+
/* A large presenter (data-presenter-size l or xl on this slide's section tag). */
|
|
39
|
+
@media not all and (max-width: 650px) {
|
|
40
|
+
.l-spotlight[data-presenter-size="l"] :is(.row, .tt) { max-width: 830px; }
|
|
41
|
+
.l-spotlight[data-presenter-size="xl"] :is(.row, .tt) { max-width: 680px; }
|
|
42
|
+
.l-spotlight[data-presenter-size="xl"] .row { gap: 12px 16px; }
|
|
43
|
+
.l-spotlight[data-presenter-size="xl"] .row li.is-on { padding: 22px 24px; }
|
|
44
|
+
}
|
|
45
|
+
/* No presenter (:root.hd-no-presenter: no face and no captions, deck_guide look): the corner is free. Phones keep this layout's rules. */
|
|
46
|
+
@media (min-width: 651px) {
|
|
47
|
+
:root.hd-no-presenter .l-spotlight :is(.row, .tt) { max-width: none; }
|
|
48
|
+
}
|
|
49
|
+
/* Icon slot (optional): an icon on each option, beside its name, and at the top of the picked one (hyperdecks icons search <word> --for spotlight). */
|
|
50
|
+
.l-spotlight .row li { --icon: 40; }
|
|
51
|
+
.l-spotlight .row li:not(.is-on):has(> .icon) { display: grid; grid-template-columns: auto minmax(0, 1fr); align-content: center; column-gap: 14px; }
|
|
52
|
+
.l-spotlight .row li:not(.is-on) > .icon { grid-row: span 2; align-self: center; }
|
|
53
|
+
.l-spotlight .row li.is-on { --icon: 72; }
|
|
54
|
+
.l-spotlight:not(.on-accent) .row li.is-on { --icon-fill: var(--icon-tile-accent, var(--card)); --icon-fg: var(--icon-ink-accent, var(--ink)); }
|
|
55
|
+
/* The other options are see-through: on an accent ground their tiles take the ground's pair. */
|
|
56
|
+
.on-accent.l-spotlight .row li:not(.is-on) { --icon-fill: var(--icon-tile-accent, var(--card)); --icon-fg: var(--icon-ink-accent, var(--ink)); }
|
|
57
|
+
@media (max-width: 650px) {
|
|
58
|
+
.l-spotlight .row li, .l-spotlight .row li.is-on { --icon: 28; }
|
|
59
|
+
.l-spotlight .row li:has(> .icon) { display: grid; grid-template-columns: auto minmax(0, 1fr); align-content: center; column-gap: 10px; }
|
|
60
|
+
.l-spotlight .row li > .icon { grid-row: span 2; align-self: center; }
|
|
61
|
+
}
|
|
62
|
+
@media not all and (max-width: 650px) {
|
|
63
|
+
.l-spotlight[data-presenter-size="xl"] .row li { --icon: 32; }
|
|
64
|
+
.l-spotlight[data-presenter-size="xl"] .row li.is-on { --icon: 52; }
|
|
65
|
+
}
|
|
66
|
+
</style>
|
|
67
|
+
<section class="slide on-ink l-spotlight" id="__ID__" data-chapter="The options" data-note="Source: where each option is described (a pricing page, the docs).">
|
|
68
|
+
<div class="kicker">Four ways to present</div>
|
|
69
|
+
<h2 class="tt" data-title-mobile="This one is new.">Four presenters. This one is new.</h2>
|
|
70
|
+
<ol class="row" id="__ID__-row">
|
|
71
|
+
<li><b>Captions</b><p>Words only, no face.</p></li>
|
|
72
|
+
<li><b>A still</b><p>Your photo, talking.</p></li>
|
|
73
|
+
<li class="is-on" id="__ID__-on"><b>A live head</b><p>Your avatar, moving with the words.</p></li>
|
|
74
|
+
<li><b>A guest</b><p>A second voice joins in.</p></li>
|
|
75
|
+
</ol>
|
|
76
|
+
<div class="narration-slot"></div>
|
|
77
|
+
</section>
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
layout: stack
|
|
3
|
+
summary: Three to five layers, each resting on the one below and the foundation widest at the bottom, a name and one line each: what is built on what.
|
|
4
|
+
brief: Three to five layers, each resting on the one below, the base widest.
|
|
5
|
+
says: what it stands on
|
|
6
|
+
needs: 3 to 5 layers
|
|
7
|
+
use: a product's architecture in plain words, what a promise depends on, the parts that stack into the whole. Each name a few words, each line under about 40 characters. List the layers top to bottom, the foundation last. For three parts that do not depend on each other use features. A large presenter: data-presenter-size="l" or "xl" on this slide's own section tag (not the player tag) puts the layers under the title, clear of the presenter.
|
|
8
|
+
slot: bottom-right
|
|
9
|
+
presenter: stage
|
|
10
|
+
nopresenter: The layers take more of the width.
|
|
11
|
+
cues: [go: #__ID__-base] at the foundation, then the layers the narration names, then [go: slot].
|
|
12
|
+
script: It starts with [go: #__ID__-base] your deck. The player plays it, and the narration gives it your voice. On top, [go: #__ID__-top] one link per person. [go: slot]
|
|
13
|
+
-->
|
|
14
|
+
<style>
|
|
15
|
+
/* The title and a line beside the layers, which end left of the presenter's corner (the stage presenter at m reaches
|
|
16
|
+
1064px across); each layer is inset a step more than the one below it, the foundation in ink. */
|
|
17
|
+
.l-stack { display: grid; grid-template-columns: 380px minmax(0, 600px); grid-template-rows: auto auto 1fr; column-gap: 0; align-content: center; }
|
|
18
|
+
.l-stack > :is(.kicker, .tt, .lead) { grid-column: 1; }
|
|
19
|
+
.l-stack .tt { font-size: var(--t-sub); }
|
|
20
|
+
.l-stack .lead { align-self: start; font-size: var(--t-lead); line-height: 1.3; }
|
|
21
|
+
.l-stack .layers { --n: 5; grid-column: 2; grid-row: 1 / 4; align-self: center; list-style: none; display: flex; flex-direction: column; gap: 12px; margin-left: 48px; }
|
|
22
|
+
.l-stack .layers li { --up: 0; container-type: inline-size; display: flex; flex-direction: column; gap: 4px; margin: 0 calc(var(--up) * 30px); padding: 22px 30px; border: calc(3 * var(--line)) solid var(--ink); border-radius: calc(18 * var(--round)); background: var(--card); color: var(--ink); box-shadow: calc(6 * var(--drop-x)) calc(6 * var(--drop-y)) calc(6 * var(--drop-blur)) color-mix(in srgb, var(--ink) var(--drop-mix), transparent); }
|
|
23
|
+
/* --up: how many layers sit under this one (the last child is the foundation: 0). */
|
|
24
|
+
/* The layers between the top and the foundation are cards: a tint could match the slide's own ground. */
|
|
25
|
+
.l-stack .layers li:nth-last-child(2) { --up: 1; }
|
|
26
|
+
.l-stack .layers li:nth-last-child(3) { --up: 2; }
|
|
27
|
+
.l-stack .layers li:nth-last-child(4) { --up: 3; }
|
|
28
|
+
.l-stack .layers li:nth-last-child(5) { --up: 4; }
|
|
29
|
+
.l-stack .layers li:first-child { background: var(--accent); color: var(--accent-ink); }
|
|
30
|
+
.on-accent.l-stack .layers li:first-child { background: var(--card); color: var(--ink); }
|
|
31
|
+
.l-stack .layers li:last-child { background: var(--ink); color: var(--paper); border-color: var(--ink); }
|
|
32
|
+
.on-ink.l-stack .layers li:last-child { background: var(--paper); color: var(--ink); }
|
|
33
|
+
/* A layer's name as large as the layer allows while a word of about 14 letters fits whole (cqi: the layer's width). */
|
|
34
|
+
.l-stack .layers b { font-family: var(--display, var(--font)); font-weight: var(--display-weight, 700); letter-spacing: var(--display-tracking, -.045em); font-size: min(var(--t-sub), 11cqi); line-height: 1.05; }
|
|
35
|
+
.l-stack .layers p { font-size: min(var(--t-lead), 8cqi); line-height: 1.25; }
|
|
36
|
+
@media (max-width: 650px) {
|
|
37
|
+
.l-stack { display: flex; }
|
|
38
|
+
.l-stack .tt { font-size: var(--t-title); }
|
|
39
|
+
.l-stack .lead { font-size: var(--t-body); }
|
|
40
|
+
.l-stack .layers { align-self: stretch; gap: 6px; margin: 4px 0 0; }
|
|
41
|
+
.l-stack .layers li { gap: 1px; margin: 0 calc(var(--up) * 12px); padding: 9px 14px; border-width: calc(2 * var(--line)); border-radius: calc(12 * var(--round)); box-shadow: calc(3 * var(--drop-x)) calc(3 * var(--drop-y)) calc(3 * var(--drop-blur)) color-mix(in srgb, var(--ink) var(--drop-mix), transparent); }
|
|
42
|
+
.l-stack .layers b { font-size: var(--t-body); }
|
|
43
|
+
.l-stack .layers p { font-size: var(--t-label); }
|
|
44
|
+
}
|
|
45
|
+
/* A large presenter (data-presenter-size l or xl on this slide's section tag): the layers go under the title. */
|
|
46
|
+
@media not all and (max-width: 650px) {
|
|
47
|
+
.l-stack:is([data-presenter-size="l"], [data-presenter-size="xl"]) { display: flex; }
|
|
48
|
+
.l-stack:is([data-presenter-size="l"], [data-presenter-size="xl"]) .layers { align-self: stretch; margin: 8px 0 0; gap: 8px; }
|
|
49
|
+
.l-stack:is([data-presenter-size="l"], [data-presenter-size="xl"]) .layers li { padding: 10px 20px; }
|
|
50
|
+
.l-stack:is([data-presenter-size="l"], [data-presenter-size="xl"]) .layers p { font-size: var(--t-label); }
|
|
51
|
+
.l-stack[data-presenter-size="l"] :is(.tt, .lead, .layers) { max-width: 830px; }
|
|
52
|
+
.l-stack[data-presenter-size="xl"] :is(.tt, .lead, .layers) { max-width: 680px; }
|
|
53
|
+
}
|
|
54
|
+
/* No presenter (:root.hd-no-presenter: no face and no captions, deck_guide look): the corner is free. Phones keep this layout's rules. */
|
|
55
|
+
@media (min-width: 651px) {
|
|
56
|
+
:root.hd-no-presenter .l-stack:not([data-presenter-size="l"], [data-presenter-size="xl"]) { grid-template-columns: 440px minmax(0, 760px); justify-content: center; }
|
|
57
|
+
:root.hd-no-presenter .l-stack:is([data-presenter-size="l"], [data-presenter-size="xl"]) :is(.tt, .lead, .layers) { max-width: none; }
|
|
58
|
+
}
|
|
59
|
+
/* Icon slot (optional): an icon at the start of each layer (hyperdecks icons search <word> --for stack). */
|
|
60
|
+
.l-stack .layers li { --icon: 44; }
|
|
61
|
+
.l-stack .layers li:has(> .icon) { display: grid; grid-template-columns: auto minmax(0, 1fr); align-content: center; column-gap: 18px; }
|
|
62
|
+
.l-stack .layers li > .icon { grid-row: span 2; align-self: center; }
|
|
63
|
+
.l-stack:not(.on-accent) .layers li:first-child { --icon-fill: var(--icon-tile-accent, var(--card)); --icon-fg: var(--icon-ink-accent, var(--ink)); }
|
|
64
|
+
@media (max-width: 650px) {
|
|
65
|
+
.l-stack .layers li { --icon: 24; }
|
|
66
|
+
.l-stack .layers li:has(> .icon) { column-gap: 10px; }
|
|
67
|
+
}
|
|
68
|
+
@media not all and (max-width: 650px) {
|
|
69
|
+
.l-stack:is([data-presenter-size="l"], [data-presenter-size="xl"]) .layers li { --icon: 32; }
|
|
70
|
+
}
|
|
71
|
+
</style>
|
|
72
|
+
<section class="slide on-tint-3 l-stack" id="__ID__" data-chapter="What it stands on" data-note="Source: where each layer is described (the docs, the architecture).">
|
|
73
|
+
<div class="kicker">What it stands on</div>
|
|
74
|
+
<h2 class="tt" data-title-mobile="Four layers.">Four layers, one link.</h2>
|
|
75
|
+
<p class="lead">Each layer is only there because the one below it is.</p>
|
|
76
|
+
<ol class="layers">
|
|
77
|
+
<li id="__ID__-top"><b>The link</b><p>One per person, and who watched.</p></li>
|
|
78
|
+
<li><b>The narration</b><p>Your voice, timed to each slide.</p></li>
|
|
79
|
+
<li><b>The player</b><p>Plays it in any browser.</p></li>
|
|
80
|
+
<li id="__ID__-base"><b>Your deck</b><p>Slides an agent wrote.</p></li>
|
|
81
|
+
</ol>
|
|
82
|
+
<div class="narration-slot"></div>
|
|
83
|
+
</section>
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
layout: staircase
|
|
3
|
+
summary: Three or four steps rising left to right, each standing on the last, a number, a name and one line each: steps that build.
|
|
4
|
+
brief: Three or four steps rising left to right, each building on the last.
|
|
5
|
+
says: how it builds
|
|
6
|
+
needs: 3 to 4 steps
|
|
7
|
+
use: a process where each step needs the one before, levels of a plan, a path from first use to habit. Each name a word or two, no word over about 14 letters, each line under about 45 characters (names are sized by the column and the number of steps, so every word fits whole). Steps in order, undated, none bigger than another: rail; each step standing on the one before: staircase; dated milestones or a plan over time: timeline. A large presenter: data-presenter-size="l" or "xl" on this slide's own section tag (not the player tag) narrows the stairs, clear of the presenter.
|
|
8
|
+
slot: bottom-right
|
|
9
|
+
presenter: stage
|
|
10
|
+
nopresenter: The stairs take the full width of the slide.
|
|
11
|
+
cues: [go: #__ID__-s1] at the first step, then each in turn, then [go: slot].
|
|
12
|
+
script: It starts when you [go: #__ID__-s1] ask. Your assistant [go: #__ID__-s2] drafts it, your avatar [go: #__ID__-s3] narrates it, and you [go: #__ID__-s4] send it. [go: slot]
|
|
13
|
+
-->
|
|
14
|
+
<style>
|
|
15
|
+
/* The steps stand on the slide's floor in a column that ends left of the presenter's corner (the stage presenter at m
|
|
16
|
+
reaches 1064px across), each taller than the last (at least that tall; longer words grow a step). */
|
|
17
|
+
.l-staircase .steps { --n: 3; container-type: inline-size; list-style: none; flex: 1; min-height: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(min-content, 1fr); grid-template-rows: minmax(0, 1fr); align-items: end; gap: 18px; max-width: 980px; }
|
|
18
|
+
.l-staircase .steps li { --i: 0; display: flex; flex-direction: column; gap: 10px; min-height: calc(46% + var(--i) * 18%); padding: 24px 24px; border: calc(3 * var(--line)) solid var(--ink); border-radius: calc(22 * var(--round)); background: var(--card); color: var(--ink); box-shadow: calc(8 * var(--drop-x)) calc(8 * var(--drop-y)) calc(8 * var(--drop-blur)) color-mix(in srgb, var(--ink) var(--drop-mix), transparent); }
|
|
19
|
+
.on-ink.l-staircase .steps li { box-shadow: calc(8 * var(--drop-x)) calc(8 * var(--drop-y)) calc(8 * var(--drop-blur)) color-mix(in srgb, var(--accent-2) var(--drop-mix), transparent); }
|
|
20
|
+
.l-staircase .steps li:nth-child(2) { --i: 1; background: var(--tint-1); }
|
|
21
|
+
.l-staircase .steps li:nth-child(3) { --i: 2; background: var(--tint-2); }
|
|
22
|
+
.l-staircase .steps li:nth-child(4) { --i: 3; }
|
|
23
|
+
.l-staircase .steps li:last-child { background: var(--accent); color: var(--accent-ink); }
|
|
24
|
+
.on-accent.l-staircase .steps li:last-child { background: var(--ink); color: var(--paper); }
|
|
25
|
+
.l-staircase .n { font-family: var(--mono); font-size: var(--t-label); font-weight: 700; letter-spacing: .1em; }
|
|
26
|
+
/* Each step is at least as wide as its longest word (min-content), the rest shared: a long name widens its step,
|
|
27
|
+
never breaks. Names between lead and sub size, and lines at body size, each capped by the column shared among the
|
|
28
|
+
steps (cqi: the row's width; --n: the steps), so ordinary names fit the row together. */
|
|
29
|
+
.l-staircase .steps b { font-family: var(--display, var(--font)); font-weight: var(--display-weight, 700); letter-spacing: var(--display-tracking, -.045em); font-size: min(calc((var(--t-lead) + var(--t-sub)) / 2), calc(100cqi / (var(--n) * 9))); line-height: 1; }
|
|
30
|
+
.l-staircase .steps p { font-size: min(var(--t-body), calc(100cqi / (var(--n) * 11))); line-height: 1.25; }
|
|
31
|
+
.l-staircase .steps:has(> li:nth-child(4)) { --n: 4; }
|
|
32
|
+
@media (max-width: 650px) {
|
|
33
|
+
/* A phone: the steps as a list in order, 01 first, each one indented a step further than the one above. */
|
|
34
|
+
.l-staircase .steps { flex: none; display: flex; flex-direction: column; align-items: stretch; gap: 8px; max-width: none; }
|
|
35
|
+
.l-staircase .steps li { min-height: 0; gap: 2px; padding: 10px 14px; margin-left: calc(var(--i) * 16px); border-width: calc(2 * var(--line)); border-radius: calc(12 * var(--round)); box-shadow: calc(4 * var(--drop-x)) calc(4 * var(--drop-y)) calc(4 * var(--drop-blur)) color-mix(in srgb, var(--ink) var(--drop-mix), transparent); }
|
|
36
|
+
/* The number beside the name, the line under both. */
|
|
37
|
+
.l-staircase .steps li { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; column-gap: 10px; }
|
|
38
|
+
.l-staircase .steps b { font-size: var(--t-lead); }
|
|
39
|
+
.l-staircase .steps p { grid-column: 1 / -1; font-size: var(--t-body); }
|
|
40
|
+
}
|
|
41
|
+
/* A large presenter (data-presenter-size l or xl on this slide's section tag). */
|
|
42
|
+
@media not all and (max-width: 650px) {
|
|
43
|
+
.l-staircase[data-presenter-size="l"] :is(.steps, .tt) { max-width: 830px; }
|
|
44
|
+
.l-staircase[data-presenter-size="xl"] :is(.steps, .tt) { max-width: 680px; }
|
|
45
|
+
.l-staircase[data-presenter-size="xl"] .steps { gap: 12px; }
|
|
46
|
+
.l-staircase[data-presenter-size="xl"] .steps li { padding: 16px 16px; }
|
|
47
|
+
.l-staircase[data-presenter-size="xl"] .steps b { font-size: min(var(--t-body), calc(100cqi / (var(--n) * 9))); }
|
|
48
|
+
.l-staircase[data-presenter-size="xl"] .steps p { font-size: min(var(--t-body), calc(100cqi / (var(--n) * 11))); }
|
|
49
|
+
}
|
|
50
|
+
/* No presenter (:root.hd-no-presenter: no face and no captions, deck_guide look): the corner is free. Phones keep this layout's rules. */
|
|
51
|
+
@media (min-width: 651px) {
|
|
52
|
+
:root.hd-no-presenter .l-staircase :is(.steps, .tt) { max-width: none; }
|
|
53
|
+
}
|
|
54
|
+
/* Icon slot (optional): an icon at the top of each step, before its number (hyperdecks icons search <word> --for staircase). */
|
|
55
|
+
.l-staircase .steps li { --icon: 52; }
|
|
56
|
+
.l-staircase:not(.on-accent) .steps li:last-child { --icon-fill: var(--icon-tile-accent, var(--card)); --icon-fg: var(--icon-ink-accent, var(--ink)); }
|
|
57
|
+
@media (max-width: 650px) {
|
|
58
|
+
.l-staircase .steps li { --icon: 20; }
|
|
59
|
+
.l-staircase .steps li:has(> .icon) { grid-template-columns: auto auto minmax(0, 1fr); }
|
|
60
|
+
.l-staircase .steps .icon { align-self: center; }
|
|
61
|
+
}
|
|
62
|
+
@media not all and (max-width: 650px) {
|
|
63
|
+
.l-staircase:is([data-presenter-size="l"], [data-presenter-size="xl"]) .steps li { --icon: 40; }
|
|
64
|
+
}
|
|
65
|
+
</style>
|
|
66
|
+
<section class="slide l-staircase" id="__ID__" data-chapter="How it works" data-note="Source: where each step is described (the docs, the product).">
|
|
67
|
+
<div class="kicker">How a deck gets made</div>
|
|
68
|
+
<h2 class="tt" data-title-mobile="Each step builds.">Each step stands on the last.</h2>
|
|
69
|
+
<ol class="steps">
|
|
70
|
+
<li id="__ID__-s1"><span class="n">01</span><b>Ask</b><p>Tell your assistant what the deck is for.</p></li>
|
|
71
|
+
<li id="__ID__-s2"><span class="n">02</span><b>Draft</b><p>It writes the slides and the script.</p></li>
|
|
72
|
+
<li id="__ID__-s3"><span class="n">03</span><b>Narrate</b><p>Your avatar reads it in your voice.</p></li>
|
|
73
|
+
<li id="__ID__-s4"><span class="n">04</span><b>Send</b><p>One link, and you see who watched.</p></li>
|
|
74
|
+
</ol>
|
|
75
|
+
<div class="narration-slot"></div>
|
|
76
|
+
</section>
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
layout: strike
|
|
3
|
+
summary: An old claim struck through, and under it the true one, larger, its key words marked: what people believe, and what is so.
|
|
4
|
+
brief: An old claim struck through and the true one under it.
|
|
5
|
+
says: it changed
|
|
6
|
+
needs: 2 sentences
|
|
7
|
+
use: a myth and its correction, the old way and the new one, a belief the deck answers. One line each (the old under about 50 characters, the new under about 60), both shown in full on a phone, the mark included: give the new line no data-title-mobile; for three lines a side use compare. A large presenter: data-presenter-size="l" or "xl" on this slide's own section tag (not the player tag) narrows both lines, clear of the presenter.
|
|
8
|
+
slot: bottom-right
|
|
9
|
+
presenter: stage
|
|
10
|
+
nopresenter: Both lines take the full width of the slide.
|
|
11
|
+
cues: [look: #__ID__-old] at the old claim, [go: #__ID__-new] at the true one, then [go: slot].
|
|
12
|
+
script: You may have heard [look: #__ID__-old] that an avatar deck is a deepfake. [go: #__ID__-new] It is your avatar, made from your photo, and it says so. [go: slot]
|
|
13
|
+
-->
|
|
14
|
+
<style>
|
|
15
|
+
/* Both lines in a column that ends left of the presenter's corner (the stage presenter at m reaches 1064px across). The old
|
|
16
|
+
claim is struck and faded in the slide's own colour, so it reads on any ground; the true one is the title, set between
|
|
17
|
+
title and display size. */
|
|
18
|
+
.l-strike { justify-content: center; gap: 30px; }
|
|
19
|
+
.l-strike .old { max-width: 980px; font-size: var(--t-sub); font-weight: 700; line-height: 1.05; letter-spacing: -.03em; color: color-mix(in srgb, currentColor 55%, transparent); text-decoration: line-through; text-decoration-thickness: .08em; text-wrap: balance; }
|
|
20
|
+
.l-strike .tt { max-width: 980px; font-size: calc((var(--t-title) + var(--t-display)) / 2); }
|
|
21
|
+
/* The marked words get a band under their lower half, as sentence's do: it wraps cleanly line by line, no pills. */
|
|
22
|
+
.l-strike .tt mark { color: inherit; background: linear-gradient(transparent 58%, var(--accent) 58%); }
|
|
23
|
+
.on-accent.l-strike .tt mark { background: linear-gradient(transparent 58%, var(--card) 58%); }
|
|
24
|
+
@media (max-width: 650px) {
|
|
25
|
+
.l-strike { gap: 14px; }
|
|
26
|
+
.l-strike .old { font-size: var(--t-lead); max-width: none; }
|
|
27
|
+
.l-strike .tt { max-width: none; font-size: var(--t-title); }
|
|
28
|
+
}
|
|
29
|
+
/* A large presenter (data-presenter-size l or xl on this slide's section tag). */
|
|
30
|
+
@media not all and (max-width: 650px) {
|
|
31
|
+
.l-strike[data-presenter-size="l"] :is(.old, .tt) { max-width: 830px; }
|
|
32
|
+
.l-strike[data-presenter-size="l"] .tt { font-size: var(--t-title); }
|
|
33
|
+
.l-strike[data-presenter-size="xl"] :is(.old, .tt) { max-width: 680px; }
|
|
34
|
+
.l-strike[data-presenter-size="xl"] .tt { font-size: var(--t-sub); }
|
|
35
|
+
}
|
|
36
|
+
/* No presenter (:root.hd-no-presenter: no face and no captions, deck_guide look): the corner is free. Phones keep this layout's rules. */
|
|
37
|
+
@media (min-width: 651px) {
|
|
38
|
+
:root.hd-no-presenter .l-strike :is(.old, .tt) { max-width: 1400px; }
|
|
39
|
+
}
|
|
40
|
+
</style>
|
|
41
|
+
<section class="slide l-strike" id="__ID__" data-chapter="What's true" data-note="Source: where the old claim is said, and what shows the new one is true.">
|
|
42
|
+
<div class="kicker">What people think</div>
|
|
43
|
+
<p class="old" id="__ID__-old">An avatar deck is a deepfake of you.</p>
|
|
44
|
+
<h2 class="tt" id="__ID__-new">It's <mark>your avatar</mark>, made from your photo, and it says so.</h2>
|
|
45
|
+
<div class="narration-slot"></div>
|
|
46
|
+
</section>
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
layout: tap-through
|
|
3
|
+
summary: A phone the viewer steps through, two to five screens, one at a time: each screen is a step, so Per step waits on it, the narration can stop on it, and a tap on the phone shows the next.
|
|
4
|
+
brief: A phone the viewer steps through, two to five screens, one a step.
|
|
5
|
+
says: how it works
|
|
6
|
+
needs: 2 to 5 phone screenshots
|
|
7
|
+
use: a prototype or a flow the viewer should feel, screen by screen (sign up, make the thing, share it). Each .shot is a placeholder check fails on: put in phone screenshots (capture_url at 390×844) as <img class="shot">, in order; the first has no reveal, every later one keeps class="shot reveal" and its id. Add or remove screens (two to five) with their dots and their [reveal] cues. The phone carries data-hd-steps: a tap on it is the next step (at Per step, the narration's, as Next; otherwise the next screen, and after the last it starts over; in the present window, Next). With narration each screen shows on its cue, in an export too.
|
|
8
|
+
slot: bottom-left
|
|
9
|
+
presenter: stage
|
|
10
|
+
nopresenter: The copy centres vertically beside the phone instead of leaving the bottom-left free.
|
|
11
|
+
cues: [look: #__ID__-phone] when the narration turns to the phone; [reveal: #__ID__-s2], [reveal: #__ID__-s3] at the word that moves to each next screen (Per step stops before each).
|
|
12
|
+
script: Here is the whole flow on a phone. [look: #__ID__-phone] You start on this screen. Tap once, [reveal: #__ID__-s2] and you are making it. Tap again, [reveal: #__ID__-s3] and it is done.
|
|
13
|
+
-->
|
|
14
|
+
<style>
|
|
15
|
+
.l-tap-through { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 64px; align-items: center; }
|
|
16
|
+
.l-tap-through .text { align-self: start; display: flex; flex-direction: column; gap: 20px; padding-top: 24px; }
|
|
17
|
+
.l-tap-through .tt { font-size: var(--t-sub); line-height: 1.02; }
|
|
18
|
+
.l-tap-through .lead { font-size: var(--t-body); }
|
|
19
|
+
.l-tap-through .device { display: flex; flex-direction: column; align-items: center; gap: 22px; }
|
|
20
|
+
/* The screens stack in the phone card, each exactly over the last; a revealed one fades in (never offset, so no frame shows a gap). */
|
|
21
|
+
.l-tap-through .frame.card { --tilt: 0deg; width: 280px; display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); overflow: hidden; cursor: pointer; -webkit-tap-highlight-color: transparent; }
|
|
22
|
+
.l-tap-through .frame.card > .shot { grid-area: 1 / 1; }
|
|
23
|
+
.l-tap-through .frame.card > .shot.reveal { transform: none; transition: opacity .3s; }
|
|
24
|
+
.l-tap-through .frame.card > div.shot:nth-child(2) { background-color: var(--tint-2); }
|
|
25
|
+
.l-tap-through .frame.card > div.shot:nth-child(n + 3) { background-color: var(--tint-1); }
|
|
26
|
+
/* One dot a screen; the last screen showing lights its dot. */
|
|
27
|
+
.l-tap-through .dots { display: flex; gap: 10px; }
|
|
28
|
+
.l-tap-through .dots i { width: 12px; height: 12px; border-radius: 50%; background: color-mix(in srgb, currentColor 25%, transparent); transition: background .35s; }
|
|
29
|
+
.l-tap-through .dots i:first-child { background: currentColor; }
|
|
30
|
+
.l-tap-through .device:has(> .frame > .shot.is-revealed) .dots i:first-child { background: color-mix(in srgb, currentColor 25%, transparent); }
|
|
31
|
+
.l-tap-through .device:has(> .frame > .shot:nth-child(2).is-revealed) .dots i:nth-child(2),
|
|
32
|
+
.l-tap-through .device:has(> .frame > .shot:nth-child(3).is-revealed) .dots i:nth-child(3),
|
|
33
|
+
.l-tap-through .device:has(> .frame > .shot:nth-child(4).is-revealed) .dots i:nth-child(4),
|
|
34
|
+
.l-tap-through .device:has(> .frame > .shot:nth-child(5).is-revealed) .dots i:nth-child(5) { background: currentColor; }
|
|
35
|
+
.l-tap-through .device:has(> .frame > .shot:nth-child(3).is-revealed) .dots i:nth-child(2),
|
|
36
|
+
.l-tap-through .device:has(> .frame > .shot:nth-child(4).is-revealed) .dots i:nth-child(-n + 3),
|
|
37
|
+
.l-tap-through .device:has(> .frame > .shot:nth-child(5).is-revealed) .dots i:nth-child(-n + 4) { background: color-mix(in srgb, currentColor 25%, transparent); }
|
|
38
|
+
/* The phone examples share one frame: a thin bezel, corners of 40px outside and 34px on the screen (24 and 20 on phones). */
|
|
39
|
+
.l-tap-through .frame.card { padding: 4px; border-radius: calc(40 * var(--round-phone)); }
|
|
40
|
+
.l-tap-through .frame.card > .shot { border-radius: calc(34 * var(--round-phone)); }
|
|
41
|
+
@media (max-width: 650px) {
|
|
42
|
+
.l-tap-through .frame.card { padding: 3px; border-radius: calc(24 * var(--round-phone)); }
|
|
43
|
+
.l-tap-through .frame.card > .shot { border-radius: calc(20 * var(--round-phone)); }
|
|
44
|
+
.l-tap-through { display: flex; flex-direction: column; align-items: stretch; }
|
|
45
|
+
.l-tap-through .text { gap: 10px; padding-top: 0; }
|
|
46
|
+
.l-tap-through .device { gap: 12px; }
|
|
47
|
+
/* The phone takes the height above the presenter: the device column grows, the card is as tall as it leaves (less the dots). */
|
|
48
|
+
.l-tap-through .device { flex: 1 1 0; min-height: 0; container-type: size; }
|
|
49
|
+
.l-tap-through .frame.card { width: min(100cqw, 240px, (100cqh - 20px) * 9 / 19.5); }
|
|
50
|
+
.l-tap-through .dots { gap: 6px; }
|
|
51
|
+
.l-tap-through .dots i { width: 8px; height: 8px; }
|
|
52
|
+
}
|
|
53
|
+
/* No presenter (:root.hd-no-presenter: no face and no captions, deck_guide look): the corner is free. Phones keep this layout's rules. */
|
|
54
|
+
@media (min-width: 651px) {
|
|
55
|
+
:root.hd-no-presenter .l-tap-through .text { align-self: center; padding-top: 0; }
|
|
56
|
+
}
|
|
57
|
+
</style>
|
|
58
|
+
<section class="slide l-tap-through slot-left" id="__ID__" data-chapter="How it works" data-note="Phone screens: name the app build and the date they were captured.">
|
|
59
|
+
<div class="text">
|
|
60
|
+
<div class="kicker">How it works · Tap through</div>
|
|
61
|
+
<h2 class="tt" data-title-mobile="Three taps, done.">Three taps from nothing to done.</h2>
|
|
62
|
+
<p class="lead">One line on the flow. Tap the phone to step through it.</p>
|
|
63
|
+
</div>
|
|
64
|
+
<div class="device">
|
|
65
|
+
<div class="frame card" id="__ID__-phone" data-hd-steps title="Tap for the next screen">
|
|
66
|
+
<div class="shot" id="__ID__-s1" role="img" aria-label="Phone screen placeholder: the first screen"></div>
|
|
67
|
+
<div class="shot reveal" id="__ID__-s2" role="img" aria-label="Phone screen placeholder: the second screen"></div>
|
|
68
|
+
<div class="shot reveal" id="__ID__-s3" role="img" aria-label="Phone screen placeholder: the last screen"></div>
|
|
69
|
+
</div>
|
|
70
|
+
<div class="dots" aria-hidden="true"><i></i><i></i><i></i></div>
|
|
71
|
+
</div>
|
|
72
|
+
<div class="narration-slot"></div>
|
|
73
|
+
</section>
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<!--
|
|
2
2
|
layout: team
|
|
3
3
|
summary: Up to four people, a face, a name and a role each; the presenter flies under each as it names them.
|
|
4
|
+
brief: Up to four people, a face, a name and a role each.
|
|
4
5
|
use: who is behind it, who to talk to. Use real photos only with permission; initials otherwise.
|
|
5
6
|
slot: bottom-right
|
|
6
7
|
presenter: stage
|
|
@@ -10,7 +11,7 @@ script: Meet the team. [go: #__ID__-p1] Ana builds it. [go: #__ID__-p2] Sam sell
|
|
|
10
11
|
-->
|
|
11
12
|
<style>
|
|
12
13
|
.l-team .people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 20px; }
|
|
13
|
-
.l-team .person { list-style: none; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 24px 26px; border-radius:
|
|
14
|
+
.l-team .person { list-style: none; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 24px 26px; border-radius: calc(28 * var(--round)); background: var(--card); box-shadow: 0 0 0 calc(1 * var(--line)) color-mix(in srgb, var(--ink) 10%, transparent); }
|
|
14
15
|
/* Swap the span for an <img class="face"> of your file with their permission. */
|
|
15
16
|
.l-team .face { display: grid; place-items: center; width: 96px; height: 96px; margin-bottom: 8px; border-radius: 50%; object-fit: cover; background: var(--accent); font: 700 34px var(--font); }
|
|
16
17
|
.l-team .person:nth-child(2) .face { background: var(--accent-2); }
|
|
@@ -19,7 +20,7 @@ script: Meet the team. [go: #__ID__-p1] Ana builds it. [go: #__ID__-p2] Sam sell
|
|
|
19
20
|
.l-team small { font: var(--t-label) var(--mono); letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
|
|
20
21
|
@media (max-width: 650px) {
|
|
21
22
|
.l-team .people { grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
|
|
22
|
-
.l-team .person { padding: 12px; border-radius:
|
|
23
|
+
.l-team .person { padding: 12px; border-radius: calc(16 * var(--round)); gap: 2px; }
|
|
23
24
|
.l-team .face { width: 48px; height: 48px; font-size: 17px; margin-bottom: 4px; }
|
|
24
25
|
.l-team b { font-size: 16px; }
|
|
25
26
|
.l-team small { font-size: 10px; }
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
<!--
|
|
2
2
|
layout: timeline
|
|
3
3
|
summary: Four milestones on a line, left to right, the presenter flying under each in turn.
|
|
4
|
-
|
|
4
|
+
brief: Four milestones on a line, the presenter flying under each.
|
|
5
|
+
use: history, a roadmap, a process over time. Label future steps "Proposed" if not agreed. Steps in order, undated, none bigger than another: rail; each step standing on the one before: staircase; dated milestones or a plan over time: timeline.
|
|
5
6
|
slot: bottom-right
|
|
6
7
|
presenter: stage
|
|
7
8
|
nopresenter: The title and milestones centre vertically instead of leaving a strip below for the presenter.
|
|
@@ -10,10 +11,10 @@ script: It started [go: #__ID__-m1] with a sketch. Then [go: #__ID__-m2] a first
|
|
|
10
11
|
-->
|
|
11
12
|
<style>
|
|
12
13
|
.l-timeline .line { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 28px; position: relative; }
|
|
13
|
-
.l-timeline .line::before { content: ""; position: absolute; left: 0; right: 0; top: 13px; height: 4px; border-radius:
|
|
14
|
-
.l-timeline li { list-style: none; position: relative; padding: 48px 26px 26px; border-radius:
|
|
15
|
-
.l-timeline li::before { content: ""; position: absolute; left: 26px; top: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0
|
|
16
|
-
.l-timeline li.is-next::before { background: var(--paper); box-shadow: inset 0 0 0
|
|
14
|
+
.l-timeline .line::before { content: ""; position: absolute; left: 0; right: 0; top: 13px; height: 4px; border-radius: calc(2 * var(--round)); background: color-mix(in srgb, var(--ink) 16%, transparent); }
|
|
15
|
+
.l-timeline li { list-style: none; position: relative; padding: 48px 26px 26px; border-radius: calc(24 * var(--round)); }
|
|
16
|
+
.l-timeline li::before { content: ""; position: absolute; left: 26px; top: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 calc(6 * var(--line)) var(--paper); }
|
|
17
|
+
.l-timeline li.is-next::before { background: var(--paper); box-shadow: inset 0 0 0 calc(4 * var(--line)) var(--ink), 0 0 0 calc(6 * var(--line)) var(--paper); }
|
|
17
18
|
.l-timeline time { display: block; font: 700 var(--t-label) var(--mono); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
|
|
18
19
|
.l-timeline b { display: block; font-size: 32px; letter-spacing: -.02em; line-height: 1.05; margin-bottom: 8px; }
|
|
19
20
|
.l-timeline p { font-size: 20px; line-height: 1.3; opacity: .7; }
|
|
@@ -21,7 +22,7 @@ script: It started [go: #__ID__-m1] with a sketch. Then [go: #__ID__-m2] a first
|
|
|
21
22
|
.l-timeline .line { grid-template-columns: 1fr; gap: 4px; margin-top: 4px; padding-left: 26px; }
|
|
22
23
|
.l-timeline .line::before { left: 7px; right: auto; top: 6px; bottom: 6px; width: 3px; height: auto; }
|
|
23
24
|
.l-timeline li { padding: 4px 0 8px 8px; border-radius: 0; }
|
|
24
|
-
.l-timeline li::before { left: -26px; top: 6px; width: 15px; height: 15px; box-shadow: 0 0 0
|
|
25
|
+
.l-timeline li::before { left: -26px; top: 6px; width: 15px; height: 15px; box-shadow: 0 0 0 calc(4 * var(--line)) var(--paper); }
|
|
25
26
|
.l-timeline time { margin-bottom: 2px; }
|
|
26
27
|
.l-timeline b { font-size: 18px; margin-bottom: 2px; }
|
|
27
28
|
.l-timeline p { font-size: 13px; }
|
|
@@ -30,6 +31,15 @@ script: It started [go: #__ID__-m1] with a sketch. Then [go: #__ID__-m2] a first
|
|
|
30
31
|
@media (min-width: 651px) {
|
|
31
32
|
:root.hd-no-presenter .l-timeline { justify-content: center; }
|
|
32
33
|
}
|
|
34
|
+
/* Icon slot (optional): an icon above each milestone's date (hyperdecks icons search <word> --for timeline). */
|
|
35
|
+
.l-timeline li { --icon: 44; }
|
|
36
|
+
.on-accent.l-timeline li { --icon-fill: var(--icon-tile-accent, var(--card)); --icon-fg: var(--icon-ink-accent, var(--ink)); }
|
|
37
|
+
.l-timeline li > .icon { margin-bottom: 14px; }
|
|
38
|
+
@media (max-width: 650px) {
|
|
39
|
+
.l-timeline li { --icon: 24; }
|
|
40
|
+
.l-timeline li:has(> .icon) { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 10px; align-content: start; }
|
|
41
|
+
.l-timeline li > .icon { grid-row: span 3; margin: 0; }
|
|
42
|
+
}
|
|
33
43
|
</style>
|
|
34
44
|
<section class="slide l-timeline" id="__ID__" data-chapter="How we got here" data-note="Source: name where each date comes from.">
|
|
35
45
|
<div class="kicker">How we got here</div>
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
layout: two-bars
|
|
3
|
+
summary: Two quantities as two bars, each with its label and its number, the second in the accent: one against the other.
|
|
4
|
+
brief: Two quantities as two bars, a label and a number each.
|
|
5
|
+
says: it changed
|
|
6
|
+
needs: 2 numbers
|
|
7
|
+
use: before and after, them and us, last year and this one, when the gap between two numbers is the point. Real numbers only, each from its source in data-note. Set each bar's length as --v on its .bar, from 0 to 1 (its value over the larger one, or over a full scale such as 100%). Each label under about 40 characters; each number six characters at most (61%, $12.4M, 1,240). For more than two use chart. A large presenter: data-presenter-size="l" or "xl" on this slide's own section tag (not the player tag) narrows the bars, clear of the presenter.
|
|
8
|
+
slot: bottom-right
|
|
9
|
+
presenter: stage
|
|
10
|
+
nopresenter: The bars take the full width of the slide.
|
|
11
|
+
cues: [look: #__ID__-b1] at the first number, [go: #__ID__-b2] at the second, then [go: slot].
|
|
12
|
+
script: A PDF in an email gets finished [look: #__ID__-b1] about one time in five. A narrated deck: [go: #__ID__-b2] three times as often. [go: slot]
|
|
13
|
+
-->
|
|
14
|
+
<style>
|
|
15
|
+
/* The two bars share a scale across a column that ends left of the presenter's corner (the stage presenter at m reaches
|
|
16
|
+
1064px across); each number sits at its bar's end, in room kept for about six characters at its size (--num-room),
|
|
17
|
+
so a full bar's number still ends inside the column (check --layout warns on a longer one). --v: 0 to 1. */
|
|
18
|
+
.l-two-bars .bars { --num-room: calc(var(--t-title) * 3.4 + 24px); list-style: none; display: flex; flex-direction: column; gap: 64px; max-width: 980px; margin: auto 0; }
|
|
19
|
+
.l-two-bars .bars li { display: flex; flex-direction: column; gap: 12px; }
|
|
20
|
+
.l-two-bars .lab { font-size: var(--t-lead); letter-spacing: -.01em; font-weight: 700; line-height: 1.15; }
|
|
21
|
+
.l-two-bars .row { display: flex; align-items: center; gap: 24px; }
|
|
22
|
+
.l-two-bars .bar { --v: .5; flex: none; width: calc(min(1, max(0.02, var(--v))) * (100% - var(--num-room))); height: 116px; border: calc(3 * var(--line)) solid var(--ink); border-radius: var(--bar-round); background: color-mix(in srgb, var(--ink) 14%, var(--paper)); box-shadow: calc(8 * var(--drop-x)) calc(8 * var(--drop-y)) calc(8 * var(--drop-blur)) color-mix(in srgb, var(--ink) var(--drop-mix), transparent); }
|
|
23
|
+
.l-two-bars li:last-child .bar { background: var(--accent); }
|
|
24
|
+
.on-accent.l-two-bars li:last-child .bar { background: var(--card); }
|
|
25
|
+
.on-ink.l-two-bars .bar { box-shadow: calc(8 * var(--drop-x)) calc(8 * var(--drop-y)) calc(8 * var(--drop-blur)) color-mix(in srgb, var(--accent-2) var(--drop-mix), transparent); }
|
|
26
|
+
.l-two-bars .num { font-family: var(--display, var(--font)); font-weight: var(--display-weight, 700); letter-spacing: var(--display-tracking, -.045em); font-size: var(--t-title); line-height: 1; white-space: nowrap; }
|
|
27
|
+
@media (max-width: 650px) {
|
|
28
|
+
.l-two-bars .bars { --num-room: calc(var(--t-sub) * 4 + 10px); gap: 18px; max-width: none; margin: 0; }
|
|
29
|
+
.l-two-bars .bars li { gap: 6px; }
|
|
30
|
+
.l-two-bars .lab { font-size: var(--t-body); }
|
|
31
|
+
.l-two-bars .row { gap: 10px; }
|
|
32
|
+
.l-two-bars .bar { height: 38px; border-width: calc(2 * var(--line)); border-radius: calc(var(--bar-round) * .6); box-shadow: calc(4 * var(--drop-x)) calc(4 * var(--drop-y)) calc(4 * var(--drop-blur)) color-mix(in srgb, var(--ink) var(--drop-mix), transparent); }
|
|
33
|
+
.l-two-bars .num { font-size: var(--t-sub); }
|
|
34
|
+
}
|
|
35
|
+
/* A large presenter (data-presenter-size l or xl on this slide's section tag). */
|
|
36
|
+
@media not all and (max-width: 650px) {
|
|
37
|
+
.l-two-bars[data-presenter-size="l"] :is(.bars, .tt) { max-width: 830px; }
|
|
38
|
+
.l-two-bars[data-presenter-size="xl"] :is(.bars, .tt) { max-width: 680px; }
|
|
39
|
+
}
|
|
40
|
+
/* No presenter (:root.hd-no-presenter: no face and no captions, deck_guide look): the corner is free. Phones keep this layout's rules. */
|
|
41
|
+
@media (min-width: 651px) {
|
|
42
|
+
:root.hd-no-presenter .l-two-bars :is(.bars, .tt) { max-width: none; }
|
|
43
|
+
}
|
|
44
|
+
</style>
|
|
45
|
+
<section class="slide l-two-bars" id="__ID__" data-chapter="The difference" data-note="Source: name where each number comes from (a study, analytics) and its date.">
|
|
46
|
+
<div class="kicker">Watched to the end</div>
|
|
47
|
+
<h2 class="tt" data-title-mobile="Narrated decks get finished.">Narrated decks get finished.</h2>
|
|
48
|
+
<ol class="bars">
|
|
49
|
+
<li id="__ID__-b1"><span class="lab">A PDF in an email</span><span class="row"><span class="bar" style="--v: .22"></span><span class="num">22%</span></span></li>
|
|
50
|
+
<li id="__ID__-b2"><span class="lab">A narrated deck</span><span class="row"><span class="bar" style="--v: .61"></span><span class="num">61%</span></span></li>
|
|
51
|
+
</ol>
|
|
52
|
+
<div class="narration-slot"></div>
|
|
53
|
+
</section>
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
layout: two-by-two
|
|
3
|
+
summary: Four things placed on two axes, one in each quarter, yours marked: where you sit against the alternatives.
|
|
4
|
+
brief: Four things on two axes, one in each quarter, yours marked.
|
|
5
|
+
says: where it sits
|
|
6
|
+
needs: 4 alternatives on two axes
|
|
7
|
+
use: positioning against the alternatives, a choice between four options, a priority grid. Each name two or three words; each axis a few words. Name both axes so higher and further right are better. The quarters run top-left, top-right, bottom-left, bottom-right; mark yours with class us. A large presenter: data-presenter-size="l" or "xl" on this slide's own section tag (not the player tag) puts the grid under the title and sizes it to fit, clear of the presenter.
|
|
8
|
+
slot: bottom-right
|
|
9
|
+
presenter: stage
|
|
10
|
+
nopresenter: The grid grows into the free corner.
|
|
11
|
+
cues: [look: #__ID__-plane] as the narration names the axes; [go: #__ID__-us] at yours, then [go: slot].
|
|
12
|
+
script: Video is personal but slow. A PDF is quick but flat. [look: #__ID__-plane] This sits where both are true: [go: #__ID__-us] personal, and quick to make. [go: slot]
|
|
13
|
+
-->
|
|
14
|
+
<style>
|
|
15
|
+
/* The title and a line beside the grid, which is square and ends left of the presenter's corner (the stage presenter
|
|
16
|
+
at m reaches 1064px across). Axis names run along the left and bottom edges. */
|
|
17
|
+
.l-two-by-two { display: grid; grid-template-columns: 380px minmax(0, 600px); grid-template-rows: auto auto auto; column-gap: 0; align-content: center; }
|
|
18
|
+
.l-two-by-two > :is(.kicker, .tt, .lead) { grid-column: 1; }
|
|
19
|
+
.l-two-by-two .tt { font-size: var(--t-title); }
|
|
20
|
+
.l-two-by-two .lead { align-self: start; font-size: var(--t-lead); line-height: 1.3; }
|
|
21
|
+
.l-two-by-two .plane { grid-column: 2; grid-row: 1 / 4; position: relative; align-self: center; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; width: min(100% - 48px, 600px); aspect-ratio: 1; margin-left: 48px;
|
|
22
|
+
--axis: 4px; background: linear-gradient(currentColor, currentColor) left bottom / var(--axis) 100% no-repeat, linear-gradient(currentColor, currentColor) left bottom / 100% var(--axis) no-repeat; }
|
|
23
|
+
/* The axes are painted, not outlined, so they show in a theme with no outlines too. */
|
|
24
|
+
.l-two-by-two .plane::before, .l-two-by-two .plane::after { content: ""; position: absolute; background: color-mix(in srgb, currentColor 22%, transparent); }
|
|
25
|
+
.l-two-by-two .plane::before { left: 50%; top: 0; bottom: 0; width: 2px; }
|
|
26
|
+
.l-two-by-two .plane::after { top: 50%; left: 0; right: 0; height: 2px; }
|
|
27
|
+
.l-two-by-two .q { container-type: inline-size; position: relative; z-index: 1; display: grid; place-items: center; min-width: 0; padding: 14px; }
|
|
28
|
+
.l-two-by-two .q b { padding: 12px 18px; border: calc(3 * var(--line)) solid var(--ink); border-radius: calc(16 * var(--round)); background: var(--card); color: var(--ink); font-size: min(var(--t-lead), 11cqi); line-height: 1.1; text-align: center; max-width: 100%; box-shadow: calc(6 * var(--drop-x)) calc(6 * var(--drop-y)) calc(6 * var(--drop-blur)) color-mix(in srgb, var(--ink) var(--drop-mix), transparent); }
|
|
29
|
+
.l-two-by-two .q.us b { background: var(--accent); color: var(--accent-ink); font-size: min(var(--t-sub), 11cqi); }
|
|
30
|
+
.on-accent.l-two-by-two .q.us b { background: var(--ink); color: var(--paper); }
|
|
31
|
+
.l-two-by-two .ax { position: absolute; font-family: var(--mono); font-size: var(--t-label); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
|
|
32
|
+
.l-two-by-two .ax.x { right: 0; top: 100%; margin-top: 8px; }
|
|
33
|
+
.l-two-by-two .ax.y { left: 0; bottom: 100%; margin-bottom: 8px; }
|
|
34
|
+
@media (max-width: 650px) {
|
|
35
|
+
.l-two-by-two { display: flex; }
|
|
36
|
+
.l-two-by-two .tt { font-size: var(--t-title); }
|
|
37
|
+
.l-two-by-two .lead { font-size: var(--t-body); }
|
|
38
|
+
.l-two-by-two .plane { --axis: 3px; width: min(100%, 270px); margin: 20px 0 24px 8px; flex: none; }
|
|
39
|
+
.l-two-by-two .q { padding: 6px; }
|
|
40
|
+
.l-two-by-two .q b, .l-two-by-two .q.us b { padding: 6px 8px; border-width: calc(2 * var(--line)); border-radius: calc(10 * var(--round)); font-size: var(--t-label); box-shadow: calc(3 * var(--drop-x)) calc(3 * var(--drop-y)) calc(3 * var(--drop-blur)) color-mix(in srgb, var(--ink) var(--drop-mix), transparent); }
|
|
41
|
+
.l-two-by-two .ax { letter-spacing: .06em; }
|
|
42
|
+
}
|
|
43
|
+
/* A large presenter (data-presenter-size l or xl on this slide's section tag): the grid goes under the title, as wide
|
|
44
|
+
as the column allows and no taller than the height left. */
|
|
45
|
+
@media not all and (max-width: 650px) {
|
|
46
|
+
.l-two-by-two:is([data-presenter-size="l"], [data-presenter-size="xl"]) { display: flex; }
|
|
47
|
+
.l-two-by-two:is([data-presenter-size="l"], [data-presenter-size="xl"]) .plane { flex: 1 1 0; min-height: 0; width: auto; max-width: 830px; margin: 34px 0 30px; align-self: flex-start; }
|
|
48
|
+
.l-two-by-two[data-presenter-size="l"] :is(.tt, .lead) { max-width: 830px; }
|
|
49
|
+
.l-two-by-two[data-presenter-size="xl"] :is(.tt, .lead) { max-width: 680px; }
|
|
50
|
+
.l-two-by-two[data-presenter-size="xl"] .plane { max-width: 680px; }
|
|
51
|
+
}
|
|
52
|
+
/* No presenter (:root.hd-no-presenter: no face and no captions, deck_guide look): the corner is free. Phones keep this layout's rules. */
|
|
53
|
+
@media (min-width: 651px) {
|
|
54
|
+
:root.hd-no-presenter .l-two-by-two:not([data-presenter-size="l"], [data-presenter-size="xl"]) { grid-template-columns: 440px minmax(0, 720px); justify-content: center; }
|
|
55
|
+
:root.hd-no-presenter .l-two-by-two:not([data-presenter-size="l"], [data-presenter-size="xl"]) .plane { width: min(100% - 48px, 700px); }
|
|
56
|
+
:root.hd-no-presenter .l-two-by-two:is([data-presenter-size="l"], [data-presenter-size="xl"]) :is(.tt, .lead, .plane) { max-width: none; }
|
|
57
|
+
}
|
|
58
|
+
</style>
|
|
59
|
+
<section class="slide l-two-by-two" id="__ID__" data-chapter="Where it sits" data-note="Source: where each alternative's place comes from (a review, the team's own comparison).">
|
|
60
|
+
<div class="kicker">Where it sits</div>
|
|
61
|
+
<h2 class="tt" data-title-mobile="Personal and quick.">Personal, and quick to make.</h2>
|
|
62
|
+
<p class="lead">A recorded video is personal but slow. A PDF is quick but flat.</p>
|
|
63
|
+
<div class="plane figure" id="__ID__-plane">
|
|
64
|
+
<div class="q"><b>A recorded video</b></div>
|
|
65
|
+
<div class="q us" id="__ID__-us"><b>Hyperdecks</b></div>
|
|
66
|
+
<div class="q"><b>A brochure</b></div>
|
|
67
|
+
<div class="q"><b>A PDF deck</b></div>
|
|
68
|
+
<span class="ax y">Personal ↑</span><span class="ax x">Quick to make →</span>
|
|
69
|
+
</div>
|
|
70
|
+
<div class="narration-slot"></div>
|
|
71
|
+
</section>
|