1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 |
|
26 |
|
27 |
|
28 |
|
29 |
|
30 |
|
31 |
|
32 |
|
33 |
|
34 |
|
35 |
|
36 |
|
37 |
|
38 |
|
39 |
|
40 |
|
41 |
|
42 |
|
43 |
|
44 |
|
45 |
|
46 |
|
47 |
|
48 |
|
49 |
|
50 |
|
51 |
|
52 |
|
53 |
|
54 |
|
55 |
|
56 |
|
57 |
|
58 | :root {
|
59 |
|
60 | --RS__colWidth: 45em;
|
61 |
|
62 |
|
63 | --RS__colCount: 1;
|
64 |
|
65 |
|
66 | --RS__colGap: 0;
|
67 |
|
68 |
|
69 | --RS__maxLineLength: 40rem;
|
70 |
|
71 |
|
72 | --RS__pageGutter: 20px;
|
73 | }
|
74 |
|
75 |
|
76 |
|
77 | @page {
|
78 | margin: 0 !important;
|
79 | }
|
80 |
|
81 |
|
82 |
|
83 |
|
84 |
|
85 | :root {
|
86 |
|
87 |
|
88 | position: relative;
|
89 |
|
90 | -webkit-column-width: var(--RS__colWidth);
|
91 | -moz-column-width: var(--RS__colWidth);
|
92 | column-width: var(--RS__colWidth);
|
93 |
|
94 |
|
95 |
|
96 | -webkit-column-count: var(--RS__colCount);
|
97 | -moz-column-count: var(--RS__colCount);
|
98 | column-count: var(--RS__colCount);
|
99 |
|
100 | -webkit-column-gap: var(--RS__colGap);
|
101 | -moz-column-gap: var(--RS__colGap);
|
102 | column-gap: var(--RS__colGap);
|
103 |
|
104 |
|
105 | -moz-column-fill: auto;
|
106 | column-fill: auto;
|
107 | width: 100%;
|
108 | height: 100vh;
|
109 | max-width: 100%;
|
110 | max-height: 100vh;
|
111 | min-width: 100%;
|
112 | min-height: 100vh;
|
113 | padding: 0 !important;
|
114 | margin: 0 !important;
|
115 |
|
116 |
|
117 | font-size: 100% !important;
|
118 |
|
119 | -webkit-text-size-adjust: 100%;
|
120 |
|
121 |
|
122 | box-sizing: border-box;
|
123 |
|
124 |
|
125 | -webkit-perspective: 1;
|
126 |
|
127 | -webkit-touch-callout: none;
|
128 | }
|
129 |
|
130 | body {
|
131 |
|
132 | width: 100%;
|
133 |
|
134 | |
135 |
|
136 |
|
137 | max-width: var(--RS__maxLineLength) !important;
|
138 | padding: 0 var(--RS__pageGutter) !important;
|
139 | margin: 0 auto !important;
|
140 |
|
141 | |
142 |
|
143 |
|
144 | box-sizing: border-box;
|
145 | }
|
146 |
|
147 |
|
148 |
|
149 |
|
150 |
|
151 |
|
152 | @media screen and (min-width: 35em) {
|
153 | :root {
|
154 | --RS__pageGutter: 30px;
|
155 | }
|
156 | }
|
157 |
|
158 |
|
159 |
|
160 | @media screen and (min-width: 45em) {
|
161 | :root {
|
162 | --RS__pageGutter: 40px;
|
163 | }
|
164 | }
|
165 |
|
166 |
|
167 |
|
168 |
|
169 |
|
170 | @media screen and (min-width: 75em) {
|
171 | :root {
|
172 | --RS__pageGutter: 50px;
|
173 | }
|
174 | }
|
175 |
|
176 |
|
177 |
|
178 |
|
179 |
|
180 | @media screen and (min-width: 60em), screen and (min-device-width: 36em) and (max-device-width: 47em) and (orientation: landscape) {
|
181 | :root {
|
182 |
|
183 | --RS__colWidth: 20em;
|
184 |
|
185 | --RS__colCount: 2;
|
186 | --RS__maxLineLength: 39.99rem;
|
187 | }
|
188 | }
|
189 |
|
190 |
|
191 |
|
192 |
|
193 |
|
194 |
|
195 |
|
196 |
|
197 |
|
198 | :root[style*="readium-scroll-on"] {
|
199 |
|
200 |
|
201 | -webkit-columns: auto auto !important;
|
202 | -moz-columns: auto auto !important;
|
203 | columns: auto auto !important;
|
204 | width: auto !important;
|
205 | height: auto !important;
|
206 | max-width: none !important;
|
207 | max-height: none !important;
|
208 |
|
209 | min-width: 0 !important;
|
210 | min-height: 0 !important;
|
211 | }
|
212 |
|
213 |
|
214 |
|
215 | :root[style*="readium-scroll-on"] body {
|
216 | --RS__maxLineLength: 40rem !important;
|
217 | }
|
218 |
|
219 |
|
220 |
|
221 |
|
222 |
|
223 |
|
224 |
|
225 |
|
226 |
|
227 |
|
228 | .readiumCSS-yellow-highlight {
|
229 | background-color: rgba(255, 255, 0, 0.5);
|
230 | }
|
231 |
|
232 | .readiumCSS-green-highlight {
|
233 | background-color: rgba(0, 255, 0, 0.5);
|
234 | }
|
235 |
|
236 | .readiumCSS-orange-highlight {
|
237 | background-color: rgba(255, 165, 0, 0.5);
|
238 | }
|
239 |
|
240 | .readiumCSS-pink-highlight {
|
241 | background-color: rgba(255, 105, 180, 0.5);
|
242 | }
|
243 |
|
244 |
|
245 |
|
246 | .readiumCSS-mo-active-default {
|
247 | color: black !important;
|
248 | background-color: yellow !important;
|
249 | }
|
250 |
|
251 |
|
252 |
|
253 |
|
254 |
|
255 |
|
256 |
|
257 |
|
258 |
|
259 |
|
260 |
|
261 |
|
262 | :root[style*="readium-night-on"] {
|
263 | --RS__backgroundColor: #000000;
|
264 | --RS__textColor: #FEFEFE;
|
265 |
|
266 | --RS__linkColor: #63caff;
|
267 | --RS__visitedColor: #0099E5;
|
268 |
|
269 |
|
270 | --RS__selectionBackgroundColor: #b4d8fe;
|
271 | --RS__selectionTextColor: inherit;
|
272 | }
|
273 |
|
274 |
|
275 |
|
276 | :root[style*="readium-night-on"] *:not(a) {
|
277 | color: inherit !important;
|
278 | background-color: transparent !important;
|
279 | border-color: currentColor !important;
|
280 | }
|
281 |
|
282 | :root[style*="readium-night-on"] svg text {
|
283 | fill: currentColor !important;
|
284 | stroke: none !important;
|
285 | }
|
286 |
|
287 | :root[style*="readium-night-on"] a:link,
|
288 | :root[style*="readium-night-on"] a:link * {
|
289 | color: var(--RS__linkColor) !important;
|
290 | }
|
291 |
|
292 | :root[style*="readium-night-on"] a:visited,
|
293 | :root[style*="readium-night-on"] a:visited * {
|
294 | color: var(--RS__visitedColor) !important;
|
295 | }
|
296 |
|
297 | :root[style*="readium-night-on"] img[class*="gaiji"],
|
298 | :root[style*="readium-night-on"] *[epub\:type~="titlepage"] img:only-child {
|
299 | -webkit-filter: invert(100%);
|
300 | filter: invert(100%);
|
301 | }
|
302 |
|
303 |
|
304 |
|
305 | :root[style*="readium-night-on"][style*="readium-darken-on"] img {
|
306 | -webkit-filter: brightness(80%);
|
307 | filter: brightness(80%);
|
308 | }
|
309 |
|
310 |
|
311 |
|
312 | :root[style*="readium-night-on"][style*="readium-invert-on"] img {
|
313 | -webkit-filter: invert(100%);
|
314 | filter: invert(100%);
|
315 | }
|
316 |
|
317 |
|
318 |
|
319 | :root[style*="readium-night-on"][style*="readium-darken-on"][style*="readium-invert-on"] img {
|
320 | -webkit-filter: brightness(80%) invert(100%);
|
321 | filter: brightness(80%) invert(100%);
|
322 | }
|
323 |
|
324 |
|
325 |
|
326 |
|
327 |
|
328 |
|
329 |
|
330 |
|
331 |
|
332 |
|
333 | :root[style*="readium-sepia-on"] {
|
334 | --RS__backgroundColor: #faf4e8;
|
335 | --RS__textColor: #121212;
|
336 |
|
337 | --RS__linkColor: #0000EE;
|
338 | --RS__visitedColor: #551A8B;
|
339 |
|
340 |
|
341 | --RS__selectionBackgroundColor: #b4d8fe;
|
342 | --RS__selectionTextColor: inherit;
|
343 |
|
344 | --RS__maxLineLength: 40.01rem;
|
345 | }
|
346 |
|
347 |
|
348 |
|
349 | :root[style*="readium-sepia-on"] body {
|
350 |
|
351 |
|
352 | color: inherit;
|
353 | background-color: var(--RS__backgroundColor);
|
354 | }
|
355 |
|
356 | :root[style*="readium-sepia-on"] a:link,
|
357 | :root[style*="readium-sepia-on"] a:link * {
|
358 | color: var(--RS__linkColor);
|
359 | }
|
360 |
|
361 | :root[style*="readium-sepia-on"] a:visited,
|
362 | :root[style*="readium-sepia-on"] a:visited * {
|
363 | color: var(--RS__visitedColor);
|
364 | }
|
365 |
|
366 | :root[style*="readium-sepia-on"] svg,
|
367 | :root[style*="readium-sepia-on"] img {
|
368 |
|
369 | background-color: transparent !important;
|
370 | mix-blend-mode: multiply;
|
371 | }
|
372 |
|
373 |
|
374 |
|
375 |
|
376 |
|
377 |
|
378 |
|
379 |
|
380 |
|
381 |
|
382 |
|
383 | @media screen and (-ms-high-contrast: active) {
|
384 | :root {
|
385 | color: windowText !important;
|
386 | background-color: window !important;
|
387 | }
|
388 |
|
389 |
|
390 | :root :not(#\#):not(#\#):not(#\#),
|
391 | :root :not(#\#):not(#\#):not(#\#) :not(#\#):not(#\#):not(#\#)
|
392 | :root :not(#\#):not(#\#):not(#\#) :not(#\#):not(#\#):not(#\#) :not(#\#):not(#\#):not(#\#) {
|
393 | color: inherit !important;
|
394 | background-color: inherit !important;
|
395 | }
|
396 |
|
397 | .readiumCSS-mo-active-default {
|
398 | color: highlightText !important;
|
399 | background-color: highlight !important;
|
400 | }
|
401 |
|
402 |
|
403 |
|
404 |
|
405 | }
|
406 |
|
407 | @media screen and (-ms-high-contrast: white-on-black) {
|
408 | :root[style*="readium-night-on"] img[class*="gaiji"],
|
409 | :root[style*="readium-night-on"] *[epub\:type~="titlepage"] img:only-child {
|
410 | -webkit-filter: none !important;
|
411 | filter: none !important;
|
412 | }
|
413 | :root[style*="readium-night-on"][style*="readium-invert-on"] img {
|
414 | -webkit-filter: none !important;
|
415 | filter: none !important;
|
416 | }
|
417 | :root[style*="readium-night-on"][style*="readium-darken-on"][style*="readium-invert-on"] img {
|
418 | -webkit-filter: brightness(80%);
|
419 | filter: brightness(80%);
|
420 | }
|
421 | }
|
422 |
|
423 |
|
424 |
|
425 | @media screen and (inverted-colors) {
|
426 | :root[style*="readium-night-on"] img[class*="gaiji"],
|
427 | :root[style*="readium-night-on"] *[epub\:type~="titlepage"] img:only-child {
|
428 | -webkit-filter: none !important;
|
429 | filter: none !important;
|
430 | }
|
431 | :root[style*="readium-night-on"][style*="readium-invert-on"] img {
|
432 | -webkit-filter: none !important;
|
433 | filter: none !important;
|
434 | }
|
435 | :root[style*="readium-night-on"][style*="readium-darken-on"][style*="readium-invert-on"] img {
|
436 | -webkit-filter: brightness(80%);
|
437 | filter: brightness(80%);
|
438 | }
|
439 | }
|
440 |
|
441 | @media screen and (monochrome) {
|
442 |
|
443 |
|
444 | }
|
445 |
|
446 | @media screen and (prefers-reduced-motion) {
|
447 |
|
448 | }
|
449 |
|
450 |
|
451 |
|
452 |
|
453 |
|
454 |
|
455 |
|
456 |
|
457 |
|
458 |
|
459 |
|
460 |
|
461 |
|
462 |
|
463 |
|
464 | @media screen and (min-width: 60em), screen and (min-device-width: 36em) and (max-device-width: 47em) and (orientation: landscape) {
|
465 | :root[style*="--USER__colCount: 1"],
|
466 | :root[style*="--USER__colCount:1"],
|
467 | :root[style*="--USER__colCount: 2"],
|
468 | :root[style*="--USER__colCount:2"] {
|
469 | -webkit-column-count: var(--USER__colCount);
|
470 | -moz-column-count: var(--USER__colCount);
|
471 | column-count: var(--USER__colCount);
|
472 | }
|
473 |
|
474 |
|
475 | :root[style*="--USER__colCount: 1"],
|
476 | :root[style*="--USER__colCount:1"] {
|
477 | --RS__maxLineLength: 40rem !important;
|
478 | --RS__colWidth: 100vw;
|
479 | }
|
480 |
|
481 |
|
482 | :root[style*="--USER__colCount: 2"],
|
483 | :root[style*="--USER__colCount:2"] {
|
484 | --RS__colWidth: auto;
|
485 | }
|
486 | }
|
487 |
|
488 |
|
489 |
|
490 |
|
491 |
|
492 |
|
493 |
|
494 |
|
495 |
|
496 |
|
497 |
|
498 | :root[style*="--USER__pageMargins"] body {
|
499 | padding: 0 calc(var(--RS__pageGutter) * var(--USER__pageMargins)) !important;
|
500 | }
|
501 |
|
502 |
|
503 |
|
504 |
|
505 |
|
506 |
|
507 |
|
508 |
|
509 |
|
510 | :root[style*="--USER__backgroundColor"] {
|
511 | background-color: var(--USER__backgroundColor) !important;
|
512 | }
|
513 |
|
514 | :root[style*="--USER__backgroundColor"] * {
|
515 | background-color: transparent !important;
|
516 | }
|
517 |
|
518 | :root[style*="--USER__textColor"] {
|
519 | color: var(--USER__textColor) !important;
|
520 | }
|
521 |
|
522 | :root[style*="--USER__textColor"] *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(pre) {
|
523 | color: inherit !important;
|
524 | }
|
525 |
|
526 |
|
527 |
|
528 |
|
529 |
|
530 |
|
531 |
|
532 |
|
533 |
|
534 | :root[style*="readium-advanced-on"][style*="--USER__textAlign"] {
|
535 | text-align: var(--USER__textAlign);
|
536 | }
|
537 |
|
538 | :root[style*="readium-advanced-on"][style*="--USER__textAlign"] body,
|
539 | :root[style*="readium-advanced-on"][style*="--USER__textAlign"] *:not(blockquote):not(figcaption) p,
|
540 | :root[style*="readium-advanced-on"][style*="--USER__textAlign"] li {
|
541 | text-align: inherit !important;
|
542 | -moz-text-align-last: auto !important;
|
543 | -epub-text-align-last: auto !important;
|
544 | text-align-last: auto !important;
|
545 | }
|
546 |
|
547 |
|
548 |
|
549 | :root[style*="readium-advanced-on"][dir="rtl"][style*="--USER__textAlign: left"],
|
550 | :root[style*="readium-advanced-on"][dir="rtl"][style*="--USER__textAlign:left"],
|
551 | :root[style*="readium-advanced-on"][style*="--USER__textAlign: left"] *[dir="rtl"],
|
552 | :root[style*="readium-advanced-on"][style*="--USER__textAlign:left"] *[dir="rtl"] {
|
553 | text-align: right;
|
554 | }
|
555 |
|
556 |
|
557 |
|
558 | :root[style*="readium-advanced-on"][dir="rtl"][style*="--USER__textAlign: start"],
|
559 | :root[style*="readium-advanced-on"][dir="rtl"][style*="--USER__textAlign:start"] {
|
560 | text-align: right;
|
561 | }
|
562 |
|
563 |
|
564 |
|
565 |
|
566 |
|
567 |
|
568 |
|
569 |
|
570 |
|
571 |
|
572 |
|
573 | :root[style*="readium-advanced-on"][style*="--USER__textAlign: justify"] body,
|
574 | :root[style*="readium-advanced-on"][style*="--USER__textAlign:justify"] body {
|
575 | -webkit-hyphens: auto;
|
576 | -moz-hyphens: auto;
|
577 | -ms-hyphens: auto;
|
578 | -epub-hyphens: auto;
|
579 | hyphens: auto;
|
580 | }
|
581 |
|
582 | :root[style*="readium-advanced-on"][style*="--USER__textAlign: left"] body,
|
583 | :root[style*="readium-advanced-on"][style*="--USER__textAlign:left"] body,
|
584 | :root[style*="readium-advanced-on"][style*="--USER__textAlign: right"] body,
|
585 | :root[style*="readium-advanced-on"][style*="--USER__textAlign:right"] body {
|
586 | -webkit-hyphens: none;
|
587 | -moz-hyphens: none;
|
588 | -ms-hyphens: none;
|
589 | -epub-hyphens: none;
|
590 | hyphens: none;
|
591 | }
|
592 |
|
593 |
|
594 |
|
595 | :root[style*="readium-advanced-on"][style*="--USER__bodyHyphens"] {
|
596 | -webkit-hyphens: var(--USER__bodyHyphens) !important;
|
597 | -moz-hyphens: var(--USER__bodyHyphens) !important;
|
598 | -ms-hyphens: var(--USER__bodyHyphens) !important;
|
599 | -epub-hyphens: var(--USER__bodyHyphens) !important;
|
600 | hyphens: var(--USER__bodyHyphens) !important;
|
601 | }
|
602 |
|
603 |
|
604 |
|
605 | :root[style*="readium-advanced-on"][style*="--USER__bodyHyphens"] body,
|
606 | :root[style*="readium-advanced-on"][style*="--USER__bodyHyphens"] p,
|
607 | :root[style*="readium-advanced-on"][style*="--USER__bodyHyphens"] li,
|
608 | :root[style*="readium-advanced-on"][style*="--USER__bodyHyphens"] div,
|
609 | :root[style*="readium-advanced-on"][style*="--USER__bodyHyphens"] dd {
|
610 | -webkit-hyphens: inherit;
|
611 | -moz-hyphens: inherit;
|
612 | -ms-hyphens: inherit;
|
613 | -epub-hyphens: inherit;
|
614 | hyphens: inherit;
|
615 | }
|
616 |
|
617 |
|
618 |
|
619 |
|
620 |
|
621 |
|
622 |
|
623 |
|
624 |
|
625 | :root[style*="readium-font-on"][style*="--USER__fontFamily"] {
|
626 | font-family: var(--USER__fontFamily) !important;
|
627 | }
|
628 |
|
629 | :root[style*="readium-font-on"][style*="--USER__fontFamily"] body,
|
630 | :root[style*="readium-font-on"][style*="--USER__fontFamily"] p,
|
631 | :root[style*="readium-font-on"][style*="--USER__fontFamily"] li,
|
632 | :root[style*="readium-font-on"][style*="--USER__fontFamily"] div,
|
633 | :root[style*="readium-font-on"][style*="--USER__fontFamily"] dt,
|
634 | :root[style*="readium-font-on"][style*="--USER__fontFamily"] dd {
|
635 | font-family: inherit !important;
|
636 | }
|
637 |
|
638 | :root[style*="readium-font-on"][style*="--USER__fontFamily"] i:not([lang]),
|
639 | :root[style*="readium-font-on"][style*="--USER__fontFamily"] i:not([xml\:lang]),
|
640 | :root[style*="readium-font-on"][style*="--USER__fontFamily"] em:not([lang]),
|
641 | :root[style*="readium-font-on"][style*="--USER__fontFamily"] em:not([xml\:lang]),
|
642 | :root[style*="readium-font-on"][style*="--USER__fontFamily"] cite:not([lang]),
|
643 | :root[style*="readium-font-on"][style*="--USER__fontFamily"] cite:not([xml\:lang]),
|
644 | :root[style*="readium-font-on"][style*="--USER__fontFamily"] b:not([lang]),
|
645 | :root[style*="readium-font-on"][style*="--USER__fontFamily"] b:not([xml\:lang]),
|
646 | :root[style*="readium-font-on"][style*="--USER__fontFamily"] strong:not([lang]),
|
647 | :root[style*="readium-font-on"][style*="--USER__fontFamily"] strong:not([xml\:lang]),
|
648 | :root[style*="readium-font-on"][style*="--USER__fontFamily"] span:not([lang]),
|
649 | :root[style*="readium-font-on"][style*="--USER__fontFamily"] span:not([xml\:lang]) {
|
650 | font-family: inherit !important;
|
651 | }
|
652 |
|
653 |
|
654 |
|
655 |
|
656 |
|
657 |
|
658 |
|
659 |
|
660 |
|
661 |
|
662 |
|
663 | :root[style*="readium-font-on"][style*="AccessibleDfA"] {
|
664 |
|
665 | font-family: AccessibleDfA, Verdana, Tahoma, "Trebuchet MS", sans-serif !important;
|
666 | --RS__lineHeightCompensation: 1.167;
|
667 | }
|
668 |
|
669 | :root[style*="readium-font-on"][style*="IA Writer Duospace"] {
|
670 |
|
671 | font-family: "IA Writer Duospace", Menlo, "DejaVu Sans Mono", "Bitstream Vera Sans Mono", Courier, monospace !important;
|
672 | --RS__lineHeightCompensation: 1.167;
|
673 | }
|
674 |
|
675 | :root[style*="readium-font-on"][style*="readium-a11y-on"] {
|
676 | font-family: var(--USER__fontFamily) !important;
|
677 | --RS__lineHeightCompensation: 1.167;
|
678 | }
|
679 |
|
680 |
|
681 |
|
682 | :root[style*="readium-font-on"][style*="AccessibleDfA"],
|
683 | :root[style*="readium-font-on"][style*="IA Writer Duospace"],
|
684 | :root[style*="readium-font-on"][style*="readium-a11y-on"] {
|
685 | font-style: normal !important;
|
686 | font-weight: normal !important;
|
687 | }
|
688 |
|
689 |
|
690 |
|
691 | :root[style*="readium-font-on"][style*="AccessibleDfA"] *:not(code):not(var):not(kbd):not(samp),
|
692 | :root[style*="readium-font-on"][style*="IA Writer Duospace"] *:not(code):not(var):not(kbd):not(samp),
|
693 | :root[style*="readium-font-on"][style*="readium-a11y-on"] *:not(code):not(var):not(kbd):not(samp) {
|
694 | font-family: inherit !important;
|
695 | font-style: inherit !important;
|
696 | font-weight: inherit !important;
|
697 | }
|
698 |
|
699 |
|
700 |
|
701 | :root[style*="readium-font-on"][style*="AccessibleDfA"] *,
|
702 | :root[style*="readium-font-on"][style*="IA Writer Duospace"] *,
|
703 | :root[style*="readium-font-on"][style*="readium-a11y-on"] * {
|
704 | text-decoration: none !important;
|
705 | font-variant-caps: normal !important;
|
706 | font-variant-numeric: normal !important;
|
707 | font-variant-position: normal !important;
|
708 | }
|
709 |
|
710 | :root[style*="readium-font-on"][style*="AccessibleDfA"] sup,
|
711 | :root[style*="readium-font-on"][style*="IA Writer Duospace"] sup,
|
712 | :root[style*="readium-font-on"][style*="readium-a11y-on"] sup,
|
713 | :root[style*="readium-font-on"][style*="AccessibleDfA"] sub,
|
714 | :root[style*="readium-font-on"][style*="IA Writer Duospace"] sub,
|
715 | :root[style*="readium-font-on"][style*="readium-a11y-on"] sub {
|
716 | font-size: 1rem !important;
|
717 | vertical-align: baseline !important;
|
718 | }
|
719 |
|
720 |
|
721 |
|
722 |
|
723 |
|
724 |
|
725 |
|
726 |
|
727 |
|
728 | :root[style*="--USER__fontSize"] {
|
729 | font-size: var(--USER__fontSize) !important;
|
730 | }
|
731 |
|
732 |
|
733 |
|
734 |
|
735 |
|
736 |
|
737 |
|
738 |
|
739 |
|
740 | :root[style*="readium-advanced-on"][style*="--USER__lineHeight"] {
|
741 | line-height: var(--USER__lineHeight) !important;
|
742 | }
|
743 |
|
744 | :root[style*="readium-advanced-on"][style*="--USER__lineHeight"] body,
|
745 | :root[style*="readium-advanced-on"][style*="--USER__lineHeight"] p,
|
746 | :root[style*="readium-advanced-on"][style*="--USER__lineHeight"] li,
|
747 | :root[style*="readium-advanced-on"][style*="--USER__lineHeight"] div {
|
748 | line-height: inherit;
|
749 | }
|
750 |
|
751 |
|
752 |
|
753 |
|
754 |
|
755 |
|
756 |
|
757 |
|
758 |
|
759 | :root[style*="readium-advanced-on"][style*="--USER__paraSpacing"] p {
|
760 | margin-top: var(--USER__paraSpacing) !important;
|
761 | margin-bottom: var(--USER__paraSpacing) !important;
|
762 | }
|
763 |
|
764 |
|
765 |
|
766 |
|
767 |
|
768 |
|
769 |
|
770 |
|
771 |
|
772 | :root[style*="readium-advanced-on"][style*="--USER__paraIndent"] p {
|
773 | text-indent: var(--USER__paraIndent) !important;
|
774 | }
|
775 |
|
776 |
|
777 |
|
778 | :root[style*="readium-advanced-on"][style*="--USER__paraIndent"] p *,
|
779 | :root[style*="readium-advanced-on"][style*="--USER__paraIndent"] p:first-letter {
|
780 | text-indent: 0 !important;
|
781 | }
|
782 |
|
783 |
|
784 |
|
785 |
|
786 |
|
787 |
|
788 |
|
789 |
|
790 |
|
791 | :root[style*="readium-advanced-on"][style*="--USER__wordSpacing"] h1,
|
792 | :root[style*="readium-advanced-on"][style*="--USER__wordSpacing"] h2,
|
793 | :root[style*="readium-advanced-on"][style*="--USER__wordSpacing"] h3,
|
794 | :root[style*="readium-advanced-on"][style*="--USER__wordSpacing"] h4,
|
795 | :root[style*="readium-advanced-on"][style*="--USER__wordSpacing"] h5,
|
796 | :root[style*="readium-advanced-on"][style*="--USER__wordSpacing"] h6,
|
797 | :root[style*="readium-advanced-on"][style*="--USER__wordSpacing"] p,
|
798 | :root[style*="readium-advanced-on"][style*="--USER__wordSpacing"] li,
|
799 | :root[style*="readium-advanced-on"][style*="--USER__wordSpacing"] div {
|
800 | word-spacing: var(--USER__wordSpacing);
|
801 | }
|
802 |
|
803 |
|
804 |
|
805 |
|
806 |
|
807 |
|
808 |
|
809 |
|
810 |
|
811 | :root[style*="readium-advanced-on"][style*="--USER__letterSpacing"] h1,
|
812 | :root[style*="readium-advanced-on"][style*="--USER__letterSpacing"] h2,
|
813 | :root[style*="readium-advanced-on"][style*="--USER__letterSpacing"] h3,
|
814 | :root[style*="readium-advanced-on"][style*="--USER__letterSpacing"] h4,
|
815 | :root[style*="readium-advanced-on"][style*="--USER__letterSpacing"] h5,
|
816 | :root[style*="readium-advanced-on"][style*="--USER__letterSpacing"] h6,
|
817 | :root[style*="readium-advanced-on"][style*="--USER__letterSpacing"] p,
|
818 | :root[style*="readium-advanced-on"][style*="--USER__letterSpacing"] li,
|
819 | :root[style*="readium-advanced-on"][style*="--USER__letterSpacing"] div {
|
820 | letter-spacing: var(--USER__letterSpacing);
|
821 | font-variant: none;
|
822 | }
|
823 |
|
824 |
|
825 |
|
826 |
|
827 |
|
828 |
|
829 |
|
830 |
|
831 |
|
832 |
|
833 |
|
834 |
|
835 |
|
836 |
|
837 |
|
838 | :root[style*="readium-advanced-on"] {
|
839 | --USER__typeScale: 1.2;
|
840 | }
|
841 |
|
842 | :root[style*="readium-advanced-on"] p,
|
843 | :root[style*="readium-advanced-on"] li,
|
844 | :root[style*="readium-advanced-on"] div,
|
845 | :root[style*="readium-advanced-on"] pre,
|
846 | :root[style*="readium-advanced-on"] dd {
|
847 | font-size: 1rem !important;
|
848 | }
|
849 |
|
850 | :root[style*="readium-advanced-on"] h1 {
|
851 |
|
852 | font-size: 1.75rem !important;
|
853 | font-size: calc(((1rem * var(--USER__typeScale)) * var(--USER__typeScale)) * var(--USER__typeScale)) !important;
|
854 | }
|
855 |
|
856 | :root[style*="readium-advanced-on"] h2 {
|
857 |
|
858 | font-size: 1.5rem !important;
|
859 | font-size: calc((1rem * var(--USER__typeScale)) * var(--USER__typeScale)) !important;
|
860 | }
|
861 |
|
862 | :root[style*="readium-advanced-on"] h3 {
|
863 |
|
864 | font-size: 1.25rem !important;
|
865 | font-size: calc(1rem * var(--USER__typeScale)) !important;
|
866 | }
|
867 |
|
868 | :root[style*="readium-advanced-on"] h4,
|
869 | :root[style*="readium-advanced-on"] h5,
|
870 | :root[style*="readium-advanced-on"] h6 {
|
871 | font-size: 1rem !important;
|
872 | }
|
873 |
|
874 | :root[style*="readium-advanced-on"] small {
|
875 | font-size: smaller !important;
|
876 | }
|
877 |
|
878 | :root[style*="readium-advanced-on"] sub,
|
879 | :root[style*="readium-advanced-on"] sup {
|
880 | font-size: 67.5% !important;
|
881 | }
|
882 |
|
883 |
|
884 |
|
885 |
|
886 | :root[style*="readium-advanced-on"][style*="--USER__typeScale"] h1 {
|
887 | font-size: calc(((1rem * var(--USER__typeScale)) * var(--USER__typeScale)) * var(--USER__typeScale)) !important;
|
888 | }
|
889 |
|
890 | :root[style*="readium-advanced-on"][style*="--USER__typeScale"] h2 {
|
891 | font-size: calc((1rem * var(--USER__typeScale)) * var(--USER__typeScale)) !important;
|
892 | }
|
893 |
|
894 | :root[style*="readium-advanced-on"][style*="--USER__typeScale"] h3 {
|
895 | font-size: calc(1rem * var(--USER__typeScale)) !important;
|
896 | }
|
897 |
|
\ | No newline at end of file |