2021-11-27 14:47:23 +00:00
|
|
|
@charset "utf-8";
|
2022-01-02 16:34:52 +00:00
|
|
|
|
2021-11-27 14:47:23 +00:00
|
|
|
@font-face {
|
2022-01-02 16:34:52 +00:00
|
|
|
font-family: "KanjiStrokeOrders";
|
|
|
|
src: local("KanjiStrokeOrders"), url("_kso.ttf");
|
2021-11-27 14:47:23 +00:00
|
|
|
}
|
2022-01-02 16:34:52 +00:00
|
|
|
|
2021-11-27 14:47:23 +00:00
|
|
|
@font-face {
|
2022-01-02 16:34:52 +00:00
|
|
|
font-family: "Yu Mincho";
|
|
|
|
src: local("Yu Mincho"), local("游明朝"), url("_yumin.ttf");
|
2021-11-27 14:47:23 +00:00
|
|
|
}
|
2022-01-02 16:34:52 +00:00
|
|
|
|
2021-11-27 14:47:23 +00:00
|
|
|
@font-face {
|
2022-01-02 16:34:52 +00:00
|
|
|
font-family: "Yu Mincho";
|
|
|
|
src: local("Yu Mincho Demibold"), local("游明朝 Demibold"), url("_yumindb.ttf");
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
|
|
|
* {
|
|
|
|
box-sizing: border-box;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
2021-11-27 14:47:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.card {
|
2022-01-02 16:34:52 +00:00
|
|
|
background-color: #fffaf0;
|
|
|
|
color: #2a1b0a;
|
|
|
|
font-family: "Noto Serif", "Noto Serif CJK JP", Yu Mincho, "Liberation Serif", "Times New Roman", Times, Georgia,
|
|
|
|
Serif;
|
|
|
|
font-size: 24px;
|
|
|
|
text-align: left;
|
|
|
|
line-height: 1.4;
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.card1 {
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
.card2 .jpsentence ruby rt {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
.card2 .jpsentence:hover ruby rt {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (min-width: 820px) {
|
|
|
|
.card {
|
|
|
|
background-color: #e5d7c9;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
.wrap {
|
|
|
|
width: 800px;
|
|
|
|
padding: 0 5px 0;
|
|
|
|
background-color: #fffaf0;
|
|
|
|
border-left: 1px solid #c9bcbc;
|
|
|
|
border-right: 1px solid #c9bcbc;
|
|
|
|
min-height: 100vh;
|
|
|
|
}
|
|
|
|
.wrap .wrap {
|
|
|
|
width: auto;
|
|
|
|
padding: 0;
|
|
|
|
min-height: 0;
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
hr {
|
|
|
|
margin: 2px 0;
|
|
|
|
clear: both;
|
|
|
|
border: 0;
|
|
|
|
border-top: 1px solid #c9bcbc;
|
|
|
|
}
|
|
|
|
|
2022-04-17 14:37:06 +00:00
|
|
|
b, strong {
|
2022-01-02 16:34:52 +00:00
|
|
|
font-weight: 600;
|
|
|
|
}
|
2021-11-27 14:47:23 +00:00
|
|
|
|
|
|
|
/* links */
|
2022-01-02 16:34:52 +00:00
|
|
|
a {
|
|
|
|
color: #532f2f;
|
|
|
|
}
|
|
|
|
|
|
|
|
a:hover {
|
|
|
|
color: #722a2a;
|
|
|
|
}
|
|
|
|
|
|
|
|
a.hint {
|
|
|
|
text-decoration: none;
|
|
|
|
text-align: center;
|
|
|
|
display: block;
|
|
|
|
}
|
2021-11-27 14:47:23 +00:00
|
|
|
|
|
|
|
/* Hide furigana on front */
|
2022-01-02 16:34:52 +00:00
|
|
|
nokana ruby rt {
|
|
|
|
opacity: 0;
|
|
|
|
font-size: 0;
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2022-04-17 14:37:06 +00:00
|
|
|
notext b,
|
|
|
|
notext strong {
|
2022-01-02 16:34:52 +00:00
|
|
|
background-color: black;
|
|
|
|
color: transparent;
|
|
|
|
}
|
2021-11-27 14:47:23 +00:00
|
|
|
|
|
|
|
/* Top */
|
2022-01-02 16:34:52 +00:00
|
|
|
header {
|
|
|
|
display: flex;
|
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
|
|
|
|
header .tags {
|
|
|
|
border-radius: 0px 0px 3px 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
header > div:not(:last-child) {
|
|
|
|
margin-right: 3px;
|
|
|
|
}
|
2021-11-27 14:47:23 +00:00
|
|
|
|
|
|
|
/* Space between elements */
|
2022-01-02 16:34:52 +00:00
|
|
|
.images {
|
|
|
|
margin-top: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.images > img {
|
|
|
|
margin-bottom: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sent-center {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
flex-flow: column nowrap;
|
|
|
|
}
|
2021-11-27 14:47:23 +00:00
|
|
|
|
|
|
|
/* Japanese sentence */
|
2022-01-02 16:34:52 +00:00
|
|
|
|
|
|
|
.jpsentence {
|
|
|
|
font-size: 35px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Hide front side when the back is shown. */
|
|
|
|
|
|
|
|
.fside .jpsentence {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* English */
|
|
|
|
|
|
|
|
div.ensentence > a.hint {
|
|
|
|
color: #555;
|
|
|
|
font-size: 14px;
|
|
|
|
display: block;
|
|
|
|
border: 1px solid #ccc;
|
|
|
|
border-radius: 2.2px;
|
|
|
|
padding: 2px 10px;
|
|
|
|
margin: 4px 0;
|
|
|
|
}
|
|
|
|
div.ensentence > a.hint:hover {
|
|
|
|
color: #111;
|
|
|
|
background-color: rgba(0, 0, 0, 0.03);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Tags */
|
2021-11-27 14:47:23 +00:00
|
|
|
|
|
|
|
.tags {
|
2022-01-02 16:34:52 +00:00
|
|
|
font-family: "Noto Sans", "Noto Sans CJK JP", "Liberation Sans", Arial, Sans, sans-serif;
|
|
|
|
text-align: center;
|
|
|
|
display: inline-block;
|
|
|
|
text-transform: lowercase;
|
|
|
|
background-color: #333;
|
|
|
|
color: #fffaf0;
|
|
|
|
font-weight: bold;
|
|
|
|
padding: 1px 3px;
|
|
|
|
margin: 0;
|
|
|
|
cursor: pointer;
|
|
|
|
border-radius: 3px;
|
|
|
|
font-size: 12px;
|
|
|
|
line-height: 14px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* AnkiDroid replay button */
|
|
|
|
|
|
|
|
.replaybutton {
|
|
|
|
margin: 0;
|
|
|
|
margin-right: 3px;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.replaybutton span {
|
|
|
|
padding: 0;
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
|
|
|
|
2021-11-27 14:47:23 +00:00
|
|
|
.replaybutton span svg {
|
2022-01-02 16:34:52 +00:00
|
|
|
fill: #fffaf0;
|
|
|
|
background: #333;
|
|
|
|
border-radius: 3px;
|
|
|
|
vertical-align: top;
|
|
|
|
min-width: 16px;
|
|
|
|
min-height: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* PC replay button */
|
|
|
|
|
|
|
|
a.replay-button {
|
|
|
|
top: -0.125em;
|
|
|
|
position: relative;
|
|
|
|
margin: 0;
|
2021-11-27 14:47:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
a.replay-button svg {
|
2022-01-02 16:34:52 +00:00
|
|
|
height: 1em;
|
|
|
|
width: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
a.replay-button svg path {
|
|
|
|
fill: #fffaf0;
|
|
|
|
}
|
|
|
|
|
|
|
|
a.replay-button svg circle {
|
|
|
|
fill: #333;
|
2021-11-27 14:47:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Footer and links */
|
2022-01-02 16:34:52 +00:00
|
|
|
|
|
|
|
footer {
|
|
|
|
font-size: 16px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
footer > a {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
footer > a:after {
|
|
|
|
content: "·";
|
|
|
|
color: brown;
|
|
|
|
display: inline-block;
|
|
|
|
width: 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
footer > a:last-child:after {
|
|
|
|
content: "";
|
|
|
|
width: 0;
|
|
|
|
}
|
2021-11-27 14:47:23 +00:00
|
|
|
|
|
|
|
/* Vocab */
|
2022-01-02 16:34:52 +00:00
|
|
|
|
|
|
|
.vocab {
|
|
|
|
margin-top: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.vocab div {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.vocab br {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.vocab > .tags {
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
|
|
|
|
.notes > .tags {
|
|
|
|
vertical-align: bottom;
|
|
|
|
}
|
2021-11-27 14:47:23 +00:00
|
|
|
|
|
|
|
/* Images */
|
2022-01-02 16:34:52 +00:00
|
|
|
|
2021-11-27 14:47:23 +00:00
|
|
|
.images {
|
2022-01-02 16:34:52 +00:00
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: flex-start;
|
|
|
|
align-content: space-between;
|
|
|
|
justify-content: space-evenly;
|
2021-11-27 14:47:23 +00:00
|
|
|
}
|
2022-01-02 16:34:52 +00:00
|
|
|
|
2021-11-27 14:47:23 +00:00
|
|
|
.images > img {
|
2022-01-02 16:34:52 +00:00
|
|
|
max-width: 47%;
|
|
|
|
border-radius: 4px;
|
|
|
|
filter: sepia(33%);
|
2021-11-27 14:47:23 +00:00
|
|
|
}
|
2022-01-02 16:34:52 +00:00
|
|
|
|
|
|
|
.images > img:only-child {
|
2021-11-27 14:47:23 +00:00
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Production cards */
|
2022-01-02 16:34:52 +00:00
|
|
|
|
2022-04-17 14:37:06 +00:00
|
|
|
.production b,
|
|
|
|
.production strong {
|
2022-01-02 16:34:52 +00:00
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
2021-11-27 14:47:23 +00:00
|
|
|
.strokeorder {
|
2022-01-02 16:34:52 +00:00
|
|
|
text-align: center;
|
|
|
|
font-size: 150px;
|
|
|
|
font-family: KanjiStrokeOrders;
|
2021-11-27 14:47:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Morphman coloring */
|
|
|
|
|
2022-01-02 16:34:52 +00:00
|
|
|
.fside .jpsentence:hover [mtype="unknown"] {
|
|
|
|
background-color: #ffff99;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fside .jpsentence:hover [mtype="seen"] {
|
|
|
|
background-color: #ffd1b3;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fside .jpsentence:hover [mtype="known"] {
|
|
|
|
background-color: #b3e6cc;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fside .jpsentence:hover [mtype="mature"] {
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fside .jpsentence:hover [priority="true"] {
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fside .jpsentence:hover [frequency="true"] {
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
del.MorphManHide,
|
|
|
|
del.morphmanhide {
|
|
|
|
display: none;
|
|
|
|
}
|
2021-11-27 14:47:23 +00:00
|
|
|
|
|
|
|
/* Fix for Yomichan defs */
|
2022-01-02 16:34:52 +00:00
|
|
|
|
|
|
|
ul,
|
|
|
|
ol {
|
|
|
|
list-style-type: none;
|
|
|
|
display: inline;
|
|
|
|
margin: 0px;
|
|
|
|
padding: 0px;
|
2021-11-27 14:47:23 +00:00
|
|
|
}
|
2022-01-02 16:34:52 +00:00
|
|
|
|
2021-11-27 14:47:23 +00:00
|
|
|
/* Fix for Yomichan pitch accents */
|
|
|
|
|
2022-01-02 16:34:52 +00:00
|
|
|
.vocab ol > li {
|
|
|
|
display: inline;
|
|
|
|
}
|
2021-11-27 14:47:23 +00:00
|
|
|
|
2022-01-02 16:34:52 +00:00
|
|
|
.vocab ol > li:after {
|
|
|
|
content: "・";
|
2021-11-27 14:47:23 +00:00
|
|
|
}
|
2022-01-02 16:34:52 +00:00
|
|
|
|
|
|
|
.vocab ol > li:last-child:after {
|
|
|
|
content: "";
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Night Mode */
|
|
|
|
|
2022-01-13 14:29:35 +00:00
|
|
|
.nightMode.card {
|
|
|
|
color: #FFFFFF;
|
|
|
|
background-color: black;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nightMode .wrap {
|
|
|
|
background-color: #2F2F31;
|
|
|
|
}
|
|
|
|
|
2022-01-02 16:34:52 +00:00
|
|
|
.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 a {
|
2022-01-13 14:29:35 +00:00
|
|
|
color: #c7493a;
|
2022-01-02 16:34:52 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.nightMode a:hover {
|
2022-01-13 14:29:35 +00:00
|
|
|
color: #a33327;
|
2022-01-02 16:34:52 +00:00
|
|
|
}
|
|
|
|
|
2022-04-17 14:37:06 +00:00
|
|
|
.nightMode .jpsentence b,
|
|
|
|
.nightMode .jpsentence strong {
|
2022-01-02 16:34:52 +00:00
|
|
|
color: gray;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nightMode .images > img {
|
|
|
|
filter: sepia(0%);
|
|
|
|
}
|
|
|
|
|
|
|
|
.nightMode div.ensentence > a.hint {
|
|
|
|
color: #FFFFFF;
|
|
|
|
border: 1px solid #FFFFFF;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nightMode div.ensentence > a.hint:hover {
|
|
|
|
color: gray;
|
|
|
|
background-color: rgba(0, 0, 0, 0.20);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Don't select furigana */
|
|
|
|
|
|
|
|
.jpsentence ruby rt {
|
|
|
|
user-select: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Fallback config */
|
2021-11-27 14:47:23 +00:00
|
|
|
|
|
|
|
#flip[data-line=""]::after {
|
|
|
|
content: "";
|
|
|
|
}
|
|
|
|
|
|
|
|
#flip[data-line]:hover span, .hover[data-line] span {
|
2022-01-02 16:34:52 +00:00
|
|
|
display:none;
|
2021-11-27 14:47:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#flip[data-line=""]:hover span, .hover[data-line=""] span {
|
2022-01-02 16:34:52 +00:00
|
|
|
display:block;
|
2021-11-27 14:47:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#flip:hover::before, .hover::before {
|
2022-01-02 16:34:52 +00:00
|
|
|
content: attr(data-line);
|
2021-11-27 14:47:23 +00:00
|
|
|
}
|
|
|
|
|
2022-01-02 16:34:52 +00:00
|
|
|
.fallback {
|
|
|
|
font-size: 45px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fallback:hover {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Hide front side when the back is shown. */
|
2021-11-27 14:47:23 +00:00
|
|
|
|
2022-01-02 16:34:52 +00:00
|
|
|
.fside .fallback {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Fallback config */
|