enhance:调整标题的样式。
This commit is contained in:
parent
a2b6019eae
commit
8523852cf0
|
@ -6,6 +6,16 @@ body {
|
|||
.main-content {
|
||||
min-height: calc(100vh - 80px - 72px - 32px);
|
||||
}
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
code {
|
||||
font-size: inherit;
|
||||
}
|
||||
}
|
||||
footer {
|
||||
height: 40px;
|
||||
background-color: #ffffff;
|
||||
|
@ -27,10 +37,11 @@ footer {
|
|||
width: max-content;
|
||||
word-break: keep-all;
|
||||
}
|
||||
.category-list, .category-list-child {
|
||||
.category-list,
|
||||
.category-list-child {
|
||||
padding-left: 8px;
|
||||
list-style-position: inside;
|
||||
list-style-type: '\25bc';
|
||||
list-style-type: "\25bc";
|
||||
.category-list-item {
|
||||
line-height: 1.7em;
|
||||
.category-list-link {
|
||||
|
@ -48,11 +59,12 @@ footer {
|
|||
}
|
||||
.category-list-child {
|
||||
padding-left: 16px;
|
||||
list-style-type: '\25b7';
|
||||
list-style-type: "\25b7";
|
||||
}
|
||||
}
|
||||
}
|
||||
.categories-toc-list, .categories-toc-list-child {
|
||||
.categories-toc-list,
|
||||
.categories-toc-list-child {
|
||||
list-style: none;
|
||||
padding-left: 0;
|
||||
.categories-toc-list-item {
|
||||
|
@ -101,7 +113,8 @@ footer {
|
|||
}
|
||||
}
|
||||
}
|
||||
.toc, .toc-child {
|
||||
.toc,
|
||||
.toc-child {
|
||||
padding-left: 0;
|
||||
list-style-type: none;
|
||||
list-style-position: outside;
|
||||
|
@ -111,7 +124,8 @@ footer {
|
|||
.toc-link {
|
||||
text-decoration: none;
|
||||
color: #000000;
|
||||
&:link, &:visited {
|
||||
&:link,
|
||||
&:visited {
|
||||
color: #000000;
|
||||
}
|
||||
&:hover {
|
||||
|
@ -125,7 +139,7 @@ footer {
|
|||
.tagcloud {
|
||||
a {
|
||||
text-decoration: none;
|
||||
&[class*=tag-item] {
|
||||
&[class*="tag-item"] {
|
||||
padding: 0 2px;
|
||||
break-inside: avoid;
|
||||
}
|
||||
|
@ -149,10 +163,15 @@ footer {
|
|||
}
|
||||
}
|
||||
article {
|
||||
img, video {
|
||||
img,
|
||||
video {
|
||||
margin-top: 8px;
|
||||
}
|
||||
h2, h3, h4, h5, h6 {
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
&[id]:target {
|
||||
position: relative;
|
||||
padding-top: 92px;
|
||||
|
|
Loading…
Reference in New Issue
Block a user