AnkiNoteTemplate/templates/Japanese kana/template.css

93 lines
1.5 KiB
CSS
Raw Normal View History

2021-11-27 14:57:09 +00:00
@charset "utf-8";
@font-face {
font-family: "KanjiStrokeOrders";
src: local("KanjiStrokeOrders"), url("_kso.ttf");
}
div.front {
text-align: center;
font-size: 25px;
}
.card {
font-family: "Noto Sans", "Noto Sans CJK JP", "Liberation Sans", Helvetica, Arial, sans-serif;
background-color: #fffaf0;
}
.stroke {
text-align: center;
font-family: KanjiStrokeOrders;
font-size: 200px;
}
.replaybutton {
margin: 0;
margin-right: 3px;
text-decoration: none;
}
.replaybutton span {
padding: 0;
font-size: 16px;
height: 16px;
vertical-align: baseline;
}
.replaybutton span svg {
fill: #fffaf0;
background: #333;
border-radius: 3px;
vertical-align: top;
min-width: 16px;
min-height: 16px;
}
a.replay-button {
top: -0.125em;
position: relative;
}
a.replay-button svg {
height: 1em;
width: 1em;
}
a.replay-button svg path {
fill: #fffaf0;
}
a.replay-button svg circle {
fill: #333;
}
2022-01-01 22:00:56 +00:00
/* Night Mode */
.nightMode .tags {
background-color: #FFFFFF;
color: #2F2F31;
}
.nightMode a.replay-button svg path {
fill: #2F2F31;
}
.nightMode a.replay-button svg circle {
fill: #FFFFFF;
}
.nightMode .replaybutton span svg {
fill: #2F2F31;
background: #FFFFFF;
}
.nightMode.card {
color: #FFFFFF;
background-color: #2F2F31
}
.nightMode a {
color: gray;
}
.nightMode a:hover {
color: #722a2a;
}
.nightMode .images > img {
filter: sepia(0%);
}