From e3142a17a8b5074a7b0271410b2d27c2452e02b9 Mon Sep 17 00:00:00 2001 From: thzxx <1440196015@qq.com> Date: Thu, 23 Jul 2026 20:18:53 +0800 Subject: [PATCH] feat(site): replace text 'M' logo with SVG icon - Replace plain 'M' character with stylized SVG M monogram - SVG uses the same white stroke-on-gradient style as before - Add .logo .logo-mark style for hero section (32px, larger) - Remove font-specific styles from logo-mark (now SVG-based) - Add flex-shrink:0 to prevent icon squishing --- site/index.html | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/site/index.html b/site/index.html index 445971d..85c36f4 100644 --- a/site/index.html +++ b/site/index.html @@ -59,13 +59,21 @@ font-weight: 700; font-size: 16px; } - .nav-brand .logo-mark { - width: 28px; height: 28px; - border-radius: 7px; - background: var(--gradient); - display: flex; align-items: center; justify-content: center; - font-weight: 800; color: #fff; font-size: 15px; - } + .nav-brand .logo-mark { + width: 28px; height: 28px; + border-radius: 7px; + background: var(--gradient); + display: flex; align-items: center; justify-content: center; + flex-shrink: 0; + } + .logo .logo-mark { + width: 32px; height: 32px; + border-radius: 8px; + background: var(--gradient); + display: flex; align-items: center; justify-content: center; + flex-shrink: 0; + } + .logo-mark svg { display: block; } .nav-links { display: flex; gap: 28px; align-items: center; } .nav-links a { color: var(--muted); @@ -375,7 +383,7 @@