aboutsummaryrefslogtreecommitdiff
path: root/static/style.css
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2024-03-15 17:00:24 +0100
committerAlex Auvolat <alex@adnab.me>2024-03-15 17:00:24 +0100
commitf6a778698b8f0b709a7afa693ab42f8a0c314fe7 (patch)
treed515d76957960cb03a23d3ffe3b51d73a469ebc9 /static/style.css
parent32dccce54d58e81ea16463321b1a54de9371c555 (diff)
downloaddatagengo-f6a778698b8f0b709a7afa693ab42f8a0c314fe7.tar.gz
datagengo-f6a778698b8f0b709a7afa693ab42f8a0c314fe7.zip
practice: hide kanji unless hover
Diffstat (limited to 'static/style.css')
-rw-r--r--static/style.css6
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;
}