Created
September 21, 2012 06:12
-
-
Save ethantw/3759978 to your computer and use it in GitHub Desktop.
Yijun's personal CJK-optimised browser-font-fallback stylesheets for Safari 6 on OS X.
This file contains hidden or 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
/* 這個檔案適用慣於閱讀「繁體康熙字典舊字形」的用戶 */ | |
/* ==================注意!================== | |
* 不可將sans-serif(或serif)字體宣告(@font-face)合併為一。 | |
* Do not combine the sans-serif (or serif) @font-faces into one. | |
* =======================================*/ | |
/* 無襯線字體 sans-serif */ | |
@font-face { | |
font-family: sans-serif; | |
src: local('Hiragino Sans GB'); | |
unicode-range: U+4E00-U+9FFF; /* general CJK */ | |
} | |
@font-face { | |
font-family: sans-serif; | |
src: local('Hiragino Kaku Gothic ProN'); | |
unicode-range: U+4E00-U+9FFF; | |
} | |
@font-face { | |
font-family: sans-serif; | |
src: local('Helvetica Neue'); | |
} | |
/* 襯線字體 serif */ | |
@font-face { | |
font-family: serif; | |
src: local('Songti SC'); | |
unicode-range: U+4E00-U+9FFF; | |
} | |
@font-face { | |
font-family: serif; | |
src: local('Hiragino Mincho ProN'); | |
unicode-range: U+4E00-U+9FFF; | |
} | |
@font-face { | |
font-family: serif; | |
src: local(Georgia); | |
} | |
/* 無襯線標點符號字體 sans-serif CJK-punctuation font */ | |
@font-face { | |
font-family: 'Biaodian Sans'; | |
src: local('Hiragino Kaku Gothic ProN'); | |
unicode-range: U+3002, U+FF0E, U+FF0C, U+3001, U+FF1B, U+FF1A, U+FF1F, U+FF01, | |
U+2014, U+2026, | |
U+300A-300B, U+3008-3009, U+FF08-FF09, /* brackets */ | |
U+300C-300F /* quotes */; | |
} | |
@font-face { | |
font-family: 'Biaodian Sans'; | |
src: local('Hiragino Sans GB'); | |
unicode-range: U+201C-201D, U+2018-2019, /* curve quotes */ | |
U+00B7; | |
} | |
/* 用於修正*大多數*中文網頁的標點 */ | |
html:lang(zh), html:lang(zh) body { | |
font-family: 'Biaodian Sans', sans-serif !important; | |
} |
This file contains hidden or 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
/* 這個檔案適用慣於閱讀「簡體規範手寫化印刷體」的用戶 */ | |
/* ==================注意!================== | |
* 不可將sans-serif(或serif)字體宣告(@font-face)合併為一。 | |
* Do not combine the sans-serif (or serif) @font-faces into one. | |
* =======================================*/ | |
/* 無襯線字體 sans-serif */ | |
@font-face { | |
font-family: sans-serif; | |
src: local('Hiragino Sans GB'); | |
unicode-range: U+4E00-U+9FFF; /* general CJK */ | |
} | |
@font-face { | |
font-family: sans-serif; | |
src: local('Helvetica Neue'); | |
} | |
/* 襯線字體 serif */ | |
@font-face { | |
font-family: serif; | |
src: local('Songti SC'); | |
unicode-range: U+4E00-U+9FFF; | |
} | |
@font-face { | |
font-family: serif; | |
src: local(Georgia); | |
} | |
/* 無襯線標點符號字體 sans-serif CJK-punctuation font */ | |
@font-face { | |
font-family: 'Biaodian Sans'; | |
src: local('Hiragino Kaku Gothic ProN'); | |
unicode-range: U+3002, U+FF0E, U+FF0C, U+3001, U+FF1B, U+FF1A, U+FF1F, U+FF01, | |
U+2014, U+2026, | |
U+300A-300B, U+3008-3009, U+FF08-FF09, /* brackets */ | |
U+300C-300F /* quotes */; | |
} | |
@font-face { | |
font-family: 'Biaodian Sans'; | |
src: local('Hiragino Sans GB'); | |
unicode-range: U+201C-201D, U+2018-2019, /* curve quotes */ | |
U+00B7; | |
} | |
/* 用於修正*大多數*中文網頁的標點 */ | |
html:lang(zh), html:lang(zh) body { | |
font-family: 'Biaodian Sans', sans-serif !important; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Chrome: /Users/USERNAME/Library/Application Support/Google/Chrome/Default/User StyleSheets/Custom.css