nav text adjustments for smoother look

This commit is contained in:
2025-09-10 19:33:02 -04:00
parent 756f3cce83
commit 2ef10c7468
+9 -7
View File
@@ -188,24 +188,26 @@
nav { nav {
display: flex; display: flex;
flex-direction: column;
position: fixed; position: fixed;
gap: 1rem;
padding: 2rem 0;
top: -12rem; top: -12rem;
left: 0; left: 0;
flex-direction: column;
background-color: #000;
width: 100%; width: 100%;
font-size: 1rem;
text-align: center; text-align: center;
transition: top 0.3s ease; background-color: #000;
transition: top 0.7s 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;
gap: 1rem;
z-index: -1; z-index: -1;
font-size: 0rem;
} }
nav.active { nav.active {
top: 1.5rem; top: 1.5rem;
font-size: 1rem;
} }
/** hamburger animation */ /** hamburger animation */