aboutsummaryrefslogtreecommitdiff
path: root/internal/web/static
diff options
context:
space:
mode:
Diffstat (limited to 'internal/web/static')
-rw-r--r--internal/web/static/base.css8
-rw-r--r--internal/web/static/themes/deus_vult.css49
-rw-r--r--internal/web/static/themes/memento_mori.css2
3 files changed, 9 insertions, 50 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;
diff --git a/internal/web/static/themes/deus_vult.css b/internal/web/static/themes/deus_vult.css
deleted file mode 100644
index 2388fbe..0000000
--- a/internal/web/static/themes/deus_vult.css
+++ /dev/null
@@ -1,49 +0,0 @@
-/* deus_vult -- religious-order palette (crusader / Templar): plate-armor
- * grey field, steel, red cross. Colour only; see docs/THEMES.md.
- */
-:root {
- --bg: #bcc1c6; /* plate-armor grey */
- --fg: #20242a; /* dark steel */
- --muted: #5c636b; /* steel-grey */
- --accent: #a81b23; /* Templar cross red */
- --link: #3f4a55; /* dark steel-slate */
- --refrain: #8a1f27; /* deep red */
- --border: #9aa0a6; /* steel */
-}
-
-.heading {
- color: var(--accent);
-}
-
-.citation {
- color: var(--muted);
-}
-
-.vnum {
- color: var(--muted);
-}
-
-.refrain {
- color: var(--refrain);
-}
-
-a {
- color: var(--link);
-}
-
-a:hover,
-a:focus {
- color: var(--accent);
-}
-
-.controls,
-.version-label,
-.reading-section + .reading-section {
- border-color: var(--border);
-}
-
-.controls input,
-.controls select,
-.controls button {
- border-color: var(--border);
-}
diff --git a/internal/web/static/themes/memento_mori.css b/internal/web/static/themes/memento_mori.css
index d99911b..f6e5174 100644
--- a/internal/web/static/themes/memento_mori.css
+++ b/internal/web/static/themes/memento_mori.css
@@ -12,7 +12,7 @@
--border: #333330;
--error: #7a4a42; /* dried blood -- error/alert accent only */
/* the one non-colour override: a monospace reading face (see base.css). */
- --theme-font: ui-monospace, "Cascadia Code", "SF Mono", "Roboto Mono", Menlo, Consolas, monospace;
+ --theme-font: var(--font-mono);
}
.heading {