Speed up MathJax processing by reusing the node process.
[lw2-viewer.git] / rts-content / rts.css
blobc16477a05c5f9a3415ef4fb0bbca1db1f37b5272
1 #wikitext p em {
2 font-variant-ligatures: discretionary-ligatures;
3 -moz-font-feature-settings: "dlig";
4 -webkit-font-feature-settings: "dlig";
5 font-feature-settings: "dlig";
7 #wikitext ol {
8 -webkit-hyphens: auto;
9 -moz-hyphens: auto;
10 -ms-hyphens: auto;
11 hyphens: auto;
12 padding-left: 2.9em;
13 margin: 0px auto 0px auto;
15 #wikitext ol li {
16 margin-bottom: 1em;
18 #wikitext ul {
19 -webkit-hyphens: auto;
20 -moz-hyphens: auto;
21 -ms-hyphens: auto;
22 hyphens: auto;
23 padding-left: 2.9em;
24 margin: 0px auto 0px auto;
26 #wikitext blockquote ul, #wikitext blockquote ol {
27 padding-left: 40px;
29 #wikitext ul li {
30 margin-bottom: 1em;
32 #wikitext ul ul {
33 margin-top: 1em;
35 .citation {
36 vertical-align: baseline;
37 position: relative;
38 top: -0.6em;
39 font-size: 65%;
40 font-weight: 600;
41 color: #933;
43 #wikitext .citation a:link::before,
44 #wikitext .citation a:visited::before {
45 content: "\200A";
46 margin: 0;
48 #wikitext .citation a:link::after,
49 #wikitext .citation a:visited::after {
50 content: "\200A";
51 margin: 0;
53 .footnotes {
54 counter-reset: footnotes;
55 font-size: 75%;
56 margin: 3em auto 0px auto;
57 padding-left: 2em;
58 font-variant-ligatures: no-contextual;
59 -moz-font-feature-settings: "calt" 0;
60 -webkit-font-feature-settings: "calt" 0;
61 font-feature-settings: "calt" 0;
62 font-variant-ligatures: no-discretionary-ligatures;
63 -moz-font-feature-settings: "dlig" 0;
64 -webkit-font-feature-settings: "dlig" 0;
65 font-feature-settings: "dlig" 0;
67 #wikitext .footnotes p em {
68 font-variant-ligatures: no-contextual no-discretionary-ligatures;
69 -moz-font-feature-settings: "calt" 0, "dlig" 0;
70 -webkit-font-feature-settings: "calt" 0, "dlig" 0;
71 font-feature-settings: "calt" 0, "dlig" 0;
73 #wikitext .noalternates {
74 font-variant-ligatures: no-contextual;
75 -moz-font-feature-settings: "calt" 0;
76 -webkit-font-feature-settings: "calt" 0;
77 font-feature-settings: "calt" 0;
79 #wikitext p .noalternates em {
80 font-variant-ligatures: no-contextual;
81 -moz-font-feature-settings: "calt" 0;
82 -webkit-font-feature-settings: "calt" 0;
83 font-feature-settings: "calt" 0;
85 .osf {
86 font-variant-numeric: oldstyle-nums;
87 -moz-font-feature-settings: "onum";
88 -webkit-font-feature-settings: "onum";
89 font-feature-settings: "onum";
91 .year {
92 font-variant-numeric: oldstyle-nums, proportional-nums;
93 -moz-font-feature-settings: "onum", "pnum";
94 -webkit-font-feature-settings: "onum", "pnum";
95 font-feature-settings: "onum", "pnum";
97 #wikitext .footnotes p {
98 margin-top: 1em;
99 margin-bottom: 1em;
101 .footnote {
102 position: relative;
104 .footnote::before {
105 counter-increment: footnotes;
106 content: counter(footnotes) ".";
107 position: absolute;
108 width: 2em;
109 left: -2.5em;
110 text-align: right;
112 #wikitext ol {
113 counter-reset: numeric_list;
114 list-style-type: none;
116 #wikitext ol li {
117 position: relative;
119 #wikitext ol li::before {
120 counter-increment: numeric_list;
121 content: counter(numeric_list) ".";
122 position: absolute;
123 width: 2em;
124 left: -2.5em;
125 text-align: right;
126 font-variant-numeric: oldstyle-nums;
127 -moz-font-feature-settings: "onum";
128 -webkit-font-feature-settings: "onum";
129 font-feature-settings: "onum";
131 p.indent {
132 padding-left: 2.9em;
134 sup, sub {
135 vertical-align: baseline;
136 position: relative;
137 top: -0.6em;
138 font-size: 65%;
139 font-weight: 500;
141 sub {
142 top: 0.3em;
144 .equation em + sub, .equation em sub {
145 left: -0.15em;
146 letter-spacing: -0.5px;
148 .sup {
149 font-variant-position: super;
150 -moz-font-feature-settings: "sups";
151 -webkit-font-feature-settings: "sups";
152 font-feature-settings: "sups";
153 font-weight: 500;
155 .sub {
156 font-variant-position: sub;
157 -moz-font-feature-settings: "subs";
158 -webkit-font-feature-settings: "subs";
159 font-feature-settings: "subs";
160 font-weight: 500;
162 h2 {
163 font-weight: 500;
164 font-size: 150%;
165 color: #aaa;
166 text-align: center;
167 margin: 80px auto 0px auto;
169 h2 + h1 {
170 margin-top: 0px;
171 font-variant: small-caps;
172 line-height: 1.1;
173 max-width: 100%;
174 font-size: 225%;
176 h3 {
177 font-weight: 500;
178 font-size: 160%;
179 font-style: italic;
180 text-align: left;
181 margin: 1em auto 0.6em auto
183 #wikitext h3 + p {
184 margin-top: 6px;
186 h4 {
187 font-size: 115%;
188 margin: 16px auto 0px auto;
190 #wikitext h4 + p {
191 margin-top: 9px;
193 #wikitext p.blockquote_byline {
194 margin-top: 8px;
195 text-align: right;
197 .semibold {
198 font-weight: 600;
200 .monospaced {
201 font-size: 83%;
203 #wikitext p.monospaced,
204 #wikitext .monospaced p {
205 line-height: 1.5;
207 .smallcaps {
208 font-variant: small-caps;
210 .boxed {
211 font-weight: normal;
212 font-size: 80%;
213 color: #0a0a0a;
214 border: 1px solid black;
215 padding: 2px 0px 2px 0px;
217 .diagram .boxed {
218 font-size: 90%;
219 padding: 3px 1px 4px 1px;
221 .boxed::before {
222 content: "\2005";
224 .boxed::after {
225 content: "\2005";
227 .question {
228 padding-left: 3em;
229 padding-right: 2em;
230 position: relative;
231 font-weight: bold;
233 .question + p {
234 padding-left: 3em;
235 padding-right: 2em;
236 position: relative;
238 .question::before {
239 content: "Q: ";
240 position: absolute;
241 left: 1.5em;
242 font-weight: bold;
244 .question + p::before {
245 content: "A: ";
246 position: absolute;
247 left: 1.5em;
250 .nohyphens,
251 #wikitext .nohyphens p {
252 -webkit-hyphens: none;
253 -moz-hyphens: none;
254 -ms-hyphens: none;
255 hyphens: none;
257 .back_to_citation_link {
258 vertical-align: baseline;
259 position: relative;
260 top: 0.1em;
262 #wikitext .back_to_citation_link a:link::before {
263 content: "\2005";
265 #wikitext .back_to_citation_link a:link::after {
266 content: "\2005";
268 .diagram {
269 font-weight: normal;
270 color: #0a0a0a;
271 text-align: center;
272 padding: 8px;
274 .wrapper {
275 margin: auto;
277 hr {
278 height: 0px;
279 text-align: center;
280 width: 40%;
281 border: none;
282 border-bottom: 1px solid black;
283 max-width: 300px;
284 margin-top: 36px;
285 margin-bottom: 36px;
286 box-shadow: 0px 0px 0.5px black;
288 #wikitext .spoiler_space {
289 margin-top: 6em;
290 margin-bottom: 6em;
292 #wikitext .noli {
293 font-variant-ligatures: no-common-ligatures;
294 -moz-font-feature-settings: "liga" 0, "clig" 0;
295 -webkit-font-feature-settings: "liga" 0, "clig" 0;
296 font-feature-settings: "liga" 0, "clig" 0;
298 #wikitext .dlig {
299 font-variant-ligatures: discretionary-ligatures;
300 -moz-font-feature-settings: "dlig";
301 -webkit-font-feature-settings: "dlig";
302 font-feature-settings: "dlig";
304 img {
305 vertical-align: middle;
307 .equation {
308 letter-spacing: 1px;
310 .equation em {
311 letter-spacing: 2px;
313 .num {
314 position: relative; font-size: 0.7em; bottom: 0.5em; right: 0.1em; margin-left: 0.15em;
316 .frasl {
317 font-size: 1.15em; line-height: 1;
319 .denom {
320 position: relative; font-size: 0.7em; top: 0.05em; left: 0.1em;
323 .ordinal {
324 font-variant-numeric: ordinal;
325 -moz-font-feature-settings: "ordn";
326 -webkit-font-feature-settings: "ordn";
327 font-feature-settings: "ordn";
329 .overline {
330 border-top: 1px solid black;
331 padding-top: 2px;
332 margin-left: -1px;
334 .sqrt {
335 display: inline-block;
336 border-top: 1px solid black;
337 padding: 0px 3px 0px 1px;
338 margin: -1px 0px 0px 13.5px;
340 .sqrt::before {
341 content: "√";
342 font-style: italic;
343 font-size: 105%;
344 border: none;
345 margin: -2px 0 0 -15px;
346 padding: 0;
347 position: absolute;
349 .sigma {
350 font-size: 150%;
351 line-height: 0.75;
352 vertical-align: middle;
353 position: relative;
354 top: 1px;
356 .sigma sub {
357 font-size: 43%;
359 .bigsigma {
360 font-size: 2.1em;
361 vertical-align: middle;
362 position: relative;
363 top: -5px;
364 margin-right: -68px;
366 .bigsigma sub {
367 font-size: 30%;
368 right: 29px;
369 top: 12px;
370 display: inline-block;
371 width: 2.5em;
372 left: initial;
374 table.equation .bigsigma sub {
375 left: initial;
376 letter-spacing: normal;
377 right: 27px;
379 .bigsigma sup {
380 font-size: 30%;
381 right: 60px;
382 top: -33px;
383 display: inline-block;
384 width: 2.5em;
386 #wikitext table {
387 margin-left: auto;
388 margin-right: auto;
390 table.equation {
391 line-height: 1;
392 margin-bottom: -0.8em;
393 border-collapse: collapse;
395 table.equation td {
396 padding-bottom: 0.8em;
397 vertical-align: middle;
398 padding-top: 0px;
400 table.equation td.equal_sign {
401 text-align: center;
402 padding-left: 0.3em;
403 padding-right: 0.3em;
404 position: relative;
405 top: -1px;
407 table.equation td.numerator {
408 text-align: center;
409 border-bottom: 1px solid black;
410 padding-bottom: 0em;
411 vertical-align: bottom;
413 table.equation td.denominator {
414 text-align: center;
415 vertical-align: top;
416 padding-top: 0.2em;
418 table.spaced_table td {
419 padding-left: 1em;
420 padding-right: 1em;
422 .title, .subtitle, .author_line {
423 text-align: center;
425 #wikitext .title {
426 line-height: 1;
427 margin: 80px auto 10px auto;
429 #wikitext .subtitle {
430 line-height: 1;
431 margin: 0 auto 40px auto;
433 #wikitext .author_line {
434 font-size: 110%;
435 line-height: 1;
436 font-style: normal;
437 letter-spacing: 0.05em;
438 margin: 40px auto 48px auto;
440 strong, b {
441 font-weight: bold;
443 #wikibody {
444 background-color: inherit;
445 padding: 0;
447 .dropcaps::first-letter {
448 float: left;
449 font-size: 680%;
450 line-height: 0.9em;
451 padding: 8px 10px 0 0;
452 margin-bottom: -20px;
454 #wikitext .spoiler a:link,
455 #wikitext .spoiler a:visited {
456 color: rgba(0,0,0,0);
458 #wikitext .spoiler a:link::after,
459 #wikitext .spoiler a:visited::after {
460 content: none;
462 #wikitext .spoiler a:hover {
463 color: inherit;
464 border: none;
467 @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
468 #wikitext .diagram {
469 font-weight: 400;
471 #wikitext .boxed {
472 font-weight: 400;
476 @media all and (max-width:520px) {
477 table.spaced_table td {
478 padding-left: 0.5em;
479 padding-right: 0.5em;
480 font-size: 90%;
482 #wikitext ul {
483 padding-left: 1.75em;
485 #wikitext ol {
486 padding-left: 1.75em;
488 p.indent {
489 padding-left: 1.75em;