From 126751ca79e8cd662f2eba0266067bfaafe9ad62 Mon Sep 17 00:00:00 2001 From: Han <1655466387@qq.com> Date: Thu, 20 Feb 2025 10:46:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=96=87=E7=AB=A0=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=E5=8F=8A=E8=AF=84=E8=AE=BA=E6=A0=B7=E5=BC=8F=E2=9C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/styles/Article.less | 9 ++++++--- src/styles/components/Comment.less | 9 +++++---- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/src/styles/Article.less b/src/styles/Article.less index 4085a90..e9c0bc3 100644 --- a/src/styles/Article.less +++ b/src/styles/Article.less @@ -11,8 +11,9 @@ section.vh-container { h4, h5, h6 { + display: inline-block; box-sizing: border-box; - margin: 1.188rem 0 0.36rem; + margin: 1.688rem 0 0.36rem; font-size: 1rem; width: max-content; max-width: 100%; @@ -59,12 +60,13 @@ section.vh-container { p, ul, ol { - margin: 0.618rem 0; + margin: 0; + padding: 0.618rem 0; font-size: 0.9375rem; line-height: 1.6; li { - color: #33333388; + color: #9A9A9A; font-size: 0.875rem; line-height: 1.6; } @@ -187,6 +189,7 @@ section.vh-container { p { margin: 0; + padding: 0; } // :::note diff --git a/src/styles/components/Comment.less b/src/styles/components/Comment.less index ecdaa6a..bc32868 100644 --- a/src/styles/components/Comment.less +++ b/src/styles/components/Comment.less @@ -18,10 +18,6 @@ // ul标签样式 ul:not(.OwO-items):not(.OwO-packages), ol { - margin: 0.618rem 0; - font-size: 0.9375rem; - line-height: 1.6; - li { color: #33333388; font-size: 0.875rem; @@ -49,6 +45,7 @@ } p { + padding: 0.38rem 0; color: #4c4948; font-weight: 400; font-size: 0.875rem; @@ -250,6 +247,10 @@ height: 28px; } } + + .tk-ruser { + font-weight: bold; + } } // UA信息