temml 0.10.13 → 0.10.15

Sign up to get free protection for your applications and to get access to all the features.
@@ -28,6 +28,10 @@ math * {
28
28
  border-color: currentColor;
29
29
  }
30
30
 
31
+ /* Next line is active in Firefox and Safari.
32
+ * Not in Chromium, which recognizes display: "block math" written inline. */
33
+ math.tml-display { display: block; }
34
+
31
35
  mtext {
32
36
  font-family: STIX2;
33
37
  }
@@ -55,7 +59,7 @@ math > mrow {
55
59
  }
56
60
 
57
61
  /* Avoid flex-wrap in Firefox */
58
- @supports (-moz-appearance:meterbar) and (display:flex) {
62
+ @-moz-document url-prefix() {
59
63
  math { display: inline; }
60
64
  math > mrow { padding: 0 }
61
65
  }
@@ -69,149 +73,3 @@ math > mrow {
69
73
  body {
70
74
  counter-reset: tmlEqnNo;
71
75
  }
72
-
73
- /* Environment arrays */
74
-
75
- /* Environments that addjot to row spacing */
76
- mtable.tml-jot > mtr > mtd {
77
- padding-top: calc(0.5ex + 0.09em);
78
- padding-bottom: calc(0.5ex + 0.09em);
79
- }
80
-
81
- /* Zero column gap for {alignat}, {split}, etc */
82
- mtable.tml-abut > mtr > mtd,
83
- mtable.tml-align > mtr > mtd:nth-child(odd),
84
- mtable.tml-align-star > mtr > mtd:nth-child(even) {
85
- padding-left: 0em;
86
- padding-right: 0em;
87
- }
88
-
89
- mtable.tml-align > mtr > mtd:nth-child(even),
90
- mtable.tml-align-star > mtr > mtd:nth-child(odd) {
91
- padding-left: 1em;
92
- padding-right: 0em;
93
- }
94
-
95
- mtable.tml-align > mtr > mtd:nth-child(1) {
96
- padding-left: 0em;
97
- }
98
-
99
- mtable.tml-align > mtr > mtd:nth-child(odd),
100
- mtable.tml-alignat > mtr > mtd:nth-child(odd),
101
- mtable.tml-aligned > mtr > mtd:nth-child(even) {
102
- text-align: -webkit-left;
103
- text-align: -moz-left;
104
- }
105
-
106
- mtable.tml-align > mtr > mtd:nth-child(even),
107
- mtable.tml-alignat > mtr > mtd:nth-child(even),
108
- mtable.tml-aligned > mtr > mtd:nth-child(odd) {
109
- text-align: -webkit-right;
110
- text-align: -moz-right;
111
- }
112
-
113
- mtable.tml-cases > mtr > mtd {
114
- padding-left: 0em;
115
- padding-right: 0em;
116
- text-align: -webkit-left;
117
- text-align: -moz-left;
118
- }
119
-
120
- mtable.tml-cases > mtr > mtd:nth-child(2) {
121
- padding-left: 1em;
122
- }
123
-
124
- mtable.tml-small > mtr > mtd {
125
- padding-top: 0.35ex;
126
- padding-bottom: 0.35ex;
127
- padding-left: 0.1389em;
128
- padding-right: 0.1389em;
129
- }
130
-
131
- mtable.tml-subarray > mtr > mtd {
132
- padding-top: 0em;
133
- padding-left: 0em;
134
- }
135
-
136
- mtable.tml-cd > mtr > mtd {
137
- padding-left: 0.25em;
138
- padding-right: 0.25em;
139
- }
140
-
141
- mtable > mtr:first-child > mtr > mtd {
142
- padding-top: 0em;
143
- }
144
-
145
- mtable > mtr:last-child > mtr > mtd {
146
- padding-bottom: 0em;
147
- }
148
-
149
- mtable:not(.tml-array) > mtr > mtd:first-child {
150
- padding-left: 0em;
151
- }
152
-
153
- mtable:not(.tml-array) > mtr > mtd:last-child {
154
- padding-right: 0em;
155
- }
156
-
157
- mtr.tml-top-solid > mtd {
158
- border-top: 0.06em solid;
159
- }
160
-
161
- mtr.tml-top-double > mtd {
162
- border-top: 0.15em double;
163
- }
164
-
165
- mtr.tml-top-dashed > mtd {
166
- border-top: 0.06em dashed;
167
- }
168
-
169
- mtr.tml-hline-solid > mtd {
170
- border-bottom: 0.06em solid;
171
- }
172
-
173
- mtr.tml-hline-double > mtd {
174
- border-bottom: 0.15em double;
175
- }
176
-
177
- mtr.tml-hline-dashed > mtd {
178
- border-bottom: 0.06em dashed;
179
- }
180
-
181
- /* MathML-Core does not support <menclose> attributes.
182
- * So Use background images for \cancel */
183
- menclose.cancel {
184
- background:
185
- linear-gradient(to top left,
186
- rgba(0,0,0,0) 0%,
187
- rgba(0,0,0,0) calc(50% - 0.06em),
188
- rgba(0,0,0,1) 50%,
189
- rgba(0,0,0,0) calc(50% + 0.06em),
190
- rgba(0,0,0,0) 100%);
191
- }
192
-
193
- menclose.bcancel {
194
- background:
195
- linear-gradient(to top right,
196
- rgba(0,0,0,0) 0%,
197
- rgba(0,0,0,0) calc(50% - 0.06em),
198
- rgba(0,0,0,1) 50%,
199
- rgba(0,0,0,0) calc(50% + 0.06em),
200
- rgba(0,0,0,0) 100%);
201
- }
202
-
203
- menclose.xcancel {
204
- background:
205
- linear-gradient(to top left,
206
- rgba(0,0,0,0) 0%,
207
- rgba(0,0,0,0) calc(50% - 0.06em),
208
- rgba(0,0,0,1) 50%,
209
- rgba(0,0,0,0) calc(50% + 0.06em),
210
- rgba(0,0,0,0) 100%),
211
- linear-gradient(to top right,
212
- rgba(0,0,0,0) 0%,
213
- rgba(0,0,0,0) calc(50% - 0.06em),
214
- rgba(0,0,0,1) 50%,
215
- rgba(0,0,0,0) calc(50% + 0.06em),
216
- rgba(0,0,0,0) 100%);
217
- }