@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
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
<!--
|
|
2
2
|
layout: cover-band
|
|
3
3
|
summary: A cover with the picture filling the slide and the title on a solid, inked panel of the theme's paper in the bottom-left, so the title's contrast never depends on the picture.
|
|
4
|
-
|
|
4
|
+
brief: A cover: the picture fills the slide, the title on a solid panel bottom-left.
|
|
5
|
+
use: the first slide when the picture is the story (a place, an object, a crowd) and wants the whole frame. Its .art is a placeholder check fails on: put in a wide picture of the real subject (a found photo: add_photo with for "cover-band", `hyperdecks photos add <id> --for cover-band`, deck_guide topic photos; or gen-image / generate_image, 16:9) as <img class="art">; keep the subject top or top-right: the panel covers the bottom-left and the presenter the bottom-right. The panel grows with the title; never move the title off the panel onto the picture. Without art the panel sits on the slide's ground.
|
|
5
6
|
slot: bottom-right
|
|
6
7
|
presenter: stage
|
|
7
|
-
nopresenter: The panel
|
|
8
|
+
nopresenter: The panel keeps its width, so the freed corner stays the picture's and no more of its subject is covered.
|
|
8
9
|
cues: [wave] at the hello, [look: h1] when the narration says the title.
|
|
9
10
|
script: Hi, [wave] this is __TITLE__. [look: h1] One idea, in a few minutes.
|
|
10
11
|
-->
|
|
@@ -15,22 +16,23 @@ script: Hi, [wave] this is __TITLE__. [look: h1] One idea, in a few minutes.
|
|
|
15
16
|
.l-cover-band:has(> .art) > .brand-logo { position: absolute; top: 28px; left: 72px; }
|
|
16
17
|
.l-cover-band .art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
|
|
17
18
|
.l-cover-band div.art { 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); }
|
|
18
|
-
.l-cover-band div.art::after { content: "Art goes here"; position: absolute; left: 70%; top: 34%; transform: translate(-50%, -50%); padding: 14px 26px; border:
|
|
19
|
-
.l-cover-band .content { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 18px; max-width: 980px; padding: 36px 44px 40px; border:
|
|
19
|
+
.l-cover-band div.art::after { content: "Art goes here"; position: absolute; left: 70%; top: 34%; transform: translate(-50%, -50%); padding: 14px 26px; border: calc(3 * var(--line)) dashed var(--ink); border-radius: calc(16 * var(--round)); background: var(--paper); color: var(--ink); font: 700 24px var(--mono); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
|
|
20
|
+
.l-cover-band .content { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 18px; max-width: 980px; padding: 36px 44px 40px; border: calc(4 * var(--line)) solid var(--ink); border-radius: calc(28 * var(--round)); background: var(--paper); color: var(--ink); 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); }
|
|
20
21
|
.l-cover-band .tt { font-size: min(var(--t-display), 96px); line-height: .92; }
|
|
21
22
|
.l-cover-band:not(:has(> .art)) { justify-content: center; }
|
|
22
23
|
@media (max-width: 650px) {
|
|
23
24
|
/* Phones: the picture across the top, the panel below it, down to the presenter's corner. */
|
|
24
25
|
.l-cover-band { justify-content: flex-start; align-items: stretch; gap: 0; }
|
|
25
26
|
.l-cover-band .art { position: relative; inset: auto; flex: none; width: auto; height: 210px; margin: -28px -20px 0; }
|
|
26
|
-
.l-cover-band div.art::after { left: 50%; top: 50%; padding: 8px 14px; border-width:
|
|
27
|
-
.l-cover-band .content { gap: 12px; margin-top: -36px; padding: 18px 18px 20px; border-width:
|
|
27
|
+
.l-cover-band div.art::after { left: 50%; top: 50%; padding: 8px 14px; border-width: calc(2 * var(--line)); font-size: 13px; }
|
|
28
|
+
.l-cover-band .content { gap: 12px; margin-top: -36px; padding: 18px 18px 20px; 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); }
|
|
28
29
|
.l-cover-band .tt { font-size: var(--t-display); }
|
|
29
30
|
.l-cover-band:has(> .art) > .brand-logo { top: 12px; left: 20px; }
|
|
30
31
|
}
|
|
31
|
-
/* No presenter (:root.hd-no-presenter: no face and no captions, deck_guide look): the corner is free
|
|
32
|
+
/* No presenter (:root.hd-no-presenter: no face and no captions, deck_guide look): the corner is free, and it is the
|
|
33
|
+
picture's: the panel stays 980px wide (a wider one covered the subject). Phones keep this layout's rules. */
|
|
32
34
|
@media (min-width: 651px) {
|
|
33
|
-
:root.hd-no-presenter .l-cover-band .content { max-width:
|
|
35
|
+
:root.hd-no-presenter .l-cover-band .content { max-width: 980px; }
|
|
34
36
|
}
|
|
35
37
|
</style>
|
|
36
38
|
<section class="slide l-cover-band" id="__ID__" data-chapter="Hello" data-note="Title slide: no facts.">
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
<!--
|
|
2
2
|
layout: cover-frame
|
|
3
3
|
summary: A framed cover: the title across the top on the slide's own ground, the picture below it in a clean card (ink edge, rounded, a slight tilt) with a hard edge, never faded. The card takes whatever height the title leaves, so a long title shortens the card instead of covering it.
|
|
4
|
-
|
|
4
|
+
brief: A cover: the title across the top, a strong picture framed in a card below it.
|
|
5
|
+
use: the first slide when there is a strong picture (a product, a person, a place) that reads as an object you hold up. Its .art is a placeholder check fails on: put in a wide picture of the real subject (a found photo: add_photo with for "cover-frame", `hyperdecks photos add <id> --for cover-frame`, deck_guide topic photos; or gen-image / generate_image, 16:9 or 3:2) as <img class="art">; keep the subject in the middle, the card crops top and bottom. Never move the title onto the card; a fade or a gradient over the picture makes the title hard to read (check warns). Other covers: cover-split, hero, cover-band, cover-poster, cover-type.
|
|
5
6
|
slot: bottom-right
|
|
6
7
|
presenter: stage
|
|
7
8
|
nopresenter: The card runs nearly the slide's full width instead of stopping short of the corner.
|
|
@@ -13,21 +14,22 @@ script: Hi, [wave] this is __TITLE__. [look: h1] One idea, in a few minutes.
|
|
|
13
14
|
.l-cover-frame { gap: 40px; }
|
|
14
15
|
.l-cover-frame .content { flex: none; display: flex; flex-direction: column; gap: 18px; }
|
|
15
16
|
.l-cover-frame .tt { font-size: min(var(--t-display), 104px); line-height: .92; }
|
|
16
|
-
|
|
17
|
+
/* A long title shortens the card down to its 220px floor, so its corner caps there (_deck.html). */
|
|
18
|
+
.l-cover-frame .art { order: 1; display: block; flex: 1 1 0; min-height: 220px; width: calc(100% - 520px); margin: 0 0 14px 6px; border: calc(4 * var(--line)) solid var(--ink); --frame-min: 220px; border-radius: min(calc(28 * var(--round)), var(--frame-min) / 8); object-fit: cover; 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); transform: rotate(calc(-1.5deg * var(--tilt-k))); }
|
|
17
19
|
.on-ink.l-cover-frame .art { border-color: var(--paper); }
|
|
18
|
-
.on-accent.l-cover-frame .art { box-shadow:
|
|
20
|
+
.on-accent.l-cover-frame .art { 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); }
|
|
19
21
|
/* Until then a labelled, hatched stand-in, so it reads as a slot to fill; check fails while it is here. */
|
|
20
22
|
.l-cover-frame div.art { position: relative; background: var(--paper) repeating-linear-gradient(135deg, color-mix(in srgb, var(--ink) 10%, transparent) 0 2px, transparent 2px 22px); }
|
|
21
|
-
.l-cover-frame div.art::after { content: "Art goes here"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 14px 26px; border:
|
|
23
|
+
.l-cover-frame div.art::after { content: "Art goes here"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 14px 26px; border: calc(3 * var(--line)) dashed var(--ink); border-radius: calc(16 * var(--round)); background: var(--paper); color: var(--ink); font: 700 24px var(--mono); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
|
|
22
24
|
.l-cover-frame:not(:has(> .art)) .content { flex: 1; justify-content: center; }
|
|
23
25
|
@media (max-width: 650px) {
|
|
24
26
|
/* Phones: the title, then the card across the width below it. */
|
|
25
27
|
.l-cover-frame { gap: 14px; }
|
|
26
28
|
.l-cover-frame .content { gap: 12px; }
|
|
27
29
|
.l-cover-frame .tt { font-size: var(--t-display); }
|
|
28
|
-
.l-cover-frame .art { flex: none; height: 156px; min-height: 0; width: auto; margin: 0 6px 6px 2px; border-width:
|
|
29
|
-
.on-accent.l-cover-frame .art { box-shadow:
|
|
30
|
-
.l-cover-frame div.art::after { padding: 8px 14px; border-width:
|
|
30
|
+
.l-cover-frame .art { flex: none; height: 156px; min-height: 0; width: auto; margin: 0 6px 6px 2px; border-width: calc(2 * var(--line)); --frame-min: 156px; border-radius: min(calc(16 * var(--round)), var(--frame-min) / 8); 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); transform: rotate(calc(-1deg * var(--tilt-k))); }
|
|
31
|
+
.on-accent.l-cover-frame .art { 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); }
|
|
32
|
+
.l-cover-frame div.art::after { padding: 8px 14px; border-width: calc(2 * var(--line)); font-size: 13px; }
|
|
31
33
|
}
|
|
32
34
|
/* 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
35
|
@media (min-width: 651px) {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
<!--
|
|
2
2
|
layout: cover-poster
|
|
3
3
|
summary: A poster cover: the picture across the top, edge to edge, and the title below it on the slide's ground. The picture takes whatever height the title leaves, so a long title shortens the picture instead of covering it.
|
|
4
|
-
|
|
4
|
+
brief: A cover: a wide picture across the top, edge to edge, the title below it.
|
|
5
|
+
use: the first slide when the picture is a scene or a landscape that crops well to a wide strip. Its .art is a placeholder check fails on: put in a wide picture of the real subject (a found photo: add_photo with for "cover-poster", `hyperdecks photos add <id> --for cover-poster`, deck_guide topic photos; or gen-image / generate_image, 16:9 or wider) as <img class="art">; keep the subject in the middle band, the strip crops top and bottom. Never move the title up onto the picture. Without art the title fills the slide.
|
|
5
6
|
slot: bottom-right
|
|
6
7
|
presenter: stage
|
|
7
8
|
nopresenter: The title and lead run the slide's full width instead of stopping short of the corner.
|
|
@@ -13,15 +14,17 @@ script: Hi, [wave] this is __TITLE__. [look: h1] One idea, in a few minutes.
|
|
|
13
14
|
.l-cover-poster { gap: 0; }
|
|
14
15
|
/* A brand logo (applyBrand puts it first in the slide) sits on the picture's top-left, out of the flow, so the strip still starts at the top edge. */
|
|
15
16
|
.l-cover-poster:has(> .art) > .brand-logo { position: absolute; top: 28px; left: 72px; }
|
|
16
|
-
.l-cover-poster .art { display: block; flex: 1 1 0; min-height: 240px; width: auto; margin: -64px -72px 0; object-fit: cover; border-bottom:
|
|
17
|
+
.l-cover-poster .art { display: block; flex: 1 1 0; min-height: 240px; width: auto; margin: -64px -72px 0; object-fit: cover; border-bottom: calc(4 * var(--line)) solid var(--ink); }
|
|
17
18
|
.l-cover-poster div.art { position: relative; 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); }
|
|
18
|
-
.l-cover-poster div.art::after { content: "Art goes here"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 14px 26px; border:
|
|
19
|
+
.l-cover-poster div.art::after { content: "Art goes here"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 14px 26px; border: calc(3 * var(--line)) dashed var(--ink); border-radius: calc(16 * var(--round)); background: var(--paper); color: var(--ink); font: 700 24px var(--mono); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
|
|
19
20
|
.l-cover-poster .content { flex: none; display: flex; flex-direction: column; gap: 18px; padding: 40px 400px 0 0; }
|
|
20
21
|
.l-cover-poster .tt { font-size: min(var(--t-display), 104px); line-height: .92; }
|
|
21
22
|
.l-cover-poster:not(:has(> .art)) .content { flex: 1; justify-content: center; padding-top: 0; }
|
|
22
23
|
@media (max-width: 650px) {
|
|
23
|
-
|
|
24
|
-
.l-cover-poster
|
|
24
|
+
/* The picture across the top, edge to edge: the slide starts at the top, not centred (the shell's phone rhythm). */
|
|
25
|
+
.l-cover-poster:has(> .art) { justify-content: flex-start; }
|
|
26
|
+
.l-cover-poster .art { flex: none; height: 196px; min-height: 0; margin: -28px -20px 0; border-bottom-width: calc(2 * var(--line)); }
|
|
27
|
+
.l-cover-poster div.art::after { padding: 8px 14px; border-width: calc(2 * var(--line)); font-size: 13px; }
|
|
25
28
|
.l-cover-poster .content { gap: 12px; padding: 18px 0 0; }
|
|
26
29
|
.l-cover-poster:has(> .art) > .brand-logo { top: 12px; left: 20px; }
|
|
27
30
|
.l-cover-poster .tt { font-size: var(--t-display); }
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
<!--
|
|
2
2
|
layout: cover-split
|
|
3
3
|
summary: A hard 50/50 cover: the title on the left half on a solid ground, the picture filling the right half edge to edge, the two meeting on a straight ink line. No fade, no overlap: the picture never reaches the title's half.
|
|
4
|
-
|
|
4
|
+
brief: A cover split 50/50: the title on one half, the picture filling the other.
|
|
5
|
+
use: the first slide when there is a strong picture that should be big (a product shot, a portrait, a scene) and a title that wants room of its own. Its .art is a placeholder check fails on: put in a picture of the real subject (a found photo: add_photo with for "cover-split", `hyperdecks photos add <id> --for cover-split`, deck_guide topic photos; or gen-image / generate_image, square or near it: the half is about 8:9) as <img class="art">; keep the subject in the top two thirds (the presenter stands on the half's bottom-right; on phones the picture is a wide strip). Never lay the title on the picture; a fade or a gradient over it makes the title hard to read (check warns). Other covers: cover-frame, hero, cover-band, cover-poster, cover-type.
|
|
5
6
|
slot: bottom-right
|
|
6
7
|
presenter: stage
|
|
7
8
|
nopresenter: The picture crops on its centre instead of keeping its subject high above the presenter.
|
|
@@ -14,7 +15,7 @@ script: Hi, [wave] this is __TITLE__. [look: h1] One idea, in a few minutes.
|
|
|
14
15
|
.l-cover-split .content { grid-column: 1; grid-row: 1; align-self: center; display: flex; flex-direction: column; gap: 22px; }
|
|
15
16
|
.l-cover-split .tt { font-size: min(var(--t-display), 96px); line-height: .92; }
|
|
16
17
|
/* The picture's half is the slide's own right half, out to its edges (a sized box: an absolute <img> never stretches to its insets). */
|
|
17
|
-
.l-cover-split .art { position: absolute; top: 0; right: 0; display: block; width: 50%; height: 100%; border-left:
|
|
18
|
+
.l-cover-split .art { position: absolute; top: 0; right: 0; display: block; width: 50%; height: 100%; border-left: calc(4 * var(--line)) solid var(--ink); object-fit: cover; object-position: 50% 30%; }
|
|
18
19
|
.on-ink.l-cover-split .art { border-left-color: var(--paper); }
|
|
19
20
|
/* A brand logo (applyBrand puts it first in the slide) heads the title's half. */
|
|
20
21
|
.l-cover-split:has(> .brand-logo) { grid-template-rows: auto minmax(0, 1fr); }
|
|
@@ -22,17 +23,17 @@ script: Hi, [wave] this is __TITLE__. [look: h1] One idea, in a few minutes.
|
|
|
22
23
|
.l-cover-split:has(> .brand-logo) .content { grid-row: 2; }
|
|
23
24
|
/* Until then a labelled, hatched stand-in, so it reads as a slot to fill; check fails while it is here. */
|
|
24
25
|
.l-cover-split div.art { 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
|
-
.l-cover-split div.art::after { content: "Art goes here"; position: absolute; left: 50%; top: 34%; transform: translate(-50%, -50%); padding: 14px 26px; border:
|
|
26
|
+
.l-cover-split div.art::after { content: "Art goes here"; position: absolute; left: 50%; top: 34%; transform: translate(-50%, -50%); padding: 14px 26px; border: calc(3 * var(--line)) dashed var(--ink); border-radius: calc(16 * var(--round)); background: var(--paper); color: var(--ink); font: 700 24px var(--mono); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
|
|
26
27
|
.l-cover-split:not(:has(> .art)) { grid-template-columns: minmax(0, 1fr); }
|
|
27
28
|
@media (max-width: 650px) {
|
|
28
29
|
/* Phones: the picture across the top, edge to edge, the title below it on the ground. */
|
|
29
|
-
.l-cover-split { display: flex; flex-direction: column; gap: 0; }
|
|
30
|
-
.l-cover-split .art { position: relative; inset: auto; flex: none; width: auto; height: 186px; margin: -28px -20px 0; border-left: 0; border-bottom:
|
|
30
|
+
.l-cover-split { display: flex; flex-direction: column; justify-content: flex-start; gap: 0; }
|
|
31
|
+
.l-cover-split .art { position: relative; inset: auto; flex: none; width: auto; height: 186px; margin: -28px -20px 0; border-left: 0; border-bottom: calc(2 * var(--line)) solid var(--ink); }
|
|
31
32
|
.on-ink.l-cover-split .art { border-bottom-color: var(--paper); }
|
|
32
33
|
.l-cover-split .content { align-self: stretch; gap: 12px; padding-top: 18px; }
|
|
33
34
|
.l-cover-split .tt { font-size: var(--t-display); }
|
|
34
35
|
.l-cover-split:has(> .art) > .brand-logo { position: absolute; top: 12px; left: 20px; z-index: 1; }
|
|
35
|
-
.l-cover-split div.art::after { top: 50%; padding: 8px 14px; border-width:
|
|
36
|
+
.l-cover-split div.art::after { top: 50%; padding: 8px 14px; border-width: calc(2 * var(--line)); font-size: 13px; }
|
|
36
37
|
}
|
|
37
38
|
/* No presenter (:root.hd-no-presenter: no face and no captions, deck_guide look): the corner is free. Phones keep this layout's rules. */
|
|
38
39
|
@media (min-width: 651px) {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<!--
|
|
2
2
|
layout: cover-type
|
|
3
3
|
summary: A type-only cover: the title, big, on the theme's own ground and texture, with the presenter large in the corner as the visual. No picture to fill.
|
|
4
|
+
brief: A type-only cover: a big title on the theme's ground, the presenter as the visual.
|
|
4
5
|
use: the first slide when there is no picture that shows the real subject yet, or the deck is about an idea more than a thing. Swap the ground (on-ink, on-accent, on-tint) and keep one signature texture (bg-corner or bg-mark) at most; the title stays clear of it. Nothing to fill: it passes check as scaffolded.
|
|
5
6
|
slot: bottom-right
|
|
6
7
|
presenter: stage
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
<!--
|
|
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
6
|
slot: bottom-right
|
|
6
7
|
presenter: stage
|
|
7
8
|
nopresenter: The title and cards centre vertically and the cards grow a little, instead of leaving a strip below for the presenter.
|
|
@@ -10,16 +11,17 @@ script: It does three things. First, [go: #__ID__-f1] it writes. Then [go: #__ID
|
|
|
10
11
|
-->
|
|
11
12
|
<style>
|
|
12
13
|
.l-features .cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 20px; }
|
|
13
|
-
.l-features .card { list-style: none; display: flex; flex-direction: column; gap: 10px; padding: 28px 30px; border-radius:
|
|
14
|
-
/*
|
|
15
|
-
|
|
16
|
-
.l-features .
|
|
14
|
+
.l-features .card { list-style: none; display: flex; flex-direction: column; gap: 10px; padding: 28px 30px; border-radius: calc(28 * var(--round)); background: var(--card); box-shadow: 0 0 0 calc(1 * var(--line)) color-mix(in srgb, var(--ink) 10%, transparent); }
|
|
15
|
+
/* Icon slot: an icon at the top of each card (hyperdecks icons search <word> --for features; search_icons { for }).
|
|
16
|
+
The theme draws it (layouts/_deck.html, .icon); an <img class="icon"> of a generated set works too. */
|
|
17
|
+
.l-features .card { --icon: calc(64 * var(--icon-scale, 1)); }
|
|
17
18
|
.l-features b { font-size: 32px; letter-spacing: -.02em; line-height: 1.05; }
|
|
18
19
|
.l-features p { font-size: 20px; line-height: 1.3; opacity: .7; }
|
|
19
20
|
@media (max-width: 650px) {
|
|
20
21
|
.l-features .cards { grid-template-columns: 1fr; gap: 8px; margin-top: 4px; }
|
|
21
|
-
.l-features .card { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; row-gap: 2px; padding: 12px 14px; border-radius:
|
|
22
|
-
.l-features .
|
|
22
|
+
.l-features .card { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; row-gap: 2px; padding: 12px 14px; border-radius: calc(16 * var(--round)); }
|
|
23
|
+
.l-features .card { --icon: 40; }
|
|
24
|
+
.l-features .icon { grid-row: span 2; }
|
|
23
25
|
.l-features b { font-size: 18px; }
|
|
24
26
|
.l-features p { font-size: 13px; }
|
|
25
27
|
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
layout: funnel
|
|
3
|
+
summary: Three to five stages, each narrower than the last, a name and a number on each: how many make it from one step to the next.
|
|
4
|
+
brief: Three to five narrowing stages, a name and a number each.
|
|
5
|
+
says: how many make it
|
|
6
|
+
needs: 3 to 5 stages with a number each
|
|
7
|
+
use: a sign-up or sales funnel, who opens and who finishes, a pipeline. Real numbers only, each from its source in data-note; the widths are fixed steps, not drawn to scale, so the numbers carry the size. A large presenter: data-presenter-size="l" or "xl" on this slide's own section tag (not the player tag) narrows the funnel, clear of the presenter.
|
|
8
|
+
slot: bottom-right
|
|
9
|
+
presenter: stage
|
|
10
|
+
nopresenter: The funnel takes the full width of the slide.
|
|
11
|
+
cues: [go: #__ID__-s1] at the first stage, [go: #__ID__-s4] at the last, then [go: slot].
|
|
12
|
+
script: Of every link sent, [go: #__ID__-s1] most are opened, and more than half [go: #__ID__-s4] are watched to the end. [go: slot]
|
|
13
|
+
-->
|
|
14
|
+
<style>
|
|
15
|
+
/* The stages centre in a column that ends left of the presenter's corner (the stage presenter at m reaches 1064px across),
|
|
16
|
+
each a fixed step narrower than the one above it, the steps sharing the height below the title. */
|
|
17
|
+
.l-funnel .stages { list-style: none; flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 12px; max-width: 980px; }
|
|
18
|
+
.l-funnel .stages li { --w: 1; flex: 1 1 0; max-height: 132px; min-height: 0; width: calc(var(--w) * 100%); display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 32px; 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); font-size: var(--t-lead); font-weight: 700; line-height: 1.1; }
|
|
19
|
+
/* The numbers in the theme's display face (not the mono: '1,240' should read as a number, not code), figures aligned. */
|
|
20
|
+
.l-funnel .stages li span { 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; }
|
|
21
|
+
.l-funnel .stages li:nth-child(2) { --w: .84; background: var(--tint-1); }
|
|
22
|
+
.l-funnel .stages li:nth-child(3) { --w: .68; background: var(--tint-2); }
|
|
23
|
+
.l-funnel .stages li:nth-child(4) { --w: .54; background: var(--tint-3); }
|
|
24
|
+
.l-funnel .stages li:nth-child(5) { --w: .44; }
|
|
25
|
+
.l-funnel .stages li:last-child { background: var(--accent); color: var(--accent-ink); }
|
|
26
|
+
.on-accent.l-funnel .stages li:last-child { background: var(--ink); color: var(--paper); }
|
|
27
|
+
.on-ink.l-funnel .stages 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); }
|
|
28
|
+
@media (max-width: 650px) {
|
|
29
|
+
.l-funnel .stages { flex: none; gap: 6px; max-width: none; }
|
|
30
|
+
.l-funnel .stages li { flex: none; max-height: none; gap: 10px; padding: 12px 14px; 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); font-size: var(--t-body); }
|
|
31
|
+
.l-funnel .stages li span { font-size: var(--t-lead); }
|
|
32
|
+
.l-funnel .stages li:nth-child(2) { --w: .92; }
|
|
33
|
+
.l-funnel .stages li:nth-child(3) { --w: .84; }
|
|
34
|
+
.l-funnel .stages li:nth-child(4) { --w: .76; }
|
|
35
|
+
.l-funnel .stages li:nth-child(5) { --w: .68; }
|
|
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-funnel[data-presenter-size="l"] :is(.stages, .tt) { max-width: 830px; }
|
|
40
|
+
.l-funnel[data-presenter-size="xl"] :is(.stages, .tt) { max-width: 680px; }
|
|
41
|
+
.l-funnel[data-presenter-size="xl"] .stages li { padding: 14px 22px; }
|
|
42
|
+
.l-funnel[data-presenter-size="xl"] .stages li span { 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-funnel :is(.stages, .tt) { max-width: none; }
|
|
47
|
+
:root.hd-no-presenter .l-funnel .stages { padding: 0 120px; }
|
|
48
|
+
}
|
|
49
|
+
</style>
|
|
50
|
+
<section class="slide l-funnel" id="__ID__" data-chapter="Who finishes" data-note="Source: name where each number comes from (analytics, a dashboard, the date range).">
|
|
51
|
+
<div class="kicker">Last 30 days</div>
|
|
52
|
+
<h2 class="tt" data-title-mobile="Most who open, finish.">Most who open it, finish it.</h2>
|
|
53
|
+
<ol class="stages">
|
|
54
|
+
<li id="__ID__-s1">Links sent <span>1,240</span></li>
|
|
55
|
+
<li id="__ID__-s2">Opened <span>930</span></li>
|
|
56
|
+
<li id="__ID__-s3">Watched half <span>710</span></li>
|
|
57
|
+
<li id="__ID__-s4">Watched to the end <span>566</span></li>
|
|
58
|
+
</ol>
|
|
59
|
+
<div class="narration-slot"></div>
|
|
60
|
+
</section>
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
<!--
|
|
2
2
|
layout: hero
|
|
3
3
|
summary: The opening, as a split cover: the title on the slide's own ground on the left, the picture in a clean frame top-right, the presenter's hello. Text never sits on the picture.
|
|
4
|
-
|
|
4
|
+
brief: The default cover: the title beside the subject in a clean frame, the presenter's hello.
|
|
5
|
+
use: the first slide (the default cover); a section opener. Its .art is a placeholder check fails on: put in a picture of the real subject (a found photo: add_photo with for "hero", `hyperdecks photos add <id> --for hero`, deck_guide topic photos; or gen-image / generate_image) as <img class="art"> (its frame takes the picture's shape, so a 2:1 landscape to a 3:4 portrait shows whole beside the title; a picture wider than about 2:1, a panorama or a strip, takes class="art wide" and spans the slide above the title instead), or delete the div and the title takes the full frame with the presenter as the visual. Never lay the title over the picture; a picture faded behind it is hard to read (check warns). Other covers: cover-frame (the picture as a card under the title), cover-split (a hard 50/50, the picture edge to edge in its half), cover-band (the picture fills the slide, the title on a solid panel), cover-poster (the picture on top, the title below) and cover-type (type only). A caption (optional, any theme; not on an art wide): wrap the picture as <figure class="mount" data-caption="Where, when">…</figure>; short (about 40 characters), never the alt text.
|
|
5
6
|
slot: bottom-right
|
|
6
7
|
presenter: stage
|
|
7
|
-
nopresenter: With art, the picture
|
|
8
|
+
nopresenter: With art, the picture may grow to the full height of its column, keeping its shape. Delete the art and the line re-centres in the full frame.
|
|
8
9
|
cues: [wave] at the hello, [look: h1] when the narration says the title.
|
|
9
10
|
script: Hi, [wave] this is __TITLE__. [look: h1] One idea, in a few minutes.
|
|
10
11
|
-->
|
|
@@ -13,33 +14,50 @@ script: Hi, [wave] this is __TITLE__. [look: h1] One idea, in a few minutes.
|
|
|
13
14
|
.l-hero .content { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 28px; max-width: 980px; }
|
|
14
15
|
.l-hero .tt { font-size: var(--t-display); line-height: .9; }
|
|
15
16
|
/* With art: the title on the left on the slide's ground; the picture framed top-right, the presenter's corner below it. */
|
|
16
|
-
.l-hero:has(> .art) { display: grid; grid-template-columns: minmax(0, 1fr) 560px; grid-template-rows: minmax(0, 1fr); column-gap: 72px; }
|
|
17
|
-
.l-hero:has(> .art) .content { grid-column: 1; grid-row: 1; max-width: none; }
|
|
18
|
-
.l-hero:has(> .art) .tt { font-size: min(var(--t-display), 112px); }
|
|
17
|
+
.l-hero:has(> .art, > .mount) { display: grid; grid-template-columns: minmax(0, 1fr) 560px; grid-template-rows: minmax(0, 1fr); column-gap: 72px; }
|
|
18
|
+
.l-hero:has(> .art, > .mount) .content { grid-column: 1; grid-row: 1; max-width: none; }
|
|
19
|
+
.l-hero:has(> .art, > .mount) .tt { font-size: min(var(--t-display), 112px); }
|
|
19
20
|
/* A brand logo (applyBrand puts it first in the slide) heads the title column; the picture spans both rows. */
|
|
20
|
-
.l-hero:has(> .art):has(> .brand-logo) { grid-template-rows: auto minmax(0, 1fr); }
|
|
21
|
-
.l-hero:has(> .art) > .brand-logo { grid-column: 1; grid-row: 1; }
|
|
22
|
-
.l-hero:has(> .art):has(> .brand-logo) .content { grid-row: 2; }
|
|
23
|
-
.l-hero:has(> .art):has(> .brand-logo) .art { grid-row: 1 / -1; }
|
|
24
|
-
/* Swap the div for an <img class="art"> of your file (gen-image
|
|
25
|
-
|
|
26
|
-
|
|
21
|
+
.l-hero:has(> .art, > .mount):has(> .brand-logo) { grid-template-rows: auto minmax(0, 1fr); }
|
|
22
|
+
.l-hero:has(> .art, > .mount) > .brand-logo { grid-column: 1; grid-row: 1; }
|
|
23
|
+
.l-hero:has(> .art, > .mount):has(> .brand-logo) .content { grid-row: 2; }
|
|
24
|
+
.l-hero:has(> .art, > .mount):has(> .brand-logo) > :is(.art, .mount) { grid-row: 1 / -1; }
|
|
25
|
+
/* Swap the div for an <img class="art"> of your file (gen-image), or delete it for no art.
|
|
26
|
+
The frame takes the picture's own shape, so nothing is cropped and no band shows: at most the column's 560px wide and 420px tall (so it ends above the presenter's head),
|
|
27
|
+
at least 186px tall (a 3:1 strip) and 300px wide (a 3:4 portrait). Past those limits it crops (cover) to the limit. */
|
|
28
|
+
.l-hero .art { grid-column: 2; grid-row: 1; align-self: start; justify-self: end; display: block; width: auto; height: auto; max-width: 100%; max-height: 420px; min-width: 300px; min-height: 186px; margin-top: 8px; border: calc(4 * var(--line)) solid var(--ink); --frame-min: 280px; border-radius: min(calc(28 * var(--round)), var(--frame-min) / 8); object-fit: cover; 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); }
|
|
29
|
+
.on-ink.l-hero .art { border-color: var(--paper); 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); }
|
|
30
|
+
/* A wide picture (wider than about 2:1, class="art wide") does not sit in the corner column: it runs across the slide
|
|
31
|
+
above the title at its own shape, whole, as tall as its shape needs up to 380px, across the content width at
|
|
32
|
+
most (narrower, left-aligned with the title, when 380px is reached first); the title and lead under it. */
|
|
33
|
+
.l-hero:has(> .art.wide) { display: flex; flex-direction: column; justify-content: flex-start; gap: 36px; }
|
|
34
|
+
.l-hero:has(> .art.wide) .content { flex: none; justify-content: flex-start; max-width: 980px; }
|
|
35
|
+
.l-hero:has(> .art.wide) .tt { font-size: min(var(--t-display), 104px); }
|
|
36
|
+
.l-hero .art.wide { --frame-min: 186px; align-self: flex-start; width: auto; height: auto; max-width: 100%; max-height: 380px; min-width: 0; min-height: 0; margin-top: 0; }
|
|
37
|
+
/* A captioned picture (figure.mount) takes the art's place; the picture keeps its shape inside it. */
|
|
38
|
+
.l-hero > .mount { grid-column: 2; grid-row: 1; align-self: start; justify-self: end; align-items: flex-end; max-width: 100%; margin-top: 8px; }
|
|
39
|
+
.l-hero .mount > .art { margin-top: 0; }
|
|
27
40
|
/* Until then a labelled, hatched stand-in, so it reads as a slot to fill; check fails while it is here. */
|
|
28
|
-
.l-hero div.art { position: relative; background: var(--paper) repeating-linear-gradient(135deg, color-mix(in srgb, var(--ink) 10%, transparent) 0 2px, transparent 2px 22px); }
|
|
29
|
-
.l-hero div.art::after { content: "Art goes here"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 14px 26px; border:
|
|
41
|
+
.l-hero div.art { width: 100%; height: 420px; position: relative; background: var(--paper) repeating-linear-gradient(135deg, color-mix(in srgb, var(--ink) 10%, transparent) 0 2px, transparent 2px 22px); }
|
|
42
|
+
.l-hero div.art::after { content: "Art goes here"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 14px 26px; border: calc(3 * var(--line)) dashed var(--ink); border-radius: calc(16 * var(--round)); background: var(--paper); color: var(--ink); font: 700 24px var(--mono); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
|
|
30
43
|
@media (max-width: 650px) {
|
|
31
|
-
/* Phones: the picture above, the
|
|
32
|
-
|
|
33
|
-
.l-hero:has(> .art
|
|
44
|
+
/* Phones: the picture above, whole at its own shape: as wide as the card, or narrower when it reaches 300px tall
|
|
45
|
+
(a portrait); the title directly below it on the ground. */
|
|
46
|
+
.l-hero:has(> .art, > .mount) { display: flex; }
|
|
47
|
+
.l-hero:has(> .art, > .mount) .tt { font-size: var(--t-display); }
|
|
34
48
|
.l-hero .content { flex: none; justify-content: flex-start; gap: 16px; }
|
|
35
|
-
.l-hero .art { flex: none; height:
|
|
36
|
-
.
|
|
37
|
-
.l-hero
|
|
49
|
+
.l-hero .art { flex: none; width: auto; height: auto; max-width: 100%; max-height: 300px; min-width: 0; min-height: 0; margin-top: 0; border-width: calc(2 * var(--line)); --frame-min: 167px; border-radius: min(calc(16 * var(--round)), var(--frame-min) / 8); 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); }
|
|
50
|
+
.l-hero .art.wide { --frame-min: 83px; }
|
|
51
|
+
.on-ink.l-hero .art { 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); }
|
|
52
|
+
.l-hero div.art { width: 100%; height: 240px; }
|
|
53
|
+
.l-hero:has(> .art.wide) { justify-content: safe center; }
|
|
54
|
+
.l-hero div.art::after { padding: 8px 14px; border-width: calc(2 * var(--line)); font-size: 13px; }
|
|
38
55
|
}
|
|
39
56
|
/* No presenter (:root.hd-no-presenter: no face and no captions, deck_guide look): the corner is free. Phones keep this layout's rules. */
|
|
40
57
|
@media (min-width: 651px) {
|
|
41
|
-
:root.hd-no-presenter .l-hero:has(> .art) .art { align-self:
|
|
42
|
-
:root.hd-no-presenter .l-hero:
|
|
58
|
+
:root.hd-no-presenter .l-hero:has(> .art, > .mount) .art:not(.wide) { align-self: center; max-height: 100%; margin-top: 0; }
|
|
59
|
+
:root.hd-no-presenter .l-hero:has(> .art, > .mount) div.art { align-self: stretch; height: auto; }
|
|
60
|
+
:root.hd-no-presenter .l-hero:not(:has(> .art, > .mount)) .content { align-self: center; align-items: center; text-align: center; max-width: 1200px; }
|
|
43
61
|
}
|
|
44
62
|
</style>
|
|
45
63
|
<section class="slide on-accent l-hero" id="__ID__" data-chapter="Hello" data-note="Title slide: no facts.">
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
layout: lanes
|
|
3
|
+
summary: Two or three actors in parallel rows over the same three to five steps, each step a chip in the row of whoever does it: who does what, and when.
|
|
4
|
+
brief: Two or three actors in parallel rows over the same steps: who does what.
|
|
5
|
+
says: who does what
|
|
6
|
+
needs: 2 to 3 actors and the steps they share
|
|
7
|
+
use: a handoff between people and a product, you and the agent and the viewer, a team's roles. Each .lane is a row: its .who, then one cell per step, a .chip where that actor acts and an empty <i></i> where they do not. Set the number of steps as --steps on .lanes (4 by default; 5 at most). Each actor a word, each chip two to four words. A large presenter: data-presenter-size="l" or "xl" on this slide's own section tag (not the player tag) narrows the rows, clear of the presenter.
|
|
8
|
+
slot: bottom-right
|
|
9
|
+
presenter: stage
|
|
10
|
+
nopresenter: The rows take the full width of the slide.
|
|
11
|
+
cues: [look: #__ID__-lanes] as the narration names the actors; [go: #__ID__-c1] at a step it names, then [go: slot].
|
|
12
|
+
script: You ask, [go: #__ID__-c1] the agent writes it and narrates it, [go: #__ID__-c3] and then they watch. [go: slot]
|
|
13
|
+
-->
|
|
14
|
+
<style>
|
|
15
|
+
/* The actors down the left, the steps across, in a grid that ends left of the presenter's corner (the stage presenter at
|
|
16
|
+
m reaches 1064px across). Each .lane is display: contents, so its cells line up with every other lane's. The actors'
|
|
17
|
+
column fits the actor's names up to 220px (wrapping between words), each step's column at least its longest word
|
|
18
|
+
(min-content): words never break. */
|
|
19
|
+
.l-lanes .lanes { --steps: 4; flex: 1; min-height: 0; display: grid; grid-template-columns: fit-content(220px) repeat(var(--steps), minmax(min-content, 1fr)); grid-auto-rows: minmax(0, 140px); align-content: center; gap: 16px; max-width: 980px; }
|
|
20
|
+
.l-lanes .lane { display: contents; }
|
|
21
|
+
.l-lanes .who { display: flex; align-items: center; padding-right: 8px; font-family: var(--mono); font-size: var(--t-label); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border-right: calc(3 * var(--line)) solid currentColor; }
|
|
22
|
+
.l-lanes .chip { display: flex; align-items: center; padding: 14px 18px; border: calc(3 * var(--line)) solid var(--ink); border-radius: calc(18 * var(--round)); background: var(--card); color: var(--ink); font-size: var(--t-body); font-weight: 700; line-height: 1.15; min-width: 0; box-shadow: calc(6 * var(--drop-x)) calc(6 * var(--drop-y)) calc(6 * var(--drop-blur)) color-mix(in srgb, var(--ink) var(--drop-mix), transparent); }
|
|
23
|
+
.l-lanes .lane:nth-child(1) .chip { background: var(--accent); color: var(--accent-ink); }
|
|
24
|
+
.l-lanes .lane:nth-child(3) .chip { background: var(--tint-2); }
|
|
25
|
+
.on-accent.l-lanes .lane:nth-child(1) .chip { background: var(--ink); color: var(--paper); }
|
|
26
|
+
@media (max-width: 650px) {
|
|
27
|
+
/* A phone: one block per actor, its name across the top and its chips in order beside each other, wrapping; the
|
|
28
|
+
empty steps drop out. No column is too narrow for a word. */
|
|
29
|
+
.l-lanes .lanes { flex: none; display: flex; flex-direction: column; gap: 10px; max-width: none; }
|
|
30
|
+
.l-lanes .lane { display: flex; flex-wrap: wrap; gap: 5px; }
|
|
31
|
+
.l-lanes .lane > i { display: none; }
|
|
32
|
+
.l-lanes .who { flex-basis: 100%; padding: 0 0 2px; border-right: 0; border-bottom: calc(2 * var(--line)) solid currentColor; }
|
|
33
|
+
.l-lanes .chip { padding: 6px 10px; border-width: calc(2 * var(--line)); border-radius: calc(8 * var(--round)); font-size: var(--t-label); box-shadow: calc(3 * var(--drop-x)) calc(3 * var(--drop-y)) calc(3 * var(--drop-blur)) color-mix(in srgb, var(--ink) var(--drop-mix), transparent); }
|
|
34
|
+
}
|
|
35
|
+
/* A large presenter (data-presenter-size l or xl on this slide's section tag). */
|
|
36
|
+
@media not all and (max-width: 650px) {
|
|
37
|
+
.l-lanes[data-presenter-size="l"] :is(.lanes, .tt) { max-width: 830px; }
|
|
38
|
+
.l-lanes[data-presenter-size="xl"] :is(.lanes, .tt) { max-width: 680px; }
|
|
39
|
+
.l-lanes[data-presenter-size="xl"] .lanes { gap: 10px; }
|
|
40
|
+
.l-lanes:is([data-presenter-size="l"], [data-presenter-size="xl"]) .who { --icon: 48; }
|
|
41
|
+
.l-lanes[data-presenter-size="xl"] .chip { padding: 10px 10px; font-size: var(--t-label); }
|
|
42
|
+
}
|
|
43
|
+
/* No presenter (:root.hd-no-presenter: no face and no captions, deck_guide look): the corner is free. Phones keep this layout's rules. */
|
|
44
|
+
@media (min-width: 651px) {
|
|
45
|
+
:root.hd-no-presenter .l-lanes :is(.lanes, .tt) { max-width: none; }
|
|
46
|
+
}
|
|
47
|
+
/* Icon slot (optional): an icon before each actor's name (hyperdecks icons search <word> --for lanes). */
|
|
48
|
+
.l-lanes .who { --icon: 64; gap: 12px; }
|
|
49
|
+
.on-accent.l-lanes .who { --icon-fill: var(--icon-tile-accent, var(--card)); --icon-fg: var(--icon-ink-accent, var(--ink)); }
|
|
50
|
+
@media (max-width: 650px) {
|
|
51
|
+
.l-lanes .who { --icon: 36; gap: 8px; }
|
|
52
|
+
}
|
|
53
|
+
</style>
|
|
54
|
+
<section class="slide l-lanes" id="__ID__" data-chapter="Who does what" data-note="Source: where each step is described (the docs, the product).">
|
|
55
|
+
<div class="kicker">Who does what</div>
|
|
56
|
+
<h2 class="tt" data-title-mobile="You, the agent, them.">You ask. The agent works. They watch.</h2>
|
|
57
|
+
<div class="lanes" id="__ID__-lanes">
|
|
58
|
+
<div class="lane"><b class="who">You</b><span class="chip" id="__ID__-c1">Ask for a deck</span><i></i><span class="chip">Pick the voice</span><i></i></div>
|
|
59
|
+
<div class="lane"><b class="who">Agent</b><i></i><span class="chip" id="__ID__-c2">Writes the slides</span><span class="chip">Narrates</span><span class="chip">Sends links</span></div>
|
|
60
|
+
<div class="lane"><b class="who">Them</b><i></i><i></i><i></i><span class="chip" id="__ID__-c3">Watch and ask</span></div>
|
|
61
|
+
</div>
|
|
62
|
+
<div class="narration-slot"></div>
|
|
63
|
+
</section>
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
layout: loop
|
|
3
|
+
summary: Three to five stages around a ring that comes back to its start, the first in the accent: a cycle, a flywheel, a habit.
|
|
4
|
+
brief: Three to five stages around a ring that comes back to its start.
|
|
5
|
+
says: it repeats
|
|
6
|
+
needs: 3 to 5 stages
|
|
7
|
+
use: a feedback loop, a flywheel, a weekly routine, a review cycle. The stages (the <li>s in .ring's list) go clockwise from the top; each name a word or two, each line under about 25 characters. A large presenter: data-presenter-size="l" or "xl" on this slide's own section tag (not the player tag) puts the ring under the title and sizes it to fit, clear of the presenter.
|
|
8
|
+
slot: bottom-right
|
|
9
|
+
presenter: stage
|
|
10
|
+
nopresenter: The ring grows into the free corner.
|
|
11
|
+
cues: [look: #__ID__-ring] as the narration says it goes round; [go: #__ID__-s1] at the first stage and the others in turn, then [go: slot].
|
|
12
|
+
script: Every deck goes round again. [look: #__ID__-ring] You send it, [go: #__ID__-s2] see where they stopped, [go: #__ID__-s3] ask for a change, and [go: #__ID__-s4] the agent makes it. [go: slot]
|
|
13
|
+
-->
|
|
14
|
+
<style>
|
|
15
|
+
/* The title and a line beside a square ring that ends left of the presenter's corner (the stage presenter at m reaches
|
|
16
|
+
1064px across). Each stage sits on the ring, clockwise from the top (--k of --n, by CSS trigonometry), its card
|
|
17
|
+
(40% wide at most, less with five stages, centred 30% out) inside the ring's square; each name sized to its card
|
|
18
|
+
(cqi) so a word of about 13 letters fits whole. */
|
|
19
|
+
.l-loop { display: grid; grid-template-columns: 380px minmax(0, 600px); grid-template-rows: auto auto 1fr; column-gap: 0; align-content: center; }
|
|
20
|
+
.l-loop > :is(.kicker, .tt, .lead) { grid-column: 1; }
|
|
21
|
+
.l-loop .tt { font-size: var(--t-sub); }
|
|
22
|
+
.l-loop .lead { align-self: start; font-size: var(--t-lead); line-height: 1.3; }
|
|
23
|
+
.l-loop .ring > ol { display: contents; list-style: none; }
|
|
24
|
+
.l-loop .ring { --n: 3; grid-column: 2; grid-row: 1 / 4; position: relative; align-self: center; width: min(100% - 48px, 600px); aspect-ratio: 1; margin-left: 48px; }
|
|
25
|
+
.l-loop .ring:has(li:nth-child(4)) { --n: 4; }
|
|
26
|
+
.l-loop .ring:has(li:nth-child(5)) { --n: 5; }
|
|
27
|
+
/* The ring: a dashed circle, painted (it shows in a theme with no outlines too). */
|
|
28
|
+
.l-loop .ring::before { content: ""; position: absolute; inset: 15%; border-radius: 50%; background: radial-gradient(closest-side, transparent calc(100% - 5px), color-mix(in srgb, currentColor 45%, transparent) calc(100% - 5px) 100%, transparent 100%); -webkit-mask: repeating-conic-gradient(black 0 7deg, transparent 7deg 11deg); mask: repeating-conic-gradient(black 0 7deg, transparent 7deg 11deg); }
|
|
29
|
+
.l-loop .turn { position: absolute; left: 50%; top: 50%; width: 22%; height: 22%; translate: -50% -50%; color: color-mix(in srgb, currentColor 30%, transparent); }
|
|
30
|
+
.l-loop .ring li { --k: 0; position: absolute; left: calc(50% + 30% * sin(360deg * var(--k) / var(--n))); top: calc(50% - 30% * cos(360deg * var(--k) / var(--n))); translate: -50% -50%; width: min(40%, 170% / var(--n)); container-type: inline-size; display: flex; flex-direction: column; gap: 4px; padding: 16px 20px; border: calc(3 * var(--line)) solid var(--ink); border-radius: calc(20 * var(--round)); background: var(--card); color: var(--ink); text-align: center; box-shadow: calc(6 * var(--drop-x)) calc(6 * var(--drop-y)) calc(6 * var(--drop-blur)) color-mix(in srgb, var(--ink) var(--drop-mix), transparent); }
|
|
31
|
+
.l-loop .ring li:nth-child(2) { --k: 1; } .l-loop .ring li:nth-child(3) { --k: 2; } .l-loop .ring li:nth-child(4) { --k: 3; } .l-loop .ring li:nth-child(5) { --k: 4; }
|
|
32
|
+
.l-loop .ring li:first-child { background: var(--accent); color: var(--accent-ink); }
|
|
33
|
+
.on-accent.l-loop .ring li:first-child { background: var(--ink); color: var(--paper); }
|
|
34
|
+
.l-loop .ring b { font-size: min(var(--t-lead), 12cqi); line-height: 1.05; letter-spacing: -.02em; }
|
|
35
|
+
.l-loop .ring p { font-size: var(--t-label); line-height: 1.3; }
|
|
36
|
+
@media (max-width: 650px) {
|
|
37
|
+
.l-loop { display: flex; }
|
|
38
|
+
.l-loop .tt { font-size: var(--t-title); }
|
|
39
|
+
.l-loop .lead { font-size: var(--t-body); }
|
|
40
|
+
/* A phone: the stages as a list in order, the cycle mark after the last (back to the start); the ring is too small
|
|
41
|
+
there for a long name. */
|
|
42
|
+
.l-loop .ring { width: 100%; aspect-ratio: auto; margin: 6px 0 0; flex: none; display: flex; flex-direction: column; gap: 6px; }
|
|
43
|
+
.l-loop .ring > ol { display: flex; flex-direction: column; gap: 6px; }
|
|
44
|
+
.l-loop .ring::before { content: none; }
|
|
45
|
+
.l-loop .ring li { position: static; translate: none; width: auto; gap: 1px; padding: 8px 12px; text-align: start; border-width: calc(2 * var(--line)); border-radius: calc(10 * var(--round)); box-shadow: calc(3 * var(--drop-x)) calc(3 * var(--drop-y)) calc(3 * var(--drop-blur)) color-mix(in srgb, var(--ink) var(--drop-mix), transparent); }
|
|
46
|
+
.l-loop .ring b { font-size: var(--t-body); }
|
|
47
|
+
.l-loop .ring p { font-size: var(--t-label); }
|
|
48
|
+
.l-loop .turn { position: static; translate: none; width: 28px; height: 28px; align-self: center; }
|
|
49
|
+
}
|
|
50
|
+
/* A large presenter (data-presenter-size l or xl on this slide's section tag): the ring goes under the title, as large as
|
|
51
|
+
the height left allows. */
|
|
52
|
+
@media not all and (max-width: 650px) {
|
|
53
|
+
.l-loop:is([data-presenter-size="l"], [data-presenter-size="xl"]) { display: flex; }
|
|
54
|
+
.l-loop:is([data-presenter-size="l"], [data-presenter-size="xl"]) .ring { flex: 1 1 0; min-height: 0; width: auto; max-width: 830px; margin: 8px 0 0; align-self: flex-start; }
|
|
55
|
+
.l-loop[data-presenter-size="l"] :is(.tt, .lead) { max-width: 830px; }
|
|
56
|
+
.l-loop[data-presenter-size="xl"] :is(.tt, .lead, .ring) { max-width: 680px; }
|
|
57
|
+
.l-loop:is([data-presenter-size="l"], [data-presenter-size="xl"]) .ring li { padding: 10px 12px; }
|
|
58
|
+
.l-loop:is([data-presenter-size="l"], [data-presenter-size="xl"]) .ring b { font-size: min(var(--t-body), 12cqi); }
|
|
59
|
+
}
|
|
60
|
+
/* No presenter (:root.hd-no-presenter: no face and no captions, deck_guide look): the corner is free. Phones keep this layout's rules. */
|
|
61
|
+
@media (min-width: 651px) {
|
|
62
|
+
:root.hd-no-presenter .l-loop:not([data-presenter-size="l"], [data-presenter-size="xl"]) { grid-template-columns: 440px minmax(0, 720px); justify-content: center; }
|
|
63
|
+
:root.hd-no-presenter .l-loop:not([data-presenter-size="l"], [data-presenter-size="xl"]) .ring { width: min(100% - 48px, 700px); }
|
|
64
|
+
:root.hd-no-presenter .l-loop:is([data-presenter-size="l"], [data-presenter-size="xl"]) :is(.tt, .lead, .ring) { max-width: none; }
|
|
65
|
+
}
|
|
66
|
+
</style>
|
|
67
|
+
<section class="slide l-loop" id="__ID__" data-chapter="How it works" data-note="Source: where each stage is described (the docs, the product).">
|
|
68
|
+
<div class="kicker">The edit loop</div>
|
|
69
|
+
<h2 class="tt" data-title-mobile="It goes round.">Every deck goes round again.</h2>
|
|
70
|
+
<p class="lead">Each pass starts from what people actually watched.</p>
|
|
71
|
+
<div class="ring figure" id="__ID__-ring">
|
|
72
|
+
<ol>
|
|
73
|
+
<li id="__ID__-s1"><b>Send</b><p>A link per person.</p></li>
|
|
74
|
+
<li id="__ID__-s2"><b>Watch</b><p>See where they stopped.</p></li>
|
|
75
|
+
<li id="__ID__-s3"><b>Ask</b><p>“Shorten slide four.”</p></li>
|
|
76
|
+
<li id="__ID__-s4"><b>Fix</b><p>The agent edits it.</p></li>
|
|
77
|
+
</ol>
|
|
78
|
+
<svg class="turn" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8"/><path d="M21 3v5h-5"/><path d="M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16"/><path d="M8 16H3v5"/></svg>
|
|
79
|
+
</div>
|
|
80
|
+
<div class="narration-slot"></div>
|
|
81
|
+
</section>
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<!--
|
|
2
2
|
layout: number
|
|
3
3
|
summary: One big number, what it measures and its source. The number is the slide.
|
|
4
|
+
brief: One big number, what it measures and its source.
|
|
4
5
|
use: proof, traction, a before/after delta. Never an estimate shown as fact: the source line is required.
|
|
5
6
|
slot: bottom-right
|
|
6
7
|
presenter: stage
|
|
@@ -10,7 +11,7 @@ script: Here is the number that matters. [look: #__ID__-figure] Three times fast
|
|
|
10
11
|
-->
|
|
11
12
|
<style>
|
|
12
13
|
.l-number .content { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 20px; max-width: 980px; }
|
|
13
|
-
.l-number .figure { font-weight: 700; font-size: 300px; line-height: .82; letter-spacing: -.06em; color: var(--accent); }
|
|
14
|
+
.l-number .figure { font-family: var(--display, var(--font)); font-weight: var(--display-weight, 700); font-style: var(--display-style); font-synthesis: none; font-size: calc(300px * var(--display-scale)); line-height: .82; letter-spacing: -.06em; color: var(--accent); }
|
|
14
15
|
.l-number .figure small { font-size: .45em; letter-spacing: -.02em; margin-left: 8px; }
|
|
15
16
|
.l-number .tt { font-size: var(--t-sub); line-height: 1.02; max-width: 15em; }
|
|
16
17
|
.l-number .source { font: var(--t-label)/1.4 var(--mono); }
|