diff options
author | Alex Auvolat <alex@adnab.me> | 2023-11-27 20:03:08 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2023-11-27 20:03:08 +0100 |
commit | 061d9d3cddbd2673e4601c335b362bb1435b59b8 (patch) | |
tree | f3f1e21afb368e177cb0e333802bef40a12541ab /static | |
parent | d2a46c25219c21ac4f128da8512302935654d38e (diff) | |
download | datagengo-061d9d3cddbd2673e4601c335b362bb1435b59b8.tar.gz datagengo-061d9d3cddbd2673e4601c335b362bb1435b59b8.zip |
use furigana for extra examples
Diffstat (limited to 'static')
-rw-r--r-- | static/style.css | 22 |
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; +} + |