2021-11-27 15:15:10 +00:00
|
|
|
@charset "utf-8";
|
2022-12-30 19:39:22 +00:00
|
|
|
|
2021-11-27 15:15:10 +00:00
|
|
|
@font-face {
|
2022-12-30 19:39:22 +00:00
|
|
|
font-family: "KanjiStrokeOrders";
|
2023-03-07 02:20:01 +00:00
|
|
|
src:
|
|
|
|
local("KanjiStrokeOrders"),
|
|
|
|
url("_kso.woff2") format("woff2"),
|
|
|
|
url("_kso.ttf");
|
2021-11-27 15:15:10 +00:00
|
|
|
}
|
2022-12-30 19:39:22 +00:00
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: "Local Mincho";
|
2023-03-07 02:20:01 +00:00
|
|
|
src:
|
|
|
|
local("Yu Mincho"),
|
|
|
|
local("游明朝"),
|
|
|
|
local("IPAexMincho"),
|
|
|
|
local("IPAex明朝"),
|
|
|
|
local("IPAMincho"),
|
|
|
|
local("IPA明朝"),
|
|
|
|
local("IPAPMincho"),
|
|
|
|
local("IPA P明朝"),
|
|
|
|
local("TakaoExMincho"),
|
|
|
|
local("TakaoEx明朝"),
|
|
|
|
url("_yumin.woff2") format("woff2"),
|
|
|
|
url("_yumin.ttf");
|
2022-12-30 19:39:22 +00:00
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
|
2021-11-27 15:15:10 +00:00
|
|
|
@font-face {
|
2022-12-30 19:39:22 +00:00
|
|
|
font-family: "Local Mincho";
|
2023-03-07 02:20:01 +00:00
|
|
|
src:
|
|
|
|
local("Noto Serif CJK JP SemiBold"),
|
|
|
|
local("Noto Serif CJK JP DemiLight"),
|
|
|
|
local("Yu Mincho Demibold"),
|
|
|
|
local("游明朝 Demibold"),
|
|
|
|
url("_yumindb.woff2") format("woff2"),
|
|
|
|
url("_yumindb.ttf");
|
2021-11-27 15:15:10 +00:00
|
|
|
font-weight: 600;
|
|
|
|
}
|
2022-12-30 19:39:22 +00:00
|
|
|
|
2021-11-27 15:15:10 +00:00
|
|
|
@font-face {
|
|
|
|
font-family: "acgyosyo";
|
2023-03-07 02:20:01 +00:00
|
|
|
src:
|
|
|
|
local("acgyosyo"),
|
|
|
|
local("英椎行書"),
|
|
|
|
url("_acgyosyo.woff2") format("woff2"),
|
|
|
|
url("_acgyosyo.ttf");
|
2021-11-27 15:15:10 +00:00
|
|
|
}
|
|
|
|
|
2022-12-30 19:39:22 +00:00
|
|
|
*,
|
|
|
|
*::before,
|
|
|
|
*::after {
|
2021-11-27 15:15:10 +00:00
|
|
|
box-sizing: border-box;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
}
|
2022-12-30 19:39:22 +00:00
|
|
|
|
|
|
|
b,
|
|
|
|
strong {
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
2021-11-27 15:15:10 +00:00
|
|
|
.card {
|
|
|
|
font-size: 24px;
|
|
|
|
text-align: left;
|
|
|
|
background-color: #fffaf0;
|
|
|
|
color: #2a1b0a;
|
|
|
|
max-width: 800px;
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.card,
|
|
|
|
ruby rt {
|
2023-03-07 02:20:01 +00:00
|
|
|
font-family:
|
|
|
|
"Noto Serif",
|
|
|
|
"Noto Serif CJK JP",
|
|
|
|
"IPAexMincho",
|
|
|
|
"Yu Mincho",
|
|
|
|
"Local Mincho",
|
|
|
|
"Liberation Serif",
|
|
|
|
"Times New Roman",
|
|
|
|
Times,
|
|
|
|
Georgia,
|
|
|
|
Serif;
|
2021-11-27 15:15:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (min-width: 820px) {
|
|
|
|
.card {
|
|
|
|
background-color: #e5d7c9;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
2023-03-07 02:21:16 +00:00
|
|
|
|
2021-11-27 15:15:10 +00:00
|
|
|
.wrap {
|
|
|
|
width: 800px;
|
|
|
|
padding: 0 5px 0;
|
|
|
|
background-color: #fffaf0;
|
|
|
|
border-left: 1px solid #c9bcbc;
|
|
|
|
border-right: 1px solid #c9bcbc;
|
|
|
|
min-height: 100vh;
|
|
|
|
}
|
2023-03-07 02:21:16 +00:00
|
|
|
|
2021-11-27 15:15:10 +00:00
|
|
|
.wrap .wrap {
|
|
|
|
width: auto;
|
|
|
|
padding: 0;
|
|
|
|
min-height: 0;
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* links */
|
2022-03-26 16:11:28 +00:00
|
|
|
|
2021-11-27 15:15:10 +00:00
|
|
|
a {
|
|
|
|
color: #532f2f;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
2023-03-07 02:21:16 +00:00
|
|
|
|
2021-11-27 15:15:10 +00:00
|
|
|
a:hover {
|
|
|
|
color: #722a2a;
|
|
|
|
}
|
2022-03-26 16:11:28 +00:00
|
|
|
|
|
|
|
/* header */
|
|
|
|
|
2021-11-27 15:15:10 +00:00
|
|
|
header {
|
|
|
|
display: flex;
|
|
|
|
clear: both;
|
|
|
|
}
|
2023-03-07 02:21:16 +00:00
|
|
|
|
|
|
|
header>div:not(:last-child) {
|
2021-11-27 15:15:10 +00:00
|
|
|
margin-right: 3px;
|
|
|
|
}
|
2023-03-07 02:21:16 +00:00
|
|
|
|
2021-11-27 15:15:10 +00:00
|
|
|
header .tags {
|
|
|
|
border-radius: 0px 0px 3px 3px;
|
|
|
|
}
|
2022-03-26 16:11:28 +00:00
|
|
|
|
|
|
|
/* question */
|
|
|
|
|
2022-12-30 19:39:22 +00:00
|
|
|
#question {
|
2023-03-07 02:20:01 +00:00
|
|
|
font-family:
|
|
|
|
"acgyosyo",
|
|
|
|
"Noto Serif",
|
|
|
|
"Noto Serif CJK JP",
|
|
|
|
"IPAexMincho",
|
|
|
|
"Yu Mincho",
|
|
|
|
"Local Mincho",
|
|
|
|
"Liberation Serif",
|
|
|
|
"Times New Roman",
|
|
|
|
Times,
|
|
|
|
Georgia,
|
|
|
|
Serif;
|
2022-01-08 19:49:16 +00:00
|
|
|
}
|
2023-03-07 02:21:16 +00:00
|
|
|
|
2021-11-27 15:15:10 +00:00
|
|
|
.japanese {
|
|
|
|
text-align: center;
|
|
|
|
font-size: 40px;
|
|
|
|
}
|
2023-03-07 02:21:16 +00:00
|
|
|
|
2022-12-30 19:39:22 +00:00
|
|
|
.definition,
|
|
|
|
.notes {
|
2021-11-27 15:15:10 +00:00
|
|
|
text-align: left;
|
|
|
|
margin: 10px 0;
|
|
|
|
line-height: 1.5;
|
2022-12-30 19:39:22 +00:00
|
|
|
font-weight: 300;
|
2021-11-27 15:15:10 +00:00
|
|
|
}
|
2023-03-07 02:21:16 +00:00
|
|
|
|
2021-11-27 15:15:10 +00:00
|
|
|
.pronunciation {
|
|
|
|
text-align: center;
|
|
|
|
margin: 8px 0;
|
|
|
|
}
|
2023-03-07 02:21:16 +00:00
|
|
|
|
2021-11-27 15:15:10 +00:00
|
|
|
.pronunciation br {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
hr {
|
|
|
|
margin: 2px 0;
|
|
|
|
clear: both;
|
|
|
|
border: 0;
|
|
|
|
border-top: 1px solid #c9bcbc;
|
|
|
|
}
|
|
|
|
|
2022-03-26 16:11:28 +00:00
|
|
|
/*
|
|
|
|
Images
|
|
|
|
Up to 3 columns, rows added automatically.
|
|
|
|
*/
|
|
|
|
|
|
|
|
.images {
|
|
|
|
margin: 10px 0;
|
|
|
|
display: grid;
|
|
|
|
justify-items: center;
|
|
|
|
align-items: start;
|
|
|
|
align-content: start;
|
|
|
|
justify-content: space-around;
|
|
|
|
gap: 5px;
|
|
|
|
grid-auto-columns: minmax(100px, 1fr);
|
|
|
|
grid-auto-rows: minmax(100px, auto);
|
|
|
|
}
|
2023-03-07 02:21:16 +00:00
|
|
|
|
|
|
|
.images br,
|
|
|
|
.images>* {
|
2021-11-27 15:15:10 +00:00
|
|
|
display: none;
|
|
|
|
}
|
2023-03-07 02:21:16 +00:00
|
|
|
|
2022-03-26 16:11:28 +00:00
|
|
|
.images img {
|
2022-03-26 11:47:44 +00:00
|
|
|
display: block;
|
2021-11-27 15:15:10 +00:00
|
|
|
border-radius: 4px;
|
|
|
|
filter: sepia(33%);
|
|
|
|
max-width: 100%;
|
2022-03-26 16:11:28 +00:00
|
|
|
max-height: 95vh;
|
|
|
|
}
|
2023-03-07 02:21:16 +00:00
|
|
|
|
2022-03-26 16:11:28 +00:00
|
|
|
.images img:nth-child(3n+1) {
|
2023-03-07 02:21:16 +00:00
|
|
|
grid-column: 1;
|
2022-03-26 16:11:28 +00:00
|
|
|
}
|
2023-03-07 02:21:16 +00:00
|
|
|
|
2022-03-26 16:11:28 +00:00
|
|
|
.images img:nth-child(3n+2) {
|
2023-03-07 02:21:16 +00:00
|
|
|
grid-column: 2;
|
2022-03-26 16:11:28 +00:00
|
|
|
}
|
2023-03-07 02:21:16 +00:00
|
|
|
|
2022-03-26 16:11:28 +00:00
|
|
|
.images img:nth-child(3n+3) {
|
2023-03-07 02:21:16 +00:00
|
|
|
grid-column: 3;
|
2021-11-27 15:15:10 +00:00
|
|
|
}
|
|
|
|
|
2022-03-26 16:11:28 +00:00
|
|
|
/* Footer */
|
|
|
|
|
2021-11-27 15:15:10 +00:00
|
|
|
footer {
|
|
|
|
font-size: 16px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
2023-03-07 02:21:16 +00:00
|
|
|
|
|
|
|
footer>a:after {
|
2021-11-27 15:15:10 +00:00
|
|
|
content: "·";
|
|
|
|
color: brown;
|
|
|
|
display: inline-block;
|
|
|
|
width: 6px;
|
|
|
|
}
|
2023-03-07 02:21:16 +00:00
|
|
|
|
|
|
|
footer>a:last-child:after {
|
2021-11-27 15:15:10 +00:00
|
|
|
content: "";
|
|
|
|
width: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tags {
|
2023-03-07 02:20:01 +00:00
|
|
|
font-family:
|
|
|
|
"Noto Sans",
|
|
|
|
"Noto Sans CJK JP",
|
|
|
|
"Liberation Sans",
|
|
|
|
Arial,
|
|
|
|
Sans,
|
|
|
|
IPAGothic,
|
|
|
|
Yu Gothic,
|
|
|
|
sans-serif;
|
2021-11-27 15:15:10 +00:00
|
|
|
text-align: center;
|
|
|
|
display: inline-block;
|
|
|
|
text-transform: lowercase;
|
|
|
|
background-color: #333;
|
|
|
|
color: #fffaf0;
|
|
|
|
font-weight: bold;
|
|
|
|
padding: 1px 3px;
|
|
|
|
cursor: pointer;
|
|
|
|
border-radius: 3px;
|
|
|
|
font-size: 12px;
|
|
|
|
line-height: 14px;
|
|
|
|
}
|
|
|
|
|
2022-03-26 16:11:28 +00:00
|
|
|
/*
|
|
|
|
AnkiDroid peplay button
|
|
|
|
.replaybutton is an <a> tag with a <span> that has an <svg> inside
|
|
|
|
*/
|
2021-11-27 15:15:10 +00:00
|
|
|
.replaybutton {
|
|
|
|
margin: 0;
|
|
|
|
margin-right: 3px;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
2023-03-07 02:21:16 +00:00
|
|
|
|
2021-11-27 15:15:10 +00:00
|
|
|
.replaybutton span {
|
|
|
|
padding: 0;
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
2023-03-07 02:21:16 +00:00
|
|
|
|
2021-11-27 15:15:10 +00:00
|
|
|
.replaybutton span svg {
|
|
|
|
fill: #fffaf0;
|
|
|
|
background: #333;
|
|
|
|
border-radius: 3px;
|
|
|
|
vertical-align: top;
|
|
|
|
min-width: 16px;
|
|
|
|
min-height: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* PC peplay button */
|
2022-03-26 16:11:28 +00:00
|
|
|
|
2021-11-27 15:15:10 +00:00
|
|
|
a.replay-button {
|
|
|
|
top: -0.125em;
|
|
|
|
position: relative;
|
|
|
|
}
|
2023-03-07 02:21:16 +00:00
|
|
|
|
2021-11-27 15:15:10 +00:00
|
|
|
a.replay-button svg {
|
|
|
|
height: 1em;
|
|
|
|
width: 1em;
|
|
|
|
}
|
2023-03-07 02:21:16 +00:00
|
|
|
|
2021-11-27 15:15:10 +00:00
|
|
|
a.replay-button svg path {
|
|
|
|
fill: #fffaf0;
|
|
|
|
}
|
2023-03-07 02:21:16 +00:00
|
|
|
|
2021-11-27 15:15:10 +00:00
|
|
|
a.replay-button svg circle {
|
|
|
|
fill: #333;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Fix for Yomichan */
|
2022-03-26 16:11:28 +00:00
|
|
|
|
2021-11-27 15:15:10 +00:00
|
|
|
ul,
|
|
|
|
ol {
|
|
|
|
list-style-type: none;
|
|
|
|
display: inline;
|
|
|
|
margin: 0px;
|
|
|
|
padding: 0px;
|
|
|
|
}
|
2023-03-07 02:21:16 +00:00
|
|
|
|
|
|
|
ul li+li,
|
|
|
|
ol li+li {
|
2022-12-30 19:39:22 +00:00
|
|
|
margin-block-start: 0.33em;
|
2022-09-12 16:57:00 +00:00
|
|
|
}
|
2023-03-07 02:21:16 +00:00
|
|
|
|
|
|
|
.pronunciation ol>li {
|
2021-11-27 15:15:10 +00:00
|
|
|
display: inline;
|
|
|
|
}
|
2023-03-07 02:21:16 +00:00
|
|
|
|
|
|
|
.pronunciation ol>li:after {
|
2021-11-27 15:15:10 +00:00
|
|
|
content: "・";
|
|
|
|
}
|
2023-03-07 02:21:16 +00:00
|
|
|
|
|
|
|
.pronunciation ol>li:last-child:after {
|
2021-11-27 15:15:10 +00:00
|
|
|
content: "";
|
|
|
|
}
|
2022-01-01 21:59:26 +00:00
|
|
|
|
|
|
|
/* Night Mode */
|
|
|
|
|
2022-02-21 12:22:14 +00:00
|
|
|
.nightMode.card,
|
|
|
|
.nightMode .wrap {
|
|
|
|
color: #FFFFFF;
|
|
|
|
background-color: #2F2F31;
|
|
|
|
}
|
|
|
|
|
2022-01-01 21:59:26 +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-02-21 12:22:14 +00:00
|
|
|
color: #c7493a;
|
2022-01-01 21:59:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.nightMode a:hover {
|
2022-02-21 12:22:14 +00:00
|
|
|
color: #a33327;
|
2022-01-01 21:59:26 +00:00
|
|
|
}
|
|
|
|
|
2023-03-07 02:21:16 +00:00
|
|
|
.nightMode .images>img {
|
2022-01-01 21:59:26 +00:00
|
|
|
filter: sepia(0%);
|
|
|
|
}
|
2022-01-21 09:30:01 +00:00
|
|
|
|
|
|
|
/* Dim furigana color on the front (if present) */
|
|
|
|
|
|
|
|
.japanese.question ruby rt {
|
|
|
|
opacity: 0.15;
|
|
|
|
transition: opacity 0.15s;
|
|
|
|
}
|
2023-03-07 02:21:16 +00:00
|
|
|
|
2022-01-21 09:30:01 +00:00
|
|
|
.japanese.question:hover ruby rt {
|
|
|
|
opacity: 1;
|
2022-03-26 16:11:28 +00:00
|
|
|
}
|