From 9cec69af100664b6f045390d47c7c12bc01091c0 Mon Sep 17 00:00:00 2001 From: Alexander Bocken Date: Mon, 5 Jan 2026 22:28:26 +0100 Subject: [PATCH] fix: ensure Login link uses consistent white styling like other header links Updated CSS selectors to specifically target 'a.entry' instead of '.entry' to properly apply styling to the Login link. This ensures the link appears white in both light and dark modes, matching the styling of other navigation links. --- src/lib/components/Header.svelte | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/src/lib/components/Header.svelte b/src/lib/components/Header.svelte index 811f865..8bc1e0c 100644 --- a/src/lib/components/Header.svelte +++ b/src/lib/components/Header.svelte @@ -113,8 +113,7 @@ nav[hidden]{ color: white; user-select: none; } -:global(.site_header li>a), -:global(.entry) +:global(.site_header li>a) { text-decoration: none; font-family: sans-serif; @@ -123,12 +122,20 @@ nav[hidden]{ border-radius: 1000px; padding: 0.5rem 0.75rem; } +:global(a.entry) +{ + text-decoration: none; + font-family: sans-serif; + font-size: 1.2rem; + border-radius: 1000px; + padding: 0.5rem 0.75rem; +} :global(.site_header li:hover), :global(.site_header li:focus-within), :global(.site_header li:has(a.active)), -:global(.entry:hover), -:global(.entry:focus-visible) +:global(a.entry:hover), +:global(a.entry:focus-visible) { cursor: pointer; color: var(--nord8);