summaryrefslogtreecommitdiff
path: root/ext/mixed/css
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mixed/css')
-rw-r--r--ext/mixed/css/display-dark.css1
-rw-r--r--ext/mixed/css/display-default.css1
-rw-r--r--ext/mixed/css/display.css21
3 files changed, 18 insertions, 5 deletions
diff --git a/ext/mixed/css/display-dark.css b/ext/mixed/css/display-dark.css
index 7f49ca40..67fdb797 100644
--- a/ext/mixed/css/display-dark.css
+++ b/ext/mixed/css/display-dark.css
@@ -62,6 +62,7 @@ h2 { border-bottom-color: #2f2f2f; }
.term-definition-list,
.term-pitch-accent-group-list,
+.term-pitch-accent-expression-list,
.kanji-glossary-list {
color: #888888;
}
diff --git a/ext/mixed/css/display-default.css b/ext/mixed/css/display-default.css
index 38e1bf19..be7a37a9 100644
--- a/ext/mixed/css/display-default.css
+++ b/ext/mixed/css/display-default.css
@@ -62,6 +62,7 @@ h2 { border-bottom-color: #eeeeee; }
.term-definition-list,
.term-pitch-accent-group-list,
+.term-pitch-accent-expression-list,
.kanji-glossary-list {
color: #777777;
}
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"]) {