1 .lang-LangueMandarin.sentence {
2 /* FIXME: should derive from Difficulties */
3 column-gap:0 !important
;
12 align-self:flex-start
;
18 /* ExplanationNote: avoid rounded borders to be cropped by background-color: */
21 border-top-left-radius:3mm;
22 border-top-right-radius:3mm;
25 .sentence-word:last-child {
30 background-color:white
;
31 font-family:monospace
;
32 font-variant:small-caps
;
39 justify-content:center
;
41 white-space:preserve-spaces
;
44 .sentence-cell.pronunciation {
51 .sentence-cell.input {
53 //border:1px solid
#aaa;
55 .sentence-cell.input.break .cell {
56 border-left:0 !important
;
57 border-top:0 !important
;
58 border-bottom:0 !important
;
59 border-right:0 !important
;
61 .sentence-word.word-index-0 .sentence-cell.input.input-index-1 .cell {
62 border-left:1px solid
#aaa;
64 .sentence-word
.sentence-cell
.input
.cell
66 border-top:1px solid
#aaa;
67 border-bottom:1px solid
#aaa;
68 border-right:1px solid
#aaa;
69 //border-left:1px solid
#aaa;
76 .sentence-cell.input.script-UnicodeBlockCJK-UnicodeBlockCJK-Unified-Ideographs .cell {
78 position:relative
!important
;
80 /* Compress a bit the height
82 .sentence-cell
.model
.script-UnicodeBlockLatin-UnicodeBlockLatin-Basic
,
83 .sentence-cell
.model
.script-UnicodeBlockLatin-UnicodeBlockLatin-ExtendedA
,
84 .sentence-cell
.model
.script-UnicodeBlockLatin-UnicodeBlockLatin1-Supplement
,
85 .sentence-cell.model.script-UnicodeBlockMiscellaneous-Technical {
88 .sentence-cell.input.script-UnicodeBlockLatin-UnicodeBlockLatin-Basic {
89 //border-bottom:1px solid
#aaa;
90 //border-top:1px solid
#aaa;
92 .sentence-cell.input.hidden {
95 .sentence-cell.break {
98 .sentence-cell.model.break {
102 --pronunciation-even:#ffaa5770;
103 --pronunciation-odd:#82c1ff70;
104 --pronunciation-border-size:3px;
105 --pronunciation-silent:transparent
;
107 .lang-LangueFrançais .sentence-cell {
108 --pronunciation-odd:darkblue
;
109 --pronunciation-even:lightblue
;
110 //--pronunciation-odd:#82c1ff70;
111 //--pronunciation-even:#0055A470;
112 //--pronunciation-odd:#c8e4ff;
113 //--pronunciation-even:#8fb4d7;
115 .lang-LangueAnglais .sentence-cell {
116 --pronunciation-odd:darkgreen
;
117 --pronunciation-even:lightgreen
;
118 //--pronunciation-odd:#a9ed8f;
119 //--pronunciation-even:#76c69e;
120 //--pronunciation-odd:#3dd70070;
121 //--pronunciation-even:#40846270;
123 .lang-LangueMandarin .sentence-cell {
124 --pronunciation-odd:darkred
;
125 --pronunciation-even:#FF7276;
126 //--pronunciation-odd:#ff8f8f;
127 //--pronunciation-even:#e3b68f;
128 //--pronunciation-odd:#ff000070;
129 //--pronunciation-even:#bf5a0070;
134 .sentence-cell.pronunciation.cell-even {
135 border-bottom:var
(--pronunciation-border-size
) solid var
(--pronunciation-even
);
136 color:var
(--pronunciation-even
);
138 .sentence-cell.pronunciation.cell-even.cell-split {
139 background:linear-gradient
(to right
,var
(--pronunciation-even
),var
(--pronunciation-odd
));
140 background-clip:text
;
142 border-image-source:linear-gradient
(to right
,var
(--pronunciation-even
),var
(--pronunciation-odd
));
143 border-image-slice:1;
145 .sentence-cell.pronunciation.cell-even.cell-depends-on-before:before {
149 border-left:var
(--pronunciation-border-size
) solid var
(--pronunciation-even
);
152 width:var
(--pronunciation-border-size
);
153 box-sizing:border-box
;
155 .sentence-cell.pronunciation.cell-even.cell-depends-on-after:after {
159 border-right:var
(--pronunciation-border-size
) solid var
(--pronunciation-even
);
163 width:var
(--pronunciation-border-size
);
164 box-sizing:border-box
;
166 .sentence-cell.pronunciation.cell-even.cell-depends-on-meaning:before {
172 width:var
(--pronunciation-border-size
);
173 box-sizing:border-box
;
175 border-bottom:var
(--pronunciation-border-size
) dotted var
(--pronunciation-even
);
180 .sentence-cell.pronunciation.cell-odd {
181 border-bottom:var
(--pronunciation-border-size
) solid var
(--pronunciation-odd
);
182 color:var
(--pronunciation-odd
);
184 .sentence-cell.pronunciation.cell-odd.cell-split {
185 background:linear-gradient
(to right
,var
(--pronunciation-odd
),var
(--pronunciation-even
));
186 background-clip:text
;
188 border-image-source:linear-gradient
(to right
,var
(--pronunciation-odd
),var
(--pronunciation-even
));
189 border-image-slice:1;
191 .sentence-cell.pronunciation.cell-odd.cell-depends-on-before:before {
195 border-left:var
(--pronunciation-border-size
) solid var
(--pronunciation-odd
);
198 box-sizing:border-box
;
200 .sentence-cell.pronunciation.cell-odd.cell-depends-on-after:after {
206 border-right:var
(--pronunciation-border-size
) solid var
(--pronunciation-odd
);
208 box-sizing:border-box
;
210 .sentence-cell.pronunciation.cell-odd.cell-depends-on-meaning:after {
217 box-sizing:border-box
;
219 border-bottom:var
(--pronunciation-border-size
) dotted var
(--pronunciation-odd
);
224 .sentence-cell.pronunciation.cell-silent {
225 border-bottom:var
(--pronunciation-border-size
) solid var
(--pronunciation-silent
);
226 color:var
(--pronunciation-silent
);
228 .sentence-cell.pronunciation.cell-silent.cell-depends-on-before:before {
232 border-left:var
(--pronunciation-border-size
) solid var
(--pronunciation-silent
);
235 box-sizing:border-box
;
237 .sentence-cell.pronunciation.cell-silent.cell-depends-on-after:after {
243 border-right:var
(--pronunciation-border-size
) solid var
(--pronunciation-silent
);
245 box-sizing:border-box
;