Skip to content

Commit

Permalink
XXXXXXX
Browse files Browse the repository at this point in the history
  • Loading branch information
flight025 committed Dec 10, 2023
1 parent 1aea4f7 commit ec7ae49
Showing 1 changed file with 12 additions and 27 deletions.
39 changes: 12 additions & 27 deletions css/fonts.css
Original file line number Diff line number Diff line change
@@ -1,27 +1,12 @@
@font-face {
font-family: 'Source Han Serif CN';
src: local('Source Han Serif CN'), local('Source Han Serif SC'),
local('Source Han Serif TC'), local('Source Han Serif TW'),
local('Source Han Serif'), local('Noto Serif CJK SC'), local('Songti SC'), local('SimSong'),
url('https://cdn.jsdelivr.net/gh/yihui/cron/fonts/SourceHanSerifCN-Regular-yihui.woff2') format('woff2');
}
@font-face {
font-family: 'FandolKai';
src: local('Kaiti'), local('Kaiti SC'), local('STKaiti'), local('楷体'), local('SimKai'), local('DFKai-SB'), local('FandolKai'),
url('https://cdn.jsdelivr.net/gh/yihui/cron/fonts/FandolKai-Regular-yihui.woff2') format('woff2');
}
body {
font-family: Palatino, 'Palatino Linotype', 'Palatino LT STD', 'Latin Modern Roman', 'Source Han Serif CN', serif;
}
.home blockquote, .cn blockquote, .kai, .cn em, .cn .side, .hash-note, .hide-notes .toggle-notes {
font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, FandolKai, serif;
}
code {
font-family: Consolas, Courier, 'Courier New', FandolKai, monospace;
}
pre, code {
font-size: .95em;
}
.cn em, .cn .title {
font-style: normal;
}
@font-face {
font-family: 'Source Han Serif CN';
src: local('Source Han Serif CN'), local('Source Han Serif SC'),
local('Source Han Serif TC'), local('Source Han Serif TW'),
local('Source Han Serif'), local('Noto Serif CJK SC'), local('Songti SC'), local('SimSong'),
url('https://cdn.jsdelivr.net/gh/yihui/cron/fonts/SourceHanSerifCN-Regular-yihui.woff2') format('woff2');
}
@font-face {
font-family: 'FandolKai';
src: local('Kaiti'), local('Kaiti SC'), local('STKaiti'), local('楷体'), local('SimKai'), local('DFKai-SB'), local('FandolKai'),
url('https://cdn.jsdelivr.net/gh/yihui/cron/fonts/FandolKai-Regular-yihui.woff2') format('woff2');
}

0 comments on commit ec7ae49

Please sign in to comment.