Skip to content

Commit bf63e3a

Browse files
fix: improve navbar styling for light theme
1 parent 01fc598 commit bf63e3a

1 file changed

Lines changed: 9 additions & 6 deletions

File tree

web-app/index.html

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,9 @@
364364
padding: 14px 0;
365365
background: transparent;
366366
}
367+
[data-theme="light"] .navbar {
368+
background: rgba(165, 255, 234, 0.92);
369+
}
367370

368371
.nav-island {
369372
max-width: 1240px;
@@ -385,10 +388,10 @@
385388

386389
/* Light Mode Token Architecture for the Floating Component */
387390
[data-theme="light"] .nav-island {
388-
background: rgba(255, 255, 255, 0.8);
389-
border-color: rgba(15, 23, 42, 0.08);
390-
box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
391-
}
391+
background: rgba(165, 255, 234, 0.92);
392+
border: 1px solid rgba(179, 191, 217, 0.08);
393+
box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
394+
}
392395

393396
/* Subtle squeeze effect when scrolling down */
394397
.navbar.scrolled .nav-island {
@@ -430,7 +433,7 @@
430433
}
431434

432435
.logo-py { color: #94a3b8; transition: color 0.3s ease; }
433-
.logo-mini { color: #ffffff; transition: color 0.3s ease; }
436+
.logo-mini { color: var(--text-color); transition: color 0.3s ease; }
434437
.logo-parens { color: #22c55e; }
435438

436439
[data-theme="light"] .logo-py { color: #64748b; }
@@ -1150,7 +1153,7 @@ <h3>Stay Updated</h3>
11501153
mobileMenuToggle.querySelector("i").className = "fas fa-bars";
11511154
}
11521155
});
1153-
});
1156+
11541157
document.querySelectorAll('.tab, .sticky-tab').forEach(function(tab) {
11551158
tab.addEventListener('click', function() {
11561159
searchInput.value = '';

0 commit comments

Comments
 (0)