Skip to content

Commit

Permalink
Create simple-font.css
Browse files Browse the repository at this point in the history
精简字体定义,只保留常规字体规格
  • Loading branch information
CodePlayer authored Jun 3, 2019
1 parent d314b6d commit f6c6de6
Showing 1 changed file with 37 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
/* Noto Sans CJK SC */
@font-face{
font-family: 'Noto Sans CJK SC';
font-style: normal;
font-weight: 400;
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: 200;
src: local('☺'),
url('NotoSansCJKsc-Light.woff2') format('woff2'),
url('NotoSansCJKsc-Light.woff') format('woff'),
url('NotoSansCJKsc-Light.otf') format('opentype');
}
@font-face{
font-family: 'Noto Sans CJK SC';
font-style: normal;
font-weight: 500;
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;
src: local('☺'),
url('NotoSansCJKsc-Bold.woff2') format('woff2'),
url('NotoSansCJKsc-Bold.woff') format('woff'),
url('NotoSansCJKsc-Bold.otf') format('opentype');
}

0 comments on commit f6c6de6

Please sign in to comment.