summaryrefslogtreecommitdiff
path: root/ext/css/display.css
diff options
context:
space:
mode:
Diffstat (limited to 'ext/css/display.css')
-rw-r--r--ext/css/display.css30
1 files changed, 26 insertions, 4 deletions
diff --git a/ext/css/display.css b/ext/css/display.css
index 49aeaaa5..e0b7ab6d 100644
--- a/ext/css/display.css
+++ b/ext/css/display.css
@@ -809,17 +809,39 @@ button.action-button:active {
/* Inflections */
-.inflection-list {
- display: inline-block;
+.inflection-rule-chains {
+ padding-inline-start: 0;
+ list-style-type: none;
+}
+.inflection-rule-chain {
color: var(--reason-text-color);
}
-.inflection-list:empty {
+.inflection-rule-chain:empty {
display: none;
}
-.inflection-list>.inflection+.inflection-separator+.inflection::before {
+.inflection-rule-chain>.inflection+.inflection-separator+.inflection::before {
content: var(--inflection-separator);
padding: 0 0.25em;
}
+.inflection-source-icon {
+ display: inline-block;
+ white-space: nowrap;
+ text-align: center;
+ width: 1.4em;
+ margin-right: 0.2em;
+}
+.inflection-source-icon[data-inflection-source='dictionary']::after {
+ content: '📖';
+}
+.inflection-source-icon[data-inflection-source='algorithm']::after {
+ content: '🧩';
+}
+.inflection-source-icon[data-inflection-source='both'] {
+ width: 2.8em;
+}
+.inflection-source-icon[data-inflection-source='both']::after {
+ content: '🧩📖';
+}
/* Headwords */