Skip to content

Commit

Permalink
Adjust style
Browse files Browse the repository at this point in the history
  • Loading branch information
slhmy committed May 1, 2024
1 parent 9daff5c commit 593e317
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions assets/scss/custom.scss
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&family=Noto+Sans+SC:wght@100..900&family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap");

:root {
--zh-font-family: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Droid Sans Fallback", "Microsoft YaHei";
--base-font-family: "Noto Sans", var(--sys-font-family), var(--zh-font-family), sans-serif;
--code-font-family: "JetBrains Mono", Menlo, Monaco, Consolas, "Courier New", var(--zh-font-family), monospace;
--zh-font-family:
"Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Droid Sans Fallback", "Microsoft YaHei";
--base-font-family:
"Noto Sans", var(--sys-font-family), var(--zh-font-family), sans-serif;
--code-font-family:
Consolas, Menlo, Monaco, "Courier New", var(--zh-font-family), monospace;
}

@media (min-width: 1024px) {
Expand All @@ -24,7 +25,8 @@
}
}

.article-list--compact, .section-card {
.article-list--compact,
.section-card {
img {
border-radius: 8px;
}
Expand Down

0 comments on commit 593e317

Please sign in to comment.