Skip to content

Commit db815eb

Browse files
style: move navigation entirely to bottom shortcuts globally
1 parent 909c0cf commit db815eb

2 files changed

Lines changed: 8 additions & 18 deletions

File tree

website/css/bottom-nav.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,18 @@
1616
-webkit-backdrop-filter: blur(20px);
1717
border: 1px solid rgba(255, 255, 255, 0.4);
1818
border-radius: 20px;
19-
display: none;
19+
display: flex; /* Always show on all devices */
2020
justify-content: space-around;
2121
align-items: center;
2222
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
2323
z-index: 9999;
2424
padding: 0 15px;
2525
}
2626

27+
body {
28+
padding-bottom: 100px;
29+
}
30+
2731
/* More Menu Popover */
2832
.more-menu {
2933
position: fixed;

website/css/style.css

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -188,25 +188,11 @@ img { max-width: 100%; height: auto; display: block; border-radius: var(--radius
188188
align-items: center;
189189
gap: 0.5rem;
190190
}
191-
.nav-links { display: flex; gap: 2rem; align-items: center; }
192-
.nav-link { font-weight: 500; position: relative; color: var(--text-muted); padding: 0.5rem 0;}
193-
.nav-link:hover, .nav-link.active { color: var(--primary); }
194-
.nav-link::after {
195-
content: ''; position: absolute; bottom: 0; left: 0; width: 0%; height: 2px;
196-
background: var(--primary); transition: width var(--transition-fast);
197-
}
198-
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
199-
200-
/* Mobile Menu */
201-
.mobile-menu-btn {
202-
display: none; background: none; border: none; font-size: 1.5rem; color: var(--text-main); cursor: pointer;
203-
width: 40px; height: 40px; border-radius: var(--radius-md); transition: background 0.2s;
204-
}
205-
.mobile-menu-btn:hover { background: var(--surface-hover); }
191+
/* Hide Top Navigation Globally (Focus on Bottom Shortcuts) */
192+
.nav-links { display: none !important; }
193+
.mobile-menu-btn { display: none !important; }
206194

207195
@media (max-width: 768px) {
208-
.nav-links { display: none !important; }
209-
.mobile-menu-btn { display: none !important; }
210196
.header { padding: 0.75rem 0; }
211197
.logo { font-size: 1.15rem; }
212198
}

0 commit comments

Comments
 (0)