diff --git a/src/app/(app)/layout.module.css b/src/app/(app)/layout.module.css index 5bedc0a..2d90eeb 100644 --- a/src/app/(app)/layout.module.css +++ b/src/app/(app)/layout.module.css @@ -3,18 +3,27 @@ src/app/globals.css (ADR-046). */ /* Stays at the top while the page scrolls. The band spans the full width; - its rows keep the page's side margins. */ + its rows keep the page's side margins. The fallbacks match globals.css, + so the band stays opaque over scrolled content even if a stale + stylesheet is missing the --head-* tokens. */ .top { position: sticky; top: 0; z-index: 10; padding: 0 clamp(1rem, 3vw, 3.5rem); - background-color: var(--head-bg); + background-color: var(--head-bg, #161616); background-image: - linear-gradient(var(--head-grid) 1px, transparent 1px), - linear-gradient(90deg, var(--head-grid) 1px, transparent 1px); + linear-gradient( + var(--head-grid, rgb(255 255 255 / 0.035)) 1px, + transparent 1px + ), + linear-gradient( + 90deg, + var(--head-grid, rgb(255 255 255 / 0.035)) 1px, + transparent 1px + ); background-size: 3.5rem 3.5rem; - color: var(--head-ink); + color: var(--head-ink, #f5f5f5); } .top :focus-visible {