summaryrefslogtreecommitdiff
path: root/src/static
diff options
context:
space:
mode:
authoruser@node5.net <user@node5.net>2026-07-05 13:28:12 +0200
committeruser@node5.net <user@node5.net>2026-07-05 13:38:47 +0200
commit2826c97f429c4edb584f692d169544129944a1cc (patch)
tree0e2070ead1ae5a39ea00f3c4f47fe23fe897f286 /src/static
parent7b4a27f55498d11ba727e4dc55ec1f6ac433b793 (diff)
style - make spacing more consistent and plesent
Diffstat (limited to 'src/static')
-rw-r--r--src/static/main.css15
1 files changed, 10 insertions, 5 deletions
diff --git a/src/static/main.css b/src/static/main.css
index 2db37ed..817887f 100644
--- a/src/static/main.css
+++ b/src/static/main.css
@@ -30,29 +30,34 @@ hr {
}
/* Program */
+
+:root {
+ --line-height: 1.5em;
+}
+
#program {
white-space-collapse: collapse; /* Allow program template to be spaced legibly */
+ line-height: var(--line-height);
}
.program-entry {
position: relative;
- margin-bottom:0.4em;
}
.program-progress {
display: inline-block;
background: #006688;
- height: 1.2em;
+ height: calc(var(--line-height) * 0.8333);;
+ margin-top: calc(var(--line-height) * 0.0833);
position: absolute;
left: 0;
overflow: hidden;
+ transform: translate(-0.25em); /* Add some spacing for text inset */
}
.program-text {
position: absolute;
- top: 0px;
- left: 0px;
- width: 100%;
+ width: 120%;
}
.program-text > * {