summaryrefslogtreecommitdiff
path: root/internal/web/static/base.css
diff options
context:
space:
mode:
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;