chore(partials): refactor partials

This commit is contained in:
Dillon
2020-02-21 23:42:35 +08:00
parent 611518ddd1
commit 4e6fe224cc
27 changed files with 554 additions and 534 deletions

View File

@@ -59,31 +59,47 @@
overflow: hidden;
text-overflow: ellipsis;
overflow-wrap: break-word;
}
h1,
h2,
h3,
h4,
h5,
h6,
p {
font-size: 1rem;
display: inline;
h2,
h3,
h4,
h5,
h6,
p {
font-size: 1rem;
display: inline;
&::after {
content: "\A";
white-space: pre;
&::after {
content: "\A";
white-space: pre;
}
}
}
h1,
h2,
h3,
h4,
h5,
h6 {
line-height: 2;
h2,
h3,
h4,
h5,
h6 {
line-height: 2;
&::before {
content: "|";
margin-right: .3125rem;
color: $single-link-color;
.dark-theme & {
color: $single-link-color-dark;
}
}
}
h2 {
font-size: 1.2rem;
&::before {
content: "#";
}
}
}
.post-footer {

View File

@@ -14,6 +14,10 @@
font-weight: 700;
}
.admonition-content {
margin: .5rem 0;
}
i.icon {
font-size: 16px;
color: map-get($admonition-color-map, 'note');