summaryrefslogtreecommitdiff
path: root/ext/mixed/css/display.css
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-03-28 14:52:44 -0400
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-03-28 14:52:44 -0400
commitaa2a0c09f446aaa4ac5b052f5b9afb040e37afc2 (patch)
treefca9ee7bce59c4ece5eaeb25ab4b59d8e3c7b19a /ext/mixed/css/display.css
parenta339bf69d3841fa97ce9f6673472bd451b813937 (diff)
Update how pitch accent expressions are disambiguated
Diffstat (limited to 'ext/mixed/css/display.css')
-rw-r--r--ext/mixed/css/display.css21
1 files changed, 16 insertions, 5 deletions
diff --git a/ext/mixed/css/display.css b/ext/mixed/css/display.css
index aeb88a1a..c150b12e 100644
--- a/ext/mixed/css/display.css
+++ b/ext/mixed/css/display.css
@@ -488,14 +488,25 @@ button.action-button {
.term-pitch-accent-group-tag-list {
margin-right: 0.375em;
}
-.entry[data-unique-expression-count="1"] .term-pitch-accent-expression-list {
+
+.term-pitch-accent-expression-list {
+ padding-right: 0.25em;
+}
+
+.term-pitch-accent-expression-list[data-count="0"] {
display: none;
}
-.term-pitch-accent-expression:not(:last-of-type):after {
- content: "\3001";
+
+.term-pitch-accent-expression-list:before {
+ content: "(";
}
-.term-pitch-accent-expression:last-of-type:after {
- content: "\FF1A";
+
+.term-pitch-accent-expression-list:after {
+ content: " only)";
+}
+
+.term-pitch-accent-expression+.term-pitch-accent-expression:before {
+ content: ", ";
}
.term-pitch-accent-tag-list:not([data-count="0"]) {