diff options
author | Kuuuube <61125188+Kuuuube@users.noreply.github.com> | 2024-04-25 08:38:46 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-25 12:38:46 +0000 |
commit | 0c29b10a711f2ff9978ec9898867eb0aae88298d (patch) | |
tree | a05a2510c34e62b15865e4dde1418b75d42c444b /ext/css | |
parent | f0196aaf6beac57e17972c87153376bbbcdd7282 (diff) |
Add option to disable furigana and reading in Term display style (#862)
* Add option to disable furigana and reading in `Term display style`
* Also hide search reading
Diffstat (limited to 'ext/css')
-rw-r--r-- | ext/css/display.css | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ext/css/display.css b/ext/css/display.css index a148af13..90f6a1e6 100644 --- a/ext/css/display.css +++ b/ext/css/display.css @@ -947,7 +947,11 @@ button.action-button:active { :root[data-term-display-mode=term-and-reading] .headword[data-reading-is-same=true] .headword-reading-outer { display: none; } -:root[data-term-display-mode=term-and-reading] .headword-term>ruby>rt { +:root[data-term-display-mode=term-and-reading] .headword-term>ruby>rt, +:root[data-term-display-mode=term-only] .headword-term>ruby>rt { + display: none; +} +:root[data-term-display-mode=term-only] .query-parser-term>ruby>rt { display: none; } |