Skip to content

refactor(kit): an sd-europe layout, the sovereignty deck on kit classes (160 → 30 style=) - #24

Merged
schwarztrinker merged 1 commit into
mainfrom
refactor/sd-europe-kit
Nov 11, 2026
Merged

schwarztrinker merged 1 commit into
mainfrom
refactor/sd-europe-kit

Conversation

@schwarztrinker

Copy link
Copy Markdown
Contributor

What changed

  • site/shared/stardelt.css — new sd-europe layout (blue gradient, yellow kicker, light lead), sd-row, sd-stars, sd-gold; the sd-twinkle keyframes and .sd-star rule moved here unchanged from the two decks' <head>.
  • site/sovereignty/index.html — all 15 slides rebuilt on kit classes (sd-cover, sd-europe, sd-cards, sd-quote, sd-figure, sd-steps); the <style> block is gone; style= went from 160 to 30 (24 star delays, 3 backgrounds on trump/portable/before, 3 icon colours on anywhere).
  • site/platform/index.html — #own is sd-quote with a gold second line, #europe and #together are sd-europe with sd-row/sd-stars; the copied <style> block is gone.
  • site/kit/index.html — one sd-europe slide to copy from.

Text and speaker notes are word for word; only classes and the three allowed backgrounds moved.

Checks

$ npm run check                     => ok: 8 deck(s)
$ grep -o 'style=' site/sovereignty/index.html | wc -l   => 30
$ grep -c 'style=' site/sovereignty/index.html           => 8      (lines; the star <svg> is one line)
$ grep -c '<style' site/*/index.html                     => 0 for all eight decks
$ node -e "getComputedStyle(document.querySelector('.sd-star')).animationName"
  sovereignty / platform / kit     => "sd-twinkle", 3.2s, 24 / 24 / 12 stars

Headless Chromium at 1920×1080 with every fragment shown: all 15 sovereignty slides, the 11 kit slides and platform #own/#europe/#together report docW=1920 docH=1080 outside=0 (no element of the current slide outside the 1920×1080 box). Before/after pairs are attached to #21.

Deviations from the ticket (all small, each one needed for the ticket's own intent)

  1. .sd-gold is written .reveal .sd .sd-gold, not .reveal .sd-gold: the ticket's selector (0,2,0) loses to .reveal .sd .sd-lead (0,3,0), so "second line sd-lead sd-gold" would not have been gold.
  2. sd-steps prints its own counter, so a step whose number is content (before, the years) needs .sd-steps .sd-num sizing and .sd-steps > div:has(.sd-num)::before { content: none; }. Without the second rule the slide shows "1 1954".
  3. .reveal .sd.sd-europe .sd-row > div { flex: 1; gap: 36px; } — the text column of the EU row; without it kicker, headline and lead touch.
  4. The ≤30 budget is exactly spent (24+3+3), so the dim grey is gone from the licence table's middle column and the nolegacy "left behind" column; the strike-through is kept with <s>. A kit .sd-mute utility would restore it — follow-up issue.

Visible changes beyond pixel spacing

The kit layouts are stricter than the hand-written styles: lockin's four cards sit in one row (kit sd-cards) instead of 2×2, trump's cards lose the gold top border and its kickers are kit blue, portable's kicker is sd-kicker sd-gold (kit blue on #4f5ff0 is unreadable), freedom and platform #own/portable are quote layouts (64px blockquote, left-aligned) instead of 96–120px centred lines, and close's stars are 520px (kit size) instead of 380px. Screenshots: #21.

Refs #21

…lasses

The sovereignty deck carried 160 inline style attributes and a <style>
block in its <head>. It now uses the kit layouts: sd-cover, sd-europe,
sd-cards, sd-quote, sd-figure and sd-steps, with sd-gold for the yellow
emphasis. The EU look (blue gradient, yellow kicker, twelve twinkling
stars) moves to shared/stardelt.css as sd-europe, and the kit gains a
slide to copy from.

Refs #21
Copilot AI lite review requested due to automatic review settings November 10, 2026 23:58

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@schwarztrinker
schwarztrinker merged commit 4a888a0 into main Nov 11, 2026
1 check passed
@schwarztrinker
schwarztrinker deleted the refactor/sd-europe-kit branch November 11, 2026 00:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants