Created
October 7, 2010 00:44
-
-
Save Takazudo/614364 to your computer and use it in GitHub Desktop.
JA font-family
This file contains 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
// for font-family swap | |
(navigator.appVersion.indexOf("Win")>-1) && $('html').addClass('os-win'); |
This file contains 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
/* font-family for Japanese */ | |
body{ | |
font-family:'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', sans-serif; | |
} | |
html.os-win body{ | |
font-family:'メイリオ', Meiryo, 'MS Pゴシック', sans-serif; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment