@hypersocial/decks-cli 0.9.23 → 0.9.25
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 +124 -67
- package/skills/hyperdecks/chat.md +11 -8
- package/skills/hyperdecks/terminal.md +83 -0
- package/src/bars.mjs +268 -0
- package/src/brand.mjs +51 -8
- package/src/check.mjs +333 -20
- package/src/checkRules.mjs +677 -27
- package/src/commands.mjs +171 -31
- package/src/deckSlug.mjs +41 -0
- package/src/embedCapture.mjs +126 -0
- package/src/embedSources.mjs +252 -0
- package/src/embedsGuide.mjs +36 -0
- package/src/export-video.mjs +20 -3
- package/src/files.mjs +36 -0
- package/src/guide.mjs +93 -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 +97 -0
- package/src/layouts.mjs +9 -4
- package/src/mediaPreviews.mjs +3 -1
- package/src/narrate.mjs +31 -4
- package/src/opening.mjs +9 -3
- package/src/ops.mjs +125 -0
- package/src/photosGuide.mjs +47 -0
- package/src/picturesGuide.mjs +54 -0
- package/src/play.mjs +3 -2
- package/src/presenter.mjs +3 -1
- package/src/preview-capture.mjs +70 -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 +231 -41
- package/templates/layouts/bento.html +76 -0
- package/templates/layouts/chart.html +6 -4
- package/templates/layouts/closer.html +13 -4
- package/templates/layouts/compare.html +13 -4
- package/templates/layouts/cover-band.html +13 -9
- package/templates/layouts/cover-frame.html +13 -7
- package/templates/layouts/cover-poster.html +9 -5
- package/templates/layouts/cover-split.html +19 -7
- package/templates/layouts/cover-type.html +2 -1
- package/templates/layouts/embed.html +93 -0
- package/templates/layouts/features.html +18 -10
- package/templates/layouts/funnel.html +62 -0
- package/templates/layouts/hero.html +41 -23
- package/templates/layouts/lanes.html +63 -0
- package/templates/layouts/loop.html +81 -0
- package/templates/layouts/number.html +3 -2
- package/templates/layouts/phone-stage.html +78 -0
- package/templates/layouts/phones.html +1 -0
- package/templates/layouts/picture-full.html +58 -0
- package/templates/layouts/portrait.html +53 -0
- package/templates/layouts/product.html +7 -6
- package/templates/layouts/quote.html +5 -3
- package/templates/layouts/rail.html +74 -0
- package/templates/layouts/scorecard.html +71 -0
- package/templates/layouts/screens.html +85 -0
- package/templates/layouts/sentence.html +39 -0
- package/templates/layouts/split.html +35 -7
- package/templates/layouts/spotlight.html +80 -0
- package/templates/layouts/stack.html +84 -0
- package/templates/layouts/staircase.html +78 -0
- package/templates/layouts/strike.html +46 -0
- package/templates/layouts/tap-through.html +73 -0
- package/templates/layouts/team.html +21 -6
- package/templates/layouts/timeline.html +21 -8
- package/templates/layouts/two-bars.html +53 -0
- package/templates/layouts/two-by-two.html +75 -0
- package/templates/layouts/video-beats.html +66 -0
- package/templates/layouts/video-full.html +62 -0
- package/templates/layouts/wall.html +109 -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,63 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
layout: lanes
|
|
3
|
+
summary: Two or three actors in parallel rows over the same three to five steps, each step a chip in the row of whoever does it: who does what, and when.
|
|
4
|
+
brief: Two or three actors in parallel rows over the same steps: who does what.
|
|
5
|
+
says: who does what
|
|
6
|
+
needs: 2 to 3 actors and the steps they share
|
|
7
|
+
use: a handoff between people and a product, you and the agent and the viewer, a team's roles. Each .lane is a row: its .who, then one cell per step, a .chip where that actor acts and an empty <i></i> where they do not. Set the number of steps as --steps on .lanes (4 by default; 5 at most). Each actor a word, each chip two to four words. A large presenter: data-presenter-size="l" or "xl" on this slide's own section tag (not the player tag) narrows the rows, clear of the presenter.
|
|
8
|
+
slot: bottom-right
|
|
9
|
+
presenter: stage
|
|
10
|
+
nopresenter: The rows take the full width of the slide.
|
|
11
|
+
cues: [look: #__ID__-lanes] as the narration names the actors; [go: #__ID__-c1] at a step it names, then [go: slot].
|
|
12
|
+
script: You ask, [go: #__ID__-c1] the agent writes it and narrates it, [go: #__ID__-c3] and then they watch. [go: slot]
|
|
13
|
+
-->
|
|
14
|
+
<style>
|
|
15
|
+
/* The actors down the left, the steps across, in a grid that ends left of the presenter's corner (the stage presenter at
|
|
16
|
+
m reaches 1064px across). Each .lane is display: contents, so its cells line up with every other lane's. The actors'
|
|
17
|
+
column fits the actor's names up to 220px (wrapping between words), each step's column at least its longest word
|
|
18
|
+
(min-content): words never break. */
|
|
19
|
+
.l-lanes .lanes { --steps: 4; flex: 1; min-height: 0; display: grid; grid-template-columns: fit-content(220px) repeat(var(--steps), minmax(min-content, 1fr)); grid-auto-rows: minmax(0, 140px); align-content: center; gap: 16px; max-width: 980px; }
|
|
20
|
+
.l-lanes .lane { display: contents; }
|
|
21
|
+
.l-lanes .who { display: flex; align-items: center; padding-right: 8px; font-family: var(--mono); font-size: var(--t-label); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border-right: calc(3 * var(--line)) solid currentColor; }
|
|
22
|
+
.l-lanes .chip { display: flex; align-items: center; padding: 14px 18px; border: calc(3 * var(--line)) solid var(--ink); border-radius: calc(18 * var(--round)); background: var(--card); color: var(--ink); font-size: var(--t-body); font-weight: 700; line-height: 1.15; min-width: 0; 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
|
+
.l-lanes .lane:nth-child(1) .chip { background: var(--accent); color: var(--accent-ink); }
|
|
24
|
+
.l-lanes .lane:nth-child(3) .chip { background: var(--tint-2); }
|
|
25
|
+
.on-accent.l-lanes .lane:nth-child(1) .chip { background: var(--ink); color: var(--paper); }
|
|
26
|
+
@media (max-width: 650px) {
|
|
27
|
+
/* A phone: one block per actor, its name across the top and its chips in order beside each other, wrapping; the
|
|
28
|
+
empty steps drop out. No column is too narrow for a word. */
|
|
29
|
+
.l-lanes .lanes { flex: none; display: flex; flex-direction: column; gap: calc(22px - 8px * var(--hd-phone-presenter)); max-width: none; }
|
|
30
|
+
.l-lanes .lane { display: flex; flex-wrap: wrap; gap: 8px; }
|
|
31
|
+
.l-lanes .lane > i { display: none; }
|
|
32
|
+
.l-lanes .who { flex-basis: 100%; padding: 0 0 2px; border-right: 0; border-bottom: calc(2 * var(--line)) solid currentColor; }
|
|
33
|
+
.l-lanes .chip { padding: calc(9px - 2px * var(--hd-phone-presenter)) 12px; border-width: calc(2 * var(--line)); border-radius: calc(10 * var(--round)); font-size: var(--t-body); 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); }
|
|
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-lanes[data-presenter-size="l"] :is(.lanes, .tt) { max-width: 830px; }
|
|
38
|
+
.l-lanes[data-presenter-size="xl"] :is(.lanes, .tt) { max-width: 680px; }
|
|
39
|
+
.l-lanes[data-presenter-size="xl"] .lanes { gap: 10px; }
|
|
40
|
+
.l-lanes:is([data-presenter-size="l"], [data-presenter-size="xl"]) .who { --icon: 48; }
|
|
41
|
+
.l-lanes[data-presenter-size="xl"] .chip { padding: 10px 10px; font-size: var(--t-label); }
|
|
42
|
+
}
|
|
43
|
+
/* No presenter (:root.hd-no-presenter: no face and no captions, deck_guide look): the corner is free. Phones keep this layout's rules. */
|
|
44
|
+
@media (min-width: 651px) {
|
|
45
|
+
:root.hd-no-presenter .l-lanes :is(.lanes, .tt) { max-width: none; }
|
|
46
|
+
}
|
|
47
|
+
/* Icon slot (optional): an icon before each actor's name (hyperdecks icons search <word> --for lanes). */
|
|
48
|
+
.l-lanes .who { --icon: 64; gap: 12px; }
|
|
49
|
+
.on-accent.l-lanes .who { --icon-fill: var(--icon-tile-accent, var(--card)); --icon-fg: var(--icon-ink-accent, var(--ink)); }
|
|
50
|
+
@media (max-width: 650px) {
|
|
51
|
+
.l-lanes .who { --icon: 36; gap: 8px; }
|
|
52
|
+
}
|
|
53
|
+
</style>
|
|
54
|
+
<section class="slide l-lanes" id="__ID__" data-chapter="Who does what" data-note="Source: where each step is described (the docs, the product).">
|
|
55
|
+
<div class="kicker">Who does what</div>
|
|
56
|
+
<h2 class="tt" data-title-mobile="You, the agent, them.">You ask. The agent works. They watch.</h2>
|
|
57
|
+
<div class="lanes" id="__ID__-lanes">
|
|
58
|
+
<div class="lane"><b class="who">You</b><span class="chip" id="__ID__-c1">Ask for a deck</span><i></i><span class="chip">Pick the voice</span><i></i></div>
|
|
59
|
+
<div class="lane"><b class="who">Agent</b><i></i><span class="chip" id="__ID__-c2">Writes the slides</span><span class="chip">Narrates</span><span class="chip">Sends links</span></div>
|
|
60
|
+
<div class="lane"><b class="who">Them</b><i></i><i></i><i></i><span class="chip" id="__ID__-c3">Watch and ask</span></div>
|
|
61
|
+
</div>
|
|
62
|
+
<div class="narration-slot"></div>
|
|
63
|
+
</section>
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
layout: loop
|
|
3
|
+
summary: Three to five stages around a ring that comes back to its start, the first in the accent: a cycle, a flywheel, a habit.
|
|
4
|
+
brief: Three to five stages around a ring that comes back to its start.
|
|
5
|
+
says: it repeats
|
|
6
|
+
needs: 3 to 5 stages
|
|
7
|
+
use: a feedback loop, a flywheel, a weekly routine, a review cycle. The stages (the <li>s in .ring's list) go clockwise from the top; each name a word or two, each line under about 25 characters. A large presenter: data-presenter-size="l" or "xl" on this slide's own section tag (not the player tag) puts the ring under the title and sizes it to fit, clear of the presenter.
|
|
8
|
+
slot: bottom-right
|
|
9
|
+
presenter: stage
|
|
10
|
+
nopresenter: The ring grows into the free corner.
|
|
11
|
+
cues: [look: #__ID__-ring] as the narration says it goes round; [go: #__ID__-s1] at the first stage and the others in turn, then [go: slot].
|
|
12
|
+
script: Every deck goes round again. [look: #__ID__-ring] You send it, [go: #__ID__-s2] see where they stopped, [go: #__ID__-s3] ask for a change, and [go: #__ID__-s4] the agent makes it. [go: slot]
|
|
13
|
+
-->
|
|
14
|
+
<style>
|
|
15
|
+
/* The title and a line beside a square ring that ends left of the presenter's corner (the stage presenter at m reaches
|
|
16
|
+
1064px across). Each stage sits on the ring, clockwise from the top (--k of --n, by CSS trigonometry), its card
|
|
17
|
+
(40% wide at most, less with five stages, centred 30% out) inside the ring's square; each name sized to its card
|
|
18
|
+
(cqi) so a word of about 13 letters fits whole. */
|
|
19
|
+
.l-loop { display: grid; grid-template-columns: 380px minmax(0, 600px); grid-template-rows: auto auto 1fr; column-gap: 0; align-content: center; }
|
|
20
|
+
.l-loop > :is(.kicker, .tt, .lead) { grid-column: 1; }
|
|
21
|
+
.l-loop .tt { font-size: var(--t-sub); }
|
|
22
|
+
.l-loop .lead { align-self: start; font-size: var(--t-lead); line-height: 1.3; }
|
|
23
|
+
.l-loop .ring > ol { display: contents; list-style: none; }
|
|
24
|
+
.l-loop .ring { --n: 3; grid-column: 2; grid-row: 1 / 4; position: relative; align-self: center; width: min(100% - 48px, 600px); aspect-ratio: 1; margin-left: 48px; }
|
|
25
|
+
.l-loop .ring:has(li:nth-child(4)) { --n: 4; }
|
|
26
|
+
.l-loop .ring:has(li:nth-child(5)) { --n: 5; }
|
|
27
|
+
/* The ring: a dashed circle, painted (it shows in a theme with no outlines too). */
|
|
28
|
+
.l-loop .ring::before { content: ""; position: absolute; inset: 15%; border-radius: 50%; background: radial-gradient(closest-side, transparent calc(100% - 5px), color-mix(in srgb, currentColor 45%, transparent) calc(100% - 5px) 100%, transparent 100%); -webkit-mask: repeating-conic-gradient(black 0 7deg, transparent 7deg 11deg); mask: repeating-conic-gradient(black 0 7deg, transparent 7deg 11deg); }
|
|
29
|
+
.l-loop .turn { position: absolute; left: 50%; top: 50%; width: 22%; height: 22%; translate: -50% -50%; color: color-mix(in srgb, currentColor 30%, transparent); }
|
|
30
|
+
.l-loop .ring li { --k: 0; position: absolute; left: calc(50% + 30% * sin(360deg * var(--k) / var(--n))); top: calc(50% - 30% * cos(360deg * var(--k) / var(--n))); translate: -50% -50%; width: min(40%, 170% / var(--n)); container-type: inline-size; display: flex; flex-direction: column; gap: 4px; padding: 16px 20px; border: calc(3 * var(--line)) solid var(--ink); border-radius: calc(20 * var(--round)); background: var(--card); color: var(--ink); text-align: center; 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); }
|
|
31
|
+
.l-loop .ring li:nth-child(2) { --k: 1; } .l-loop .ring li:nth-child(3) { --k: 2; } .l-loop .ring li:nth-child(4) { --k: 3; } .l-loop .ring li:nth-child(5) { --k: 4; }
|
|
32
|
+
.l-loop .ring li:first-child { background: var(--accent); color: var(--accent-ink); }
|
|
33
|
+
.on-accent.l-loop .ring li:first-child { background: var(--ink); color: var(--paper); }
|
|
34
|
+
.l-loop .ring b { font-size: min(var(--t-lead), 12cqi); line-height: 1.05; letter-spacing: -.02em; }
|
|
35
|
+
.l-loop .ring p { font-size: var(--t-label); line-height: 1.3; }
|
|
36
|
+
@media (max-width: 650px) {
|
|
37
|
+
.l-loop { display: flex; }
|
|
38
|
+
.l-loop .tt { font-size: var(--t-title); }
|
|
39
|
+
.l-loop .lead { font-size: var(--t-body); }
|
|
40
|
+
/* A phone: the stages as a list in order, the cycle mark after the last (back to the start); the ring is too small
|
|
41
|
+
there for a long name. */
|
|
42
|
+
.l-loop .ring { width: 100%; aspect-ratio: auto; margin: 6px 0 0; flex: none; display: flex; flex-direction: column; gap: 6px; }
|
|
43
|
+
.l-loop .ring > ol { display: flex; flex-direction: column; gap: 6px; }
|
|
44
|
+
.l-loop .ring::before { content: none; }
|
|
45
|
+
.l-loop .ring li { position: static; translate: none; width: auto; gap: 1px; padding: 8px 12px; text-align: start; border-width: calc(2 * var(--line)); border-radius: calc(10 * 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); }
|
|
46
|
+
.l-loop .ring b { font-size: var(--t-body); }
|
|
47
|
+
.l-loop .ring p { font-size: var(--t-label); }
|
|
48
|
+
.l-loop .turn { position: static; translate: none; width: 28px; height: 28px; align-self: center; }
|
|
49
|
+
}
|
|
50
|
+
/* A large presenter (data-presenter-size l or xl on this slide's section tag): the ring goes under the title, as large as
|
|
51
|
+
the height left allows. */
|
|
52
|
+
@media not all and (max-width: 650px) {
|
|
53
|
+
.l-loop:is([data-presenter-size="l"], [data-presenter-size="xl"]) { display: flex; }
|
|
54
|
+
.l-loop:is([data-presenter-size="l"], [data-presenter-size="xl"]) .ring { flex: 1 1 0; min-height: 0; width: auto; max-width: 830px; margin: 8px 0 0; align-self: flex-start; }
|
|
55
|
+
.l-loop[data-presenter-size="l"] :is(.tt, .lead) { max-width: 830px; }
|
|
56
|
+
.l-loop[data-presenter-size="xl"] :is(.tt, .lead, .ring) { max-width: 680px; }
|
|
57
|
+
.l-loop:is([data-presenter-size="l"], [data-presenter-size="xl"]) .ring li { padding: 10px 12px; }
|
|
58
|
+
.l-loop:is([data-presenter-size="l"], [data-presenter-size="xl"]) .ring b { font-size: min(var(--t-body), 12cqi); }
|
|
59
|
+
}
|
|
60
|
+
/* No presenter (:root.hd-no-presenter: no face and no captions, deck_guide look): the corner is free. Phones keep this layout's rules. */
|
|
61
|
+
@media (min-width: 651px) {
|
|
62
|
+
:root.hd-no-presenter .l-loop:not([data-presenter-size="l"], [data-presenter-size="xl"]) { grid-template-columns: 440px minmax(0, 720px); justify-content: center; }
|
|
63
|
+
:root.hd-no-presenter .l-loop:not([data-presenter-size="l"], [data-presenter-size="xl"]) .ring { width: min(100% - 48px, 700px); }
|
|
64
|
+
:root.hd-no-presenter .l-loop:is([data-presenter-size="l"], [data-presenter-size="xl"]) :is(.tt, .lead, .ring) { max-width: none; }
|
|
65
|
+
}
|
|
66
|
+
</style>
|
|
67
|
+
<section class="slide l-loop" id="__ID__" data-chapter="How it works" data-note="Source: where each stage is described (the docs, the product).">
|
|
68
|
+
<div class="kicker">The edit loop</div>
|
|
69
|
+
<h2 class="tt" data-title-mobile="It goes round.">Every deck goes round again.</h2>
|
|
70
|
+
<p class="lead">Each pass starts from what people actually watched.</p>
|
|
71
|
+
<div class="ring figure" id="__ID__-ring">
|
|
72
|
+
<ol>
|
|
73
|
+
<li id="__ID__-s1"><b>Send</b><p>A link per person.</p></li>
|
|
74
|
+
<li id="__ID__-s2"><b>Watch</b><p>See where they stopped.</p></li>
|
|
75
|
+
<li id="__ID__-s3"><b>Ask</b><p>“Shorten slide four.”</p></li>
|
|
76
|
+
<li id="__ID__-s4"><b>Fix</b><p>The agent edits it.</p></li>
|
|
77
|
+
</ol>
|
|
78
|
+
<svg class="turn" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8"/><path d="M21 3v5h-5"/><path d="M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16"/><path d="M8 16H3v5"/></svg>
|
|
79
|
+
</div>
|
|
80
|
+
<div class="narration-slot"></div>
|
|
81
|
+
</section>
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<!--
|
|
2
2
|
layout: number
|
|
3
3
|
summary: One big number, what it measures and its source. The number is the slide.
|
|
4
|
+
brief: One big number, what it measures and its source.
|
|
4
5
|
use: proof, traction, a before/after delta. Never an estimate shown as fact: the source line is required.
|
|
5
6
|
slot: bottom-right
|
|
6
7
|
presenter: stage
|
|
@@ -10,12 +11,12 @@ script: Here is the number that matters. [look: #__ID__-figure] Three times fast
|
|
|
10
11
|
-->
|
|
11
12
|
<style>
|
|
12
13
|
.l-number .content { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 20px; max-width: 980px; }
|
|
13
|
-
.l-number .figure { font-weight: 700; font-size: 300px; line-height: .82; letter-spacing: -.06em; color: var(--accent); }
|
|
14
|
+
.l-number .figure { font-family: var(--display, var(--font)); font-weight: var(--display-weight, 700); font-style: var(--display-style); font-synthesis: none; font-size: calc(300px * var(--display-scale)); line-height: .82; letter-spacing: -.06em; color: var(--accent); }
|
|
14
15
|
.l-number .figure small { font-size: .45em; letter-spacing: -.02em; margin-left: 8px; }
|
|
15
16
|
.l-number .tt { font-size: var(--t-sub); line-height: 1.02; max-width: 15em; }
|
|
16
17
|
.l-number .source { font: var(--t-label)/1.4 var(--mono); }
|
|
17
18
|
@media (max-width: 650px) {
|
|
18
|
-
.l-number .content { justify-content:
|
|
19
|
+
.l-number .content { justify-content: var(--hd-phone-anchor); gap: 12px; }
|
|
19
20
|
.l-number .figure { font-size: 120px; }
|
|
20
21
|
}
|
|
21
22
|
/* No presenter (:root.hd-no-presenter: no face and no captions, deck_guide look): the corner is free. Phones keep this layout's rules. */
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
layout: phone-stage
|
|
3
|
+
summary: One phone screen centre stage, the slide's full height, standing straight, the title and short notes either side; a note aimed at a part of the screen points at it; each grows as the presenter names it.
|
|
4
|
+
brief: One phone screen centre stage, short notes either side lit in turn.
|
|
5
|
+
says: look at this
|
|
6
|
+
needs: 1 phone screenshot
|
|
7
|
+
use: one screen worth looking at closely (a home screen, a result, a settings page): the screen is the slide. The phone's .shot is a placeholder check fails on: put in a phone screenshot (capture_url at 390×844) as <img class="shot"> or a screen recording as <video class="shot" autoplay muted loop playsinline>; the card takes a phone's shape, so a phone-size picture fills it without bands. Two or three notes either side (two to six in all), each a few words: what to look at, not a paragraph. Aim a note at what it names with style="--y: 40%" (that part's height down the screen): it moves level with it and gets a tick pointing at it; unaimed notes stack with no tick. On the left aim below the title (over about 40%); on the right keep above the presenter (under about 50%). For several screens in order use screens or tap-through.
|
|
8
|
+
slot: bottom-right
|
|
9
|
+
presenter: stage
|
|
10
|
+
nopresenter: The right-hand notes may run the phone's full height instead of keeping clear of the bottom-right corner.
|
|
11
|
+
cues: [look: #__ID__-phone] when the narration turns to the screen; [go: #__ID__-n1], [go: #__ID__-n2], [go: #__ID__-n3] at the word that names each note (it grows; a note on the same side fades back), then [go: slot].
|
|
12
|
+
script: This is the screen people live on. [look: #__ID__-phone] Up top, [go: #__ID__-n1] what matters today. Below it, [go: #__ID__-n2] the one button they need. And here, [go: #__ID__-n3] what they made last week. [go: slot]
|
|
13
|
+
-->
|
|
14
|
+
<style>
|
|
15
|
+
/* The phone takes the slide's full height in the middle column; the title heads the left column, the notes fill both. */
|
|
16
|
+
.l-phone-stage { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); grid-template-areas: "left phone right"; column-gap: 56px; }
|
|
17
|
+
.l-phone-stage .head { grid-area: left; align-self: start; display: flex; flex-direction: column; gap: 10px; }
|
|
18
|
+
.l-phone-stage .tt { font-size: var(--t-sub); line-height: 1.02; }
|
|
19
|
+
.l-phone-stage .frame.card { grid-area: phone; --tilt: 0deg; width: auto; height: 100%; align-self: center; justify-self: center; }
|
|
20
|
+
/* Each side is the phone's height, so a note's --y (a share of the screen's height) lands level with what it names. */
|
|
21
|
+
.l-phone-stage .side { position: relative; display: flex; flex-direction: column; gap: 32px; min-width: 0; height: 100%; }
|
|
22
|
+
.l-phone-stage .side.left { grid-area: left; justify-content: flex-end; align-items: flex-end; text-align: right; padding-bottom: 24px; }
|
|
23
|
+
/* The right side keeps clear of the presenter's bottom-right corner. */
|
|
24
|
+
.l-phone-stage .side.right { grid-area: right; justify-content: flex-start; padding-top: 24px; }
|
|
25
|
+
.l-phone-stage .note { position: relative; display: flex; flex-direction: column; gap: 6px; font-size: var(--t-body); line-height: 1.3; font-weight: 600; }
|
|
26
|
+
.l-phone-stage .note b { font: 700 var(--t-label) var(--mono); letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
|
|
27
|
+
/* An aimed note (style="--y: …"): level with that part of the screen, with a tick reaching to the phone. */
|
|
28
|
+
.l-phone-stage .note[style*="--y"] { position: absolute; top: var(--y); translate: 0 -.65em; }
|
|
29
|
+
.l-phone-stage .side.left .note[style*="--y"] { right: 0; }
|
|
30
|
+
.l-phone-stage .side.right .note[style*="--y"] { left: 0; }
|
|
31
|
+
.l-phone-stage .note[style*="--y"]::after { content: ""; position: absolute; top: .65em; width: 40px; height: 3px; border-radius: calc(2 * var(--round)); background: var(--accent); }
|
|
32
|
+
.l-phone-stage .side.left .note[style*="--y"]::after { right: -52px; }
|
|
33
|
+
.l-phone-stage .side.right .note[style*="--y"]::after { left: -52px; }
|
|
34
|
+
.on-accent.l-phone-stage .note::after { background: var(--accent-ink); }
|
|
35
|
+
/* The phone examples share one frame: a thin bezel, corners of 40px outside and 34px on the screen (24 and 20 on phones). */
|
|
36
|
+
.l-phone-stage .frame.card { padding: 4px; border-radius: calc(40 * var(--round-phone)); }
|
|
37
|
+
.l-phone-stage .frame.card > .shot { border-radius: calc(34 * var(--round-phone)); }
|
|
38
|
+
@media (max-width: 650px) {
|
|
39
|
+
.l-phone-stage .frame.card { padding: 3px; border-radius: calc(24 * var(--round-phone)); }
|
|
40
|
+
.l-phone-stage .frame.card > .shot { border-radius: calc(20 * var(--round-phone)); }
|
|
41
|
+
/* Phones: the title, then the phone on the left with every note stacked beside it. With the presenter it does not
|
|
42
|
+
grow: a taller phone is a wider one, and the notes' column beside it (about 106px) would be too narrow to read. */
|
|
43
|
+
.l-phone-stage { grid-template-columns: calc(212px - 14px * var(--hd-phone-presenter)) minmax(0, 1fr); grid-template-rows: none; grid-template-areas: none; grid-auto-rows: min-content; column-gap: 16px; row-gap: 12px; }
|
|
44
|
+
.l-phone-stage .head { grid-area: auto; grid-column: 1 / -1; grid-row: 1; gap: 6px; }
|
|
45
|
+
.l-phone-stage .frame.card { grid-area: auto; grid-column: 1; grid-row: 2 / span 6; width: calc(212px - 14px * var(--hd-phone-presenter)); height: auto; align-self: start; }
|
|
46
|
+
.l-phone-stage .side { display: contents; }
|
|
47
|
+
.l-phone-stage .side .note { grid-column: 2; position: relative; top: auto; right: auto; left: auto; translate: none; gap: 2px; text-align: left; align-self: start; }
|
|
48
|
+
.l-phone-stage .side .note::after { content: none; }
|
|
49
|
+
/* A silent deck (no presenter's foot): the notes go under the phone, side by side, and the phone grows into the
|
|
50
|
+
free height at its own shape (up to the card's width). With the presenter the notes stay beside it: under it,
|
|
51
|
+
the phone would be shorter than it is now. A browser without style queries keeps the notes beside it. */
|
|
52
|
+
@container style(--hd-phone-presenter: 0) {
|
|
53
|
+
.l-phone-stage { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto minmax(0, 1fr); grid-auto-rows: auto; column-gap: 12px; row-gap: 14px; }
|
|
54
|
+
.l-phone-stage .frame.card { grid-column: 1 / -1; grid-row: 2; width: auto; height: 100%; max-width: 100%; justify-self: center; }
|
|
55
|
+
/* Auto-placed after the head and the phone (both placed by row), three to a row: four to six notes wrap. */
|
|
56
|
+
.l-phone-stage .side .note { grid-column: auto; grid-row: auto; }
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
/* No presenter (:root.hd-no-presenter: no face and no captions, deck_guide look): the corner is free. Phones keep this layout's rules. */
|
|
60
|
+
@media (min-width: 651px) {
|
|
61
|
+
:root.hd-no-presenter .l-phone-stage .side.right { justify-content: center; padding-top: 0; }
|
|
62
|
+
}
|
|
63
|
+
</style>
|
|
64
|
+
<section class="slide l-phone-stage" id="__ID__" data-chapter="The product" data-note="Phone screen: name the app build and the date it was captured.">
|
|
65
|
+
<div class="head">
|
|
66
|
+
<div class="kicker">The product · On a phone</div>
|
|
67
|
+
<h2 class="tt" data-title-mobile="The screen they live on.">The screen people open every morning.</h2>
|
|
68
|
+
</div>
|
|
69
|
+
<div class="side left">
|
|
70
|
+
<p class="note" id="__ID__-n1" style="--y: 50%"><b>First</b>What matters today</p>
|
|
71
|
+
<p class="note" id="__ID__-n2" style="--y: 88%"><b>Then</b>The one button they need</p>
|
|
72
|
+
</div>
|
|
73
|
+
<div class="frame card" id="__ID__-phone"><div class="shot" role="img" aria-label="Phone screen placeholder"></div></div>
|
|
74
|
+
<div class="side right">
|
|
75
|
+
<p class="note" id="__ID__-n3" style="--y: 12%"><b>And</b>What they made last week</p>
|
|
76
|
+
</div>
|
|
77
|
+
<div class="narration-slot"></div>
|
|
78
|
+
</section>
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<!--
|
|
2
2
|
layout: phones
|
|
3
3
|
summary: A fanned row of two to four phone cards (the inner ones larger and in front, the outer ones tilted out), the point in the column beside it. The row stands on a dot plate (bg-stage).
|
|
4
|
+
brief: A fanned row of two to four phone cards, the point beside them.
|
|
4
5
|
use: a phone app's flow or its key screens. Each card's .shot is a placeholder check fails on: put in a phone-size screenshot (`hyperdecks screenshot <url> --width 390 --height 844`, capture_url) as <img class="shot">, or a screen recording as <video class="shot" autoplay muted loop playsinline>. Two to four cards: the row spaces and tilts them (on phones only the first three show); change one card's --tilt or --shadow on it. One phone only: use product with .frame.card.
|
|
5
6
|
slot: bottom-left
|
|
6
7
|
presenter: stage
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
layout: picture-full
|
|
3
|
+
summary: One picture edge to edge, the words on a solid, inked panel of the theme's paper in the top-left and the presenter under it, so everything that is not picture keeps to the left third. The non-cover cousin of cover-band.
|
|
4
|
+
brief: One photo edge to edge, the words on a solid panel (not a cover).
|
|
5
|
+
says: this is real
|
|
6
|
+
needs: 1 photo
|
|
7
|
+
use: a strong photo that is the point of the slide (the place, the object, the crowd, the moment) anywhere after the cover; for the first slide use cover-band. Its .pic is a placeholder check fails on: put in a wide photo (yours, or a found one: `hyperdecks photos add <id> --for picture-full`, deck_guide topic photos; 16:9 or wider; on a phone it shows whole at its own shape, so give it width and height) as <img class="pic" src="…" alt="…" width="…" height="…">. The slide is its frame, so the photo fills it (cover): the panel and the presenter keep to the left third, so keep the subject in the right two-thirds; set object-position on the img to move it. The panel grows with the words; never move them off the panel onto the picture. Never a generated or stock stand-in for a real event. A caption (optional, any theme): wrap the picture as <figure class="mount" data-caption="Where, when">…</figure>; short (about 40 characters), never the alt text.
|
|
8
|
+
slot: bottom-left
|
|
9
|
+
flip: data-flip on the section mirrors it: the panel and the presenter under it keep to the right third. Alternate it with a neighbouring picture-full slide.
|
|
10
|
+
presenter: stage
|
|
11
|
+
nopresenter: The panel may widen; the left third below it is free.
|
|
12
|
+
cues: [look: #__ID__-pic] as the narration turns to the picture.
|
|
13
|
+
script: This is where it happens. [look: #__ID__-pic] Every Saturday, all year round.
|
|
14
|
+
-->
|
|
15
|
+
<style>
|
|
16
|
+
.l-picture-full { justify-content: flex-start; align-items: flex-start; overflow: hidden; }
|
|
17
|
+
.l-picture-full .pic { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
|
|
18
|
+
/* A captioned photo (figure.mount) fills the slide the same way; its label sits in the bottom-right corner on the paper. */
|
|
19
|
+
.slide.l-picture-full > .mount { position: absolute; inset: 0; width: auto; max-width: none; }
|
|
20
|
+
.l-picture-full .mount[data-caption]::after { position: absolute; left: auto; right: 28px; top: auto; bottom: 24px; min-height: 0; margin: 0; padding: 6px 14px; border-radius: calc(8 * var(--round)); background: var(--paper); color: var(--ink); }
|
|
21
|
+
.l-picture-full div.pic { background: color-mix(in srgb, var(--ink) 6%, var(--paper)) repeating-linear-gradient(135deg, color-mix(in srgb, var(--ink) 10%, transparent) 0 2px, transparent 2px 22px); }
|
|
22
|
+
/* The panel and the presenter under it (slot-left) keep to the left third; the picture shows around them. */
|
|
23
|
+
.l-picture-full .panel { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 14px; width: fit-content; max-width: 40%; min-width: 520px; padding: 28px 32px 30px; border: calc(4 * var(--line)) solid var(--ink); border-radius: calc(24 * var(--round)); background: var(--paper); color: var(--ink); box-shadow: calc(12 * var(--drop-x)) calc(12 * var(--drop-y)) calc(12 * var(--drop-blur)) color-mix(in srgb, var(--ink) var(--drop-mix), transparent); }
|
|
24
|
+
.l-picture-full .tt { font-size: var(--t-sub); line-height: 1.02; }
|
|
25
|
+
.l-picture-full .lead { font-size: var(--t-body); }
|
|
26
|
+
@media (max-width: 650px) {
|
|
27
|
+
/* Phones: the picture across the top, at its own shape (a portrait cropped to 400px tall), the panel directly under it
|
|
28
|
+
(never on it), its type a step up so the words use the height the picture leaves. The picture is never grown past its
|
|
29
|
+
shape: a wide one cropped to fill loses its sides, and the words in a screenshot with them. */
|
|
30
|
+
.l-picture-full { justify-content: flex-start; align-items: stretch; gap: 0; }
|
|
31
|
+
.l-picture-full .pic { position: relative; inset: auto; flex: none; width: auto; height: auto; max-height: 400px; margin: -28px -20px 0; }
|
|
32
|
+
.l-picture-full div.pic { aspect-ratio: 16 / 9; }
|
|
33
|
+
.slide.l-picture-full > .mount { position: relative; inset: auto; flex: none; margin: -28px -20px 0; }
|
|
34
|
+
.l-picture-full .mount > .pic { margin: 0; }
|
|
35
|
+
.l-picture-full .mount[data-caption]::after { right: 10px; bottom: 10px; padding: 3px 8px; }
|
|
36
|
+
.l-picture-full .panel { gap: 12px; width: auto; min-width: 0; max-width: none; margin-top: 12px; padding: 20px 20px 22px; border-width: calc(2 * var(--line)); border-radius: calc(16 * var(--round)); 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); }
|
|
37
|
+
.l-picture-full .tt { font-size: var(--t-title); }
|
|
38
|
+
.l-picture-full .lead { font-size: var(--t-lead); }
|
|
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-picture-full .panel { max-width: 720px; }
|
|
43
|
+
}
|
|
44
|
+
/* Flipped (data-flip on the section): the mirror image, for a neighbour of the same layout. Wide screens only; a phone
|
|
45
|
+
stacks the same either way. The presenter follows the panel (layouts/_deck.html). */
|
|
46
|
+
@media not all and (max-width: 650px) {
|
|
47
|
+
.l-picture-full[data-flip] { align-items: flex-end; }
|
|
48
|
+
}
|
|
49
|
+
</style>
|
|
50
|
+
<section class="slide l-picture-full slot-left" id="__ID__" data-chapter="In real life" data-note="Photo: say who took it, where and when.">
|
|
51
|
+
<div class="pic" id="__ID__-pic" role="img" aria-label="Photo placeholder"></div>
|
|
52
|
+
<div class="panel">
|
|
53
|
+
<div class="kicker">In real life</div>
|
|
54
|
+
<h2 class="tt" data-title-mobile="Where it happens.">This is where it happens, every Saturday.</h2>
|
|
55
|
+
<p class="lead">One line on what the picture shows.</p>
|
|
56
|
+
</div>
|
|
57
|
+
<div class="narration-slot"></div>
|
|
58
|
+
</section>
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
layout: portrait
|
|
3
|
+
summary: A tall picture held like an object, a tilted card with an ink edge and a hard shadow, beside a title given room to breathe.
|
|
4
|
+
brief: One tall picture held like an object beside the title.
|
|
5
|
+
says: this is real
|
|
6
|
+
needs: 1 portrait photo
|
|
7
|
+
use: a person, a product held in the hand or a punchline told by a picture: one tall picture that earns the slide. Its .pic is a placeholder check fails on: put in a portrait photo (3:4 to 9:16; a found one: `hyperdecks photos add <id> --for portrait`, deck_guide topic photos) as <img class="pic" src="…" alt="…" width="…" height="…">; the card takes the picture's shape (up to the slide's height and 560px wide), so it is never cropped and never banded. A face only with permission; never a generated or stock stand-in for a real person. For a wide picture use picture-full. A caption (optional, any theme): wrap the picture as <figure class="mount" data-caption="Where, when">…</figure>; short (about 40 characters), never the alt text.
|
|
8
|
+
slot: bottom-left
|
|
9
|
+
flip: data-flip on the section mirrors it: the portrait on the left, tilted the other way, the words on the right with the presenter under them (bottom-right). Alternate it with a neighbouring portrait slide.
|
|
10
|
+
presenter: stage
|
|
11
|
+
nopresenter: The copy centres vertically beside the picture instead of leaving the bottom-left free.
|
|
12
|
+
cues: [look: #__ID__-pic] as the narration turns to the picture.
|
|
13
|
+
script: This is the person behind it. [look: #__ID__-pic] Every order, packed by hand.
|
|
14
|
+
-->
|
|
15
|
+
<style>
|
|
16
|
+
.l-portrait { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 96px; align-items: center; }
|
|
17
|
+
.l-portrait .text { align-self: start; display: flex; flex-direction: column; gap: 22px; padding-top: 24px; }
|
|
18
|
+
.l-portrait .tt { line-height: .98; }
|
|
19
|
+
/* The card hugs the picture: it keeps the picture's own shape, within the slide. */
|
|
20
|
+
.l-portrait .pic { --tilt: 3deg; display: block; width: auto; height: auto; max-width: 560px; max-height: 720px; margin-right: 24px; border: calc(4 * var(--line)) solid var(--ink); --frame-min: 280px; border-radius: min(calc(26 * var(--round)), var(--frame-min) / 8); background: var(--card); box-shadow: calc(16 * var(--drop-x)) calc(16 * var(--drop-y)) calc(16 * var(--drop-blur)) color-mix(in srgb, var(--accent) var(--drop-mix), transparent); transform: rotate(calc(var(--tilt) * var(--tilt-k))); object-fit: contain; }
|
|
21
|
+
.on-accent.l-portrait .pic { box-shadow: calc(16 * var(--drop-x)) calc(16 * var(--drop-y)) calc(16 * var(--drop-blur)) color-mix(in srgb, var(--accent-ink) var(--drop-mix), transparent); }
|
|
22
|
+
/* A captioned photo (figure.mount) takes the picture's place and tilt. */
|
|
23
|
+
.l-portrait > .mount { --tilt: 3deg; margin-right: 24px; transform: rotate(calc(var(--tilt) * var(--tilt-k))); }
|
|
24
|
+
.l-portrait .mount > .pic { margin-right: 0; transform: none; }
|
|
25
|
+
.l-portrait div.pic { height: 680px; aspect-ratio: 3 / 4; background: color-mix(in srgb, var(--ink) 6%, var(--paper)) repeating-linear-gradient(135deg, color-mix(in srgb, var(--ink) 10%, transparent) 0 2px, transparent 2px 22px); }
|
|
26
|
+
@media (max-width: 650px) {
|
|
27
|
+
.l-portrait { display: flex; flex-direction: column; align-items: stretch; gap: 14px; }
|
|
28
|
+
.l-portrait .text { gap: 10px; padding-top: 0; }
|
|
29
|
+
.l-portrait .pic { flex: 1 1 0; min-height: 0; align-self: center; width: auto; max-width: 100%; max-height: none; margin: 6px 0 10px; object-fit: cover; border-width: calc(2 * var(--line)); --frame-min: 160px; border-radius: min(calc(14 * var(--round)), var(--frame-min) / 8); box-shadow: calc(7 * var(--drop-x)) calc(7 * var(--drop-y)) calc(7 * var(--drop-blur)) color-mix(in srgb, var(--accent) var(--drop-mix), transparent); }
|
|
30
|
+
.on-accent.l-portrait .pic { box-shadow: calc(7 * var(--drop-x)) calc(7 * var(--drop-y)) calc(7 * var(--drop-blur)) color-mix(in srgb, var(--accent-ink) var(--drop-mix), transparent); }
|
|
31
|
+
.l-portrait div.pic { width: 75%; height: auto; }
|
|
32
|
+
}
|
|
33
|
+
/* No presenter (:root.hd-no-presenter: no face and no captions, deck_guide look): the corner is free. Phones keep this layout's rules. */
|
|
34
|
+
@media (min-width: 651px) {
|
|
35
|
+
:root.hd-no-presenter .l-portrait .text { align-self: center; padding-top: 0; }
|
|
36
|
+
}
|
|
37
|
+
/* Flipped (data-flip on the section): the mirror image, for a neighbour of the same layout. Wide screens only; a phone
|
|
38
|
+
stacks the same either way. The presenter follows the panel (layouts/_deck.html). */
|
|
39
|
+
@media not all and (max-width: 650px) {
|
|
40
|
+
.l-portrait[data-flip] { grid-template-columns: auto minmax(0, 1fr); }
|
|
41
|
+
.l-portrait[data-flip] .text { grid-column: 2; grid-row: 1; }
|
|
42
|
+
.l-portrait[data-flip] > :is(.pic, .mount) { grid-column: 1; grid-row: 1; margin-right: 0; margin-left: 24px; --tilt: -3deg; }
|
|
43
|
+
}
|
|
44
|
+
</style>
|
|
45
|
+
<section class="slide l-portrait slot-left" id="__ID__" data-chapter="The people" data-note="Photo: say who it is, who took it, when, and that they agreed to be shown.">
|
|
46
|
+
<div class="text">
|
|
47
|
+
<div class="kicker">The people</div>
|
|
48
|
+
<h2 class="tt" data-title-mobile="Packed by hand.">Every order, packed by hand.</h2>
|
|
49
|
+
<p class="lead">One line on who this is and why it matters.</p>
|
|
50
|
+
</div>
|
|
51
|
+
<div class="pic" id="__ID__-pic" role="img" aria-label="Portrait photo placeholder"></div>
|
|
52
|
+
<div class="narration-slot"></div>
|
|
53
|
+
</section>
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<!--
|
|
2
2
|
layout: product
|
|
3
3
|
summary: A product screenshot in a browser frame (for a phone shot, .frame.card: the frameless phone card), the point in the column beside it.
|
|
4
|
+
brief: A product screenshot in a browser frame (or a phone card), the point beside it.
|
|
4
5
|
use: a demo moment. Its .shot is a placeholder check fails on: put in `hyperdecks screenshot <url>` (capture_url) output as <img class="shot">; a callout chip names what to look at. For a phone app, make the frame `<div class="frame card" id="__ID__-frame">` holding only the shot (a phone screenshot or a `<video class="shot" autoplay muted loop playsinline>` clip) and the callout; tilt and shadow colour are `--tilt` and `--shadow` on it. `.frame.phone` (the black bezel) stays for older decks.
|
|
5
6
|
slot: bottom-right
|
|
6
7
|
presenter: stage
|
|
@@ -13,10 +14,10 @@ script: This is the product. [look: #__ID__-frame] Look at this part. [reveal: #
|
|
|
13
14
|
.l-product .text { grid-area: text; align-self: start; display: flex; flex-direction: column; gap: 20px; }
|
|
14
15
|
.l-product .tt { font-size: var(--t-sub); line-height: 1.02; }
|
|
15
16
|
.l-product .lead { font-size: var(--t-body); }
|
|
16
|
-
.l-product .frame { grid-area: frame; position: relative; border-radius:
|
|
17
|
+
.l-product .frame { grid-area: frame; position: relative; --frame-min: 524px; border-radius: min(calc(18 * var(--round)), var(--frame-min) / 16); overflow: hidden; background: var(--card); box-shadow: 0 0 0 calc(1 * var(--line)) color-mix(in srgb, var(--ink) 14%, transparent), 0 calc(30 * var(--lift)) calc(70 * var(--lift)) color-mix(in srgb, var(--ink) 18%, transparent); }
|
|
17
18
|
.l-product .bar { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; background: color-mix(in srgb, var(--ink) 6%, var(--card)); }
|
|
18
19
|
.l-product .bar i { width: 12px; height: 12px; border-radius: 50%; background: color-mix(in srgb, var(--ink) 22%, transparent); }
|
|
19
|
-
.l-product .bar span { margin-left: 14px; flex: 1; max-width: 420px; padding: 5px 14px; border-radius:
|
|
20
|
+
.l-product .bar span { margin-left: 14px; flex: 1; max-width: 420px; padding: 5px 14px; border-radius: calc(999 * var(--round)); background: var(--card); font: 14px var(--mono); opacity: .7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
20
21
|
/* Swap the div for an <img class="shot"> of your file (a 16:10 screenshot). */
|
|
21
22
|
/* The shot keeps its own aspect ratio: cover-cropping a screenshot cuts its edges. */
|
|
22
23
|
.l-product img.shot { display: block; width: 100%; height: auto; }
|
|
@@ -31,14 +32,14 @@ script: This is the product. [look: #__ID__-frame] Look at this part. [reveal: #
|
|
|
31
32
|
/* The phone card's look is shared (_deck.html); here it sits centred in the frame column, without the browser bar. */
|
|
32
33
|
.l-product .frame.card { justify-self: center; }
|
|
33
34
|
.l-product .frame.card .bar { display: none; }
|
|
34
|
-
.l-product .frame.phone { width: 300px; justify-self: center; border-radius:
|
|
35
|
+
.l-product .frame.phone { width: 300px; justify-self: center; border-radius: calc(40 * var(--round-phone)); padding: 12px; background: var(--ink); }
|
|
35
36
|
.l-product .frame.phone .bar { display: none; }
|
|
36
|
-
.l-product .frame.phone .shot { aspect-ratio: 9 / 19.5; border-radius:
|
|
37
|
-
.l-product .callout { position: absolute; left: 28px; bottom: 28px; padding: 12px 20px; border-radius:
|
|
37
|
+
.l-product .frame.phone .shot { aspect-ratio: 9 / 19.5; border-radius: calc(28 * var(--round-phone)); }
|
|
38
|
+
.l-product .callout { position: absolute; left: 28px; bottom: 28px; padding: 12px 20px; border-radius: calc(999 * var(--round)); background: var(--ink); color: var(--paper); font-weight: 700; font-size: 22px; }
|
|
38
39
|
@media (max-width: 650px) {
|
|
39
40
|
.l-product { display: flex; flex-direction: column; align-items: stretch; }
|
|
40
41
|
.l-product .text { gap: 10px; }
|
|
41
|
-
.l-product .frame { border-radius:
|
|
42
|
+
.l-product .frame { --frame-min: 193px; border-radius: min(calc(12 * var(--round)), var(--frame-min) / 16); }
|
|
42
43
|
.l-product .bar { height: 26px; padding: 0 10px; gap: 5px; }
|
|
43
44
|
.l-product .bar i { width: 7px; height: 7px; }
|
|
44
45
|
.l-product .bar span { font-size: 9px; padding: 2px 8px; margin-left: 6px; }
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<!--
|
|
2
2
|
layout: quote
|
|
3
3
|
summary: One quote, large, with who said it. The quote is the title.
|
|
4
|
+
brief: One quote, large, with who said it.
|
|
4
5
|
use: a customer or user in their own words. Quote them exactly and name the source in data-note.
|
|
5
6
|
slot: bottom-left
|
|
6
7
|
presenter: stage
|
|
@@ -10,15 +11,16 @@ script: In their words. [look: #__ID__-quote] Here is what they told us.
|
|
|
10
11
|
-->
|
|
11
12
|
<style>
|
|
12
13
|
.l-quote .content { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 36px; padding-left: 500px; }
|
|
13
|
-
.l-quote .quote { font-size: 76px; line-height: 1.02; letter-spacing: -.035em; text-indent: -.42em; }
|
|
14
|
+
.l-quote .quote { font-family: var(--display, var(--font)); font-style: var(--display-style); font-size: 76px; line-height: 1.02; letter-spacing: -.035em; text-indent: -.42em; }
|
|
14
15
|
.l-quote figcaption { display: flex; align-items: center; gap: 18px; }
|
|
15
16
|
/* Swap the span for an <img class="avatar"> of your file with their permission. */
|
|
16
17
|
.l-quote .avatar { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; background: var(--ink); color: var(--accent); font: 700 26px var(--font); }
|
|
17
18
|
.l-quote figcaption b { display: block; font-size: var(--t-body); }
|
|
18
19
|
.l-quote figcaption small { font: var(--t-label) var(--mono); letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
|
|
19
20
|
@media (max-width: 650px) {
|
|
20
|
-
.l-quote .content { padding-left: 0; justify-content:
|
|
21
|
-
|
|
21
|
+
.l-quote .content { padding-left: 0; justify-content: var(--hd-phone-anchor); gap: 18px; }
|
|
22
|
+
/* A silent deck has the presenter's 172px back: the quote steps up to 40px (32px beside the presenter). */
|
|
23
|
+
.l-quote .quote { font-size: calc(32px + 8px * (1 - var(--hd-phone-presenter))); }
|
|
22
24
|
.l-quote .avatar { width: 44px; height: 44px; font-size: 16px; }
|
|
23
25
|
}
|
|
24
26
|
/* No presenter (:root.hd-no-presenter: no face and no captions, deck_guide look): the corner is free. Phones keep this layout's rules. */
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
layout: rail
|
|
3
|
+
summary: Three to six stops along one line, a numbered dot, a name and one line each: a process in order, no stop bigger than another.
|
|
4
|
+
brief: Three to six stops along one line, in order, a name and a line each.
|
|
5
|
+
says: what happens in order
|
|
6
|
+
needs: 3 to 6 stops
|
|
7
|
+
use: what happens when you send it, a request's path, an onboarding. Each name a word or two, no word over about 14 letters, each line under about 40 characters (names are sized by the row and the number of stops, 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 rail (at xl it runs down the slide), clear of the presenter.
|
|
8
|
+
slot: bottom-right
|
|
9
|
+
presenter: stage
|
|
10
|
+
nopresenter: The rail takes the full width of the slide.
|
|
11
|
+
cues: [go: #__ID__-s1] at the first stop, then the ones the narration names, then [go: slot].
|
|
12
|
+
script: You send one link. [go: #__ID__-s1] They open it, [go: #__ID__-s3] your avatar talks them through, [go: #__ID__-s5] and you see who watched. [go: slot]
|
|
13
|
+
-->
|
|
14
|
+
<style>
|
|
15
|
+
/* One line through the dots, in a column that ends left of the presenter's corner (the stage presenter at m reaches
|
|
16
|
+
1064px across). --dot: a stop's diameter; the line runs through the dots' centres. */
|
|
17
|
+
.l-rail .track { --dot: 64px; --n: 3; container-type: inline-size; list-style: none; position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(min-content, 1fr); gap: 32px; max-width: 980px; margin: auto 0; }
|
|
18
|
+
.l-rail .track::before { content: ""; position: absolute; left: calc(var(--dot) / 2); right: calc(var(--dot) / 2); top: calc(var(--dot) / 2 - 3px); height: 6px; border-radius: calc(3 * var(--round)); background: currentColor; }
|
|
19
|
+
.l-rail .track li { position: relative; display: flex; flex-direction: column; gap: 8px; }
|
|
20
|
+
.l-rail .dot { display: grid; place-items: center; width: var(--dot); height: var(--dot); margin-bottom: 14px; border: calc(3 * var(--line)) solid var(--ink); border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-family: var(--mono); font-size: var(--t-body); font-weight: 700; }
|
|
21
|
+
.on-accent.l-rail .dot { background: var(--card); color: var(--ink); }
|
|
22
|
+
/* Each stop is at least as wide as its longest word (min-content): a long name widens its stop, never breaks. Names
|
|
23
|
+
and lines are capped by the row shared among the stops (cqi: the row's width; --n: the stops), so ordinary names fit
|
|
24
|
+
the row together. Running down the slide (xl, a phone) a stop has the whole width. */
|
|
25
|
+
.l-rail .track 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), calc(100cqi / (var(--n) * 9))); line-height: 1.02; }
|
|
26
|
+
.l-rail .track p { font-size: min(var(--t-body), calc(100cqi / (var(--n) * 11))); line-height: 1.3; }
|
|
27
|
+
.l-rail .track:has(> li:nth-child(4)) { --n: 4; }
|
|
28
|
+
.l-rail .track:has(> li:nth-child(5)) { --n: 5; }
|
|
29
|
+
.l-rail .track:has(> li:nth-child(6)) { --n: 6; }
|
|
30
|
+
@media (max-width: 650px) {
|
|
31
|
+
/* A phone: the rail runs down the left, a stop on each line. */
|
|
32
|
+
.l-rail .track { --dot: 44px; grid-auto-flow: row; grid-template-columns: minmax(0, 1fr); grid-auto-columns: auto; gap: calc(18px - 6px * var(--hd-phone-presenter)); max-width: none; margin: 0; }
|
|
33
|
+
.l-rail .track::before { left: calc(var(--dot) / 2 - 2px); right: auto; top: calc(var(--dot) / 2); bottom: calc(var(--dot) / 2); width: 4px; height: auto; }
|
|
34
|
+
.l-rail .track li { display: grid; grid-template-columns: var(--dot) minmax(0, 1fr); column-gap: 14px; row-gap: calc(4px - 2px * var(--hd-phone-presenter)); }
|
|
35
|
+
.l-rail .dot { grid-row: span 2; margin: 0; border-width: calc(2 * var(--line)); font-size: var(--t-label); }
|
|
36
|
+
.l-rail .track b { font-size: var(--t-lead); }
|
|
37
|
+
.l-rail .track p { font-size: var(--t-body); }
|
|
38
|
+
/* The stops spread down the free height, at most 130px a stop, never closer than their gap: a column whose
|
|
39
|
+
minimum is its content's height, so stops that do not fit make the slide run over where check sees it. */
|
|
40
|
+
.l-rail .track { display: flex; flex-direction: column; flex: 1 1 0; justify-content: space-between; max-height: calc(var(--n) * 130px); }
|
|
41
|
+
}
|
|
42
|
+
/* A large presenter (data-presenter-size l or xl on this slide's section tag): narrower; at xl the rail runs down the slide. */
|
|
43
|
+
@media not all and (max-width: 650px) {
|
|
44
|
+
.l-rail[data-presenter-size="l"] :is(.track, .tt) { max-width: 830px; }
|
|
45
|
+
.l-rail[data-presenter-size="xl"] .tt { max-width: 680px; }
|
|
46
|
+
.l-rail[data-presenter-size="xl"] .track { --dot: 48px; max-width: 680px; grid-auto-flow: row; grid-template-columns: minmax(0, 1fr); grid-auto-columns: auto; gap: 14px; }
|
|
47
|
+
.l-rail[data-presenter-size="xl"] .track::before { left: calc(var(--dot) / 2 - 3px); right: auto; top: calc(var(--dot) / 2); bottom: calc(var(--dot) / 2); width: 6px; height: auto; }
|
|
48
|
+
.l-rail[data-presenter-size="xl"] .track li { display: grid; grid-template-columns: var(--dot) minmax(0, 1fr); column-gap: 18px; row-gap: 0; }
|
|
49
|
+
.l-rail[data-presenter-size="xl"] .dot { grid-row: span 2; margin: 0; font-size: var(--t-label); }
|
|
50
|
+
.l-rail[data-presenter-size="xl"] .track b { font-size: var(--t-body); }
|
|
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-rail :is(.track, .tt) { max-width: none; }
|
|
55
|
+
}
|
|
56
|
+
/* Icon slot (optional): an icon in a stop's dot, in place of its number (hyperdecks icons search <word> --for rail).
|
|
57
|
+
The dot is its tile: painted as the theme paints an icon tile (over the paper, so a bare theme's dot is plain), the
|
|
58
|
+
icon bare in it at the theme's line weight. */
|
|
59
|
+
.l-rail .dot:has(> .icon) { background: linear-gradient(var(--icon-fill, var(--icon-tile, var(--accent))), var(--icon-fill, var(--icon-tile, var(--accent)))), var(--paper); color: var(--icon-on-card, var(--icon-fg, var(--icon-ink, var(--accent-ink)))); }
|
|
60
|
+
.on-accent.l-rail .dot { --icon-fill: var(--icon-tile-accent, var(--card)); --icon-fg: var(--icon-ink-accent, var(--ink)); }
|
|
61
|
+
.l-rail .dot > .icon { width: 62%; height: 62%; padding: 0; border-radius: 0; background: none; box-shadow: none; color: inherit; }
|
|
62
|
+
</style>
|
|
63
|
+
<section class="slide on-tint l-rail" id="__ID__" data-chapter="How it works" data-note="Source: where each stop is described (the docs, the product).">
|
|
64
|
+
<div class="kicker">What happens when you send it</div>
|
|
65
|
+
<h2 class="tt" data-title-mobile="One link, five stops.">One link, five stops.</h2>
|
|
66
|
+
<ol class="track">
|
|
67
|
+
<li id="__ID__-s1"><span class="dot">1</span><b>Link</b><p>You send one link per person.</p></li>
|
|
68
|
+
<li id="__ID__-s2"><span class="dot">2</span><b>Open</b><p>It plays in any browser.</p></li>
|
|
69
|
+
<li id="__ID__-s3"><span class="dot">3</span><b>Watch</b><p>Your avatar talks them through.</p></li>
|
|
70
|
+
<li id="__ID__-s4"><span class="dot">4</span><b>Ask</b><p>They ask the deck a question.</p></li>
|
|
71
|
+
<li id="__ID__-s5"><span class="dot">5</span><b>See</b><p>You see who watched, and how far.</p></li>
|
|
72
|
+
</ol>
|
|
73
|
+
<div class="narration-slot"></div>
|
|
74
|
+
</section>
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
layout: scorecard
|
|
3
|
+
summary: Three to five named measures, each with its value and a state (on track, watch, fix): where things stand, at a glance.
|
|
4
|
+
brief: Three to five measures, each with a value and a state.
|
|
5
|
+
says: where it stands
|
|
6
|
+
needs: 3 to 5 measures with a value each
|
|
7
|
+
use: a monthly update, goals against plan, a launch checklist. Each measure's name a few words (under about 35 characters), its value short (61%, 1,240, 3 of 4). Real values only, each from its source in data-note. Each state is a class on its .state: good (on track), watch or bad (fix); the mark beside the word (●, ▲, ✕) says it without colour too. A large presenter: data-presenter-size="l" or "xl" on this slide's own section tag (not the player tag) narrows the card, clear of the presenter.
|
|
8
|
+
slot: bottom-right
|
|
9
|
+
presenter: stage
|
|
10
|
+
nopresenter: The rows take the full width of the slide.
|
|
11
|
+
cues: [look: #__ID__-rows] as the narration turns to them; [go: #__ID__-r4] at the one to fix, then [go: slot].
|
|
12
|
+
script: Here is where we stand. [look: #__ID__-rows] Three are on track. One needs fixing: [go: #__ID__-r4] phone views that clip. [go: slot]
|
|
13
|
+
-->
|
|
14
|
+
<style>
|
|
15
|
+
/* The rows share the height below the title, in a column that ends left of the presenter's corner (the stage presenter
|
|
16
|
+
at m reaches 1064px across); each is the measure's name, its value and its state. */
|
|
17
|
+
.l-scorecard .rows { list-style: none; flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: center; gap: 14px; max-width: 980px; }
|
|
18
|
+
.l-scorecard .rows li { flex: 1 1 0; max-height: 120px; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 28px; padding: 14px 28px; border: calc(3 * var(--line)) solid var(--ink); border-radius: calc(20 * 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-scorecard .rows 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-scorecard .rows b { font-size: var(--t-lead); line-height: 1.1; letter-spacing: -.02em; }
|
|
21
|
+
/* Values in the theme's display face (the mono read like code: slashed zeros, wide spaces), figures aligned. */
|
|
22
|
+
.l-scorecard .val { font-family: var(--display, var(--font)); font-weight: var(--display-weight, 700); font-variant-numeric: tabular-nums lining-nums; font-size: var(--t-sub); line-height: 1; letter-spacing: -.02em; white-space: nowrap; }
|
|
23
|
+
.l-scorecard .state { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px; border: calc(2 * var(--line)) solid var(--ink); border-radius: calc(99 * var(--round)); font-family: var(--mono); font-size: var(--t-label); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
|
|
24
|
+
/* The states get louder as they get worse: on track a soft ground, watch the accent, fix solid ink (the strongest in
|
|
25
|
+
every theme). The mark says it without colour. */
|
|
26
|
+
.l-scorecard .state { color: var(--ink); background: var(--paper); }
|
|
27
|
+
.l-scorecard .state.good { background: var(--tint-2); } .l-scorecard .good::before { content: "●"; }
|
|
28
|
+
.l-scorecard .state.watch { background: var(--accent); color: var(--accent-ink); } .l-scorecard .watch::before { content: "▲"; }
|
|
29
|
+
.l-scorecard .state.bad { background: var(--ink); color: var(--paper); } .l-scorecard .bad::before { content: "✕"; }
|
|
30
|
+
@media (max-width: 650px) {
|
|
31
|
+
/* The rows share the free height, at most 130px a row, never under their words (as funnel's stages). */
|
|
32
|
+
.l-scorecard .rows { flex: 1 1 0; min-height: auto; justify-content: flex-start; gap: 6px; max-width: none; }
|
|
33
|
+
.l-scorecard .rows li { flex: 1 1 auto; max-height: 130px; align-content: center; grid-template-columns: minmax(0, 1fr) auto; row-gap: 4px; column-gap: 10px; padding: 10px 12px; 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); }
|
|
34
|
+
.l-scorecard .rows b { font-size: var(--t-body); }
|
|
35
|
+
.l-scorecard .val { font-size: var(--t-lead); }
|
|
36
|
+
.l-scorecard .state { grid-column: 1 / 3; justify-self: start; gap: 6px; padding: 3px 9px; border-width: calc(1 * var(--line)); }
|
|
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-scorecard[data-presenter-size="l"] :is(.rows, .tt) { max-width: 830px; }
|
|
41
|
+
.l-scorecard[data-presenter-size="xl"] :is(.rows, .tt) { max-width: 680px; }
|
|
42
|
+
.l-scorecard[data-presenter-size="xl"] .rows li { gap: 16px; padding: 12px 20px; }
|
|
43
|
+
.l-scorecard[data-presenter-size="xl"] .val { font-size: var(--t-lead); }
|
|
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-scorecard :is(.rows, .tt) { max-width: none; }
|
|
48
|
+
}
|
|
49
|
+
/* Icon slot (optional): an icon at the start of each row (hyperdecks icons search <word> --for scorecard). */
|
|
50
|
+
.l-scorecard .rows li { --icon: 48; }
|
|
51
|
+
.l-scorecard .rows li:has(> .icon) { grid-template-columns: auto minmax(0, 1fr) auto auto; }
|
|
52
|
+
@media (max-width: 650px) {
|
|
53
|
+
.l-scorecard .rows li { --icon: 28; }
|
|
54
|
+
.l-scorecard .rows li:has(> .icon) { grid-template-columns: auto minmax(0, 1fr) auto; }
|
|
55
|
+
.l-scorecard .rows li:has(> .icon) .state { grid-column: 2 / -1; }
|
|
56
|
+
}
|
|
57
|
+
@media not all and (max-width: 650px) {
|
|
58
|
+
.l-scorecard[data-presenter-size="xl"] .rows li { --icon: 36; }
|
|
59
|
+
}
|
|
60
|
+
</style>
|
|
61
|
+
<section class="slide on-tint-2 l-scorecard" id="__ID__" data-chapter="Where we stand" data-note="Source: name where each value comes from (a dashboard, a report) and its date.">
|
|
62
|
+
<div class="kicker">This month</div>
|
|
63
|
+
<h2 class="tt" data-title-mobile="Where we stand.">Where we stand.</h2>
|
|
64
|
+
<ol class="rows" id="__ID__-rows">
|
|
65
|
+
<li id="__ID__-r1"><b>Decks sent</b><span class="val">1,240</span><span class="state good">On track</span></li>
|
|
66
|
+
<li id="__ID__-r2"><b>Watched to the end</b><span class="val">61%</span><span class="state good">On track</span></li>
|
|
67
|
+
<li id="__ID__-r3"><b>Narration under a minute</b><span class="val">48%</span><span class="state watch">Watch</span></li>
|
|
68
|
+
<li id="__ID__-r4"><b>Phone views that clip</b><span class="val">3</span><span class="state bad">Fix</span></li>
|
|
69
|
+
</ol>
|
|
70
|
+
<div class="narration-slot"></div>
|
|
71
|
+
</section>
|