diff options
author | Alex Auvolat <alex@adnab.me> | 2024-03-15 17:00:24 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2024-03-15 17:00:24 +0100 |
commit | f6a778698b8f0b709a7afa693ab42f8a0c314fe7 (patch) | |
tree | d515d76957960cb03a23d3ffe3b51d73a469ebc9 | |
parent | 32dccce54d58e81ea16463321b1a54de9371c555 (diff) | |
download | datagengo-f6a778698b8f0b709a7afa693ab42f8a0c314fe7.tar.gz datagengo-f6a778698b8f0b709a7afa693ab42f8a0c314fe7.zip |
practice: hide kanji unless hover
-rw-r--r-- | static/style.css | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/static/style.css b/static/style.css index b699ead..43109e0 100644 --- a/static/style.css +++ b/static/style.css @@ -180,10 +180,14 @@ details .chars { visibility: hidden; } -#gen_section.gen_hidden #gen_ex_display rt { +#gen_section #gen_ex_display rt { visibility: hidden; } +#gen_section:not(.gen_hidden) #gen_ex_display:hover rt { + visibility: visible; +} + form p { text-align: center; } |