-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
3 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,22 +2,13 @@ | |
|
||
// SIL Open Font License 1.1 (OFL) for Source Sans Fonts | ||
// https://github.com/adobe-fonts/source-sans/blob/release/LICENSE.md | ||
@import url("https://cdn.jsdelivr.net/gh/adobe-fonts/[email protected]/source-sans-3VF.css"); | ||
|
||
// Custom Source Han Sans VF fonts for Simplified Chinese | ||
@font-face { | ||
font-family: "Source Han Sans VF"; | ||
font-weight: 200 900; | ||
font-style: normal; | ||
font-stretch: normal; | ||
// The following is 8MB even after compression | ||
src: url("https://cdn.jsdelivr.net/gh/adobe-fonts/source-han-sans@release/Variable/WOFF2/OTF/Subset/SourceHanSansCN-VF.otf.woff2"); | ||
} | ||
@import url("https://cdn.jsdelivr.net/gh/pengx17/[email protected]/fonts.css"); | ||
|
||
:root { | ||
--ct-text-size: 16px; | ||
--ct-line-height: 1.6; | ||
--ls-font-family: "Source Sans 3 VF", "Source Han Sans VF", sans-serif; | ||
--ls-font-family: "Apple Color Emoji", "Segoe UI Emoji", "Source Sans 3 VF", | ||
"Source Han Sans VF", sans-serif; | ||
--ct-page-title-font-family: var(--ls-font-family); | ||
--ct-code-font-family: "Fira Code", monospace; | ||
} | ||
|