From 0e78e6b471b9f5abf3ca1c267c9bf340bdbd45e7 Mon Sep 17 00:00:00 2001 From: Lobo Date: Sun, 22 Feb 2026 12:02:17 +0100 Subject: [PATCH] Update styles.scss --- src/styles.scss | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/src/styles.scss b/src/styles.scss index 765c330..bd09e8f 100644 --- a/src/styles.scss +++ b/src/styles.scss @@ -403,13 +403,17 @@ canvas { padding: clamp(1rem, 4vw, 2rem); } +app-root { + display: flex; + flex-direction: column; + min-height: 100vh; +} + .app-surface { + flex-grow: 1; background: var(--app-bg); color: var(--app-fg); transition: background-color 220ms ease, color 220ms ease; - min-height: 100vh; - display: flex; - flex-direction: column; } .foot { @@ -417,7 +421,7 @@ canvas { padding: clamp(1rem, 2vw, 1.5rem); text-align: center; opacity: .8; - margin-top: auto; + background: var(--app-bg); } /* ---- Topbar ---- */ @@ -426,7 +430,7 @@ canvas { top: 0; z-index: 100; backdrop-filter: saturate(1.1) blur(8px); - background: color-mix(in srgb, var(--app-topbar-bg) 65%, transparent); + background: color-mix(in srgb, var(--card-bg) 80%, transparent); border-bottom: 1px solid rgba(0, 0, 0, .08); display: flex; align-items: center; @@ -439,8 +443,6 @@ canvas { gap: clamp(0.4rem, 1vw, 0.6rem); color: inherit; text-decoration: none; - flex: 1; - /* push nav to center */ } .topbar .brand .logo-dot { @@ -456,6 +458,9 @@ canvas { } .topbar .nav { + position: absolute; + left: 50%; + transform: translateX(-50%); display: flex; gap: clamp(0.25rem, 1vw, 0.5rem); justify-content: center; @@ -529,6 +534,8 @@ canvas { .imprint { display: grid; gap: clamp(1rem, 3vw, 1.5rem); + max-width: 1200px; + margin: 0 auto; } .hero {