@charset "utf-8"; @font-face { font-family: "KanjiStrokeOrders"; src: local("KanjiStrokeOrders"), url("_kso.ttf"); } @font-face { font-family: "Yu Mincho"; src: local("Yu Mincho"), local("游明朝"), url("_yumin.ttf"); } @font-face { 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; } .card { 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; max-width: 800px; margin: 0 auto; } .card1 { } .card2 .jpsentence ruby rt { opacity: 0; } .card2 .jpsentence:hover ruby rt { opacity: 1; } hr { margin: 2px 0; clear: both; } b { font-weight: 600; } .jpsentence b { color: grey; } /* links */ a { color: gray; } a:hover { color: #722a2a ; } a.hint { text-decoration: none; text-align: left; display: block; } /* Hide furigana on front */ nokana ruby rt { opacity:0.0; font-size:0; display: none; } notext b { background-color: black; color:transparent; } /* Top */ header { font-size: 14px; line-height: 18px; clear: both; } header > div:not(:last-child) { margin-right: 3px; } /* Space between elements */ .images { margin-top: 16px; } .images > img { margin-bottom: 16px; } /* Japanese sentence */ .jpsentence { font-size: 35px; } .tags { 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 peplay button */ .replaybutton { margin: 0; margin-right: 3px; text-decoration: none; } .replaybutton span { padding: 0; font-size: 16px; } .replaybutton span svg { fill: #FFFAF0; background: #333; border-radius: 3px; vertical-align: top; min-width: 16px; min-height: 16px; } /* PC peplay button */ a.replay-button { top: -.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; } /* Footer and links */ 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; } /* Vocab */ .vocab { margin-top: 16px; } .vocab div { display: inline-block; } .vocab br { display: none; } .vocab > .tags { vertical-align: top; } .notes > .tags { vertical-align: bottom; } /* Images */ .images { display: flex; flex-wrap: wrap; flex-direction: row; align-items: flex-start; align-content: space-between; justify-content: space-evenly; } .images > img { max-width: 47%; border-radius: 4px; filter: sepia(33%); } .images>img:only-child { max-width: 100%; } /* Production cards */ .production b { visibility: hidden; } .strokeorder { text-align: center; font-size: 150px; font-family: KanjiStrokeOrders; } /* Morphman coloring */ .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] { } .fside .jpsentence:hover [frequency=true] { } del.MorphManHide, del.morphmanhide {display:none;} /* Fix for Yomichan defs */ ul, ol { list-style-type: none; display: inline; margin: 0px; padding: 0px; } /* Fix for Yomichan pitch accents */ .vocab ol > li { display: inline; } .vocab ol > li:after { content: "・"; } .vocab ol > li:last-child:after { content: ""; } /* Fallback config */ /* #flip[data-line]::after { position:absolute; font-size: 50%; content: "⇵"; } */ #flip[data-line=""]::after { content: ""; } #flip[data-line]:hover span, .hover[data-line] span { display:none; } #flip[data-line=""]:hover span, .hover[data-line=""] span { display:block; } #flip:hover::before, .hover::before { content: attr(data-line); } /* Fallback sentence */ .fallback { font-size: 45px; } .fallback { text-align: center; } .fallback:hover { text-align: left; } /* Fallback config */