From f6f28f5f8eb538a44a6f042a50f9e786221e5b51 Mon Sep 17 00:00:00 2001 From: user123456 Date: Thu, 12 Jun 2025 15:52:02 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E5=8A=A8=E7=AB=AF=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/public/index.html | 66 +++++++++++++++++++++++++++- src/public/search.html | 98 +++++++++++++++++++++++++++++++++++++++--- src/public/skopeo.html | 79 +++++++++++++++++++++++++++++++--- 3 files changed, 229 insertions(+), 14 deletions(-) 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 @@ 加速服务 -