diff --git a/src/public/index.html b/src/public/index.html index 565e70d..f924712 100644 --- a/src/public/index.html +++ b/src/public/index.html @@ -495,7 +495,44 @@ } .nav-links { - display: none; + position: fixed; + top: 70px; + left: 0; + right: 0; + background: var(--background); + border: 1px solid var(--border); + border-top: none; + border-radius: 0 0 12px 12px; + padding: 1rem; + flex-direction: column; + gap: 0.5rem; + z-index: 1000; + transform: translateY(-100vh); + transition: transform 0.3s ease; + } + + .nav-links.active { + transform: translateY(0); + } + + .mobile-menu-toggle { + display: block !important; + background: none; + border: none; + color: var(--foreground); + font-size: 1.5rem; + cursor: pointer; + padding: 0.5rem; + border-radius: var(--radius); + transition: background-color 0.2s; + } + + .mobile-menu-toggle:hover { + background-color: var(--muted); + } + + .navbar-container { + justify-content: space-between !important; } .container { @@ -506,6 +543,10 @@ padding: 1.5rem; } } + + .mobile-menu-toggle { + display: none; + } @@ -520,7 +561,11 @@ 加速服务 -