Skip to content

Instantly share code, notes, and snippets.

@fasiha
Created July 21, 2014 03:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fasiha/a32ee8e4c3349443293e to your computer and use it in GitHub Desktop.
Save fasiha/a32ee8e4c3349443293e to your computer and use it in GitHub Desktop.
Stylish (Chrome extension) style to use locally-installed Kanji Stroke Order font (if available) for Koohii.com's kanji study section
/* Stylish (Chrome extension) style to use locally-installed
Kanji Stroke Order font (if available) for Koohii.com's kanji
study section */
@font-face {
font-family: 'kanjistrokeorder-local';
src:
local('KanjiStrokeOrders'),
local('KanjiStrokeOrders.ttf');
}
div.left {
width: auto !important;
}
div.kanji {
line-height: 2.0em !important;
}
div.kanji span.cj-k {
font-family: "kanjistrokeorder-local","Hiragino Mincho Pro","ヒラギノ明朝 Pro W3","MS 明朝","MS P明朝",serif !important;
font-size: 300%;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment