From e2a2c250f38943b5a222b20cb4ab9aca3c9021fc Mon Sep 17 00:00:00 2001 From: Bubblings Date: Fri, 26 Sep 2014 17:40:28 +0800 Subject: [PATCH] add fonts.scss --- fonts.scss | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 fonts.scss diff --git a/fonts.scss b/fonts.scss new file mode 100644 index 0000000..434edc6 --- /dev/null +++ b/fonts.scss @@ -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; +} \ No newline at end of file