Tweak menu styles; added components.css.

This commit is contained in:
Benjamin A. Shelton 2026-11-25 17:18:40 -07:00
commit d2bb47ef43
Signed by: zancarius
GPG key ID: 8BD42DBD6C337E01

View file

@ -9,6 +9,8 @@
@source "../layouts/**/*.astro";
@source "../pages/**/*.astro";
@import "./components.css";
@custom-variant dark (&:where(.dark, .dark *));
@theme {
@ -176,7 +178,12 @@ header {
margin-left: -1rem;
z-index: 1000;
li {
@apply pl-4 text-2xl;
@apply hover:text-neutral-100 text-neutral-300 mb-2 pl-4 text-2xl;
}
li span.heading {
@apply font-bold underline;
text-decoration-thickness: 0.05em;
text-underline-offset: 0.2em;
}
}
#menu-toggle {
@ -210,7 +217,7 @@ header {
@apply align-top opacity-0 sm:hidden md:hidden hidden lg:visible xl:visible 2xl:visible lg:inline xl:inline 2xl:inline ml-4;
@apply transition-opacity duration-300;
}
#menu:hover span {
#menu:hover span.label-text {
@apply opacity-100;
}
#hamburger {