From af67ff8a079bf92a01a462fbb525eddb348eefc1 Mon Sep 17 00:00:00 2001 From: Lukasz Kasprzak Date: Wed, 29 Jul 2026 14:37:23 +0200 Subject: web: move lectionary + mono to settings only; make reader link prominent Lectionary becomes settings-only (kept as a hidden field so readings/export/calendar still use the configured value); mono toggle removed (settings has it). The reader link is uppercased + bold as the primary action. --- internal/web/static/base.css | 7 +++++++ internal/web/templates/index.html | 16 ++++------------ 2 files changed, 11 insertions(+), 12 deletions(-) (limited to 'internal/web') diff --git a/internal/web/static/base.css b/internal/web/static/base.css index 3a240b2..757e935 100644 --- a/internal/web/static/base.css +++ b/internal/web/static/base.css @@ -100,6 +100,13 @@ body.mono { font-size: 0.85rem; text-decoration: none; } +/* The reader entry point is the primary action here -- make it stand out. */ +.nav-reader { + text-transform: uppercase; + font-weight: bold; + font-size: 1rem; + letter-spacing: 0.04em; +} .chap-nav { display: inline-flex; align-items: center; diff --git a/internal/web/templates/index.html b/internal/web/templates/index.html index 50ffdac..3379dc1 100644 --- a/internal/web/templates/index.html +++ b/internal/web/templates/index.html @@ -41,12 +41,9 @@ function stepDate(n){ - + {{/* Lectionary is a setting now (see /settings), carried as a hidden field so + the readings, export and month-calendar links still use it. */}} + {{range .VersionOpts}} @@ -66,17 +63,12 @@ function stepDate(n){ - - {{/* mono lives in the form but stops its change from bubbling, so toggling - it flips the body class without refetching the readings. */}} - {{/* Utility links, pinned to the top-right (see #controls / .controls-side). The export URLs are built from the live control values at click time. */}} - {{.L.NavReader}} → + {{.L.NavReader}} → {{.L.NavSettings}} {{.L.Export}}: txt -- cgit v1.3