@hypersocial/decks-cli 0.9.28 → 0.9.30
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/README.md +29 -11
- package/package.json +1 -1
- package/skills/hyperdecks/SKILL.md +81 -23
- package/skills/hyperdecks/terminal.md +1 -1
- package/src/aimedNotes.mjs +165 -0
- package/src/assetTypes.mjs +65 -0
- package/src/check.mjs +156 -12
- package/src/checkRules.mjs +367 -18
- package/src/commands.mjs +166 -20
- package/src/embedSources.mjs +15 -1
- package/src/files.mjs +4 -0
- package/src/guide.mjs +1 -1
- package/src/iconSlots.mjs +1 -1
- package/src/importer.mjs +61 -57
- package/src/init.mjs +14 -2
- package/src/layoutRoutes.mjs +7 -4
- package/src/layouts.mjs +2 -2
- package/src/notices.mjs +145 -0
- package/src/ops.mjs +1 -1
- package/src/runtime.mjs +20 -3
- package/src/skillFreshness.mjs +46 -13
- package/src/source.mjs +57 -9
- package/src/update.mjs +93 -30
- package/templates/layouts/_deck.html +3 -3
- package/templates/layouts/compare.html +50 -25
- package/templates/layouts/features.html +11 -1
- package/templates/layouts/phone-stage.html +20 -4
- package/templates/layouts/pictures.html +86 -0
- package/templates/layouts/scale.html +69 -0
- package/templates/layouts/screens.html +5 -0
- package/templates/layouts/sieve.html +62 -0
- package/templates/layouts/split.html +6 -0
- package/templates/layouts/statement.html +58 -0
- package/templates/layouts/tap-through.html +3 -3
- package/templates/layouts/video-beats.html +1 -1
|
@@ -1,47 +1,72 @@
|
|
|
1
1
|
<!--
|
|
2
2
|
layout: compare
|
|
3
|
-
summary: Before and after
|
|
4
|
-
brief: Before and after
|
|
5
|
-
|
|
3
|
+
summary: Before and after as rewrite rows: one column, each row the old line struck beside the new one, the words that changed marked.
|
|
4
|
+
brief: Before and after: each row the old line struck beside the new, the change marked.
|
|
5
|
+
says: it changed
|
|
6
|
+
needs: 2 or 3 old lines, each with its new line
|
|
7
|
+
use: before and after only: the change your idea makes, line by line. Each row is one thing that changed: the old line in <s>, the new in <strong> with the words that changed in <mark>. Keep the rows parallel and short (about 30 characters a side). Relabel the two .label heads if they are not "Before" and "After" ("Today", "With us"). For one rule and the right way, use strike; for a change that is one number (40 min to 2 min), use number; for what is in and what is out, use sieve; for two halves of one thing, use statement. 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.
|
|
6
8
|
slot: bottom-right
|
|
7
9
|
presenter: stage
|
|
8
|
-
nopresenter: The
|
|
9
|
-
cues: [
|
|
10
|
-
script:
|
|
10
|
+
nopresenter: The rows widen to the full frame.
|
|
11
|
+
cues: [go: #__ID__-r1] … [go: #__ID__-r3] at the word that starts each row, then [go: slot]. (The heads keep the ids __ID__-before and __ID__-after for older scripts; they are hidden on a phone, so cue the rows.)
|
|
12
|
+
script: Fixing one line used to mean [go: #__ID__-r1] recording the whole deck again. Now [go: #__ID__-r2] only its slide renders, [go: #__ID__-r3] in two minutes. [go: slot]
|
|
11
13
|
-->
|
|
12
14
|
<style>
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
.l-compare .
|
|
16
|
-
.l-compare .
|
|
17
|
-
.l-compare .
|
|
18
|
-
.l-compare
|
|
15
|
+
/* One column of rows, in a column that ends left of the presenter's corner (the stage presenter at m reaches 1064px
|
|
16
|
+
across, the glass one 1022px): the old line faded and struck, an arrow, the new line with its changed words marked. No boxes. */
|
|
17
|
+
.l-compare .table { flex: 1; display: flex; flex-direction: column; justify-content: center; max-width: 940px; }
|
|
18
|
+
.l-compare :is(.heads, .rows > li) { display: grid; grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr); align-items: baseline; }
|
|
19
|
+
.l-compare .heads { padding-bottom: 14px; }
|
|
20
|
+
.l-compare .label { font: 700 var(--t-label) var(--mono); letter-spacing: .16em; text-transform: uppercase; }
|
|
21
|
+
.l-compare .rows { list-style: none; }
|
|
22
|
+
.l-compare .rows > li { font-size: calc((var(--t-lead) + var(--t-sub)) / 2); line-height: 1.2; padding: 26px 0; border-top: calc(2 * var(--line)) solid color-mix(in srgb, currentColor 18%, transparent); }
|
|
23
|
+
.l-compare .rows s { color: color-mix(in srgb, currentColor 50%, transparent); text-decoration-thickness: .07em; }
|
|
24
|
+
.l-compare .to { font-family: var(--mono); font-size: var(--t-lead); text-align: center; }
|
|
25
|
+
.l-compare .rows strong { font-weight: 700; }
|
|
26
|
+
.l-compare .rows mark { color: inherit; background: linear-gradient(transparent 58%, var(--accent) 58%); }
|
|
27
|
+
.on-accent.l-compare .rows mark { background: linear-gradient(transparent 58%, var(--card) 58%); }
|
|
19
28
|
.l-compare .tt { max-width: 11em; }
|
|
20
29
|
@media (max-width: 650px) {
|
|
21
|
-
|
|
22
|
-
.l-compare .
|
|
23
|
-
.l-compare .
|
|
24
|
-
.l-compare
|
|
30
|
+
/* Each row stacks: the old line, then the new under it; no arrow. */
|
|
31
|
+
.l-compare .table { flex: none; max-width: none; }
|
|
32
|
+
.l-compare :is(.heads, .rows > li) { grid-template-columns: 1fr; }
|
|
33
|
+
.l-compare .table > .heads { display: none; } /* outranks the grid rule above, which counts its li */
|
|
34
|
+
/* The player grows these into the phone's free room (--hd-phone-grow, 0 to 1: packages/player/phone-fit.js); at 0 they
|
|
35
|
+
are the sizes check measures. */
|
|
36
|
+
.l-compare .rows > li { font-size: calc(var(--t-body) + (var(--t-sub) - var(--t-body)) * var(--hd-phone-grow, 0)); padding: calc(10px + 48px * var(--hd-phone-grow, 0)) 0; row-gap: 2px; }
|
|
37
|
+
.l-compare .to { display: none; }
|
|
38
|
+
}
|
|
39
|
+
/* A large presenter (data-presenter-size l or xl on this slide's section tag). */
|
|
40
|
+
@media not all and (max-width: 650px) {
|
|
41
|
+
.l-compare[data-presenter-size="l"] .table { max-width: 830px; }
|
|
42
|
+
.l-compare:is([data-presenter-size="l"], [data-presenter-size="xl"]) .rows > li { font-size: var(--t-lead); padding: 20px 0; }
|
|
43
|
+
.l-compare[data-presenter-size="xl"] .table { max-width: 680px; }
|
|
44
|
+
.l-compare[data-presenter-size="xl"] .tt { max-width: 680px; }
|
|
45
|
+
.l-compare[data-presenter-size="xl"] :is(.heads, .rows > li) { grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr); }
|
|
25
46
|
}
|
|
26
47
|
/* No presenter (:root.hd-no-presenter: no face and no captions, deck_guide look): the corner is free. Phones keep this layout's rules. */
|
|
27
48
|
@media (min-width: 651px) {
|
|
28
|
-
:root.hd-no-presenter .l-compare .
|
|
49
|
+
:root.hd-no-presenter .l-compare .table { max-width: none; }
|
|
29
50
|
}
|
|
30
|
-
/* Icon slot (optional): an icon before each
|
|
31
|
-
.l-compare .label { --icon:
|
|
32
|
-
.on-accent.l-compare .
|
|
33
|
-
.l-compare .label:has(> .icon) { display: flex; align-items: center; gap:
|
|
51
|
+
/* Icon slot (optional): an icon before each head's label (hyperdecks icons search <word> --for compare). */
|
|
52
|
+
.l-compare .label { --icon: 32; }
|
|
53
|
+
.on-accent.l-compare .label { --icon-fill: var(--icon-tile-accent, var(--card)); --icon-fg: var(--icon-ink-accent, var(--ink)); }
|
|
54
|
+
.l-compare .label:has(> .icon) { display: inline-flex; align-items: center; gap: 12px; }
|
|
34
55
|
@media (max-width: 650px) {
|
|
35
56
|
.l-compare .label { --icon: 24; }
|
|
36
57
|
.l-compare .label:has(> .icon) { gap: 8px; }
|
|
37
58
|
}
|
|
38
59
|
</style>
|
|
39
|
-
<section class="slide l-compare" id="__ID__" data-chapter="Before and after" data-note="Source: name where each side's facts come from.">
|
|
60
|
+
<section class="slide l-compare" id="__ID__" data-phone-grow=".rows" data-chapter="Before and after" data-note="Source: name where each side's facts come from.">
|
|
40
61
|
<div class="kicker">Before and after</div>
|
|
41
62
|
<h2 class="tt" data-title-mobile="Before, after.">What changes.</h2>
|
|
42
|
-
<div class="
|
|
43
|
-
<div class="
|
|
44
|
-
<
|
|
63
|
+
<div class="table">
|
|
64
|
+
<div class="heads"><span class="label" id="__ID__-before">Before</span><span class="to" aria-hidden="true"></span><span class="label" id="__ID__-after">After</span></div>
|
|
65
|
+
<ol class="rows">
|
|
66
|
+
<li id="__ID__-r1"><s>Record the whole deck again</s><span class="to" aria-hidden="true">→</span><strong>Record <mark>that one line</mark></strong></li>
|
|
67
|
+
<li id="__ID__-r2"><s>Every slide renders again</s><span class="to" aria-hidden="true">→</span><strong>Only <mark>its slide</mark> renders</strong></li>
|
|
68
|
+
<li id="__ID__-r3"><s>Forty minutes</s><span class="to" aria-hidden="true">→</span><strong><mark>Two minutes</mark></strong></li>
|
|
69
|
+
</ol>
|
|
45
70
|
</div>
|
|
46
71
|
<div class="narration-slot"></div>
|
|
47
72
|
</section>
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
layout: features
|
|
3
3
|
summary: Three features side by side, an icon, a name and one line each; the presenter flies under each card.
|
|
4
4
|
brief: Three features side by side, an icon, a name and one line each.
|
|
5
|
-
use: what it does, the three reasons, the three parts. Swap each icon for a real one: `hyperdecks icons search <word> --for features` (search_icons { for }) gives inline SVG in currentColor.
|
|
5
|
+
use: what it does, the three reasons, the three parts. Swap each icon for a real one: `hyperdecks icons search <word> --for features` (search_icons { for }) gives inline SVG in currentColor. Ticks and crosses: for what is in and what is out with an icon each, give each card class="card is-in" or "card is-out" and end it with its mark, <span class="mark" role="img" aria-label="In"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M20 6 9 17l-5-5"/></svg></span> (aria-label="Out" and <path d="M18 6 6 18M6 6l12 12"/> for a cross): a tick on an accent disc at the card's corner, or a cross on a dashed ring with the card faded and its name struck. Without icons, use sieve.
|
|
6
6
|
slot: bottom-right
|
|
7
7
|
presenter: stage
|
|
8
8
|
nopresenter: The title and cards centre vertically and the cards grow a little, instead of leaving a strip below for the presenter.
|
|
@@ -17,6 +17,14 @@ script: It does three things. First, [go: #__ID__-f1] it writes. Then [go: #__ID
|
|
|
17
17
|
.l-features .card { --icon: calc(64 * var(--icon-scale, 1)); }
|
|
18
18
|
.l-features b { font-size: 32px; letter-spacing: -.02em; line-height: 1.05; }
|
|
19
19
|
.l-features p { font-size: 20px; line-height: 1.3; opacity: .7; }
|
|
20
|
+
/* Ticks and crosses (optional): .card.is-in / .card.is-out, each ending in a .mark at its top right corner. */
|
|
21
|
+
.l-features .card:is(.is-in, .is-out) { position: relative; }
|
|
22
|
+
.l-features .card > .mark { position: absolute; top: -14px; right: -14px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: calc(3 * var(--line)) solid var(--ink); background: var(--accent); color: var(--accent-ink); }
|
|
23
|
+
.l-features .card > .mark svg { width: 24px; height: 24px; }
|
|
24
|
+
.on-accent.l-features .card.is-in > .mark { background: var(--card); color: var(--ink); }
|
|
25
|
+
.l-features .card.is-out { background: transparent; box-shadow: 0 0 0 calc(2 * var(--line)) color-mix(in srgb, var(--ink) 30%, transparent) inset; color: color-mix(in srgb, currentColor 60%, transparent); }
|
|
26
|
+
.l-features .card.is-out b { text-decoration: line-through; text-decoration-thickness: .08em; }
|
|
27
|
+
.l-features .card.is-out > .mark { background: var(--paper); color: var(--ink); border-style: dashed; }
|
|
20
28
|
@media (max-width: 650px) {
|
|
21
29
|
.l-features .cards { --k: 3; flex: 1 1 0; display: flex; flex-direction: column; gap: calc(12px - 4px * var(--hd-phone-presenter)); margin-top: 4px; max-height: calc(var(--k) * 182px - 12px); }
|
|
22
30
|
/* The cards share the free height, at most about 170px each (the list's cap counts them), never under their words:
|
|
@@ -30,6 +38,8 @@ script: It does three things. First, [go: #__ID__-f1] it writes. Then [go: #__ID
|
|
|
30
38
|
.l-features .icon { grid-row: span 2; align-self: center; }
|
|
31
39
|
.l-features b { font-size: 21px; }
|
|
32
40
|
.l-features p { font-size: 15px; }
|
|
41
|
+
.l-features .card > .mark { top: -8px; right: -8px; width: 30px; height: 30px; border-width: calc(2 * var(--line)); }
|
|
42
|
+
.l-features .card > .mark svg { width: 16px; height: 16px; }
|
|
33
43
|
}
|
|
34
44
|
/* No presenter (:root.hd-no-presenter: no face and no captions, deck_guide look): the corner is free. Phones keep this layout's rules. */
|
|
35
45
|
@media (min-width: 651px) {
|
|
@@ -4,7 +4,7 @@ summary: One phone screen centre stage, the slide's full height, standing straig
|
|
|
4
4
|
brief: One phone screen centre stage, short notes either side lit in turn.
|
|
5
5
|
says: look at this
|
|
6
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
|
|
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 35%); on the right keep above the presenter (under about 40% at its usual size), or the note moves and its tick turns a corner to reach. Whatever their --y, the player keeps the notes on a side in order, clear of each other, the title, the presenter and the slide's edges; a note it has to move keeps its aim: its tick turns a corner to reach the part it aims at. check --layout fails a side with more notes than fit (with room for the title to run a line longer in another browser). For several screens in order use screens or tap-through.
|
|
8
8
|
slot: bottom-right
|
|
9
9
|
presenter: stage
|
|
10
10
|
nopresenter: The right-hand notes may run the phone's full height instead of keeping clear of the bottom-right corner.
|
|
@@ -28,10 +28,26 @@ script: This is the screen people live on. [look: #__ID__-phone] Up top, [go: #_
|
|
|
28
28
|
.l-phone-stage .note[style*="--y"] { position: absolute; top: var(--y); translate: 0 -.65em; }
|
|
29
29
|
.l-phone-stage .side.left .note[style*="--y"] { right: 0; }
|
|
30
30
|
.l-phone-stage .side.right .note[style*="--y"] { left: 0; }
|
|
31
|
-
|
|
31
|
+
/* Ticks in a soft ink (40% of it over the paper, opaque so an elbow's corner does not darken): they lead the eye
|
|
32
|
+
without competing with the notes. */
|
|
33
|
+
.l-phone-stage .note { --tick: color-mix(in srgb, var(--ink) 40%, var(--paper)); }
|
|
34
|
+
.l-phone-stage .note[style*="--y"]::after { content: ""; position: absolute; top: .65em; width: 40px; height: 3px; border-radius: calc(2 * var(--round)); background: var(--tick); }
|
|
32
35
|
.l-phone-stage .side.left .note[style*="--y"]::after { right: -52px; }
|
|
33
36
|
.l-phone-stage .side.right .note[style*="--y"]::after { left: -52px; }
|
|
34
|
-
|
|
37
|
+
/* The player places aimed notes (aimed-notes.js): per side in order of --y, clear of each other, the title, the
|
|
38
|
+
presenter and the slide's edges, as near their aim as the room lets, and sets each tick's shape: data-tick, --tw
|
|
39
|
+
(the note's edge to the phone's frame), --dy (the note's line to its aim) and, for a note it moved, --mx (where the
|
|
40
|
+
tick's one vertical run stands). A moved note's tick is an elbow: level out of the frame at --y, down or up, level
|
|
41
|
+
into the note. Ticks are drawn in the soft ink, which reads on the slide and on the frame's shadow. */
|
|
42
|
+
.l-phone-stage { --aim-notes: 1; }
|
|
43
|
+
.l-phone-stage .side.left .note[data-tick]::after { right: auto; left: calc(100% + var(--mx, 12px)); width: calc(var(--tw) - var(--mx, 12px)); top: calc(.65em + var(--dy, 0px)); border-radius: 0; }
|
|
44
|
+
.l-phone-stage .side.right .note[data-tick]::after { left: auto; right: calc(100% + var(--mx, 12px)); width: calc(var(--tw) - var(--mx, 12px)); top: calc(.65em + var(--dy, 0px)); border-radius: 0; }
|
|
45
|
+
.l-phone-stage .note:is([data-tick="up"], [data-tick="down"])::before { content: ""; position: absolute; width: calc(var(--mx) - 12px); background: linear-gradient(var(--tick) 0 0) 0 var(--by) / 100% 3px no-repeat, linear-gradient(var(--tick) 0 0) var(--bx) 0 / 3px 100% no-repeat; }
|
|
46
|
+
.l-phone-stage .note[data-tick="down"]::before { top: .65em; height: calc(var(--dy) + 3px); --by: 0; }
|
|
47
|
+
.l-phone-stage .note[data-tick="up"]::before { top: calc(.65em + var(--dy)); height: calc(3px - var(--dy)); --by: 100%; }
|
|
48
|
+
.l-phone-stage .side.left .note[data-tick]::before { left: calc(100% + 12px); --bx: 100%; }
|
|
49
|
+
.l-phone-stage .side.right .note[data-tick]::before { right: calc(100% + 12px); --bx: 0; }
|
|
50
|
+
.on-accent.l-phone-stage .note { --tick: color-mix(in srgb, var(--accent-ink) 40%, var(--accent)); }
|
|
35
51
|
/* The phone examples share one frame: a thin bezel, corners of 40px outside and 34px on the screen (24 and 20 on phones). */
|
|
36
52
|
.l-phone-stage .frame.card { padding: 4px; border-radius: calc(40 * var(--round-phone)); }
|
|
37
53
|
.l-phone-stage .frame.card > .shot { border-radius: calc(34 * var(--round-phone)); }
|
|
@@ -45,7 +61,7 @@ script: This is the screen people live on. [look: #__ID__-phone] Up top, [go: #_
|
|
|
45
61
|
.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
62
|
.l-phone-stage .side { display: contents; }
|
|
47
63
|
.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; }
|
|
64
|
+
.l-phone-stage .side .note::after, .l-phone-stage .side .note::before { content: none; }
|
|
49
65
|
/* A silent deck (no presenter's foot): the notes go under the phone, side by side, and the phone grows into the
|
|
50
66
|
free height at its own shape (up to the card's width). With the presenter the notes stay beside it: under it,
|
|
51
67
|
the phone would be shorter than it is now. A browser without style queries keeps the notes beside it. */
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
layout: pictures
|
|
3
|
+
summary: Two real pictures, one for each half of the idea, captioned, on the right; the words across the top, a large presenter under them at the left.
|
|
4
|
+
brief: Two real pictures, one per half, captioned; the words across the top, a large presenter under them.
|
|
5
|
+
says: one thing, two halves
|
|
6
|
+
needs: exactly 2 phone screenshots (or 2 portrait photos) and a caption each
|
|
7
|
+
use: one thing in two halves when each half can be shown: the two moments (make it, see who watched), the two places, the two kinds of user. Each .shot is a placeholder check fails on: put in phone screenshots (capture_url at 390×844) as <img class="shot" src="…" alt="…">; for a portrait photo (3:4 or taller) instead, replace the whole .frame with <img class="pic" src="…" alt="…">. Only upright pictures fit here: for a desktop screen or a landscape photo use screens, split or product. Caption each in its <figcaption>, the half's name in <b>. The section ships with data-presenter-style="stage", data-presenter-size="l" and slot-left (a glass or corner deck shows this one slide in stage, its head at the left, clear of the pictures): the words run across the top, one line each, the presenter fills the lower left under them and the pictures stand to its right. Keep the title to one line (about 40 characters) and the lead short, so they end above the presenter. A large presenter: data-presenter-size="l" or "xl" on this slide's own section tag (not the player tag); with xl the presenter keeps the whole left and the words sit above the pictures; with m (or none) the words sit in the left column above a smaller presenter.
|
|
8
|
+
slot: bottom-left
|
|
9
|
+
presenter: stage
|
|
10
|
+
nopresenter: The pictures take the full width under the words (at m, the words sit beside them, centred).
|
|
11
|
+
cues: [look: #__ID__-p1] at the first half, [look: #__ID__-p2] at the second, then [go: slot].
|
|
12
|
+
script: One deck, two moments. First you [look: #__ID__-p1] ask your assistant for it. Then [look: #__ID__-p2] you see who opened it. [go: slot]
|
|
13
|
+
-->
|
|
14
|
+
<style>
|
|
15
|
+
/* The words at the top left, above the presenter (bottom-left), and the two pictures on the right, the second a little
|
|
16
|
+
lower. A large presenter (l or xl, set on the slide) keeps the left of the slide, and the words and the pictures stack
|
|
17
|
+
beside it, filling the right. Each picture's frame takes the height its row gives it. */
|
|
18
|
+
.l-pictures { display: grid; grid-template-columns: 560px minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); column-gap: 48px; }
|
|
19
|
+
.l-pictures .text { display: flex; flex-direction: column; gap: 18px; align-self: start; }
|
|
20
|
+
.l-pictures .tt { font-size: var(--t-sub); }
|
|
21
|
+
/* .shots is a width container (cqw): each picture's row is as tall as the height left allows but no taller than its
|
|
22
|
+
column's width gives it (the smaller wins; a phone frame at 88% of its column, room for its tilt and drop), so the
|
|
23
|
+
two never meet or leave the slide, and each caption sits right under its picture. The row keeps 48px at least: a
|
|
24
|
+
frame cannot shrink past its padding and borders, and below that it would sit on its caption (a 320x568 phone). */
|
|
25
|
+
.l-pictures .shots { --gap: 40px; container-type: inline-size; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--gap); min-height: 0; }
|
|
26
|
+
.l-pictures figure { --tall: calc((100cqw - var(--gap)) / 2 * .88 * 19.5 / 9); display: grid; grid-template-rows: minmax(min(48px, var(--tall)), var(--tall)) auto; align-content: start; justify-items: center; row-gap: 18px; min-height: 0; }
|
|
27
|
+
.l-pictures figure:has(> img.pic) { --tall: calc((100cqw - var(--gap)) / 2 * 4 / 3); }
|
|
28
|
+
.l-pictures figure:nth-child(2) { padding-top: 48px; }
|
|
29
|
+
.l-pictures figure > :is(.frame, .pic) { height: 100%; max-width: 100%; min-height: 0; }
|
|
30
|
+
/* The frame's size comes from the height its row leaves (about 70px wide on a small phone), so its corners are capped
|
|
31
|
+
at the share of the frame a 320px phone's take (46px outside, 36px on the screen): a theme's own corners on a large
|
|
32
|
+
frame, never a pill on a small one. */
|
|
33
|
+
.slide.l-pictures .frame.card { width: auto; aspect-ratio: 9 / 19.5; border-radius: min(calc(46 * var(--round-phone)), 14.4%) / min(calc(46 * var(--round-phone)), 6.6%); }
|
|
34
|
+
.slide.l-pictures .frame.card > .shot { border-radius: min(calc(36 * var(--round-phone)), 12%) / min(calc(36 * var(--round-phone)), 5.4%); }
|
|
35
|
+
.l-pictures figure:nth-child(2) .frame.card { --tilt: 3deg; --shadow: var(--accent-2, var(--accent)); }
|
|
36
|
+
.l-pictures figure > img.pic { width: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: calc(18 * var(--round)); }
|
|
37
|
+
.l-pictures figcaption { font-size: var(--t-body); font-weight: 700; line-height: 1.25; text-align: center; max-width: 14em; }
|
|
38
|
+
.l-pictures figcaption b { display: block; font: 700 var(--t-label) var(--mono); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px; }
|
|
39
|
+
@media (max-width: 650px) {
|
|
40
|
+
/* The pictures take the height left between the words and the presenter's foot, whatever the phone's height:
|
|
41
|
+
each frame as tall as its row allows, its caption under it, never over it. */
|
|
42
|
+
.l-pictures { display: flex; flex-direction: column; gap: 14px; }
|
|
43
|
+
.l-pictures .text { flex: none; gap: 8px; }
|
|
44
|
+
.l-pictures .shots { --gap: 16px; flex: 1 1 0; grid-template-rows: minmax(0, 1fr); }
|
|
45
|
+
.l-pictures figure { row-gap: 8px; }
|
|
46
|
+
.l-pictures figure:nth-child(2) { padding-top: 16px; }
|
|
47
|
+
.l-pictures figcaption { font-size: var(--t-label); }
|
|
48
|
+
}
|
|
49
|
+
/* A large presenter (data-presenter-size on this slide's section tag). At l (the default here) the words run across
|
|
50
|
+
the top, one line each, above the presenter's footprint (from y 199), and the presenter fills the lower left under
|
|
51
|
+
them, its caption above its head; the pictures stand right of it (from x 688). At xl it keeps the whole left of the
|
|
52
|
+
slide, the words above the pictures beside it. */
|
|
53
|
+
@media not all and (max-width: 650px) {
|
|
54
|
+
.l-pictures[data-presenter-size="l"] { grid-template-columns: 560px minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); column-gap: 56px; row-gap: 20px; padding-top: 52px; }
|
|
55
|
+
.l-pictures[data-presenter-size="l"] .text { grid-column: 1 / -1; gap: 6px; }
|
|
56
|
+
.l-pictures[data-presenter-size="l"] .tt br { display: none; }
|
|
57
|
+
.l-pictures[data-presenter-size="l"] .shots { grid-column: 2; }
|
|
58
|
+
.l-pictures[data-presenter-size="xl"] { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); row-gap: 28px; padding-left: 832px; }
|
|
59
|
+
.l-pictures[data-presenter-size="xl"] .text { gap: 12px; }
|
|
60
|
+
/* Another style set on this slide in place of the stage it ships with. Corner stands bottom right (400px wide at m,
|
|
61
|
+
520 at l, 640 at xl, 28 from the edge), so the pictures end 8px left of it (at l under the words from the left edge, the left free); glass at l stands at the left (to
|
|
62
|
+
x 734), so the pictures start right of it. */
|
|
63
|
+
:root:not(.hd-no-presenter) .l-pictures[data-presenter-style="corner"] .shots { margin-right: 364px; }
|
|
64
|
+
:root:not(.hd-no-presenter) .l-pictures[data-presenter-style="corner"][data-presenter-size="l"] .shots { grid-column: 1 / -1; margin-right: 484px; }
|
|
65
|
+
:root:not(.hd-no-presenter) .l-pictures[data-presenter-style="corner"][data-presenter-size="xl"] .shots { margin-right: 604px; }
|
|
66
|
+
:root:not(.hd-no-presenter) .l-pictures[data-presenter-style="glass"][data-presenter-size="l"] { grid-template-columns: 614px minmax(0, 1fr); }
|
|
67
|
+
}
|
|
68
|
+
/* No presenter (:root.hd-no-presenter: no face and no captions, deck_guide look): the left is free. Phones keep this layout's rules. */
|
|
69
|
+
@media (min-width: 651px) {
|
|
70
|
+
:root.hd-no-presenter .l-pictures .text { align-self: center; }
|
|
71
|
+
:root.hd-no-presenter .l-pictures:is([data-presenter-size="l"], [data-presenter-size="xl"]) { padding-left: 72px; }
|
|
72
|
+
:root.hd-no-presenter .l-pictures:is([data-presenter-size="l"]) .shots { grid-column: 1 / -1; }
|
|
73
|
+
}
|
|
74
|
+
</style>
|
|
75
|
+
<section class="slide l-pictures slot-left" id="__ID__" data-presenter-style="stage" data-presenter-size="l" data-chapter="Two halves" data-note="Pictures: name each screen or photo and the date it was captured.">
|
|
76
|
+
<div class="text">
|
|
77
|
+
<div class="kicker">Two halves</div>
|
|
78
|
+
<h2 class="tt" data-title-mobile="Make it, then watch.">Make it in chat. See who watched.</h2>
|
|
79
|
+
<p class="lead">One deck, two moments.</p>
|
|
80
|
+
</div>
|
|
81
|
+
<div class="shots">
|
|
82
|
+
<figure id="__ID__-p1"><div class="frame card"><div class="shot" role="img" aria-label="Phone screen placeholder"></div></div><figcaption><b>Make</b>Ask your assistant</figcaption></figure>
|
|
83
|
+
<figure id="__ID__-p2"><div class="frame card"><div class="shot" role="img" aria-label="Phone screen placeholder"></div></div><figcaption><b>Watch</b>See who opened it</figcaption></figure>
|
|
84
|
+
</div>
|
|
85
|
+
<div class="narration-slot"></div>
|
|
86
|
+
</section>
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
layout: scale
|
|
3
|
+
summary: Items placed along one bar, from one end to the other: a spectrum, not two bins. Each item sits where it belongs, above or below the bar in turn.
|
|
4
|
+
brief: Items placed along one bar from one end to the other: a spectrum, not two bins.
|
|
5
|
+
says: it's a spectrum
|
|
6
|
+
needs: 2 end labels and 3 to 5 short items
|
|
7
|
+
use: things that look like two groups but are really a matter of degree (what needs the Mac, how much effort, how private, how far along). Label both ends in .end, then one <li> per item with style="--at: N", N from 0 (the left end) to 100 (the right end), in order of N; items alternate above and below the bar in the order written; keep two items on the same side at least about 25 apart in --at so their words do not meet (check --layout measures them on the slide, not against each other). Keep each item to a few words (about 18 characters). On a phone the bar stands upright and the items read top to bottom. For a clean split into two groups with nothing between, use sieve (one list, a tick or a cross on each). A large presenter: data-presenter-size="l" or "xl" on this slide's own section tag (not the player tag) narrows the bar, clear of the presenter.
|
|
8
|
+
slot: bottom-right
|
|
9
|
+
presenter: stage
|
|
10
|
+
nopresenter: The bar runs the full width of the slide.
|
|
11
|
+
cues: [look: #__ID__-rule] when the narration turns to the bar; [go: #__ID__-t1] … [go: #__ID__-t5] at the word that names each item, then [go: slot].
|
|
12
|
+
script: Some of this needs you and some does not. [look: #__ID__-rule] A summary [go: #__ID__-t1] runs on its own. A draft [go: #__ID__-t3] needs a look. Sending it [go: #__ID__-t5] needs you. [go: slot]
|
|
13
|
+
-->
|
|
14
|
+
<style>
|
|
15
|
+
/* One bar across a column that ends left of the presenter's corner (the stage presenter at m reaches 1064px across, the glass one 1022px). Each
|
|
16
|
+
item is placed by --at (0 to 100) along it: its anchor moves with it, so an item at 0 starts at the left end and one at
|
|
17
|
+
100 ends at the right end, never past it. Odd items stand above the bar, even ones below, each on a short tick. */
|
|
18
|
+
.l-scale { gap: 24px; }
|
|
19
|
+
.l-scale .rule { position: relative; flex: none; width: 100%; max-width: 940px; height: 280px; margin-block: auto; }
|
|
20
|
+
.l-scale .bar { position: absolute; left: 0; right: 0; top: 150px; height: 18px; border-radius: calc(9 * var(--round)); border: calc(3 * var(--line)) solid var(--ink); background: linear-gradient(90deg, var(--card), var(--accent)); }
|
|
21
|
+
.on-accent.l-scale .bar { background: linear-gradient(90deg, var(--paper), var(--ink)); }
|
|
22
|
+
.l-scale .end { position: absolute; bottom: 0; left: 0; font: 700 var(--t-label) var(--mono); letter-spacing: .12em; text-transform: uppercase; }
|
|
23
|
+
.l-scale .end.r { left: auto; right: 0; }
|
|
24
|
+
.l-scale .tags { list-style: none; }
|
|
25
|
+
.l-scale .tags li { --at: 50; position: absolute; left: calc(var(--at) * 1%); translate: calc(var(--at) * -1%) 0; bottom: calc(100% - 150px + 34px); font-size: var(--t-body); font-weight: 700; line-height: 1.2; white-space: nowrap; }
|
|
26
|
+
.l-scale .tags li:nth-child(even) { bottom: auto; top: calc(150px + 18px + 34px); }
|
|
27
|
+
.l-scale .tags li::after { content: ""; position: absolute; left: calc(var(--at) * 1%); top: 100%; width: max(2px, calc(3 * var(--line))); height: 26px; margin-left: calc(max(2px, calc(3 * var(--line))) / -2); margin-top: 4px; background: currentColor; }
|
|
28
|
+
.l-scale .tags li:nth-child(even)::after { top: auto; bottom: 100%; margin: 0 0 4px calc(max(2px, calc(3 * var(--line))) / -2); }
|
|
29
|
+
@media (max-width: 650px) {
|
|
30
|
+
/* Upright: the bar down the left, the items in their order beside it, the ends at its top and foot. */
|
|
31
|
+
.l-scale { gap: 12px; }
|
|
32
|
+
.l-scale .rule { height: auto; max-width: none; margin-block: 0; padding: 24px 0 24px 28px; }
|
|
33
|
+
.l-scale .bar { left: 0; right: auto; top: 0; bottom: 0; width: 12px; height: auto; border-width: calc(2 * var(--line)); background: linear-gradient(180deg, var(--card), var(--accent)); }
|
|
34
|
+
.on-accent.l-scale .bar { background: linear-gradient(180deg, var(--paper), var(--ink)); }
|
|
35
|
+
.l-scale .end { top: 0; bottom: auto; left: 28px; }
|
|
36
|
+
.l-scale .end.r { top: auto; bottom: 0; right: auto; left: 28px; }
|
|
37
|
+
.l-scale .tags { display: flex; flex-direction: column; gap: 6px; }
|
|
38
|
+
.l-scale .tags li, .l-scale .tags li:nth-child(even) { position: relative; left: auto; top: auto; bottom: auto; translate: none; white-space: normal; }
|
|
39
|
+
/* The player grows these into the phone's free room (--hd-phone-grow, 0 to 1: packages/player/phone-fit.js); at 0 they
|
|
40
|
+
are the sizes check measures. */
|
|
41
|
+
.l-scale .tags li { font-size: calc(var(--t-body) + (var(--t-sub) - var(--t-body)) * var(--hd-phone-grow, 0)); margin-bottom: calc(18px * var(--hd-phone-grow, 0)); }
|
|
42
|
+
.l-scale .tags li::after, .l-scale .tags li:nth-child(even)::after { left: -22px; top: .6em; bottom: auto; width: 12px; height: max(2px, calc(2 * var(--line))); margin: 0; }
|
|
43
|
+
}
|
|
44
|
+
/* A large presenter (data-presenter-size l or xl on this slide's section tag). */
|
|
45
|
+
@media not all and (max-width: 650px) {
|
|
46
|
+
.l-scale[data-presenter-size="l"] :is(.rule, .tt) { max-width: 830px; }
|
|
47
|
+
.l-scale[data-presenter-size="xl"] :is(.rule, .tt) { max-width: 680px; }
|
|
48
|
+
}
|
|
49
|
+
/* No presenter (:root.hd-no-presenter: no face and no captions, deck_guide look): the corner is free. Phones keep this layout's rules. */
|
|
50
|
+
@media (min-width: 651px) {
|
|
51
|
+
:root.hd-no-presenter .l-scale .rule { max-width: none; }
|
|
52
|
+
}
|
|
53
|
+
</style>
|
|
54
|
+
<section class="slide l-scale" id="__ID__" data-phone-grow=".tags" data-chapter="How much it needs you" data-note="Source: what places each item where it is (a measure, the product's docs, your own use).">
|
|
55
|
+
<div class="kicker">How much it needs you</div>
|
|
56
|
+
<h2 class="tt" data-title-mobile="How much it needs you.">The more it says, the more it needs you.</h2>
|
|
57
|
+
<div class="rule" id="__ID__-rule">
|
|
58
|
+
<div class="bar"></div>
|
|
59
|
+
<span class="end">Runs alone</span><span class="end r">Needs you</span>
|
|
60
|
+
<ol class="tags">
|
|
61
|
+
<li id="__ID__-t1" style="--at: 4">A summary</li>
|
|
62
|
+
<li id="__ID__-t2" style="--at: 26">A chart</li>
|
|
63
|
+
<li id="__ID__-t3" style="--at: 50">A draft</li>
|
|
64
|
+
<li id="__ID__-t4" style="--at: 74">Your voice</li>
|
|
65
|
+
<li id="__ID__-t5" style="--at: 96">Sending it</li>
|
|
66
|
+
</ol>
|
|
67
|
+
</div>
|
|
68
|
+
<div class="narration-slot"></div>
|
|
69
|
+
</section>
|
|
@@ -51,6 +51,11 @@ script: Three steps, in order. First [go: #__ID__-s1] you pick one. Then [go: #_
|
|
|
51
51
|
.l-screens .row:has(.shot.wide):has(> .step:nth-child(3)) > .step:nth-child(2)::after { content: none; }
|
|
52
52
|
.l-screens .cap { display: flex; align-items: baseline; gap: 10px; font-size: var(--t-body); line-height: 1.25; font-weight: 600; text-align: center; }
|
|
53
53
|
.l-screens .cap b { font: 700 var(--t-label) var(--mono); }
|
|
54
|
+
/* A corner presenter (it ignores the slot) stands in the bottom-right corner: the copy takes the right-hand column,
|
|
55
|
+
its title and line high above the presenter, and the row the left, clear of it. Phones stack as below. */
|
|
56
|
+
:root:not(.hd-no-presenter) .l-screens:is([data-presenter-style="corner"], :root:has(script[data-presenter-style="corner"]) :not([data-presenter-style])) { grid-template-columns: minmax(0, 1fr) 420px; }
|
|
57
|
+
:root:not(.hd-no-presenter) .l-screens:is([data-presenter-style="corner"], :root:has(script[data-presenter-style="corner"]) :not([data-presenter-style])) .head { grid-column: 2; grid-row: 1; }
|
|
58
|
+
:root:not(.hd-no-presenter) .l-screens:is([data-presenter-style="corner"], :root:has(script[data-presenter-style="corner"]) :not([data-presenter-style])) .row { grid-column: 1; grid-row: 1; }
|
|
54
59
|
@media (max-width: 650px) {
|
|
55
60
|
.l-screens { display: flex; flex-direction: column; gap: 14px; }
|
|
56
61
|
.l-screens .head { gap: 8px; padding-top: 0; }
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
layout: sieve
|
|
3
|
+
summary: One list, each line kept with a tick or struck with a cross, read row by row (two to a row on a wide screen, one on a phone); presenting in person or at Step by step, Next shows one line at a time.
|
|
4
|
+
brief: One list, a tick or a cross on each line; at Step by step, one line per Next.
|
|
5
|
+
says: what's in and what's out
|
|
6
|
+
needs: 4 to 6 short lines, each in or out
|
|
7
|
+
use: what goes in and what stays out, what it does and what it does not, the rules (dos and don'ts). One <li class="in"> or <li class="out"> per line, its mark first (the tick or the cross, kept as shipped) and its words in <span class="what">; keep each under about 30 characters. The list carries data-steps: presenting in person (You present) and for a viewer at Per step on a slide with no narration, Next shows the lines one at a time, in order. Narrated, the cues point at each line as it is said; to have each line appear on its word instead, take data-steps off, give each <li> class="reveal" (keeping in or out) and use [reveal: #id] cues (check warns when a slide has both). A .reveal line stays hidden until its cue: on a silent deck, in scroll view before play and in print, the lines do not show at all, so use it only on a narrated deck that is always played. For a single rule and the right way to do it, use strike; for items with an icon each, use features with ticks and crosses. A large presenter: data-presenter-size="l" or "xl" on this slide's own section tag (not the player tag) narrows the list (one column at xl), clear of the presenter.
|
|
8
|
+
slot: bottom-right
|
|
9
|
+
presenter: stage
|
|
10
|
+
nopresenter: The list takes the full width of the slide.
|
|
11
|
+
cues: [go: #__ID__-1] … [go: #__ID__-6] in the order the lines read (row by row), at the word that starts each line, then [go: slot].
|
|
12
|
+
script: What goes in, and what stays out. [go: #__ID__-1] A link for every number, [go: #__ID__-2] never a number with no source. [go: #__ID__-3] The date you checked it, [go: #__ID__-4] not a private email. [go: #__ID__-5] Who said it, in their words, [go: #__ID__-6] not your best guess. [go: slot]
|
|
13
|
+
-->
|
|
14
|
+
<style>
|
|
15
|
+
/* One list in two columns that ends left of the presenter's corner (the stage presenter at m reaches 1064px across, the glass one 1022px): a
|
|
16
|
+
kept line has an accent disc with a tick, a struck one a dashed ring with a cross and its words faded and struck. */
|
|
17
|
+
.l-sieve { gap: 24px; }
|
|
18
|
+
.l-sieve .list { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px 48px; max-width: 940px; margin-block: auto; }
|
|
19
|
+
.l-sieve .list > li { display: flex; align-items: center; gap: 18px; font-size: var(--t-lead); font-weight: 700; line-height: 1.2; }
|
|
20
|
+
.l-sieve .mark { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: calc(3 * var(--line)) solid var(--ink); background: var(--accent); color: var(--accent-ink); }
|
|
21
|
+
.l-sieve .mark svg { width: 26px; height: 26px; }
|
|
22
|
+
.on-accent.l-sieve .in .mark { background: var(--card); color: var(--ink); }
|
|
23
|
+
.l-sieve .out { font-weight: 500; color: color-mix(in srgb, currentColor 55%, transparent); }
|
|
24
|
+
.l-sieve .out .what { text-decoration: line-through; text-decoration-thickness: .08em; }
|
|
25
|
+
.l-sieve .out .mark { background: transparent; color: inherit; border-color: currentColor; border-style: dashed; }
|
|
26
|
+
@media (max-width: 650px) {
|
|
27
|
+
.l-sieve { gap: 12px; }
|
|
28
|
+
.l-sieve .list { grid-template-columns: 1fr; gap: 8px; max-width: none; margin-block: 0; }
|
|
29
|
+
/* The player grows these into the phone's free room (--hd-phone-grow, 0 to 1: packages/player/phone-fit.js); at 0 they
|
|
30
|
+
are the sizes check measures. */
|
|
31
|
+
.l-sieve .list > li { gap: 10px; font-size: calc(var(--t-body) + (var(--t-sub) - var(--t-body)) * var(--hd-phone-grow, 0)); margin-bottom: calc(54px * var(--hd-phone-grow, 0)); }
|
|
32
|
+
.l-sieve .mark { width: calc(26px + 16px * var(--hd-phone-grow, 0)); height: calc(26px + 16px * var(--hd-phone-grow, 0)); border-width: calc(2 * var(--line)); }
|
|
33
|
+
.l-sieve .mark svg { width: 16px; height: 16px; }
|
|
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-sieve[data-presenter-size="l"] :is(.list, .tt) { max-width: 830px; }
|
|
38
|
+
.l-sieve[data-presenter-size="l"] .list { gap: 26px 36px; }
|
|
39
|
+
.l-sieve[data-presenter-size="xl"] .tt { max-width: 680px; }
|
|
40
|
+
.l-sieve[data-presenter-size="xl"] .list { max-width: 680px; grid-template-columns: 1fr; gap: 16px; }
|
|
41
|
+
.l-sieve[data-presenter-size="xl"] .list > li { font-size: var(--t-body); }
|
|
42
|
+
.l-sieve[data-presenter-size="xl"] .mark { width: 40px; height: 40px; }
|
|
43
|
+
.l-sieve[data-presenter-size="xl"] .mark svg { width: 20px; height: 20px; }
|
|
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-sieve .list { max-width: 1400px; }
|
|
48
|
+
}
|
|
49
|
+
</style>
|
|
50
|
+
<section class="slide l-sieve" id="__ID__" data-phone-grow=".list" data-chapter="What goes in" data-note="Source: where the rule comes from (a policy, a guide, your own practice).">
|
|
51
|
+
<div class="kicker">The evidence file</div>
|
|
52
|
+
<h2 class="tt" data-title-mobile="What goes in.">What goes in, what stays out.</h2>
|
|
53
|
+
<ul class="list" id="__ID__-list" data-steps>
|
|
54
|
+
<li class="in" id="__ID__-1"><span class="mark" role="img" aria-label="In"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M20 6 9 17l-5-5"/></svg></span><span class="what">A link for every number</span></li>
|
|
55
|
+
<li class="out" id="__ID__-2"><span class="mark" role="img" aria-label="Out"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M18 6 6 18M6 6l12 12"/></svg></span><span class="what">A number with no source</span></li>
|
|
56
|
+
<li class="in" id="__ID__-3"><span class="mark" role="img" aria-label="In"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M20 6 9 17l-5-5"/></svg></span><span class="what">The date you checked it</span></li>
|
|
57
|
+
<li class="out" id="__ID__-4"><span class="mark" role="img" aria-label="Out"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M18 6 6 18M6 6l12 12"/></svg></span><span class="what">Private emails</span></li>
|
|
58
|
+
<li class="in" id="__ID__-5"><span class="mark" role="img" aria-label="In"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M20 6 9 17l-5-5"/></svg></span><span class="what">Who said it, in their words</span></li>
|
|
59
|
+
<li class="out" id="__ID__-6"><span class="mark" role="img" aria-label="Out"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M18 6 6 18M6 6l12 12"/></svg></span><span class="what">Your best guess</span></li>
|
|
60
|
+
</ul>
|
|
61
|
+
<div class="narration-slot"></div>
|
|
62
|
+
</section>
|
|
@@ -42,6 +42,12 @@ script: Here it is, doing the job. [look: #__ID__-frame] It starts with [go: #__
|
|
|
42
42
|
.l-split:is([data-presenter-size="l"], [data-presenter-size="xl"]) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 48px; padding-left: 728px; }
|
|
43
43
|
.l-split[data-presenter-size="xl"] { padding-left: 872px; }
|
|
44
44
|
}
|
|
45
|
+
/* A glass presenter: its panel stands taller in the corner under the copy than a stage head, so the copy sits tighter
|
|
46
|
+
and higher, its third tick clear of the panel. */
|
|
47
|
+
@media not all and (max-width: 650px) {
|
|
48
|
+
:root:not(.hd-no-presenter) .l-split:is([data-presenter-style="glass"], :root:has(script[data-presenter-style="glass"]) :not([data-presenter-style])) .text { gap: 14px; padding-top: 0; }
|
|
49
|
+
:root:not(.hd-no-presenter) .l-split:is([data-presenter-style="glass"], :root:has(script[data-presenter-style="glass"]) :not([data-presenter-style])) .ticks { margin-top: 0; }
|
|
50
|
+
}
|
|
45
51
|
/* 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
52
|
@media (min-width: 651px) {
|
|
47
53
|
:root.hd-no-presenter .l-split .text { align-self: center; padding-top: 0; }
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
layout: statement
|
|
3
|
+
summary: One thing in two halves, said as one big sentence with the second half marked; under it a short line on each half. The presenter stands large beside it.
|
|
4
|
+
brief: Two halves of one thing as one big sentence, a line under it on each half; a large presenter.
|
|
5
|
+
says: one thing, two halves
|
|
6
|
+
needs: 1 sentence in two halves and 2 short lines
|
|
7
|
+
use: one thing that has two parts (asking and acting, making and watching, two kinds of user), when the halves are the point and their details are short. Write the two halves as one sentence and mark the second (or the one that matters) with <mark>; it shows in full on a phone too, its mark included: give it no data-title-mobile. Under it, one line per half in .notes, each with its label in <b>. Never two boxes of lists: if the items are a matter of degree, use scale; if they are what is in and what is out, use sieve. The section ships with data-presenter-style="stage" and data-presenter-size="xl" (a glass or corner deck shows this one slide in stage: those styles have no room beside the words), so the presenter fills the right of the slide and the words the left; set "m" (or drop it) for a smaller one and the words widen. A large presenter: data-presenter-size="l" or "xl" on this slide's own section tag (not the player tag) narrows the words, clear of the presenter.
|
|
8
|
+
slot: bottom-right
|
|
9
|
+
presenter: stage
|
|
10
|
+
nopresenter: The sentence and the two lines take the full width of the slide.
|
|
11
|
+
cues: [look: #__ID__-line] as the narration says the sentence; [go: #__ID__-a] and [go: #__ID__-b] at each half; [go: slot] after.
|
|
12
|
+
script: There are two halves to this. [look: #__ID__-line] You ask [go: #__ID__-a] in a chat, from anywhere. The deck [go: #__ID__-b] does the talking. [go: slot]
|
|
13
|
+
-->
|
|
14
|
+
<style>
|
|
15
|
+
/* The sentence is the title, set large, in a column that ends at the stage presenter's footprint, no margin on top of
|
|
16
|
+
it (check's box: from x 1064 at m, 920 at l, 776 at xl; the column starts at 72); the notes sit under it, a ruled line
|
|
17
|
+
on each half. Left of the drawn head the footprint is the caption's band: with no caption showing, that band is
|
|
18
|
+
empty by design, since the narration's caption is drawn there. */
|
|
19
|
+
.l-statement { justify-content: center; gap: 36px; }
|
|
20
|
+
.l-statement .tt { font-size: var(--t-display); max-width: 988px; }
|
|
21
|
+
.l-statement .tt mark { color: inherit; background: linear-gradient(transparent 58%, var(--accent) 58%); }
|
|
22
|
+
.on-accent.l-statement .tt mark { background: linear-gradient(transparent 58%, var(--card) 58%); }
|
|
23
|
+
.l-statement .notes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; max-width: 988px; }
|
|
24
|
+
.l-statement .notes p { font-size: var(--t-body); line-height: 1.35; padding-top: 14px; border-top: calc(3 * var(--line)) solid currentColor; }
|
|
25
|
+
.l-statement .notes b { display: block; font: 700 var(--t-label) var(--mono); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 6px; }
|
|
26
|
+
@media (max-width: 650px) {
|
|
27
|
+
.l-statement { gap: 14px; justify-content: var(--hd-phone-anchor); }
|
|
28
|
+
.l-statement .tt { font-size: var(--t-sub); max-width: none; }
|
|
29
|
+
.l-statement .notes { grid-template-columns: 1fr; gap: 10px; max-width: none; }
|
|
30
|
+
.l-statement .notes p { padding-top: 6px; border-top-width: calc(2 * var(--line)); }
|
|
31
|
+
/* The player grows the sentence (data-phone-fit) and the notes (--hd-phone-grow) into the phone's free room
|
|
32
|
+
(packages/player/phone-fit.js); these sizes are their floor, and what check measures. */
|
|
33
|
+
.l-statement .notes p { font-size: calc(var(--t-body) + (var(--t-sub) - var(--t-body)) * var(--hd-phone-grow, 0)); }
|
|
34
|
+
.l-statement .notes b { margin-bottom: 2px; }
|
|
35
|
+
}
|
|
36
|
+
/* A large presenter (data-presenter-size l or xl on this slide's section tag; the scaffold sets xl). */
|
|
37
|
+
@media not all and (max-width: 650px) {
|
|
38
|
+
.l-statement[data-presenter-size="l"] :is(.tt, .notes) { max-width: 844px; }
|
|
39
|
+
.l-statement[data-presenter-size="l"] .tt { font-size: calc((var(--t-title) + var(--t-display)) / 2); }
|
|
40
|
+
.l-statement[data-presenter-size="xl"] :is(.tt, .notes) { max-width: 700px; }
|
|
41
|
+
.l-statement[data-presenter-size="xl"] .tt { font-size: var(--t-title); }
|
|
42
|
+
.l-statement[data-presenter-size="xl"] .notes { gap: 28px; }
|
|
43
|
+
}
|
|
44
|
+
/* No presenter (:root.hd-no-presenter: no face and no captions, deck_guide look): the corner is free. Phones keep this layout's rules. */
|
|
45
|
+
@media (min-width: 651px) {
|
|
46
|
+
:root.hd-no-presenter .l-statement :is(.tt, .notes) { max-width: 1400px; }
|
|
47
|
+
:root.hd-no-presenter .l-statement .tt { font-size: var(--t-display); }
|
|
48
|
+
}
|
|
49
|
+
</style>
|
|
50
|
+
<section class="slide l-statement" id="__ID__" data-presenter-style="stage" data-presenter-size="xl" data-phone-grow=".notes" data-chapter="Two halves" data-note="Source: where each half is shown (the product, a doc, a number).">
|
|
51
|
+
<div class="kicker">Two halves</div>
|
|
52
|
+
<h2 class="tt" id="__ID__-line" data-phone-fit="2">You ask in a chat. <mark>The deck does the talking.</mark></h2>
|
|
53
|
+
<div class="notes">
|
|
54
|
+
<p id="__ID__-a"><b>You</b>Say what it's for and who it's to.</p>
|
|
55
|
+
<p id="__ID__-b"><b>The deck</b>Plays itself, narrated in your voice.</p>
|
|
56
|
+
</div>
|
|
57
|
+
<div class="narration-slot"></div>
|
|
58
|
+
</section>
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
<!--
|
|
2
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
|
|
3
|
+
summary: A phone the viewer steps through, two to five screens, one at a time: each screen is a step, so Step by step waits on it, the narration can stop on it, and a tap on the phone shows the next.
|
|
4
4
|
brief: A phone the viewer steps through, two to five screens, one a step.
|
|
5
5
|
says: how it works
|
|
6
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
|
|
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 Step by step pace, 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
8
|
slot: bottom-left
|
|
9
9
|
presenter: stage
|
|
10
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 (
|
|
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 (Step by step stops before each).
|
|
12
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
13
|
-->
|
|
14
14
|
<style>
|
|
@@ -4,7 +4,7 @@ summary: A screen recording beside the two to four moments that matter, each wit
|
|
|
4
4
|
brief: A recording beside two to four timestamped moments, each lit on its cue.
|
|
5
5
|
says: watch it work
|
|
6
6
|
needs: 1 recording
|
|
7
|
-
use: a demo with a few moments to point at (it finds the file, it fixes it, it ships). Its .clip is a placeholder check fails on: put in the recording (upload_deck_asset / `hyperdecks asset add`) as <video class="clip" src="…" autoplay muted loop playsinline>; it plays with the slide, silent under the narration, and moves in an export. The moments light on the narration's [reveal] cues, not on the video's clock: a looping, buffering or paused clip would drift from its timestamps, while a cue always lands on its word (and
|
|
7
|
+
use: a demo with a few moments to point at (it finds the file, it fixes it, it ships). Its .clip is a placeholder check fails on: put in the recording (upload_deck_asset / `hyperdecks asset add`) as <video class="clip" src="…" autoplay muted loop playsinline>; it plays with the slide, silent under the narration, and moves in an export. The moments light on the narration's [reveal] cues, not on the video's clock: a looping, buffering or paused clip would drift from its timestamps, while a cue always lands on its word (and Step by step waits on each). Write each moment's time as it appears in the clip, and say it in the script at that moment. Two to four moments: add or remove a .beat and its cue.
|
|
8
8
|
slot: bottom-right
|
|
9
9
|
presenter: stage
|
|
10
10
|
nopresenter: The moments centre in the row instead of keeping clear of the bottom-right corner.
|