diff options
| author | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-07-23 16:13:56 +0200 |
|---|---|---|
| committer | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-07-23 16:13:56 +0200 |
| commit | 36d87e27019fce743e63be87222e987510863e6f (patch) | |
| tree | b5cffac3c1aa417fa24da79a99b6da85828fceb3 /internal/web/static/base.css | |
| parent | 90c8dfc6cc3ab4b6b78feec5f738beeb41fb9605 (diff) | |
| download | lectio-36d87e27019fce743e63be87222e987510863e6f.tar.gz lectio-36d87e27019fce743e63be87222e987510863e6f.zip | |
web: remove deus_vult theme; add global monospace toggle (web_mono config + top-bar 'mono')
Diffstat (limited to 'internal/web/static/base.css')
| -rw-r--r-- | internal/web/static/base.css | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/internal/web/static/base.css b/internal/web/static/base.css index 776c934..59c67aa 100644 --- a/internal/web/static/base.css +++ b/internal/web/static/base.css @@ -13,6 +13,7 @@ * (the ONE sanctioned type override; base.css still owns sizing/spacing). */ --font-reading: var(--theme-font, Georgia, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif); --font-ui: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; + --font-mono: ui-monospace, "Cascadia Code", "SF Mono", "Roboto Mono", Menlo, Consolas, monospace; --measure: 42rem; --space-1: 0.5rem; --space-2: 1rem; @@ -39,6 +40,13 @@ body { color: var(--fg); } +/* Global monospace reading toggle (config web_mono / the "mono" top-bar + * checkbox): forces the reading face to mono over whatever the theme uses, + * for any theme. UI chrome (--font-ui) is untouched. */ +body.mono { + --font-reading: var(--font-mono); +} + .page { max-width: 64rem; margin: 0 auto; |
