Create a gist now

Instantly share code, notes, and snippets.

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;
color:blue
}
.mobile .btm {
display:none
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment