Created
October 25, 2015 15:07
-
-
Save alick/7719fae5b2629c5a6eb3 to your computer and use it in GitHub Desktop.
User style for Chinese websites to replace Songti, Microsoft Yahei, and Courier fonts to alternatives on Linux.
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
@-moz-document regexp('https?://.*\\.cn/.*'), regexp('https?://dict.youdao.com/.*') { | |
@font-face {font-family:'宋体';src: local('Source Han Sans CN Normal');} | |
@font-face {font-family:'SimSun';src: local('Source Han Sans CN Normal');} | |
@font-face {font-family:'新宋体';src: local('Source Han Sans CN Normal');} | |
@font-face {font-family:'NSimSun';src: local('Source Han Sans CN Normal');} | |
@font-face {font-family:'微软雅黑';src: local('Source Han Sans CN Normal');} | |
@font-face {font-family:'Microsoft YaHei';src: local('Source Han Sans CN Normal');} | |
@font-face {font-family:'Courier New';src: local('monospace');} | |
@font-face {font-family:'Courier';src: local('monospace');} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment