From aeecf9ed4cde7cc1b484eb9bce1c7a33effcf260 Mon Sep 17 00:00:00 2001 From: Pine Date: Thu, 27 Aug 2026 19:56:19 +0800 Subject: [PATCH] =?UTF-8?q?brand:=20.logo=20=E5=8E=BB=E9=99=A4=E5=9C=86?= =?UTF-8?q?=E5=BD=A2=E5=BE=BD=E7=AB=A0=E8=83=8C=E6=99=AF=E4=B8=8E=E5=86=85?= =?UTF-8?q?=E7=BC=A9=EF=BC=8Clogo=20=E6=95=B4=E4=BD=93=E6=95=B4=E5=B9=85?= =?UTF-8?q?=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- website/src/styles/global.css | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/website/src/styles/global.css b/website/src/styles/global.css index ef25b98..525628c 100644 --- a/website/src/styles/global.css +++ b/website/src/styles/global.css @@ -255,13 +255,11 @@ input[type="range"] { accent-color: var(--primary); } } .logo { flex: 0 0 auto; - width: clamp(38px, 4.2vw, 44px); height: clamp(38px, 4.2vw, 44px); - border-radius: 999px; background: var(--heading); - display: grid; place-items: center; + display: flex; align-items: center; transition: transform 0.25s var(--ease); } .logo:hover { transform: scale(1.05); } -.logo img { width: 66%; height: 66%; object-fit: contain; } +.logo img { height: 44px; width: auto; object-fit: contain; display: block; } .logo span { font-family: var(--font-pixel); font-weight: 700; color: #fff; font-size: 16px; } .header-nav { display: flex; align-items: center; gap: 2px;