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标题样式 */