aboutsummaryrefslogtreecommitdiff
path: root/internal/web/static
diff options
context:
space:
mode:
authorLukasz Kasprzak <lukas@labunix.xyz>2026-07-24 10:32:28 +0200
committerLukasz Kasprzak <lukas@labunix.xyz>2026-07-24 10:32:28 +0200
commitc9f3bf46f0de09edb796e35f3dcff349febf75c9 (patch)
treec1a0b98b484e4da557c1ab205dfff0d92ce8ac36 /internal/web/static
parenta865374755480a4aef2a6156afccdf08a91422ea (diff)
downloadlectio-c9f3bf46f0de09edb796e35f3dcff349febf75c9.tar.gz
lectio-c9f3bf46f0de09edb796e35f3dcff349febf75c9.zip
dayinfo: show feast/day name + colour (modern niedziela + traditional missalemeum) in cli/tui/web; v0.5.0
Diffstat (limited to 'internal/web/static')
-rw-r--r--internal/web/static/base.css17
1 files changed, 17 insertions, 0 deletions
diff --git a/internal/web/static/base.css b/internal/web/static/base.css
index b5ce9a5..1e30b1d 100644
--- a/internal/web/static/base.css
+++ b/internal/web/static/base.css
@@ -94,6 +94,23 @@ body.mono {
color: var(--fg);
}
+/* Day-info header (feast/day name + optional temporal season):
+ * RenderReadings prepends this once, ahead of every layout's own sections.
+ * It reuses the .heading/.citation role classes (rather than a bespoke
+ * rule) so every theme restyles it the same way it already restyles a
+ * reading section's own heading/citation -- no new colour rule needed. */
+.dayinfo {
+ margin: 0 0 var(--space-3);
+}
+
+.dayinfo .heading {
+ margin: 0 0 0.25rem;
+}
+
+.dayinfo .citation {
+ margin: 0;
+}
+
/* Reading pane */
.reading-section {
margin: 0 0 var(--space-4);