From 142fb8dcf4a7b113451e1aa848cbb7a021b28d22 Mon Sep 17 00:00:00 2001 From: Alex Dunmow Date: Sun, 22 Nov 2026 18:35:04 +0800 Subject: [PATCH] fix: website factory launch run defects (0.4.5) Footer contact details, eyebrow alignment, long headlines, scrims and grid rows found by the WO-101 render pass; see docs/adr. Co-Authored-By: Claude Opus 5.5 --- ...entred-hero-centres-its-rule-and-buttons.md | 18 ++++++++++++++++++ manifest.yaml | 3 +++ plugin.mod | 2 +- templates/overrides/scifi-clean/hero.ninjatpl | 2 +- 4 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 docs/adr/0004-the-centred-hero-centres-its-rule-and-buttons.md diff --git a/docs/adr/0004-the-centred-hero-centres-its-rule-and-buttons.md b/docs/adr/0004-the-centred-hero-centres-its-rule-and-buttons.md new file mode 100644 index 0000000..bada030 --- /dev/null +++ b/docs/adr/0004-the-centred-hero-centres-its-rule-and-buttons.md @@ -0,0 +1,18 @@ +# The centred hero centres its rule and buttons + +Decided 2026-11-22 for scifi-clean 0.4.5, from the website factory's launch runs (orchestrator WO-101, ADR 0092). + +## Context + +The website factory now builds a hero that has no photo as the centred hero (orchestrator ADR 0092); it used the left-aligned one, which kept the text to 60 characters at the left and left the right half of the hero empty (Sentinel Lynx). The first rebuilt site showed the centred hero's buttons still at the left under centred text. + +## Decision + +- The centred hero (every variant but left-aligned) carries `sc-hero--center`, which centres the schematic rule, the button row and the trust logo row with its text. The rule sets its margin inline, so the centring rule overrides it. + +## Consequences + +- scifi-clean 0.4.5 is published to the dev registry; the orchestrator's `internal/factory/themes.yaml` pins it. +- No schema field changes. Production sites on this theme pick the change up with the automatic theme update; the regression check for sites the factory did not build compared the production release with 0.4.5 (orchestrator `docs/works/evidence/WO-101/theme-regression/`). + +Keywords: hero, centered, sc-hero--center, sc-btn-row, sc-logo-row, sc-schematic, WO-101, website factory, launch runs, scifi-clean diff --git a/manifest.yaml b/manifest.yaml index 51b2af4..fe70c6e 100644 --- a/manifest.yaml +++ b/manifest.yaml @@ -201,6 +201,9 @@ css: .sc-btn-sm { padding: 0.375rem 0.875rem; font-size: 0.875rem; } .sc-btn-lg { padding: 0.875rem 1.75rem; font-size: 1.0625rem; } .sc-btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; } + /* The centred hero centres its rule, buttons and logos with its text; the rule sets its margin inline. */ + .sc-hero--center .sc-btn-row, .sc-hero--center .sc-logo-row { justify-content: center; } + .sc-hero--center .sc-schematic { margin-left: auto !important; margin-right: auto !important; } .sc-icon { width: 1em; height: 1em; display: inline-block; vertical-align: -0.125em; } /* --- Surfaces / cards --- */ diff --git a/plugin.mod b/plugin.mod index 6d59285..98d6f65 100644 --- a/plugin.mod +++ b/plugin.mod @@ -2,7 +2,7 @@ name = "scifi-clean" display_name = "Sci-Fi Clean" scope = "@themes" -version = "0.4.4" +version = "0.4.5" description = "Minimalist futurist theme for aerospace, robotics, and R&D — off-white surfaces, technical blue, signal-orange accents, mono numerals." kind = "theme" categories = ["templates"] diff --git a/templates/overrides/scifi-clean/hero.ninjatpl b/templates/overrides/scifi-clean/hero.ninjatpl index 80ebc55..9484123 100644 --- a/templates/overrides/scifi-clean/hero.ninjatpl +++ b/templates/overrides/scifi-clean/hero.ninjatpl @@ -22,5 +22,5 @@ {% if variant == "split" %}
{{ herobody() }}
{% if backgroundImage %}
{% img backgroundImage alt=headlineText class="sc-hero-media" %}
{% endif %}
{% else %} -
{{ herobody() }}
+
{{ herobody() }}
{% endif %}