From 72ef071df47e7a3f632967e6bd616dca9fa41d9c Mon Sep 17 00:00:00 2001 From: seaHi Date: Sun, 16 Aug 2026 21:00:01 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E4=BC=98=E5=8C=96=E6=96=87=E7=AB=A0?= =?UTF-8?q?=E5=86=85=E5=AE=B9=E4=B8=AD=E5=90=84=E7=BA=A7=E6=A0=87=E9=A2=98?= =?UTF-8?q?=E7=9A=84=E8=A7=86=E8=A7=89=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app.css | 46 +++++++++++++++++++++++++++++++++++++++------- 1 file changed, 39 insertions(+), 7 deletions(-) diff --git a/src/app.css b/src/app.css index 75b1bc7..11afe34 100644 --- a/src/app.css +++ b/src/app.css @@ -494,18 +494,50 @@ body.single-col .post-list { } .article-content h2 { - font-size: 1.5em; - margin: 1.005em 0 0.375em; - border-bottom: none; - padding-bottom: 0; + font-size: 1.6em; + margin: 1.5em 0 0.8em; + padding-left: 14px; + border-left: 5px solid var(--accent-color); + line-height: 1.4; + background: linear-gradient(to right, rgba(65, 155, 56, 0.08) 0%, transparent 100%); + padding-top: 4px; + padding-bottom: 4px; } .article-content h3 { - font-size: 1.17em; - margin: 1em 0 0.2925em; + font-size: 1.3em; + margin: 1.2em 0 0.6em; + display: flex; + align-items: center; +} + +.article-content h3::before { + content: '#'; + color: var(--accent-color); + margin-right: 8px; + font-weight: bold; + font-size: 1.1em; +} + +.article-content h4 { + font-size: 1.1em; + margin: 1em 0 0.5em; + position: relative; + padding-left: 12px; +} + +.article-content h4::before { + content: ''; + position: absolute; + left: 0; + top: 50%; + transform: translateY(-50%); + width: 4px; + height: 4px; + border-radius: 50%; + background-color: var(--accent-color); } -.article-content h4, .article-content h5, .article-content h6 { font-size: 1em;