From dccd01ec0108a7e92395f848575346c9baedd15e Mon Sep 17 00:00:00 2001 From: Alexander Bocken Date: Fri, 27 Feb 2026 20:14:40 +0100 Subject: [PATCH] header: thinner active page underline, closer to text --- src/lib/components/Header.svelte | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib/components/Header.svelte b/src/lib/components/Header.svelte index 4f2a225..56f71f0 100644 --- a/src/lib/components/Header.svelte +++ b/src/lib/components/Header.svelte @@ -160,8 +160,8 @@ nav{ } .active-underline { position: absolute; - bottom: 1.2rem; - height: 2px; + bottom: 1.4rem; + height: 1.25px; background-color: var(--nord8); transition: left 300ms ease-out, width 300ms ease-out; pointer-events: none; @@ -325,8 +325,8 @@ footer{ :global(.nav_site .site_header a.active) { text-decoration: underline; text-decoration-color: var(--nord8); - text-decoration-thickness: 2px; - text-underline-offset: 0.3rem; + text-decoration-thickness: 1px; + text-underline-offset: 0.2rem; } } .no-links :global(button) {