style: add fancy hover effect and current route marker to navigation
All checks were successful
Deploy Theme / deploy (push) Successful in 13s

This commit is contained in:
2026-02-20 10:18:57 +01:00
parent 041f46f551
commit ad8b7777f2
2 changed files with 15 additions and 10 deletions

View File

@@ -90,19 +90,13 @@
@layer components {
/* Main navigation styling */
header nav ul {
@apply flex items-center space-x-4;
}
header nav ul li a {
@apply text-[var(--text-primary)] hover:text-[var(--brand-primary)] transition-colors duration-200;
header nav ul.nav {
@apply flex items-center space-x-6;
}
/* Mobile navigation styling */
#mobile-menu nav ul {
@apply flex flex-col items-center space-y-8;
}
#mobile-menu nav ul li a {
@apply text-[var(--text-primary)] text-3xl font-bold hover:text-[var(--brand-primary)] transition-colors duration-200;
#mobile-menu nav ul.nav {
@apply flex flex-col items-center space-y-10 text-4xl;
}
/* Button & Link Components */