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:
+4
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user