From 0f34535ba4b5bc5efdc26b2a7f82c028a0af8c9a Mon Sep 17 00:00:00 2001 From: sefaria Date: Wed, 27 May 2026 09:58:09 +0200 Subject: [PATCH] fix header background blur in light theme --- css/a11y.css | 1 - css/style.css | 5 ++++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/css/a11y.css b/css/a11y.css index 5d89da5..40a4dc8 100644 --- a/css/a11y.css +++ b/css/a11y.css @@ -58,7 +58,6 @@ button:active, .button-primary:active, .button-secondary:active, .logo:active { transition: 0.2s; } - .menu-button:active, .desktop-nav a[aria-current="page"]:active, .mobile-menu a[aria-current="page"]:active { diff --git a/css/style.css b/css/style.css index 2606ca2..fdd4d72 100644 --- a/css/style.css +++ b/css/style.css @@ -463,7 +463,10 @@ button:visited, .button-primary:visited, .logo:visited { position: sticky; top: 0; z-index: 100; - background: linear-gradient(180deg, var(--color-neutral-900) 15%, rgba(115, 115, 115, 0.00) 100%); + background: light-dark( + linear-gradient(180deg, var(--color-neutral-100) 15%, rgba(247,247,247,0) 100%), + linear-gradient(180deg, var(--color-neutral-900) 15%, rgba(18,18,18,0) 100%) + ); backdrop-filter: blur(6px); }