From fef7f239c902cf2d9227aafb2d0e643bf24cb5e7 Mon Sep 17 00:00:00 2001 From: xy <10816187@qq.com> Date: Sun, 16 Aug 2026 00:11:16 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E5=BE=AE=E8=B0=83=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/pages/archive.astro | 6 ++++-- src/styles/github-markdown-reset.css | 7 +++---- 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/src/components/Post/List.astro b/src/components/Post/List.astro index 8150f2f..8887ebc 100644 --- a/src/components/Post/List.astro +++ b/src/components/Post/List.astro @@ -32,10 +32,10 @@ const {posts} = Astro.props } .post .d { - font-size: 12px; + font-size: 14px; color: #b8b8b8; min-width: 80px; - letter-spacing: 0.1em; + letter-spacing: 1px; } .post h2 { @@ -74,7 +74,7 @@ const {posts} = Astro.props } .post h2 { - font-size: 14px; + font-size: 15px; } } diff --git a/src/pages/archive.astro b/src/pages/archive.astro index 03d693e..33fc97e 100644 --- a/src/pages/archive.astro +++ b/src/pages/archive.astro @@ -98,7 +98,7 @@ const {data} = await http.get>("posts/archives"); } .post-date { - color: var(--text-tertiary); + color: var(--text-secondary); } .post-title { @@ -107,6 +107,7 @@ const {data} = await http.get>("posts/archives"); white-space: nowrap; text-overflow: ellipsis; color: var(--text-primary); + font-size: 16px; } .post-title:hover{ @@ -114,7 +115,8 @@ const {data} = await http.get>("posts/archives"); } .post-cat { - color: var(--text-tertiary); + color: var(--text-secondary); + font-size: 14px; } @media (max-width: 640px) { diff --git a/src/styles/github-markdown-reset.css b/src/styles/github-markdown-reset.css index 91d41b9..f06004f 100644 --- a/src/styles/github-markdown-reset.css +++ b/src/styles/github-markdown-reset.css @@ -19,7 +19,7 @@ .markdown-body .highlight pre, .markdown-body pre { - border-radius: 0 0 6px 6px; + border-radius: 0 0 8px 8px; } .markdown-body img { @@ -27,19 +27,18 @@ } .code-block { - } .code-header { height: 36px; - background: #f5f5f5; + background: #f4f4f5; display: flex; justify-content: space-between; color: var(--text-primary); align-items: center; padding: 0 12px; font-size: 14px; - border-radius: 6px 6px 0 0; + border-radius: 8px 8px 0 0; } .code-header-left {