diff --git a/assets/css/tailwind.css b/assets/css/tailwind.css index fdc73f6..ed99427 100644 --- a/assets/css/tailwind.css +++ b/assets/css/tailwind.css @@ -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; diff --git a/partials/header.hbs b/partials/header.hbs index b432c34..80f6259 100644 --- a/partials/header.hbs +++ b/partials/header.hbs @@ -5,7 +5,7 @@
-