summaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
authorSimon <vesspa0330@gmail.com>2025-09-10 19:33:02 -0400
committerSimon <vesspa0330@gmail.com>2025-09-10 19:33:02 -0400
commit2ef10c7468ae49c856065b1e62f929e05b2b07bc (patch)
treeb8e747e95d5c760a3a593abb929457613e9d72e8 /index.html
parent756f3cce83694487ec3270835a12ab3901bbaa2d (diff)
nav text adjustments for smoother look
Diffstat (limited to 'index.html')
-rw-r--r--index.html16
1 files changed, 9 insertions, 7 deletions
diff --git a/index.html b/index.html
index f061365..4f43a36 100644
--- a/index.html
+++ b/index.html
@@ -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 */