Fix dark-mode white bar (html bg + body min-height) and centred container

- html now gets --color-bg (not just body) + body min-height:100vh, so a short
  page never reveals a light html canvas as a bar at the bottom.
- Bulma adapter: force dark html/body + transparent sections, and centre
  .container.fullwidth with !important (beats Bulma's .is-marginless margin:0).
This commit is contained in:
Asger Geel Weirsøe
2026-06-14 17:05:00 +02:00
parent 41c22e4bb5
commit 3b1e359421
2 changed files with 16 additions and 3 deletions
+4 -1
View File
@@ -70,8 +70,11 @@
}
/* ---------- base ---------- */
html { scroll-behavior: smooth; }
/* html AND body get the bg (and body fills the viewport) so a short page never
reveals a light html canvas as a bar at the bottom. */
html { scroll-behavior: smooth; background-color: var(--color-bg); }
body {
min-height: 100vh;
background-color: var(--color-bg);
color: var(--color-text);
font-family: var(--wt-font-sans);