aboutsummaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-11-27 20:03:08 +0100
committerAlex Auvolat <alex@adnab.me>2023-11-27 20:03:08 +0100
commit061d9d3cddbd2673e4601c335b362bb1435b59b8 (patch)
treef3f1e21afb368e177cb0e333802bef40a12541ab /static
parentd2a46c25219c21ac4f128da8512302935654d38e (diff)
downloaddatagengo-061d9d3cddbd2673e4601c335b362bb1435b59b8.tar.gz
datagengo-061d9d3cddbd2673e4601c335b362bb1435b59b8.zip
use furigana for extra examples
Diffstat (limited to 'static')
-rw-r--r--static/style.css22
1 files changed, 22 insertions, 0 deletions
diff --git a/static/style.css b/static/style.css
index 4c066d9..0b708f6 100644
--- a/static/style.css
+++ b/static/style.css
@@ -99,3 +99,25 @@ details .chars {
.font_ja {
font-family: 'MS PGothic', Osaka, Arial, sans-serif;
}
+
+.extra_example {
+ text-align: center;
+}
+
+.extra_ja {
+ font-size: 1.5em;
+}
+
+.extra_en {
+ margin: 4px;
+ visibility: hidden;
+}
+
+.extra_ja rt {
+ visibility: hidden;
+}
+
+.extra_example:hover .extra_ja rt, .extra_example:hover .extra_en {
+ visibility: visible;
+}
+