-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
新增精简字体规格定义的常规CSS文件,使用 font-display 属性增强交互体验
- Loading branch information
1 parent
f6c6de6
commit 5859ed2
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
33 changes: 33 additions & 0 deletions
33
dist/NotoSans/NotoSansCJKsc-hinted/subset/NotoSansCJKsc-hinted-slim/simple-font.css
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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
/* Noto Sans CJK SC */ | ||
|
||
@font-face { | ||
font-family: 'Noto Sans CJK SC'; | ||
font-style: normal; | ||
font-weight: 400; | ||
font-display: fallback; | ||
src: local('☺'), url('NotoSansCJKsc-Regular.woff2') format('woff2'), url('NotoSansCJKsc-Regular.woff') format('woff'), url('NotoSansCJKsc-Regular.otf') format('opentype'); | ||
} | ||
|
||
@font-face { | ||
font-family: 'Noto Sans CJK SC'; | ||
font-style: normal; | ||
font-weight: 100; | ||
font-display: fallback; | ||
src: local('☺'), url('NotoSansCJKsc-Thin.woff2') format('woff2'), url('NotoSansCJKsc-Thin.woff') format('woff'), url('NotoSansCJKsc-Thin.otf') format('opentype'); | ||
} | ||
|
||
@font-face { | ||
font-family: 'Noto Sans CJK SC'; | ||
font-style: normal; | ||
font-weight: 500; | ||
font-display: fallback; | ||
src: local('☺'), url('NotoSansCJKsc-Medium.woff2') format('woff2'), url('NotoSansCJKsc-Medium.woff') format('woff'), url('NotoSansCJKsc-Medium.otf') format('opentype'); | ||
} | ||
|
||
@font-face { | ||
font-family: 'Noto Sans CJK SC'; | ||
font-style: normal; | ||
font-weight: 700; | ||
font-display: fallback; | ||
src: local('☺'), url('NotoSansCJKsc-Bold.woff2') format('woff2'), url('NotoSansCJKsc-Bold.woff') format('woff'), url('NotoSansCJKsc-Bold.otf') format('opentype'); | ||
} |