From bf63e3a566932f5d4f34cfd9ed732f987a0ba169 Mon Sep 17 00:00:00 2001 From: C4aZy Date: Wed, 20 May 2026 02:16:50 +0530 Subject: [PATCH] fix: improve navbar styling for light theme --- web-app/index.html | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/web-app/index.html b/web-app/index.html index d3991a8..401eaea 100644 --- a/web-app/index.html +++ b/web-app/index.html @@ -364,6 +364,9 @@ padding: 14px 0; background: transparent; } + [data-theme="light"] .navbar { + background: rgba(165, 255, 234, 0.92); +} .nav-island { max-width: 1240px; @@ -385,10 +388,10 @@ /* Light Mode Token Architecture for the Floating Component */ [data-theme="light"] .nav-island { - background: rgba(255, 255, 255, 0.8); - border-color: rgba(15, 23, 42, 0.08); - box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06); - } + background: rgba(165, 255, 234, 0.92); + border: 1px solid rgba(179, 191, 217, 0.08); + box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08); +} /* Subtle squeeze effect when scrolling down */ .navbar.scrolled .nav-island { @@ -430,7 +433,7 @@ } .logo-py { color: #94a3b8; transition: color 0.3s ease; } - .logo-mini { color: #ffffff; transition: color 0.3s ease; } + .logo-mini { color: var(--text-color); transition: color 0.3s ease; } .logo-parens { color: #22c55e; } [data-theme="light"] .logo-py { color: #64748b; } @@ -1150,7 +1153,7 @@

Stay Updated

mobileMenuToggle.querySelector("i").className = "fas fa-bars"; } }); -}); + document.querySelectorAll('.tab, .sticky-tab').forEach(function(tab) { tab.addEventListener('click', function() { searchInput.value = '';