From e2ccdb68b477051347f4e9444e103342df15c76b Mon Sep 17 00:00:00 2001 From: xy <10816187@qq.com> Date: Sat, 1 Aug 2026 23:19:24 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=A7=BB=E5=8A=A8=E7=AB=AF=E9=9A=90?= =?UTF-8?q?=E8=97=8Fback=20top=E3=80=81=E8=B0=83=E6=95=B4post=20list?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/BackTop.astro | 3 +-- src/components/PostList.astro | 18 +++++++++++++++++- 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/src/components/BackTop.astro b/src/components/BackTop.astro index d3b47db..dbca6e5 100644 --- a/src/components/BackTop.astro +++ b/src/components/BackTop.astro @@ -63,8 +63,7 @@ import backTopIcon from "@/assets/icon/back-top.svg?url"; @media (max-width: 768px) { .back-top { - right: 48px; - bottom:100px; + display: none; } } diff --git a/src/components/PostList.astro b/src/components/PostList.astro index 9fddab0..bf5ffcf 100644 --- a/src/components/PostList.astro +++ b/src/components/PostList.astro @@ -124,7 +124,7 @@ posts.map((post) => { } .post-meta { - font-size: 13px; + font-size: 12px; color: var(--text-secondary); margin-bottom: 6px; display: flex; @@ -232,6 +232,15 @@ posts.map((post) => { width: 128px; height: 88px; } + + .post-title { + font-size: 18px; + } + + .post-meta{ + gap: 8px; + font-size: 12px; + } } @media (max-width: 560px) { @@ -241,16 +250,23 @@ posts.map((post) => { .post-title { font-size: 16px; + margin-bottom: 4px; } .post-meta{ gap: 6px; + font-size: 12px; } .post-cover { width: 100px; height: 70px; } + + .post-summary{ + font-size: 12px; + margin-bottom: 6px; + } }