From 00c5916dd3738bf375c0029353e9211d79a80c67 Mon Sep 17 00:00:00 2001 From: lwt <215586800@qq.com> Date: Sat, 9 May 2026 13:47:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=A6=96=E5=B1=8F=E6=8C=89?= =?UTF-8?q?=E9=92=AE=E5=9B=BE=E6=A0=87=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/css/components.css | 33 +++++++++++++++++++++++++++++++-- index.html | 33 ++++++++++++++++++++++++++++----- 2 files changed, 59 insertions(+), 7 deletions(-) diff --git a/assets/css/components.css b/assets/css/components.css index 98e21dd..eb91904 100644 --- a/assets/css/components.css +++ b/assets/css/components.css @@ -73,8 +73,13 @@ } .nav-icon { - font-size: 1.35rem; - line-height: 1; + width: 24px; + height: 24px; + fill: none; + stroke: currentColor; + stroke-linecap: round; + stroke-linejoin: round; + stroke-width: 2; } .header-actions { @@ -158,6 +163,20 @@ background 160ms ease; } +.button svg, +.button img { + width: 24px; + height: 24px; + flex: 0 0 auto; + object-fit: contain; +} + +.button svg { + fill: none; + stroke: currentColor; + stroke-width: 2.2; +} + .button:hover, .button:focus-visible { transform: translateY(-2px); @@ -212,6 +231,16 @@ color: var(--green); } +.shield svg { + width: 24px; + height: 24px; + fill: none; + stroke: currentColor; + stroke-linecap: round; + stroke-linejoin: round; + stroke-width: 2; +} + .hero-art { position: relative; min-height: 390px; diff --git a/index.html b/index.html index 1530f60..1539d19 100644 --- a/index.html +++ b/index.html @@ -19,11 +19,18 @@ @@ -50,12 +57,28 @@