From 5fb521e89ee15edde3466ea52c502219a3b47570 Mon Sep 17 00:00:00 2001 From: Phil Date: Thu, 12 Nov 2026 13:28:19 -0700 Subject: [PATCH] style: header and footer share one 60rem frame on public and admin pages (v2.18.2) Co-Authored-By: Claude Opus 5.5 --- CHANGELOG.md | 3 +++ static/css/style.css | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 368f7da..e5e4e6d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed - Public pages are wider: 48rem instead of 40rem (about 85 characters per line at the reading font). Admin pages stay at 60rem. +- The site header (title, menu, search) and footer are 60rem wide on every + page, so they sit in the same place on public and admin pages; only the + content column differs. ## [2.18.1] - 2026-11-12 diff --git a/static/css/style.css b/static/css/style.css index bec72d1..3d0e572 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -8,7 +8,7 @@ --font-reading: Charter, 'Bitstream Charter', 'Sitka Text', Cambria, 'Noto Serif', Georgia, serif; --font-mono: ui-monospace, 'SF Mono', Monaco, Consolas, 'Liberation Mono', monospace; --spacing-xs: 0.25rem; --spacing-sm: 0.5rem; --spacing-md: 1rem; --spacing-lg: 2rem; --spacing-xl: 4rem; - --max-width: 48rem; --border-radius: 6px; + --max-width: 48rem; --frame-width: 60rem; --border-radius: 6px; } @media (prefers-color-scheme: dark) { @@ -40,6 +40,9 @@ pre code { padding: 0; background: none; } /* Page frame */ .site-header, main, .site-footer { width: 100%; max-width: var(--max-width); margin-left: auto; margin-right: auto; } +/* Header and footer share one width on every page, public and admin (v2.18.2); + only the content column (main) differs: 48rem to read, 60rem for admin tables. */ +.site-header, .site-footer { max-width: var(--frame-width); } main { flex: 1; margin-bottom: var(--spacing-xl); } .site-header {