From f6616a5863e15ca3dff664ec82e9ddf2123906e6 Mon Sep 17 00:00:00 2001 From: jwright Date: Tue, 25 Aug 2026 19:07:48 +1000 Subject: [PATCH] learn site: one shared masthead for every page The three pages had each grown their own tokens, type scale and alignment, so the openings looked like three different sites. The document shell now owns the masthead family - tokens, centred masthead, eyebrow, title, lede, fact strip, scroll cue and the index component - and the pages carry only their content. The Mirror gains the section index the arc has, drops its duplicate technical footer, and its title now uses the same magenta accent instead of a one-off gradient. --- pilot/assemble-arc.mjs | 53 +++++++++++++++++++++++++++++ pilot/index.tpl.html | 40 +++++----------------- pilot/mirror.tpl.html | 75 ++++++++++++------------------------------ 3 files changed, 83 insertions(+), 85 deletions(-) diff --git a/pilot/assemble-arc.mjs b/pilot/assemble-arc.mjs index 3eb36e2..7596312 100644 --- a/pilot/assemble-arc.mjs +++ b/pilot/assemble-arc.mjs @@ -57,6 +57,58 @@ function jpegSize(buf) { // skip link: emitted by the shared shell, so its accessibility CSS lives in the shell // too - visually hidden until keyboard focus, visible and prominent when focused. + +// --------------------------------------------------------------------------- +// Shared masthead: ONE opening treatment for every page on the site. Pages used +// to declare their own tokens, type scale and alignment, which is why the three +// headers drifted apart. This block owns the family - tokens, the centred +// masthead, eyebrow, title, lede and scroll cue - and pages simply use it. +// --------------------------------------------------------------------------- +const MAST_CSS = ``; + const SKIP_CSS = ` -
- +

bztmon · the teaching lab

-

Taken apart, on purpose.

-

Scroll-driven teardowns of machinery this lab actually runs. Each chapter is one - system, exploded - the diagrams move while the words explain them, and every claim traces back to - a running estate: configs lifted from the fleet, incidents told with their receipts.

-
+

Infrastructure is easier to trust
when you can see it come apart.

+

Scroll-driven teardowns of machinery this lab actually runs. Each chapter is + one system, exploded - the diagrams move while the words explain them, and every claim traces + back to a running estate: configs lifted from the fleet, incidents told with their receipts.

+
Chapters live
02
Subject
container platforms
-
Evidence
labelled, per claim
+
Evidence
labelled per claim
+