From 22988f7e69a8a495845876db1a3e5bd66fc7eb5b Mon Sep 17 00:00:00 2001 From: Patrick Niebeling Date: Thu, 12 Nov 2026 10:08:57 +0100 Subject: [PATCH] Move theme switch into brand row and center nav links on phones Co-Authored-By: Claude Sonnet 5.5 --- webroot/css/plenario.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/webroot/css/plenario.css b/webroot/css/plenario.css index e6d040f..9c1b017 100644 --- a/webroot/css/plenario.css +++ b/webroot/css/plenario.css @@ -123,6 +123,12 @@ h3 { font-size: 1.05rem; margin-top: 1.6em; } .site-nav { display: flex; gap: 20px; font-size: .95rem; } .site-nav a { color: var(--muted); text-decoration: none; } .site-nav a:hover { color: var(--text); } +/* Phone: brand and tools share the first row, the links sit centered below. */ +@media (max-width: 640px) { + .site-header__inner { gap: 0 16px; } + .site-header__inner .header-tools { order: 2; } + .site-header__inner .site-nav { order: 3; flex-basis: 100%; justify-content: center; padding-bottom: 12px; } +} .site-footer { padding: 24px 16px; color: var(--muted); font-size: .85rem; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }