修改了 g2-left 样式,改变了标题的颜色和下内边距,改变了h1的颜色,修改了h1标签的下划线长度。

This commit is contained in:
Kane Wang 2022-04-15 17:57:13 +08:00
parent 440615684c
commit 1cb7e8315e
2 changed files with 18 additions and 9 deletions

View File

@ -306,7 +306,7 @@ h1:after {
content: ''; content: '';
display: block; display: block;
margin: 0.2em auto 0; margin: 0.2em auto 0;
width: 4em; width: 12rem;
height: 2px; height: 2px;
border-bottom: 2px solid var(--main-6); border-bottom: 2px solid var(--main-6);
} }

View File

@ -249,6 +249,7 @@ h6 {
font-weight: bold; font-weight: bold;
line-height: 1.4; line-height: 1.4;
cursor: text; cursor: text;
color: #476072;
} }
h1:hover a.anchor, h1:hover a.anchor,
@ -292,33 +293,41 @@ h6 code {
/* h1标题样式 */ /* 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; margin-top: 2.2rem;
text-align: left; text-align: left;
padding-bottom: .2em; padding-bottom: .2em;
font-size: 2.25em; font-size: 2.25em;
line-height: 1.2; line-height: 1.2;
/* border-bottom: 1px solid #eee; */ border-bottom: 2px solid var(--main-6);
display: inline-block;
} }
h1:after { /* h1:after {
content: ''; content: '';
display: block; display: block;
margin: 0.2em auto 0 0; margin: 0.2em auto 0 0;
width: 4em; width: 4em;
height: 2px; height: 2px;
border-bottom: 2px solid var(--main-6); border-bottom: 2px solid var(--main-6);
} } */
h1[title]:after { /* h1[title]:after {
content: ''; content: '';
display: block; display: block;
margin: 0.2em auto 0; margin: 0.2em auto 0.5em;
width: 4em; width: 4em;
height: 2px; height: 2px;
border-bottom: 2px solid var(--main-6); /* border-bottom: 2px solid var(--main-6); */
} } */
/* h2标题样式 */ /* h2标题样式 */