aphasiac
Member
From: 台湾
Registered: 2009-03-16
Posts: 1031
Hi, I use this stroke order font to enhance my reviews:
http://rtkwiki.koohii.com/wiki/Kanji_st … r_on_hover
However, in the last 2 weeks at some point it stopped working for me. Has something changed regarding the DIV tags on the main review site? Is it broken for everyone else??
Cheers!
Last edited by aphasiac (2011 March 28, 10:18 am)
ファブリス
Administrator
From: Belgium
Registered: 2006-06-14
Posts: 3699
Website
It's easier to change the font now actually, because there is a global CSS class set on all spans of CJK text.
The CSS rule .cj-k will target all elements that contain Japanese characters. These elements can be DIVs or SPANs or anything else so don't match the tag name, just the class name. It's better because it won't break regardless of how the html is updated.
Change the CSS rules with:
If you want to change the font size, then yeah, you'll need to use other classes, eg.
Let me now if that works.
That RtkWiki page will need updating.
Rules like "div#kanjibig p span.fcData-kanji" are too specific. These are bound to break with website updates. Better use "!important" to override the defaults: