aboutsummaryrefslogtreecommitdiff
path: root/anki-card-template
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2023-02-02 12:03:49 +0100
committerlonkaars <loek@pipeframe.xyz>2023-02-02 12:03:49 +0100
commit8e6e27aa0734a4d7d1de70a6f29fa0af5a26b801 (patch)
tree005839bdc3a1c1384a55f0cc99770ec3fde5b71e /anki-card-template
parent5971851778ad3ec38eb9f75ccc3b47cd1b92d54f (diff)
user-select none on extra writings count and furigana
Diffstat (limited to 'anki-card-template')
-rw-r--r--anki-card-template/card.css4
1 files changed, 4 insertions, 0 deletions
diff --git a/anki-card-template/card.css b/anki-card-template/card.css
index 126b37b..502b677 100644
--- a/anki-card-template/card.css
+++ b/anki-card-template/card.css
@@ -136,6 +136,9 @@ body {
/* hide furigana but don't shift layout */
#card.front ruby rt.hidden { visibility: hidden; }
+/* don't select furigana when selecting text */
+rt { user-select: none; }
+
/* extra space above complete translated sentence */
#card #back #sentence-translation { margin-top: 2em; }
@@ -438,6 +441,7 @@ body {
opacity: 1;
font-size: 75%;
font-weight: bold;
+ user-select: none;
}
#back .kanji .extra-writings {
transition-property: padding, gap;