diff options
| author | Simon <vesspa0330@gmail.com> | 2025-09-10 19:33:02 -0400 |
|---|---|---|
| committer | Simon <vesspa0330@gmail.com> | 2025-09-10 19:33:02 -0400 |
| commit | 2ef10c7468ae49c856065b1e62f929e05b2b07bc (patch) | |
| tree | b8e747e95d5c760a3a593abb929457613e9d72e8 | |
| parent | 756f3cce83694487ec3270835a12ab3901bbaa2d (diff) | |
nav text adjustments for smoother look
| -rw-r--r-- | index.html | 16 |
1 files changed, 9 insertions, 7 deletions
@@ -188,24 +188,26 @@ nav { display: flex; + flex-direction: column; position: fixed; + gap: 1rem; + + padding: 2rem 0; + top: -12rem; left: 0; - flex-direction: column; - background-color: #000; width: 100%; + + font-size: 1rem; 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); - padding: 2rem 0; - gap: 1rem; z-index: -1; - font-size: 0rem; } nav.active { top: 1.5rem; - font-size: 1rem; } /** hamburger animation */ |
