fixed minor bug where nav was visible when shrinking window

This commit is contained in:
2025-09-09 21:57:41 -04:00
parent d741452bed
commit 756f3cce83
+4 -2
View File
@@ -195,15 +195,17 @@
background-color: #000; background-color: #000;
width: 100%; width: 100%;
text-align: center; text-align: center;
transition: 0.3s; transition: top 0.3s ease;
box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05); box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
padding: 2rem 0; padding: 2rem 0;
gap: 1rem; gap: 1rem;
z-index: -1; z-index: -1;
font-size: 0rem;
} }
nav.active { nav.active {
top: 2rem; top: 1.5rem;
font-size: 1rem;
} }
/** hamburger animation */ /** hamburger animation */