summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-11-29 19:45:47 -0500
committerGitHub <noreply@github.com>2020-11-29 19:45:47 -0500
commitff6ebdab88c9f9459e633ed0dbf6134b6d3add70 (patch)
treec9abc9d0e3db83df3fb157661f725a535ca25d85 /ext
parent34451ebf7122a2a5d140696215411abfb0dfe188 (diff)
Update compact layout (#1077)
Diffstat (limited to 'ext')
-rw-r--r--ext/mixed/css/display.css14
1 files changed, 14 insertions, 0 deletions
diff --git a/ext/mixed/css/display.css b/ext/mixed/css/display.css
index 5f7af62e..5e3f2f9e 100644
--- a/ext/mixed/css/display.css
+++ b/ext/mixed/css/display.css
@@ -611,6 +611,9 @@ button.action-button {
display: inline-block;
color: var(--reason-text-color);
}
+.term-reasons:empty {
+ display: none;
+}
.term-reasons>.term-reason+.term-reason-separator+.term-reason::before {
content: " \00AB "; /* The two spaces is not a typo */
white-space: pre-wrap;
@@ -1149,7 +1152,18 @@ button.action-button {
display: inline;
color: var(--light-text-color);
}
+:root[data-glossary-layout-mode=compact] .entry:not([data-type=term][data-expression-multi=true]) .term-special-tags {
+ display: none;
+}
+:root[data-glossary-layout-mode=compact] .term-expression-details>.frequencies {
+ display: inline;
+}
+:root[data-glossary-layout-mode=compact] .term-pitch-accent-container {
+ border-bottom: none;
+ padding-bottom: 0;
+ margin-bottom: 0;
+}
:root[data-show-pitch-accent-downstep-notation=true] .term-pitch-accent-disambiguation-list[data-expression-count="0"],
:root[data-show-pitch-accent-downstep-notation=true] .term-pitch-accent-disambiguation[data-type=reading] {
display: none;