chore(partials): refactor partials
This commit is contained in:
@@ -54,7 +54,6 @@
|
||||
@import "../_partial/_single/toc";
|
||||
|
||||
.content {
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
@@ -66,22 +65,7 @@
|
||||
.dark-theme & {
|
||||
font-weight: bolder;
|
||||
}
|
||||
}
|
||||
|
||||
h2 > a:first-child::before {
|
||||
content: "#";
|
||||
margin-right: .3125rem;
|
||||
color: $single-link-color;
|
||||
|
||||
.dark-theme & {
|
||||
color: $single-link-color-dark;
|
||||
}
|
||||
}
|
||||
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
& > a:first-child::before {
|
||||
content: "|";
|
||||
margin-right: .3125rem;
|
||||
@@ -93,6 +77,10 @@
|
||||
}
|
||||
}
|
||||
|
||||
h2 > a:first-child::before {
|
||||
content: "#";
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: 1rem;
|
||||
margin: .5rem 0;
|
||||
|
||||
Reference in New Issue
Block a user