From 061d9d3cddbd2673e4601c335b362bb1435b59b8 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Mon, 27 Nov 2023 20:03:08 +0100 Subject: use furigana for extra examples --- static/style.css | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'static') 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; +} + -- cgit v1.2.3