Guest User

All in One Kanji Deck custom styling

a guest
Jun 19th, 2016
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.38 KB | None | 0 0
  1. Custom styling for the "All in One Kanji Deck" deck on AnkiWeb.
  2. (made for recall cards but would be trivial to repurpose for recognition cards)
  3.  
  4. Deck:
  5. https://ankiweb.net/shared/info/798002504
  6.  
  7. Fonts used:
  8. IPA Gothic and Mincho - http://www.geocities.jp/ep3797/japanese_fonts.html
  9. Kanji stroke order font - http://www.nihilist.org.uk/
  10.  
  11. Screenshot:
  12. https://a.pomf.cat/zcghji.png
  13.  
  14. ____________________________________________________________________________________
  15.  
  16. ---FRONT---
  17. <span style="font-size: 25px;">{{English}}</span>
  18.  
  19. ____________________________________________________________________________________
  20.  
  21. ---BACK---
  22. {{FrontSide}}
  23.  
  24. <hr>
  25. <span style="font-size: 100px;">{{Kanji}} </span><span style="font-size: 100px; font-family: IPAPMincho;">{{Kanji}}</span><br /><br>
  26.  
  27. <span style="font-size: 22px;">
  28. {{Onyomi}}<br>{{Kunyomi}}<br>{{Nanori}}</span>
  29.  
  30. <div class=reading><hr><b>Stroke Order</b> ({{Number of Strokes}} strokes)</div>
  31. <span style="font-size: 180px;font-family: KanjiStrokeOrders;">{{Kanji}}</span><hr>
  32. <div class=reading><b>Kanji Level</b><br>・JLPT Level: N{{JLPT Level}}<br>・Jouyou Grade: {{Jouyou Grade}}<br>・Frequency: {{Frequency}}<hr>
  33. <!-- <b>Mnemonic</b><br>
  34. - Keyword: <a href="http://kanji.koohii.com/study/kanji/{{text:Keyword}}">{{Keyword}}</a>, <a href="http://kanji.koohii.com/study/kanji/{{text:Kanji}}">{{Kanji}}</a><br>
  35. - Koohii Story:<br>
  36. ・{{Koohii Story 1}}<br>
  37. ・{{Koohii Story 2}}<hr> -->
  38. <b>Reference Infomation</b> <br>
  39. ・<a href="http://tangorin.com/kanji/{{text:Kanji}}">Tangorin</a>, <a href="http://jisho.org/search/{{text:Kanji}}">Jisho</a>, <a href="http://www.weblio.jp/content/{{text:Kanji}}">Weblio</a><br>
  40. ・Components: <br></div><div class=components>{{Components}}</div><div class=reading>
  41. ・Kanji Radical: {{Kanji Radical}} (No. {{Radical Number}}, {{Radical Strokes}} strokes)<br>
  42. ・Radical Reading: {{Radical Reading}}<br>
  43. ・Traditional Form: {{Traditional Form}}<br>
  44. ・Classification: {{Classification}}
  45. </div><hr>
  46. <div class=reading> <b>Examples</b> <br>
  47. {{Examples}}</div>
  48.  
  49. ____________________________________________________________________________________
  50.  
  51. ---STYLING---
  52. .card {
  53. font-family: IPAPGothic;
  54. font-size: 20px;
  55. text-align: center;
  56. color: black;
  57. background-color: white;
  58. }
  59.  
  60. .reading {
  61. text-align: left;
  62. }
  63.  
  64. .components {
  65. text-align: left;
  66. margin-left: 15px;
  67. }
Add Comment
Please, Sign In to add comment