Skip to content

Instantly share code, notes, and snippets.

Created November 20, 2017 01:41
What would you like to do?
Anki styling for Chinese cards
.card {
font-family: arial;
font-size: 20px;
text-align: center;
color: black;
background-color: white;
.card { word-wrap: break-word; }
.win .chinese { font-family: "MS Mincho", "MS 明朝"; }
.mac .chinese { font-family: "STFangsong"}
.linux .chinese { font-family: "Kochi Mincho", "東風明朝"; }
.mobile .chinese {font-family: "PingFangSC-Regular";}
.chinese { font-size: 50px;}
.comment {font-size: 15px;}
.tags {color:gray;text-align:right;font-size:10pt;}
.note {color:gray;font-size:12pt;margin-top:20pt;}
.hint {font-size:15pt;}
//.answer { background-color:bisque; border:dotted;border-width:1px}
.tone1 {color: red;}
.tone2 {color: orange;}
.tone3 {color: green;}
.tone4 {color: blue;}
.tone5 {color: gray;}
.mac .btm {
position: absolute;
bottom: 0;
.mobile .btm {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment