temml 0.10.24 → 0.10.30

Sign up to get free protection for your applications and to get access to all the features.
@@ -46,39 +46,6 @@ mo.tml-prime {
46
46
  font-feature-settings: 'ss04';
47
47
  }
48
48
 
49
- mrow.tml-cancel {
50
- background: linear-gradient(to top left,
51
- rgba(0,0,0,0) 0%,
52
- rgba(0,0,0,0) calc(50% - 0.06em),
53
- rgba(0,0,0,1) 50%,
54
- rgba(0,0,0,0) calc(50% + 0.06em),
55
- rgba(0,0,0,0) 100%);
56
- }
57
-
58
- mrow.tml-bcancel {
59
- background: linear-gradient(to top right,
60
- rgba(0,0,0,0) 0%,
61
- rgba(0,0,0,0) calc(50% - 0.06em),
62
- rgba(0,0,0,1) 50%,
63
- rgba(0,0,0,0) calc(50% + 0.06em),
64
- rgba(0,0,0,0) 100%);
65
- }
66
-
67
- mrow.tml-xcancel {
68
- background: linear-gradient(to top left,
69
- rgba(0,0,0,0) 0%,
70
- rgba(0,0,0,0) calc(50% - 0.06em),
71
- rgba(0,0,0,1) 50%,
72
- rgba(0,0,0,0) calc(50% + 0.06em),
73
- rgba(0,0,0,0) 100%),
74
- linear-gradient(to top right,
75
- rgba(0,0,0,0) 0%,
76
- rgba(0,0,0,0) calc(50% - 0.06em),
77
- rgba(0,0,0,1) 50%,
78
- rgba(0,0,0,0) calc(50% + 0.06em),
79
- rgba(0,0,0,0) 100%)
80
- }
81
-
82
49
  /* Prevent f' from overlapping in Chromium */
83
50
  mo.prime-pad {
84
51
  padding-left: 0.08em;
@@ -92,8 +59,123 @@ mo.prime-pad {
92
59
  text-align: left;
93
60
  }
94
61
 
95
- /* Stretch \widetilde & set array cell justification in Chromium */
62
+ /* Styles for Chromium only */
96
63
  @supports (not (-webkit-backdrop-filter: blur(1px))) and (not (-moz-appearance: none)) {
64
+ /* MathML Core & Chromium do not support the MathML 3.0 element <menclose> attributes. */
65
+ /* So use styles. */
66
+ menclose {
67
+ position: relative;
68
+ padding: 0.5ex 0ex;
69
+ }
70
+
71
+ .tml-overline {
72
+ padding: 0.1em 0 0 0;
73
+ border-top: 0.065em solid;
74
+ }
75
+
76
+ .tml-underline {
77
+ padding: 0 0 0.1em 0;
78
+ border-bottom: 0.065em solid;
79
+ }
80
+
81
+ .tml-cancel {
82
+ display: inline-block;
83
+ position: absolute;
84
+ left: 0.5px;
85
+ bottom: 0;
86
+ width: 100%;
87
+ height: 100%;
88
+ background-color: currentColor;
89
+ }
90
+ .upstrike {
91
+ clip-path: polygon(0.05em 100%, 0em calc(100% - 0.05em), calc(100% - 0.05em) 0em, 100% 0.05em);
92
+ }
93
+ .downstrike {
94
+ clip-path: polygon(0em 0.05em, 0.05em 0em, 100% calc(100% - 0.05em), calc(100% - 0.05em) 100%);
95
+ }
96
+ .sout {
97
+ clip-path: polygon(0em calc(55% + 0.0333em), 0em calc(55% - 0.0333em), 100% calc(55% - 0.0333em), 100% calc(55% + 0.0333em));
98
+ }
99
+ .tml-xcancel {
100
+ background: linear-gradient(to top left,
101
+ rgba(0,0,0,0) 0%,
102
+ rgba(0,0,0,0) calc(50% - 0.06em),
103
+ rgba(0,0,0,1) 50%,
104
+ rgba(0,0,0,0) calc(50% + 0.06em),
105
+ rgba(0,0,0,0) 100%),
106
+ linear-gradient(to top right,
107
+ rgba(0,0,0,0) 0%,
108
+ rgba(0,0,0,0) calc(50% - 0.06em),
109
+ rgba(0,0,0,1) 50%,
110
+ rgba(0,0,0,0) calc(50% + 0.06em),
111
+ rgba(0,0,0,0) 100%)
112
+ }
113
+
114
+ .longdiv-top {
115
+ border-top: 0.067em solid;
116
+ padding: 0.1em 0.2em 0.2em 0.433em;
117
+ }
118
+ .longdiv-arc {
119
+ position: absolute;
120
+ top: 0;
121
+ bottom: 0.1em;
122
+ left: -0.4em;
123
+ width: 0.7em;
124
+ border: 0.067em solid;
125
+ transform: translateY(-0.067em);
126
+ border-radius: 70%;
127
+ clip-path: inset(0 0 0 0.4em);
128
+ box-sizing: border-box;}
129
+ .menclose {display: inline-block;
130
+ text-align: left;
131
+ position: relative;
132
+ }
133
+
134
+ .phasor-bottom {
135
+ border-bottom: 0.067em solid;
136
+ padding: 0.2em 0.2em 0.1em 0.6em;
137
+ }
138
+ .phasor-angle {
139
+ display: inline-block;
140
+ position: absolute;
141
+ left: 0.5px;
142
+ bottom: -0.04em;
143
+ height: 100%;
144
+ aspect-ratio: 0.5;
145
+ background-color: currentColor;
146
+ clip-path: polygon(0.05em 100%, 0em calc(100% - 0.05em), calc(100% - 0.05em) 0em, 100% 0.05em);
147
+ }
148
+
149
+ .tml-box {
150
+ padding: 3pt 0 3pt 0;
151
+ border: 1px solid;
152
+ }
153
+ .tml-fbox {
154
+ padding: 3pt;
155
+ border: 1px solid;
156
+ }
157
+
158
+ .circle-pad {
159
+ padding: 0.267em;
160
+ }
161
+ .textcircle {
162
+ position: absolute;
163
+ top: 0;
164
+ bottom: 0;
165
+ right: 0;
166
+ left: 0;
167
+ border: 0.067em solid;
168
+ border-radius: 50%;
169
+ }
170
+
171
+ .actuarial {
172
+ padding: 0.03889em 0.03889em 0 0.03889em;
173
+ border-width: 0.08em 0.08em 0em 0em;
174
+ border-style: solid;
175
+ margin-right: 0.03889em;
176
+ }
177
+
178
+ /* Stretch \widetilde */
97
179
  .tml-crooked-2 {
98
180
  transform: scale(2.0, 1.1)
99
181
  }
@@ -103,6 +185,7 @@ mo.prime-pad {
103
185
  .tml-crooked-4 {
104
186
  transform: scale(4.0, 1.4)
105
187
  }
188
+ /* set array cell justification */
106
189
  .tml-right {
107
190
  text-align: -webkit-right;
108
191
  }