From 21d649e3b31d653ed1579d6e1b2f842201d30339 Mon Sep 17 00:00:00 2001 From: yiqiu Date: Wed, 18 Mar 2026 19:06:06 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E8=AF=AD=E8=A8=80=E5=88=87=E6=8D=A2?= =?UTF-8?q?=E6=94=B9=E7=BA=AF=E6=96=87=E5=AD=97=20+=20=E7=A7=BB=E5=88=B0?= =?UTF-8?q?=E7=99=BB=E5=BD=95=E6=B3=A8=E5=86=8C=E5=B7=A6=E8=BE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 去掉边框、背景、圆角,纯文字 CN/EN - 去掉 SVG 地球图标 - 从右侧移到登录注册按钮左边 --- common/common.css | 17 +++++++---------- public/header.html | 13 ++++++------- 2 files changed, 13 insertions(+), 17 deletions(-) diff --git a/common/common.css b/common/common.css index 71a6132..0e00b2d 100644 --- a/common/common.css +++ b/common/common.css @@ -133,24 +133,21 @@ .lang-switch { display: flex; align-items: center; - gap: 6px; - padding: 5px 14px; - margin-left: 16px; - border-radius: 20px; + gap: 3px; + padding: 4px 0; + margin-right: 16px; cursor: pointer; color: rgba(203, 213, 225, 0.7); - font-size: 12px; + font-size: 13px; font-weight: 500; - letter-spacing: 0.5px; - transition: all 0.25s ease; + letter-spacing: 0.3px; + transition: color 0.25s ease; user-select: none; background: transparent; - border: 1px solid rgba(148, 163, 184, 0.15); + border: none; } .lang-switch:hover { - background: rgba(56, 189, 248, 0.08); - border-color: rgba(56, 189, 248, 0.3); color: #38BDF8; } diff --git a/public/header.html b/public/header.html index 225fe7b..5356d7a 100644 --- a/public/header.html +++ b/public/header.html @@ -27,6 +27,12 @@ - -