feat(article): font enhancement (#767)

Change font settings
This commit is contained in:
Jacob Zhong 2023-09-03 09:32:44 -04:00 committed by GitHub
parent d3682b3567
commit be4fd55095
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 1 deletions

View File

@ -54,6 +54,7 @@
} }
.article-title { .article-title {
font-family: var(--article-font-family);
font-weight: 600; font-weight: 600;
margin: 0; margin: 0;
color: var(--card-text-color-main); color: var(--card-text-color-main);

View File

@ -33,6 +33,10 @@
margin: var(--card-padding) 0; margin: var(--card-padding) 0;
color: var(--card-text-color-main); color: var(--card-text-color-main);
.footnotes {
font-family: var(--base-font-family);
}
img { img {
max-width: 100%; max-width: 100%;
height: auto; height: auto;

View File

@ -44,7 +44,7 @@ $defaultTagColors: #fff, #fff, #fff, #fff, #fff;
--zh-font-family: "PingFang SC", "Hiragino Sans GB", "Droid Sans Fallback", "Microsoft YaHei"; --zh-font-family: "PingFang SC", "Hiragino Sans GB", "Droid Sans Fallback", "Microsoft YaHei";
--base-font-family: "Lato", var(--sys-font-family), var(--zh-font-family), sans-serif; --base-font-family: "Lato", var(--sys-font-family), var(--zh-font-family), sans-serif;
--code-font-family: Menlo, Monaco, Consolas, "Courier New", monospace; --code-font-family: Menlo, Monaco, Consolas, "Courier New", var(--zh-font-family), monospace;
} }
/* /*