@hypersocial/decks-cli 0.9.23 → 0.9.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/skills/hyperdecks/SKILL.md +113 -67
- package/skills/hyperdecks/chat.md +11 -8
- package/skills/hyperdecks/terminal.md +82 -0
- package/src/bars.mjs +268 -0
- package/src/brand.mjs +51 -8
- package/src/check.mjs +311 -15
- package/src/checkRules.mjs +616 -27
- package/src/commands.mjs +157 -28
- package/src/deckSlug.mjs +41 -0
- package/src/export-video.mjs +20 -3
- package/src/files.mjs +35 -0
- package/src/guide.mjs +91 -13
- package/src/hosted.mjs +18 -8
- package/src/iconAliasNames.mjs +70 -0
- package/src/iconChoice.mjs +97 -0
- package/src/iconSets.mjs +89 -0
- package/src/iconSlots.mjs +48 -0
- package/src/icons.mjs +285 -45
- package/src/iconsCli.mjs +76 -0
- package/src/layoutRoutes.mjs +92 -0
- package/src/layouts.mjs +4 -4
- package/src/mediaPreviews.mjs +3 -1
- package/src/narrate.mjs +31 -4
- package/src/opening.mjs +9 -3
- package/src/ops.mjs +49 -0
- package/src/photosGuide.mjs +47 -0
- package/src/picturesGuide.mjs +53 -0
- package/src/play.mjs +3 -2
- package/src/presenter.mjs +3 -1
- package/src/release.mjs +13 -5
- package/src/runtime.mjs +9 -2
- package/src/scaffold.mjs +73 -13
- package/src/source.mjs +86 -14
- package/src/stockMedia.mjs +299 -0
- package/src/themeCli.mjs +41 -0
- package/src/themes.mjs +345 -0
- package/templates/icons/material.LICENSE +202 -0
- package/templates/icons/material.json.gz +0 -0
- package/templates/icons/phosphor.LICENSE +21 -0
- package/templates/icons/phosphor.json.gz +0 -0
- package/templates/icons/tabler.LICENSE +21 -0
- package/templates/icons/tabler.json.gz +0 -0
- package/templates/layouts/_deck.html +177 -36
- package/templates/layouts/bento.html +75 -0
- package/templates/layouts/chart.html +6 -4
- package/templates/layouts/closer.html +10 -3
- package/templates/layouts/compare.html +13 -4
- package/templates/layouts/cover-band.html +10 -8
- package/templates/layouts/cover-frame.html +9 -7
- package/templates/layouts/cover-poster.html +8 -5
- package/templates/layouts/cover-split.html +7 -6
- package/templates/layouts/cover-type.html +1 -0
- package/templates/layouts/features.html +9 -7
- package/templates/layouts/funnel.html +60 -0
- package/templates/layouts/hero.html +40 -22
- package/templates/layouts/lanes.html +63 -0
- package/templates/layouts/loop.html +81 -0
- package/templates/layouts/number.html +2 -1
- package/templates/layouts/phone-stage.html +68 -0
- package/templates/layouts/phones.html +1 -0
- package/templates/layouts/picture-full.html +48 -0
- package/templates/layouts/portrait.html +45 -0
- package/templates/layouts/product.html +7 -6
- package/templates/layouts/quote.html +2 -1
- package/templates/layouts/rail.html +71 -0
- package/templates/layouts/scorecard.html +70 -0
- package/templates/layouts/screens.html +85 -0
- package/templates/layouts/sentence.html +39 -0
- package/templates/layouts/split.html +22 -7
- package/templates/layouts/spotlight.html +77 -0
- package/templates/layouts/stack.html +83 -0
- package/templates/layouts/staircase.html +76 -0
- package/templates/layouts/strike.html +46 -0
- package/templates/layouts/tap-through.html +73 -0
- package/templates/layouts/team.html +3 -2
- package/templates/layouts/timeline.html +16 -6
- package/templates/layouts/two-bars.html +53 -0
- package/templates/layouts/two-by-two.html +71 -0
- package/templates/layouts/video-beats.html +66 -0
- package/templates/layouts/video-full.html +62 -0
- package/templates/layouts/wall.html +81 -0
- package/templates/layouts/zoom.html +144 -0
- package/templates/narrated-deck.html +12 -7
- package/templates/script.md +2 -2
- /package/templates/icons/{LICENSE → lucide.LICENSE} +0 -0
|
@@ -0,0 +1,68 @@
|
|
|
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. */
|
|
42
|
+
.l-phone-stage { grid-template-columns: 212px minmax(0, 1fr); grid-template-rows: none; grid-template-areas: none; grid-auto-rows: min-content; column-gap: 16px; row-gap: 12px; }
|
|
43
|
+
.l-phone-stage .head { grid-area: auto; grid-column: 1 / -1; grid-row: 1; gap: 6px; }
|
|
44
|
+
.l-phone-stage .frame.card { grid-area: auto; grid-column: 1; grid-row: 2 / span 6; width: 212px; height: auto; align-self: start; }
|
|
45
|
+
.l-phone-stage .side { display: contents; }
|
|
46
|
+
.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; }
|
|
47
|
+
.l-phone-stage .side .note::after { content: none; }
|
|
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-phone-stage .side.right { justify-content: center; padding-top: 0; }
|
|
52
|
+
}
|
|
53
|
+
</style>
|
|
54
|
+
<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.">
|
|
55
|
+
<div class="head">
|
|
56
|
+
<div class="kicker">The product · On a phone</div>
|
|
57
|
+
<h2 class="tt" data-title-mobile="The screen they live on.">The screen people open every morning.</h2>
|
|
58
|
+
</div>
|
|
59
|
+
<div class="side left">
|
|
60
|
+
<p class="note" id="__ID__-n1" style="--y: 50%"><b>First</b>What matters today</p>
|
|
61
|
+
<p class="note" id="__ID__-n2" style="--y: 88%"><b>Then</b>The one button they need</p>
|
|
62
|
+
</div>
|
|
63
|
+
<div class="frame card" id="__ID__-phone"><div class="shot" role="img" aria-label="Phone screen placeholder"></div></div>
|
|
64
|
+
<div class="side right">
|
|
65
|
+
<p class="note" id="__ID__-n3" style="--y: 12%"><b>And</b>What they made last week</p>
|
|
66
|
+
</div>
|
|
67
|
+
<div class="narration-slot"></div>
|
|
68
|
+
</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,48 @@
|
|
|
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
|
+
presenter: stage
|
|
10
|
+
nopresenter: The panel may widen; the left third below it is free.
|
|
11
|
+
cues: [look: #__ID__-pic] as the narration turns to the picture.
|
|
12
|
+
script: This is where it happens. [look: #__ID__-pic] Every Saturday, all year round.
|
|
13
|
+
-->
|
|
14
|
+
<style>
|
|
15
|
+
.l-picture-full { justify-content: flex-start; align-items: flex-start; overflow: hidden; }
|
|
16
|
+
.l-picture-full .pic { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
|
|
17
|
+
/* A captioned photo (figure.mount) fills the slide the same way; its label sits in the bottom-right corner on the paper. */
|
|
18
|
+
.slide.l-picture-full > .mount { position: absolute; inset: 0; width: auto; max-width: none; }
|
|
19
|
+
.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); }
|
|
20
|
+
.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); }
|
|
21
|
+
/* The panel and the presenter under it (slot-left) keep to the left third; the picture shows around them. */
|
|
22
|
+
.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); }
|
|
23
|
+
.l-picture-full .tt { font-size: var(--t-sub); line-height: 1.02; }
|
|
24
|
+
.l-picture-full .lead { font-size: var(--t-body); }
|
|
25
|
+
@media (max-width: 650px) {
|
|
26
|
+
/* Phones: the picture across the top at its own shape (up to 300px tall), the panel directly under it (never on it). */
|
|
27
|
+
.l-picture-full { justify-content: flex-start; align-items: stretch; gap: 0; }
|
|
28
|
+
.l-picture-full .pic { position: relative; inset: auto; flex: none; width: auto; height: auto; max-height: 300px; margin: -28px -20px 0; }
|
|
29
|
+
.l-picture-full div.pic { aspect-ratio: 16 / 9; }
|
|
30
|
+
.slide.l-picture-full > .mount { position: relative; inset: auto; flex: none; margin: -28px -20px 0; }
|
|
31
|
+
.l-picture-full .mount > .pic { margin: 0; }
|
|
32
|
+
.l-picture-full .mount[data-caption]::after { right: 10px; bottom: 10px; padding: 3px 8px; }
|
|
33
|
+
.l-picture-full .panel { gap: 8px; width: auto; min-width: 0; max-width: none; margin-top: 12px; padding: 16px 18px 18px; 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); }
|
|
34
|
+
}
|
|
35
|
+
/* No presenter (:root.hd-no-presenter: no face and no captions, deck_guide look): the corner is free. Phones keep this layout's rules. */
|
|
36
|
+
@media (min-width: 651px) {
|
|
37
|
+
:root.hd-no-presenter .l-picture-full .panel { max-width: 720px; }
|
|
38
|
+
}
|
|
39
|
+
</style>
|
|
40
|
+
<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.">
|
|
41
|
+
<div class="pic" id="__ID__-pic" role="img" aria-label="Photo placeholder"></div>
|
|
42
|
+
<div class="panel">
|
|
43
|
+
<div class="kicker">In real life</div>
|
|
44
|
+
<h2 class="tt" data-title-mobile="Where it happens.">This is where it happens, every Saturday.</h2>
|
|
45
|
+
<p class="lead">One line on what the picture shows.</p>
|
|
46
|
+
</div>
|
|
47
|
+
<div class="narration-slot"></div>
|
|
48
|
+
</section>
|
|
@@ -0,0 +1,45 @@
|
|
|
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
|
+
presenter: stage
|
|
10
|
+
nopresenter: The copy centres vertically beside the picture instead of leaving the bottom-left free.
|
|
11
|
+
cues: [look: #__ID__-pic] as the narration turns to the picture.
|
|
12
|
+
script: This is the person behind it. [look: #__ID__-pic] Every order, packed by hand.
|
|
13
|
+
-->
|
|
14
|
+
<style>
|
|
15
|
+
.l-portrait { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 96px; align-items: center; }
|
|
16
|
+
.l-portrait .text { align-self: start; display: flex; flex-direction: column; gap: 22px; padding-top: 24px; }
|
|
17
|
+
.l-portrait .tt { line-height: .98; }
|
|
18
|
+
/* The card hugs the picture: it keeps the picture's own shape, within the slide. */
|
|
19
|
+
.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; }
|
|
20
|
+
.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); }
|
|
21
|
+
/* A captioned photo (figure.mount) takes the picture's place and tilt. */
|
|
22
|
+
.l-portrait > .mount { --tilt: 3deg; margin-right: 24px; transform: rotate(calc(var(--tilt) * var(--tilt-k))); }
|
|
23
|
+
.l-portrait .mount > .pic { margin-right: 0; transform: none; }
|
|
24
|
+
.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); }
|
|
25
|
+
@media (max-width: 650px) {
|
|
26
|
+
.l-portrait { display: flex; flex-direction: column; align-items: stretch; gap: 14px; }
|
|
27
|
+
.l-portrait .text { gap: 10px; padding-top: 0; }
|
|
28
|
+
.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); }
|
|
29
|
+
.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); }
|
|
30
|
+
.l-portrait div.pic { width: 75%; height: auto; }
|
|
31
|
+
}
|
|
32
|
+
/* No presenter (:root.hd-no-presenter: no face and no captions, deck_guide look): the corner is free. Phones keep this layout's rules. */
|
|
33
|
+
@media (min-width: 651px) {
|
|
34
|
+
:root.hd-no-presenter .l-portrait .text { align-self: center; padding-top: 0; }
|
|
35
|
+
}
|
|
36
|
+
</style>
|
|
37
|
+
<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.">
|
|
38
|
+
<div class="text">
|
|
39
|
+
<div class="kicker">The people</div>
|
|
40
|
+
<h2 class="tt" data-title-mobile="Packed by hand.">Every order, packed by hand.</h2>
|
|
41
|
+
<p class="lead">One line on who this is and why it matters.</p>
|
|
42
|
+
</div>
|
|
43
|
+
<div class="pic" id="__ID__-pic" role="img" aria-label="Portrait photo placeholder"></div>
|
|
44
|
+
<div class="narration-slot"></div>
|
|
45
|
+
</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,7 +11,7 @@ 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); }
|
|
@@ -0,0 +1,71 @@
|
|
|
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: 36px; grid-auto-flow: row; grid-template-columns: minmax(0, 1fr); grid-auto-columns: auto; gap: 12px; 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: 12px; row-gap: 0; }
|
|
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-body); }
|
|
37
|
+
.l-rail .track p { font-size: var(--t-label); }
|
|
38
|
+
}
|
|
39
|
+
/* A large presenter (data-presenter-size l or xl on this slide's section tag): narrower; at xl the rail runs down the slide. */
|
|
40
|
+
@media not all and (max-width: 650px) {
|
|
41
|
+
.l-rail[data-presenter-size="l"] :is(.track, .tt) { max-width: 830px; }
|
|
42
|
+
.l-rail[data-presenter-size="xl"] .tt { max-width: 680px; }
|
|
43
|
+
.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; }
|
|
44
|
+
.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; }
|
|
45
|
+
.l-rail[data-presenter-size="xl"] .track li { display: grid; grid-template-columns: var(--dot) minmax(0, 1fr); column-gap: 18px; row-gap: 0; }
|
|
46
|
+
.l-rail[data-presenter-size="xl"] .dot { grid-row: span 2; margin: 0; font-size: var(--t-label); }
|
|
47
|
+
.l-rail[data-presenter-size="xl"] .track b { font-size: var(--t-body); }
|
|
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-rail :is(.track, .tt) { max-width: none; }
|
|
52
|
+
}
|
|
53
|
+
/* Icon slot (optional): an icon in a stop's dot, in place of its number (hyperdecks icons search <word> --for rail).
|
|
54
|
+
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
|
|
55
|
+
icon bare in it at the theme's line weight. */
|
|
56
|
+
.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)))); }
|
|
57
|
+
.on-accent.l-rail .dot { --icon-fill: var(--icon-tile-accent, var(--card)); --icon-fg: var(--icon-ink-accent, var(--ink)); }
|
|
58
|
+
.l-rail .dot > .icon { width: 62%; height: 62%; padding: 0; border-radius: 0; background: none; box-shadow: none; color: inherit; }
|
|
59
|
+
</style>
|
|
60
|
+
<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).">
|
|
61
|
+
<div class="kicker">What happens when you send it</div>
|
|
62
|
+
<h2 class="tt" data-title-mobile="One link, five stops.">One link, five stops.</h2>
|
|
63
|
+
<ol class="track">
|
|
64
|
+
<li id="__ID__-s1"><span class="dot">1</span><b>Link</b><p>You send one link per person.</p></li>
|
|
65
|
+
<li id="__ID__-s2"><span class="dot">2</span><b>Open</b><p>It plays in any browser.</p></li>
|
|
66
|
+
<li id="__ID__-s3"><span class="dot">3</span><b>Watch</b><p>Your avatar talks them through.</p></li>
|
|
67
|
+
<li id="__ID__-s4"><span class="dot">4</span><b>Ask</b><p>They ask the deck a question.</p></li>
|
|
68
|
+
<li id="__ID__-s5"><span class="dot">5</span><b>See</b><p>You see who watched, and how far.</p></li>
|
|
69
|
+
</ol>
|
|
70
|
+
<div class="narration-slot"></div>
|
|
71
|
+
</section>
|
|
@@ -0,0 +1,70 @@
|
|
|
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
|
+
.l-scorecard .rows { flex: none; gap: 6px; max-width: none; }
|
|
32
|
+
.l-scorecard .rows li { flex: none; max-height: none; 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); }
|
|
33
|
+
.l-scorecard .rows b { font-size: var(--t-body); }
|
|
34
|
+
.l-scorecard .val { font-size: var(--t-lead); }
|
|
35
|
+
.l-scorecard .state { grid-column: 1 / 3; justify-self: start; gap: 6px; padding: 3px 9px; border-width: calc(1 * var(--line)); }
|
|
36
|
+
}
|
|
37
|
+
/* A large presenter (data-presenter-size l or xl on this slide's section tag). */
|
|
38
|
+
@media not all and (max-width: 650px) {
|
|
39
|
+
.l-scorecard[data-presenter-size="l"] :is(.rows, .tt) { max-width: 830px; }
|
|
40
|
+
.l-scorecard[data-presenter-size="xl"] :is(.rows, .tt) { max-width: 680px; }
|
|
41
|
+
.l-scorecard[data-presenter-size="xl"] .rows li { gap: 16px; padding: 12px 20px; }
|
|
42
|
+
.l-scorecard[data-presenter-size="xl"] .val { font-size: var(--t-lead); }
|
|
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-scorecard :is(.rows, .tt) { max-width: none; }
|
|
47
|
+
}
|
|
48
|
+
/* Icon slot (optional): an icon at the start of each row (hyperdecks icons search <word> --for scorecard). */
|
|
49
|
+
.l-scorecard .rows li { --icon: 48; }
|
|
50
|
+
.l-scorecard .rows li:has(> .icon) { grid-template-columns: auto minmax(0, 1fr) auto auto; }
|
|
51
|
+
@media (max-width: 650px) {
|
|
52
|
+
.l-scorecard .rows li { --icon: 28; }
|
|
53
|
+
.l-scorecard .rows li:has(> .icon) { grid-template-columns: auto minmax(0, 1fr) auto; }
|
|
54
|
+
.l-scorecard .rows li:has(> .icon) .state { grid-column: 2 / -1; }
|
|
55
|
+
}
|
|
56
|
+
@media not all and (max-width: 650px) {
|
|
57
|
+
.l-scorecard[data-presenter-size="xl"] .rows li { --icon: 36; }
|
|
58
|
+
}
|
|
59
|
+
</style>
|
|
60
|
+
<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.">
|
|
61
|
+
<div class="kicker">This month</div>
|
|
62
|
+
<h2 class="tt" data-title-mobile="Where we stand.">Where we stand.</h2>
|
|
63
|
+
<ol class="rows" id="__ID__-rows">
|
|
64
|
+
<li id="__ID__-r1"><b>Decks sent</b><span class="val">1,240</span><span class="state good">On track</span></li>
|
|
65
|
+
<li id="__ID__-r2"><b>Watched to the end</b><span class="val">61%</span><span class="state good">On track</span></li>
|
|
66
|
+
<li id="__ID__-r3"><b>Narration under a minute</b><span class="val">48%</span><span class="state watch">Watch</span></li>
|
|
67
|
+
<li id="__ID__-r4"><b>Phone views that clip</b><span class="val">3</span><span class="state bad">Fix</span></li>
|
|
68
|
+
</ol>
|
|
69
|
+
<div class="narration-slot"></div>
|
|
70
|
+
</section>
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
layout: screens
|
|
3
|
+
summary: Two to four screens (or pictures) in order, left to right, with an arrow between each and a short caption under each, the point in the column beside them: a storyboard, so the order reads at a glance.
|
|
4
|
+
brief: Two to four screens or pictures in order, an arrow and a caption each.
|
|
5
|
+
says: how it works
|
|
6
|
+
needs: 2 to 4 screenshots or pictures
|
|
7
|
+
use: a flow told in steps (pick, pay, done), or a picture strip (three moments of an event). Each .pane's .shot is a placeholder check fails on: put in phone screenshots (capture_url at 390×844) or pictures as <img class="shot" src="…" alt="…" width="…" height="…"> (or a <video class="shot" autoplay muted loop playsinline>); each frame takes its picture's shape, as large as the row allows, the caption right under it. Keep the pictures one shape. Landscape pictures (screenshots of a desktop, 16:9 frames) take class="shot wide": two sit in a row; three or four stand two by two (the third centred under the first two), so each is large enough to read. Two to four steps: add or remove a .step and its cue. For one screen use phone-stage; to let the viewer step through, tap-through.
|
|
8
|
+
slot: bottom-left
|
|
9
|
+
presenter: stage
|
|
10
|
+
nopresenter: The copy centres vertically beside the row instead of leaving the bottom-left free.
|
|
11
|
+
cues: [go: #__ID__-s1], [go: #__ID__-s2], [go: #__ID__-s3] at the word that starts each step (each lights as the others fade back), then [go: slot].
|
|
12
|
+
script: Three steps, in order. First [go: #__ID__-s1] you pick one. Then [go: #__ID__-s2] you check it over. And then [go: #__ID__-s3] it is on its way. [go: slot]
|
|
13
|
+
-->
|
|
14
|
+
<style>
|
|
15
|
+
.l-screens { display: grid; grid-template-columns: 420px minmax(0, 1fr); column-gap: 56px; }
|
|
16
|
+
.l-screens .head { align-self: start; display: flex; flex-direction: column; gap: 20px; padding-top: 24px; }
|
|
17
|
+
.l-screens .tt { font-size: var(--t-sub); line-height: 1.02; }
|
|
18
|
+
.l-screens .lead { font-size: var(--t-body); }
|
|
19
|
+
/* --cap: the room under each picture for its caption; the row is a size container, so a picture is as tall as the row allows less that room. */
|
|
20
|
+
.l-screens .row { --cap: 74px; --rows: 1; --gap: 40px; min-height: 0; container-type: size; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); column-gap: 64px; row-gap: var(--gap); align-items: center; }
|
|
21
|
+
/* Each step hugs its picture, the caption right under it; steps of one shape share a caption line. */
|
|
22
|
+
.l-screens .step { position: relative; display: flex; flex-direction: column; align-items: center; row-gap: 18px; min-width: 0; }
|
|
23
|
+
.l-screens .pane { position: relative; display: flex; justify-content: center; max-width: 100%; }
|
|
24
|
+
/* The frame hugs its picture: the picture keeps its own shape, up to the step's width and the row's height. */
|
|
25
|
+
.l-screens .shot { display: block; max-width: 100%; max-height: calc((100cqh - (var(--rows) - 1) * var(--gap)) / var(--rows) - var(--cap)); width: auto; height: auto; border: calc(3 * var(--line)) solid var(--ink); border-radius: calc(34 * var(--round-phone)); background: var(--card); box-shadow: calc(10 * var(--drop-x)) calc(10 * var(--drop-y)) calc(10 * var(--drop-blur)) color-mix(in srgb, var(--accent) var(--drop-mix), transparent); object-fit: contain; }
|
|
26
|
+
.l-screens .shot.wide { --frame-min: 139px; --shot-corner: min(calc(18 * var(--round)), (var(--frame-min) - 2 * var(--mat)) / 16); }
|
|
27
|
+
.on-accent.l-screens .shot { box-shadow: calc(10 * var(--drop-x)) calc(10 * var(--drop-y)) calc(10 * var(--drop-blur)) color-mix(in srgb, var(--accent-ink) var(--drop-mix), transparent); }
|
|
28
|
+
.l-screens div.shot { height: calc((100cqh - (var(--rows) - 1) * var(--gap)) / var(--rows) - var(--cap)); aspect-ratio: 9 / 19.5; background:
|
|
29
|
+
linear-gradient(color-mix(in srgb, var(--ink) 16%, transparent) 0 0) 50% 6% / 40% 2.4% no-repeat,
|
|
30
|
+
linear-gradient(var(--accent-2) 0 0) 50% 32% / 80% 36% no-repeat,
|
|
31
|
+
linear-gradient(color-mix(in srgb, var(--ink) 14%, transparent) 0 0) 20% 64% / 56% 2.6% no-repeat,
|
|
32
|
+
linear-gradient(var(--accent) 0 0) 50% 90% / 80% 7% no-repeat,
|
|
33
|
+
var(--paper); }
|
|
34
|
+
.l-screens div.shot.wide { aspect-ratio: 16 / 9; }
|
|
35
|
+
/* A wide placeholder on a mat (a round theme, _deck.html): its screen drawn inside the mat. */
|
|
36
|
+
@container not style(--shot-mat: 0px) {
|
|
37
|
+
.l-screens div.shot.wide { background:
|
|
38
|
+
linear-gradient(color-mix(in srgb, var(--ink) 16%, transparent) 0 0) 50% 6% / 40% 2.4% no-repeat content-box,
|
|
39
|
+
linear-gradient(var(--accent-2) 0 0) 50% 32% / 80% 36% no-repeat content-box,
|
|
40
|
+
linear-gradient(color-mix(in srgb, var(--ink) 14%, transparent) 0 0) 20% 64% / 56% 2.6% no-repeat content-box,
|
|
41
|
+
linear-gradient(var(--accent) 0 0) 50% 90% / 80% 7% no-repeat content-box,
|
|
42
|
+
linear-gradient(var(--paper) 0 0) content-box,
|
|
43
|
+
var(--card); }
|
|
44
|
+
}
|
|
45
|
+
/* Three or four landscape pictures: two by two (the third alone, centred, under the first two), so each is much larger
|
|
46
|
+
than it would be in one row beside the copy and the column's height is used. */
|
|
47
|
+
.l-screens .row:has(.shot.wide):has(> .step:nth-child(3)) { --rows: 2; grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
48
|
+
.l-screens .row:has(.shot.wide) > .step:nth-child(3):last-child { grid-column: 1 / -1; }
|
|
49
|
+
/* An arrow in the gap after each step, level with the middle of its picture; none at the end of a row. */
|
|
50
|
+
.l-screens .step:not(:last-child)::after { content: "→"; position: absolute; right: -48px; top: calc(50% - 22px); translate: 0 -50%; font: 700 var(--t-lead) var(--font); }
|
|
51
|
+
.l-screens .row:has(.shot.wide):has(> .step:nth-child(3)) > .step:nth-child(2)::after { content: none; }
|
|
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
|
+
.l-screens .cap b { font: 700 var(--t-label) var(--mono); }
|
|
54
|
+
@media (max-width: 650px) {
|
|
55
|
+
.l-screens { display: flex; flex-direction: column; gap: 14px; }
|
|
56
|
+
.l-screens .head { gap: 8px; padding-top: 0; }
|
|
57
|
+
.l-screens .row { --cap: 40px; --gap: 14px; flex: none; height: 330px; column-gap: 10px; }
|
|
58
|
+
/* Landscape pictures on a phone: two to a row, as wide as the card allows. */
|
|
59
|
+
.l-screens .row:has(.shot.wide) { --rows: 2; height: 280px; grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
|
|
60
|
+
.l-screens .row:has(.shot.wide):not(:has(> .step:nth-child(3))) { --rows: 1; height: 140px; }
|
|
61
|
+
.l-screens .step { row-gap: 6px; }
|
|
62
|
+
.l-screens .shot { border-width: calc(2 * var(--line)); border-radius: calc(14 * var(--round)); box-shadow: calc(4 * var(--drop-x)) calc(4 * var(--drop-y)) calc(4 * var(--drop-blur)) color-mix(in srgb, var(--accent) var(--drop-mix), transparent); }
|
|
63
|
+
.l-screens .shot.wide { --frame-min: 78px; --shot-corner: min(calc(8 * var(--round)), (var(--frame-min) - 2 * var(--mat)) / 16); }
|
|
64
|
+
.on-accent.l-screens .shot { box-shadow: calc(4 * var(--drop-x)) calc(4 * var(--drop-y)) calc(4 * var(--drop-blur)) color-mix(in srgb, var(--accent-ink) var(--drop-mix), transparent); }
|
|
65
|
+
.l-screens .step:not(:last-child)::after { content: none; }
|
|
66
|
+
.l-screens .cap { flex-direction: column; align-items: center; gap: 0; font-size: var(--t-label); }
|
|
67
|
+
}
|
|
68
|
+
/* No presenter (:root.hd-no-presenter: no face and no captions, deck_guide look): the corner is free. Phones keep this layout's rules. */
|
|
69
|
+
@media (min-width: 651px) {
|
|
70
|
+
:root.hd-no-presenter .l-screens .head { align-self: center; padding-top: 0; }
|
|
71
|
+
}
|
|
72
|
+
</style>
|
|
73
|
+
<section class="slide l-screens slot-left" id="__ID__" data-chapter="How it works" data-note="Screens: name the app build (or where the pictures are from) and the date they were captured.">
|
|
74
|
+
<div class="head">
|
|
75
|
+
<div class="kicker">How it works · Step by step</div>
|
|
76
|
+
<h2 class="tt" data-title-mobile="Three steps.">Three steps, in the order people take them.</h2>
|
|
77
|
+
<p class="lead">One line on the flow, start to finish.</p>
|
|
78
|
+
</div>
|
|
79
|
+
<div class="row" id="__ID__-row">
|
|
80
|
+
<figure class="step" id="__ID__-s1"><div class="pane"><div class="shot" role="img" aria-label="Screen placeholder: the first step"></div></div><figcaption class="cap"><b>1</b>Pick one</figcaption></figure>
|
|
81
|
+
<figure class="step" id="__ID__-s2"><div class="pane"><div class="shot" role="img" aria-label="Screen placeholder: the second step"></div></div><figcaption class="cap"><b>2</b>Check it</figcaption></figure>
|
|
82
|
+
<figure class="step" id="__ID__-s3"><div class="pane"><div class="shot" role="img" aria-label="Screen placeholder: the last step"></div></div><figcaption class="cap"><b>3</b>Sent</figcaption></figure>
|
|
83
|
+
</div>
|
|
84
|
+
<div class="narration-slot"></div>
|
|
85
|
+
</section>
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
layout: sentence
|
|
3
|
+
summary: One sentence, set large, one phrase in it marked: the line you want remembered. Your own claim, not someone else's words (that is quote).
|
|
4
|
+
brief: One sentence, set large, one phrase marked: the line to remember.
|
|
5
|
+
says: the point
|
|
6
|
+
needs: 1 sentence
|
|
7
|
+
use: the one line the deck turns on, a thesis, a promise, a conclusion. Keep it under about 70 characters and mark at most one phrase with <mark>. It shows in full on a phone too, its mark included: give it no data-title-mobile. A large presenter: data-presenter-size="l" or "xl" on this slide's own section tag (not the player tag) narrows the line and sets it a size smaller, clear of the presenter.
|
|
8
|
+
slot: bottom-right
|
|
9
|
+
presenter: stage
|
|
10
|
+
nopresenter: The line takes the full width of the slide.
|
|
11
|
+
cues: [look: #__ID__-line] as the narration says it; [go: slot] after.
|
|
12
|
+
script: Here is the whole point. [look: #__ID__-line] They show up to the meeting already knowing the pitch. [go: slot]
|
|
13
|
+
-->
|
|
14
|
+
<style>
|
|
15
|
+
/* The line is the title, at display size, in a column that ends left of the presenter's corner (the stage presenter at m
|
|
16
|
+
reaches 1064px across); a larger presenter narrows it and drops it to title size. */
|
|
17
|
+
.l-sentence { justify-content: center; gap: 28px; }
|
|
18
|
+
.l-sentence .tt { font-size: var(--t-display); max-width: 980px; }
|
|
19
|
+
.l-sentence mark { color: inherit; background: linear-gradient(transparent 58%, var(--accent) 58%); }
|
|
20
|
+
.on-accent.l-sentence mark { background: linear-gradient(transparent 58%, var(--card) 58%); }
|
|
21
|
+
@media (max-width: 650px) {
|
|
22
|
+
.l-sentence { gap: 12px; }
|
|
23
|
+
.l-sentence .tt { font-size: var(--t-title); max-width: none; }
|
|
24
|
+
}
|
|
25
|
+
/* A large presenter (data-presenter-size l or xl on this slide's section tag). */
|
|
26
|
+
@media not all and (max-width: 650px) {
|
|
27
|
+
.l-sentence[data-presenter-size="l"] .tt { font-size: var(--t-title); max-width: 830px; }
|
|
28
|
+
.l-sentence[data-presenter-size="xl"] .tt { font-size: var(--t-title); max-width: 680px; }
|
|
29
|
+
}
|
|
30
|
+
/* No presenter (:root.hd-no-presenter: no face and no captions, deck_guide look): the corner is free. Phones keep this layout's rules. */
|
|
31
|
+
@media (min-width: 651px) {
|
|
32
|
+
:root.hd-no-presenter .l-sentence .tt { max-width: 1400px; }
|
|
33
|
+
}
|
|
34
|
+
</style>
|
|
35
|
+
<section class="slide l-sentence" id="__ID__" data-chapter="The point" data-note="Source: where this claim is shown (a number, a study, the product itself).">
|
|
36
|
+
<div class="kicker">The point</div>
|
|
37
|
+
<h2 class="tt" id="__ID__-line">They show up to the meeting <mark>already knowing the pitch.</mark></h2>
|
|
38
|
+
<div class="narration-slot"></div>
|
|
39
|
+
</section>
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
<!--
|
|
2
2
|
layout: split
|
|
3
3
|
summary: Image plus copy: the copy on the left (a sticker for the logo or icon, kicker, title, one line, three ticks), a real picture on the right in a phone card (the picture is the background; add bg-pool to light it).
|
|
4
|
-
|
|
4
|
+
brief: Image plus copy: a sticker, title, line and three ticks beside a real picture.
|
|
5
|
+
use: a product, a feature or an app, shown with a real picture beside the words. A deck can carry several, spread out, with other shapes between them (check warns when one layout fills over a third of the slides). The phone's .shot is a placeholder check fails on: put in a phone screenshot (capture_url at 390×844) or a screen recording (upload_deck_asset) as <img class="shot"> or <video class="shot" autoplay muted loop playsinline>. For a desktop app, replace the card with <div class="frame laptop" id="__ID__-frame"><img class="shot" src="…" alt="…"></div>; for any other picture or clip (a square sheet, 4:3, 16:9), <img class="shot wide" src="…" alt="…" id="__ID__-frame"> (or <video class="shot wide" …>): its frame takes the picture's shape, no styling needed; for a photo (a found one: `hyperdecks photos add <id> --for split`, deck_guide topic photos), <img class="pic" src="…" alt="…" width="…" height="…" id="__ID__-frame"> (it takes the theme's photo treatment). A large presenter: data-presenter-size="l" or "xl" on this slide's own section tag (not the player tag) gives it the left of the slide, the copy and the picture side by side beside it (for the stage presenter). Swap the sticker's icon for the product's logo (<span class="sticker photo"><img src="…" alt=""></span>) or one icon from the deck's set (`hyperdecks icons search <word> --for split`, search_icons { for: "split" }).
|
|
5
6
|
slot: bottom-left
|
|
6
7
|
presenter: stage
|
|
7
8
|
nopresenter: The copy centres vertically beside the picture instead of leaving the bottom-left free.
|
|
@@ -9,33 +10,47 @@ cues: [look: #__ID__-frame] when the narration turns to the picture; [go: #__ID_
|
|
|
9
10
|
script: Here it is, doing the job. [look: #__ID__-frame] It starts with [go: #__ID__-t1] the first thing. Then [go: #__ID__-t2] the second. And [go: #__ID__-t3] the third. [go: slot]
|
|
10
11
|
-->
|
|
11
12
|
<style>
|
|
12
|
-
.l-split { display: grid; grid-template-columns: 680px minmax(0, 1fr); column-gap: 64px; align-items: center; }
|
|
13
|
+
.l-split { display: grid; grid-template-columns: 680px minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); column-gap: 64px; align-items: center; }
|
|
13
14
|
.l-split .text { align-self: start; display: flex; flex-direction: column; gap: 22px; padding-top: 24px; }
|
|
14
15
|
.l-split .head { display: flex; align-items: center; gap: 22px; }
|
|
15
16
|
.l-split .tt { font-size: var(--t-sub); line-height: 1.02; }
|
|
16
17
|
.l-split .lead { font-size: var(--t-body); }
|
|
17
18
|
.l-split .ticks { margin-top: 6px; }
|
|
18
|
-
|
|
19
|
+
/* One definite row, so the picture's max-height: 100% is the slide's height and a tall picture shrinks to fit. */
|
|
20
|
+
.l-split .media { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); place-items: center; height: 100%; min-width: 0; min-height: 0; }
|
|
19
21
|
.l-split .frame.card { width: 300px; --tilt: 4deg; }
|
|
20
|
-
|
|
21
|
-
|
|
22
|
+
/* A picture that is not a phone screen: the frame takes the picture's own shape (any shape shows whole), at its own
|
|
23
|
+
size, shrunk to fit the column and the slide's height. width/height attributes do not set it. */
|
|
24
|
+
.l-split .shot.wide { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: cover; --frame-min: 300px; --shot-corner: min(calc(18 * var(--round)), (var(--frame-min) - 2 * var(--mat)) / 16); box-shadow: calc(14 * var(--drop-x)) calc(14 * var(--drop-y)) calc(14 * var(--drop-blur)) color-mix(in srgb, var(--accent) var(--drop-mix), transparent); }
|
|
25
|
+
/* A photo (img.pic, or a captioned figure.mount): at its own shape, up to the column, in the theme's treatment. */
|
|
26
|
+
.l-split .media > .mount { width: 100%; }
|
|
27
|
+
.l-split .media .pic { display: block; width: 100%; height: auto; max-height: 640px; object-fit: cover; --frame-min: 356px; border-radius: min(calc(18 * var(--round)), var(--frame-min) / 8); }
|
|
28
|
+
.on-accent.l-split .shot.wide { box-shadow: calc(14 * var(--drop-x)) calc(14 * var(--drop-y)) calc(14 * var(--drop-blur)) color-mix(in srgb, var(--ink) var(--drop-mix), transparent); }
|
|
22
29
|
@media (max-width: 650px) {
|
|
23
30
|
.l-split { display: flex; flex-direction: column; align-items: stretch; }
|
|
24
31
|
.l-split .text { gap: 10px; padding-top: 0; }
|
|
25
32
|
.l-split .head { gap: 12px; }
|
|
26
33
|
.l-split .media { height: auto; }
|
|
27
34
|
.l-split .frame.card { width: 128px; }
|
|
28
|
-
.l-split .
|
|
35
|
+
.l-split .media .pic { max-height: 300px; --frame-min: 167px; border-radius: min(calc(10 * var(--round)), var(--frame-min) / 8); }
|
|
36
|
+
.l-split .shot.wide { max-height: 300px; --frame-min: 167px; --shot-corner: min(calc(10 * var(--round)), (var(--frame-min) - 2 * var(--mat)) / 16); box-shadow: calc(6 * var(--drop-x)) calc(6 * var(--drop-y)) calc(6 * var(--drop-blur)) color-mix(in srgb, var(--accent) var(--drop-mix), transparent); }
|
|
37
|
+
}
|
|
38
|
+
/* A large presenter (data-presenter-size l or xl on this slide's section tag): it keeps the left of the slide and the copy and the
|
|
39
|
+
picture share the rest, room for a stage presenter at that size, so no deck CSS is needed. */
|
|
40
|
+
@media not all and (max-width: 650px) {
|
|
41
|
+
.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; }
|
|
42
|
+
.l-split[data-presenter-size="xl"] { padding-left: 872px; }
|
|
29
43
|
}
|
|
30
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. */
|
|
31
45
|
@media (min-width: 651px) {
|
|
32
46
|
:root.hd-no-presenter .l-split .text { align-self: center; padding-top: 0; }
|
|
47
|
+
:root.hd-no-presenter .l-split:is([data-presenter-size="l"], [data-presenter-size="xl"]) { padding-left: 72px; }
|
|
33
48
|
}
|
|
34
49
|
</style>
|
|
35
50
|
<section class="slide l-split slot-left" id="__ID__" data-chapter="The product" data-note="Picture: name the screen or clip and the date it was captured.">
|
|
36
51
|
<div class="text">
|
|
37
52
|
<div class="head">
|
|
38
|
-
<span class="sticker" id="__ID__-logo"><svg class="lucide-smartphone" 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"><rect width="14" height="20" x="5" y="2" rx="2" ry="2"/><path d="M12 18h.01"/></svg></span>
|
|
53
|
+
<span class="sticker" id="__ID__-logo"><svg class="icon lucide-smartphone" 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"><rect width="14" height="20" x="5" y="2" rx="2" ry="2"/><path d="M12 18h.01"/></svg></span>
|
|
39
54
|
<div class="kicker">The product · Live</div>
|
|
40
55
|
</div>
|
|
41
56
|
<h2 class="tt" data-title-mobile="Here it is.">Here it is, doing the job.</h2>
|