fix: font family style

This commit is contained in:
Dillon
2022-05-15 23:41:35 +08:00
parent de88a28db7
commit b79ebc8141
10 changed files with 59 additions and 37 deletions

View File

@@ -4,8 +4,8 @@ code {
padding: 0 .4rem;
@include overflow-wrap(break-word);
@include line-break(anywhere);
font-size: $code-font-size;
font-family: $code-font-family;
font-size: var(--code-font-size);
font-family: var(--code-font-family);
color: $code-color;
[theme=dark] & {
@@ -38,8 +38,8 @@ code, pre, .highlight table, .highlight tr, .highlight td {
}
.highlight {
font-family: $code-font-family;
font-size: $code-font-size;
font-family: var(--code-font-family);
font-size: var(--code-font-size);
line-height: 1.4em;
margin: .5rem 0;
@@ -210,8 +210,8 @@ code, pre, .highlight table, .highlight tr, .highlight td {
}
.gist {
font-family: $code-font-family;
font-size: $code-font-size;
font-family: var(--code-font-family);
font-size: var(--code-font-size);
.table-wrapper {
> table,

View File

@@ -1,12 +1,12 @@
.toc {
.toc-title {
font-size: $toc-title-font-size;
font-size: var(--toc-title-font-size);
font-weight: bold;
text-transform: uppercase;
}
.toc-content {
font-size: $toc-content-font-size;
font-size: var(--toc-content-font-size);
ul {
text-indent: -0.85rem;