fix(header): Fix inline menu items and theme switch icon styling
This commit is contained in:
@@ -48,6 +48,24 @@ html[data-theme='light'] {
|
||||
}
|
||||
}
|
||||
|
||||
@layer components {
|
||||
/* Main navigation styling */
|
||||
header nav ul {
|
||||
@apply flex items-center space-x-4; /* Make li items inline with spacing */
|
||||
}
|
||||
header nav ul li a {
|
||||
@apply text-[var(--text-primary)] hover:text-[var(--text-secondary)] transition-colors duration-200; /* Default link style */
|
||||
}
|
||||
|
||||
/* Mobile navigation styling */
|
||||
#mobile-menu nav ul {
|
||||
@apply flex flex-col items-center space-y-8; /* Stack items vertically in mobile menu */
|
||||
}
|
||||
#mobile-menu nav ul li a {
|
||||
@apply text-[var(--text-primary)] text-3xl font-bold hover:text-[var(--text-secondary)] transition-colors duration-200;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes fadeInUp {
|
||||
from {
|
||||
opacity: 0;
|
||||
|
||||
Reference in New Issue
Block a user