From 427d898a96e05186f2edd939fdf456977d1e3c63 Mon Sep 17 00:00:00 2001 From: yiqiu Date: Sun, 23 Nov 2025 17:09:02 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=A7=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/index.css | 63 --------------------------------------------------- 1 file changed, 63 deletions(-) diff --git a/css/index.css b/css/index.css index 2f75a8b..228e8ee 100644 --- a/css/index.css +++ b/css/index.css @@ -76,69 +76,6 @@ color: #38BDF8; } -/* ============================================ - Header Logo 闪光特效 - ============================================ */ - -#index .nav-icon { - position: relative; - overflow: hidden; -} - -#index .nav-icon::before { - content: ''; - position: absolute; - top: -50%; - left: -100%; - width: 50%; - height: 200%; - background: linear-gradient( - 90deg, - transparent 0%, - rgba(255, 255, 255, 0.1) 40%, - rgba(255, 255, 255, 0.4) 50%, - rgba(255, 255, 255, 0.1) 60%, - transparent 100% - ); - transform: skewX(-25deg); - animation: logoShine 6s ease-in-out infinite; - pointer-events: none; -} - -@keyframes logoShine { - 0% { - left: -100%; - } - 20% { - left: 150%; - } - 100% { - left: 150%; - } -} - -#index .nav-icon:hover::before { - animation: logoShineHover 0.8s ease-in-out; -} - -@keyframes logoShineHover { - 0% { - left: -100%; - } - 100% { - left: 150%; - } -} - -#index .nav-icon img { - transition: all 0.3s ease; -} - -#index .nav-icon:hover img { - filter: brightness(1.1) drop-shadow(0 0 10px rgba(56, 189, 248, 0.3)); - transform: scale(1.02); -} - /* ============================================ Header 登录注册按钮重新设计 ============================================ */