From 7638a2ae0e88aa6ef7e95f6b1f8059ed80fc713c Mon Sep 17 00:00:00 2001 From: xy <10816187@qq.com> Date: Sat, 15 Aug 2026 22:33:09 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E4=BC=98=E5=8C=96=E7=A7=BB=E5=8A=A8?= =?UTF-8?q?=E7=AB=AFui?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Post/List.astro | 6 +++++- src/layouts/PageHeader.astro | 5 +++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/src/components/Post/List.astro b/src/components/Post/List.astro index 03b6481..8150f2f 100644 --- a/src/components/Post/List.astro +++ b/src/components/Post/List.astro @@ -40,7 +40,7 @@ const {posts} = Astro.props .post h2 { font-size: 16px; - font-weight: 500; + font-weight: normal; flex: 1; white-space: nowrap; text-overflow: ellipsis; @@ -72,5 +72,9 @@ const {posts} = Astro.props .post .d { min-width: 64px; } + + .post h2 { + font-size: 14px; + } } diff --git a/src/layouts/PageHeader.astro b/src/layouts/PageHeader.astro index 104e5d9..2924145 100644 --- a/src/layouts/PageHeader.astro +++ b/src/layouts/PageHeader.astro @@ -42,5 +42,10 @@ const {siteTitle,git} = siteConfig; margin-top: 12px; margin-bottom: 0; } + + h1 { + font-size: 20px; + font-weight: normal; + } }