Skip to content

Instantly share code, notes, and snippets.

@k4zuki02h4t4
Last active October 22, 2016 18:20
Show Gist options
  • Save k4zuki02h4t4/aea11b3c25703f60083f728fb1583202 to your computer and use it in GitHub Desktop.
Save k4zuki02h4t4/aea11b3c25703f60083f728fb1583202 to your computer and use it in GitHub Desktop.
ModernJapaneseFontFamily { source: url(https://speakerdeck.com/tacamy/modanri-ben-yu-huontozhi-ding); }
@font-face {
font-family: "VisuAliveYuGothicM";
font-weight: normal;
src: local("YuGothic-Medium"),
local("Yu Gothic Medium"),
local("YuGothic-Regular");
}
@font-face {
font-family: 'VisuAliveYuGothicM';
font-weight: bold;
src: local("YuGothic-Bold"),
local("Yu Gothic");
}
/**
* Noto Sans JP (japanese) http://www.google.com/fonts/earlyaccess
*/
@font-face {
font-family: 'Noto Sans JP';
font-style: normal;
font-weight: 400;
src: url(//fonts.gstatic.com/ea/notosansjp/v5/NotoSansJP-Regular.woff2) format('woff2'),
url(//fonts.gstatic.com/ea/notosansjp/v5/NotoSansJP-Regular.woff) format('woff'),
url(//fonts.gstatic.com/ea/notosansjp/v5/NotoSansJP-Regular.otf) format('opentype');
}
@font-face {
font-family: 'Noto Sans JP';
font-style: normal;
font-weight: 700;
src: url(//fonts.gstatic.com/ea/notosansjp/v5/NotoSansJP-Bold.woff2) format('woff2'),
url(//fonts.gstatic.com/ea/notosansjp/v5/NotoSansJP-Bold.woff) format('woff'),
url(//fonts.gstatic.com/ea/notosansjp/v5/NotoSansJP-Bold.otf) format('opentype');
}
html {
font-family: "Noto Sans", "Noto Sans CJK JP", "Noto Sans JP", sans-serif;
}
html {
font-family: VisuAliveYuGothicM, YuGothic, -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment