From 1cb7e8315ed830e204f9558bb117b9b470507664 Mon Sep 17 00:00:00 2001 From: Kane Wang Date: Fri, 15 Apr 2022 17:57:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=86=20g2-left=20?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F=EF=BC=8C=E6=94=B9=E5=8F=98=E4=BA=86=E6=A0=87?= =?UTF-8?q?=E9=A2=98=E7=9A=84=E9=A2=9C=E8=89=B2=E5=92=8C=E4=B8=8B=E5=86=85?= =?UTF-8?q?=E8=BE=B9=E8=B7=9D=EF=BC=8C=E6=94=B9=E5=8F=98=E4=BA=86h1?= =?UTF-8?q?=E7=9A=84=E9=A2=9C=E8=89=B2=EF=BC=8C=E4=BF=AE=E6=94=B9=E4=BA=86?= =?UTF-8?q?h1=E6=A0=87=E7=AD=BE=E7=9A=84=E4=B8=8B=E5=88=92=E7=BA=BF?= =?UTF-8?q?=E9=95=BF=E5=BA=A6=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- g2-center.css | 2 +- g2-left.css | 25 +++++++++++++++++-------- 2 files changed, 18 insertions(+), 9 deletions(-) diff --git a/g2-center.css b/g2-center.css index 3cac276..e206f23 100644 --- a/g2-center.css +++ b/g2-center.css @@ -306,7 +306,7 @@ h1:after { content: ''; display: block; margin: 0.2em auto 0; - width: 4em; + width: 12rem; height: 2px; border-bottom: 2px solid var(--main-6); } diff --git a/g2-left.css b/g2-left.css index 4fe67b0..20e4726 100644 --- a/g2-left.css +++ b/g2-left.css @@ -249,6 +249,7 @@ h6 { font-weight: bold; line-height: 1.4; cursor: text; + color: #476072; } h1:hover a.anchor, @@ -292,33 +293,41 @@ h6 code { /* h1标题样式 */ +h1[title] { + color:rgba(0, 92, 197, 0.8); + padding: 0em 0 0.5em 0; + color: #334257; +} -h1 { +h1:not([title]) { margin-top: 2.2rem; text-align: left; padding-bottom: .2em; font-size: 2.25em; line-height: 1.2; - /* border-bottom: 1px solid #eee; */ + border-bottom: 2px solid var(--main-6); + display: inline-block; + + } -h1:after { +/* h1:after { content: ''; display: block; margin: 0.2em auto 0 0; width: 4em; height: 2px; border-bottom: 2px solid var(--main-6); -} +} */ -h1[title]:after { +/* h1[title]:after { content: ''; display: block; - margin: 0.2em auto 0; + margin: 0.2em auto 0.5em; width: 4em; height: 2px; - border-bottom: 2px solid var(--main-6); -} + /* border-bottom: 2px solid var(--main-6); */ +} */ /* h2标题样式 */