I have created a deck for refreshing my kanji knowledge. As experience shows it is a good idea that I review kanji in several different fonts, as often a kanji that is immediately recognizable in a non-serif font (say) may require some serious brain racking when presented in a serif or somewhat calligraphic font.
What I found so far is that I can change the font by adding, say,
.main_wrap element of the css code for the layout. This allows me to have the same kanji in several different fonts on the card (e.g. one on the front, one on the back), create copies of the deck that use different fonts, or change the font manually from time to time by changing it in the layout.
This is already quite nice, but not yet ideal. Given the impressive functionality we have available for deck design in Kitsun, I wonder if we can do more… Would it be possible to make the font of the kanji on the front of the card depend on the SRS stage? (Is there a variable I can query that gives me the SRS stage? If so, can I work around the fact that there is no if/then in CSS?). If not, is it possible to make the font-family more variable in any other way (dependent on something else or a random value)?