Skip to content

Commit

Permalink
Merge pull request #24 from Bubblings/master
Browse files Browse the repository at this point in the history
add fonts.scss
  • Loading branch information
zenozeng authored Oct 25, 2016
2 parents 23364a3 + e2a2c25 commit bbfb5e6
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions fonts.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/*!
* Fonts.scss -- Cross-platform Chinese fonts solution
*
* Added by Bubblings(http://weibo.com/607768123)
*
* Github: https://github.com/zenozeng/fonts.css
*/

@mixin font-hei {
font-family: "Helvetica Neue", Helvetica, "Nimbus Sans L", Arial, "Liberation Sans", "Hiragino Sans GB", "Source Han Sans CN Normal", "Microsoft YaHei", "Wenquanyi Micro Hei", "WenQuanYi Zen Hei", "ST Heiti", SimHei, "WenQuanYi Zen Hei Sharp", sans-serif;
}

@mixin font-kai {
font-family: Baskerville, Georgia, "Liberation Serif", "Kaiti SC", STKaiti, "AR PL UKai CN", "AR PL UKai HK", "AR PL UKai TW", "AR PL UKai TW MBE", "AR PL KaitiM GB", KaiTi, KaiTi_GB2312, "TW\-Kai", serif;
}

@mixin font-song {
font-family: Georgia, "Nimbus Roman No9 L", "Songti SC", STSong, "AR PL New Sung", "AR PL SungtiL GB", NSimSun, SimSun, "TW\-Sung", "WenQuanYi Bitmap Song", "AR PL UMing CN", "AR PL UMing HK", "AR PL UMing TW", "AR PL UMing TW MBE", serif;
}

@mixin font-fang-song {
font-family: Baskerville, "Times New Roman", "Liberation Serif", STFangsong, FangSong, FangSong_GB2312, "CWTEX\-F", serif;
}

@mixin font-ming {
font-family: Georgia, "Nimbus Roman No9 L", "AR PL UMing CN", "AR PL UMing HK", "AR PL UMing TW", "AR PL UMing TW MBE", PMingLiU, MingLiU, serif;
}

0 comments on commit bbfb5e6

Please sign in to comment.