aboutsummaryrefslogtreecommitdiff
path: root/internal/web/static/base.css
diff options
context:
space:
mode:
authorLukasz Kasprzak <lukas@labunix.xyz>2026-07-23 21:22:45 +0200
committerLukasz Kasprzak <lukas@labunix.xyz>2026-07-23 21:22:45 +0200
commit138c03e34489e8e04f135546ef680e0fa79a6c32 (patch)
treeb6c3a0b675565137f70355f903a2e1010215f236 /internal/web/static/base.css
parenta7e3ad33070dee77fd7a7796a1e6da9a762440e5 (diff)
downloadlectio-138c03e34489e8e04f135546ef680e0fa79a6c32.tar.gz
lectio-138c03e34489e8e04f135546ef680e0fa79a6c32.zip
web: distinct per-theme fonts + bolder accents; memento_mori bare monospace
Diffstat (limited to 'internal/web/static/base.css')
-rw-r--r--internal/web/static/base.css9
1 files changed, 9 insertions, 0 deletions
diff --git a/internal/web/static/base.css b/internal/web/static/base.css
index e66610e..4e942d5 100644
--- a/internal/web/static/base.css
+++ b/internal/web/static/base.css
@@ -14,6 +14,15 @@
--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;
+ /* Named font-family palette: a theme selects a reading face by setting
+ * --theme-font to one of these (see docs/THEMES.md). System-font stacks
+ * only -- no webfonts (CSP). */
+ --font-serif: Georgia, "Times New Roman", serif;
+ --font-serif-old: "Palatino Linotype", Palatino, "Book Antiqua", serif;
+ --font-serif-classic: "Times New Roman", "Liberation Serif", serif;
+ --font-serif-iowan: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
+ --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
+ --font-sans-humanist: "Trebuchet MS", "Segoe UI", Verdana, sans-serif;
--measure: 42rem;
--space-1: 0.5rem;
--space-2: 1rem;