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 | :root {
|
56 |
|
57 | --RS__colWidth: 100vh;
|
58 |
|
59 |
|
60 | --RS__colCount: 1;
|
61 |
|
62 |
|
63 | --RS__colGap: 0;
|
64 |
|
65 |
|
66 | --RS__maxLineLength: 40rem;
|
67 |
|
68 |
|
69 | --RS__pageGutter: 20px;
|
70 | }
|
71 |
|
72 |
|
73 |
|
74 | @page {
|
75 | margin: 0 !important;
|
76 | }
|
77 |
|
78 |
|
79 |
|
80 |
|
81 |
|
82 | :root {
|
83 |
|
84 |
|
85 | position: relative;
|
86 |
|
87 | -webkit-column-width: var(--RS__colWidth);
|
88 | -moz-column-width: var(--RS__colWidth);
|
89 | column-width: var(--RS__colWidth);
|
90 |
|
91 |
|
92 |
|
93 | -webkit-column-count: var(--RS__colCount);
|
94 | -moz-column-count: var(--RS__colCount);
|
95 | column-count: var(--RS__colCount);
|
96 |
|
97 | -webkit-column-gap: var(--RS__colGap);
|
98 | -moz-column-gap: var(--RS__colGap);
|
99 | column-gap: var(--RS__colGap);
|
100 |
|
101 |
|
102 | -moz-column-fill: auto;
|
103 | column-fill: auto;
|
104 | width: 100%;
|
105 | height: 100vh;
|
106 | max-width: 100%;
|
107 | max-height: 100vh;
|
108 | min-width: 100%;
|
109 | min-height: 100vh;
|
110 | padding: 0 var(--RS__pageGutter) !important;
|
111 | margin: 0 !important;
|
112 |
|
113 |
|
114 | font-size: 100% !important;
|
115 |
|
116 | -webkit-text-size-adjust: 100%;
|
117 |
|
118 |
|
119 | box-sizing: border-box;
|
120 |
|
121 | hanging-punctuation: last allow-end;
|
122 |
|
123 |
|
124 | -webkit-perspective: 1;
|
125 |
|
126 | -webkit-touch-callout: none;
|
127 |
|
128 | |
129 |
|
130 |
|
131 |
|
132 | -ms-writing-mode: tb-rl;
|
133 | -webkit-writing-mode: vertical-rl;
|
134 | writing-mode: vertical-rl;
|
135 | }
|
136 |
|
137 | :root:lang(mn-Mong) {
|
138 |
|
139 | -ms-writing-mode: tb;
|
140 | -webkit-writing-mode: vertical-lr;
|
141 | writing-mode: vertical-lr;
|
142 | }
|
143 |
|
144 | body {
|
145 |
|
146 | width: 100%;
|
147 |
|
148 | |
149 |
|
150 |
|
151 | max-height: var(--RS__maxLineLength) !important;
|
152 | padding: var(--RS__pageGutter) 0 !important;
|
153 | margin: auto 0 !important;
|
154 |
|
155 | |
156 |
|
157 |
|
158 | box-sizing: border-box;
|
159 | }
|
160 |
|
161 |
|
162 |
|
163 |
|
164 |
|
165 |
|
166 | @media screen and (min-width: 35em) {
|
167 | :root {
|
168 | --RS__pageGutter: 30px;
|
169 | }
|
170 | }
|
171 |
|
172 |
|
173 |
|
174 | @media screen and (min-width: 45em) {
|
175 | :root {
|
176 | --RS__pageGutter: 40px;
|
177 | }
|
178 | }
|
179 |
|
180 |
|
181 |
|
182 | @media screen and (min-width: 60em) {
|
183 | :root {
|
184 | --RS__pageGutter: 50px;
|
185 | }
|
186 | }
|
187 |
|
188 |
|
189 |
|
190 |
|
191 |
|
192 | @media screen and (min-width: 75em) {
|
193 | :root {
|
194 | --RS__pageGutter: 60px;
|
195 | }
|
196 | }
|
197 |
|
198 |
|
199 |
|
200 |
|
201 |
|
202 |
|
203 |
|
204 |
|
205 |
|
206 |
|
207 |
|
208 | :root[style*="readium-scroll-on"] {
|
209 |
|
210 |
|
211 |
|
212 | -webkit-columns: auto auto !important;
|
213 | -moz-columns: auto auto !important;
|
214 | columns: auto auto !important;
|
215 | width: auto !important;
|
216 | max-width: none !important;
|
217 | max-height: 100vh !important;
|
218 |
|
219 | min-width: 0 !important;
|
220 | }
|
221 |
|
222 |
|
223 |
|
224 | :root[style*="readium-scroll-on"] body {
|
225 | --RS__maxLineLength: 40.01rem !important;
|
226 | }
|
227 |
|
228 |
|
229 |
|
230 |
|
231 |
|
232 |
|
233 |
|
234 |
|
235 |
|
236 |
|
237 |
|
238 |
|
239 |
|
240 |
|
241 | .readiumCSS-yellow-highlight {
|
242 | background-color: rgba(255, 255, 0, 0.5);
|
243 | }
|
244 |
|
245 | .readiumCSS-green-highlight {
|
246 | background-color: rgba(0, 255, 0, 0.5);
|
247 | }
|
248 |
|
249 | .readiumCSS-orange-highlight {
|
250 | background-color: rgba(255, 165, 0, 0.5);
|
251 | }
|
252 |
|
253 | .readiumCSS-pink-highlight {
|
254 | background-color: rgba(255, 105, 180, 0.5);
|
255 | }
|
256 |
|
257 |
|
258 |
|
259 | .readiumCSS-mo-active-default {
|
260 | color: black !important;
|
261 | background-color: yellow !important;
|
262 | }
|
263 |
|
264 |
|
265 |
|
266 |
|
267 |
|
268 |
|
269 |
|
270 |
|
271 |
|
272 |
|
273 |
|
274 |
|
275 | :root[style*="readium-night-on"] {
|
276 | --RS__backgroundColor: #000000;
|
277 | --RS__textColor: #FEFEFE;
|
278 |
|
279 | --RS__linkColor: #63caff;
|
280 | --RS__visitedColor: #0099E5;
|
281 |
|
282 |
|
283 | --RS__selectionBackgroundColor: #b4d8fe;
|
284 | --RS__selectionTextColor: inherit;
|
285 | }
|
286 |
|
287 |
|
288 |
|
289 | :root[style*="readium-night-on"] *:not(a) {
|
290 | color: inherit !important;
|
291 | background-color: transparent !important;
|
292 | border-color: currentColor !important;
|
293 | }
|
294 |
|
295 | :root[style*="readium-night-on"] svg text {
|
296 | fill: currentColor !important;
|
297 | stroke: none !important;
|
298 | }
|
299 |
|
300 | :root[style*="readium-night-on"] a:link,
|
301 | :root[style*="readium-night-on"] a:link * {
|
302 | color: var(--RS__linkColor) !important;
|
303 | }
|
304 |
|
305 | :root[style*="readium-night-on"] a:visited,
|
306 | :root[style*="readium-night-on"] a:visited * {
|
307 | color: var(--RS__visitedColor) !important;
|
308 | }
|
309 |
|
310 | :root[style*="readium-night-on"] img[class*="gaiji"],
|
311 | :root[style*="readium-night-on"] *[epub\:type~="titlepage"] img:only-child {
|
312 | -webkit-filter: invert(100%);
|
313 | filter: invert(100%);
|
314 | }
|
315 |
|
316 |
|
317 |
|
318 | :root[style*="readium-night-on"][style*="readium-darken-on"] img {
|
319 | -webkit-filter: brightness(80%);
|
320 | filter: brightness(80%);
|
321 | }
|
322 |
|
323 |
|
324 |
|
325 | :root[style*="readium-night-on"][style*="readium-invert-on"] img {
|
326 | -webkit-filter: invert(100%);
|
327 | filter: invert(100%);
|
328 | }
|
329 |
|
330 |
|
331 |
|
332 | :root[style*="readium-night-on"][style*="readium-darken-on"][style*="readium-invert-on"] img {
|
333 | -webkit-filter: brightness(80%) invert(100%);
|
334 | filter: brightness(80%) invert(100%);
|
335 | }
|
336 |
|
337 |
|
338 |
|
339 |
|
340 |
|
341 |
|
342 |
|
343 |
|
344 |
|
345 |
|
346 | :root[style*="readium-sepia-on"] {
|
347 | --RS__backgroundColor: #faf4e8;
|
348 | --RS__textColor: #121212;
|
349 |
|
350 | --RS__linkColor: #0000EE;
|
351 | --RS__visitedColor: #551A8B;
|
352 |
|
353 |
|
354 | --RS__selectionBackgroundColor: #b4d8fe;
|
355 | --RS__selectionTextColor: inherit;
|
356 |
|
357 | --RS__maxLineLength: 40.01rem;
|
358 | }
|
359 |
|
360 |
|
361 |
|
362 | :root[style*="readium-sepia-on"] body {
|
363 |
|
364 |
|
365 | color: inherit;
|
366 | background-color: var(--RS__backgroundColor);
|
367 | }
|
368 |
|
369 | :root[style*="readium-sepia-on"] a:link,
|
370 | :root[style*="readium-sepia-on"] a:link * {
|
371 | color: var(--RS__linkColor);
|
372 | }
|
373 |
|
374 | :root[style*="readium-sepia-on"] a:visited,
|
375 | :root[style*="readium-sepia-on"] a:visited * {
|
376 | color: var(--RS__visitedColor);
|
377 | }
|
378 |
|
379 | :root[style*="readium-sepia-on"] svg,
|
380 | :root[style*="readium-sepia-on"] img {
|
381 |
|
382 | background-color: transparent !important;
|
383 | mix-blend-mode: multiply;
|
384 | }
|
385 |
|
386 |
|
387 |
|
388 |
|
389 |
|
390 |
|
391 |
|
392 |
|
393 |
|
394 |
|
395 |
|
396 | @media screen and (-ms-high-contrast: active) {
|
397 | :root {
|
398 | color: windowText !important;
|
399 | background-color: window !important;
|
400 | }
|
401 |
|
402 |
|
403 | :root :not(#\#):not(#\#):not(#\#),
|
404 | :root :not(#\#):not(#\#):not(#\#) :not(#\#):not(#\#):not(#\#)
|
405 | :root :not(#\#):not(#\#):not(#\#) :not(#\#):not(#\#):not(#\#) :not(#\#):not(#\#):not(#\#) {
|
406 | color: inherit !important;
|
407 | background-color: inherit !important;
|
408 | }
|
409 |
|
410 | .readiumCSS-mo-active-default {
|
411 | color: highlightText !important;
|
412 | background-color: highlight !important;
|
413 | }
|
414 |
|
415 |
|
416 |
|
417 |
|
418 | }
|
419 |
|
420 | @media screen and (-ms-high-contrast: white-on-black) {
|
421 | :root[style*="readium-night-on"] img[class*="gaiji"],
|
422 | :root[style*="readium-night-on"] *[epub\:type~="titlepage"] img:only-child {
|
423 | -webkit-filter: none !important;
|
424 | filter: none !important;
|
425 | }
|
426 | :root[style*="readium-night-on"][style*="readium-invert-on"] img {
|
427 | -webkit-filter: none !important;
|
428 | filter: none !important;
|
429 | }
|
430 | :root[style*="readium-night-on"][style*="readium-darken-on"][style*="readium-invert-on"] img {
|
431 | -webkit-filter: brightness(80%);
|
432 | filter: brightness(80%);
|
433 | }
|
434 | }
|
435 |
|
436 |
|
437 |
|
438 | @media screen and (inverted-colors) {
|
439 | :root[style*="readium-night-on"] img[class*="gaiji"],
|
440 | :root[style*="readium-night-on"] *[epub\:type~="titlepage"] img:only-child {
|
441 | -webkit-filter: none !important;
|
442 | filter: none !important;
|
443 | }
|
444 | :root[style*="readium-night-on"][style*="readium-invert-on"] img {
|
445 | -webkit-filter: none !important;
|
446 | filter: none !important;
|
447 | }
|
448 | :root[style*="readium-night-on"][style*="readium-darken-on"][style*="readium-invert-on"] img {
|
449 | -webkit-filter: brightness(80%);
|
450 | filter: brightness(80%);
|
451 | }
|
452 | }
|
453 |
|
454 | @media screen and (monochrome) {
|
455 |
|
456 |
|
457 | }
|
458 |
|
459 | @media screen and (prefers-reduced-motion) {
|
460 |
|
461 | }
|
462 |
|
463 |
|
464 |
|
465 |
|
466 |
|
467 |
|
468 |
|
469 |
|
470 |
|
471 |
|
472 |
|
473 | :root[style*="--USER__pageMargins"] body {
|
474 | padding: calc(var(--RS__pageGutter) * var(--USER__pageMargins)) 0 !important;
|
475 | }
|
476 |
|
477 |
|
478 |
|
479 |
|
480 |
|
481 |
|
482 |
|
483 |
|
484 |
|
485 | :root[style*="--USER__backgroundColor"] {
|
486 | background-color: var(--USER__backgroundColor) !important;
|
487 | }
|
488 |
|
489 | :root[style*="--USER__backgroundColor"] * {
|
490 | background-color: transparent !important;
|
491 | }
|
492 |
|
493 | :root[style*="--USER__textColor"] {
|
494 | color: var(--USER__textColor) !important;
|
495 | }
|
496 |
|
497 | :root[style*="--USER__textColor"] *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(pre) {
|
498 | color: inherit !important;
|
499 | }
|
500 |
|
501 |
|
502 |
|
503 |
|
504 |
|
505 |
|
506 |
|
507 |
|
508 |
|
509 | :root[style*="readium-font-on"][style*="--USER__fontFamily"] {
|
510 | font-family: var(--USER__fontFamily) !important;
|
511 | }
|
512 |
|
513 | :root[style*="readium-font-on"][style*="--USER__fontFamily"] body,
|
514 | :root[style*="readium-font-on"][style*="--USER__fontFamily"] p,
|
515 | :root[style*="readium-font-on"][style*="--USER__fontFamily"] li,
|
516 | :root[style*="readium-font-on"][style*="--USER__fontFamily"] div,
|
517 | :root[style*="readium-font-on"][style*="--USER__fontFamily"] dt,
|
518 | :root[style*="readium-font-on"][style*="--USER__fontFamily"] dd {
|
519 | font-family: inherit !important;
|
520 | }
|
521 |
|
522 | :root[style*="readium-font-on"][style*="--USER__fontFamily"] i:not([lang]),
|
523 | :root[style*="readium-font-on"][style*="--USER__fontFamily"] i:not([xml\:lang]),
|
524 | :root[style*="readium-font-on"][style*="--USER__fontFamily"] em:not([lang]),
|
525 | :root[style*="readium-font-on"][style*="--USER__fontFamily"] em:not([xml\:lang]),
|
526 | :root[style*="readium-font-on"][style*="--USER__fontFamily"] cite:not([lang]),
|
527 | :root[style*="readium-font-on"][style*="--USER__fontFamily"] cite:not([xml\:lang]),
|
528 | :root[style*="readium-font-on"][style*="--USER__fontFamily"] b:not([lang]),
|
529 | :root[style*="readium-font-on"][style*="--USER__fontFamily"] b:not([xml\:lang]),
|
530 | :root[style*="readium-font-on"][style*="--USER__fontFamily"] strong:not([lang]),
|
531 | :root[style*="readium-font-on"][style*="--USER__fontFamily"] strong:not([xml\:lang]),
|
532 | :root[style*="readium-font-on"][style*="--USER__fontFamily"] span:not([lang]),
|
533 | :root[style*="readium-font-on"][style*="--USER__fontFamily"] span:not([xml\:lang]) {
|
534 | font-family: inherit !important;
|
535 | }
|
536 |
|
537 |
|
538 |
|
539 |
|
540 |
|
541 |
|
542 |
|
543 |
|
544 |
|
545 | :root[style*="--USER__fontSize"] {
|
546 | font-size: var(--USER__fontSize) !important;
|
547 | }
|
548 |
|
549 |
|
550 |
|
551 |
|
552 |
|
553 |
|
554 |
|
555 |
|
556 |
|
557 | :root[style*="readium-advanced-on"][style*="--USER__lineHeight"] {
|
558 | line-height: var(--USER__lineHeight) !important;
|
559 | }
|
560 |
|
561 | :root[style*="readium-advanced-on"][style*="--USER__lineHeight"] body,
|
562 | :root[style*="readium-advanced-on"][style*="--USER__lineHeight"] p,
|
563 | :root[style*="readium-advanced-on"][style*="--USER__lineHeight"] li,
|
564 | :root[style*="readium-advanced-on"][style*="--USER__lineHeight"] div {
|
565 | line-height: inherit;
|
566 | }
|
567 |
|
568 |
|
569 |
|
570 |
|
571 |
|
572 |
|
573 |
|
574 |
|
575 |
|
576 | :root[style*="readium-advanced-on"][style*="--USER__paraSpacing"] p {
|
577 | margin-right: var(--USER__paraSpacing) !important;
|
578 | margin-left: var(--USER__paraSpacing) !important;
|
579 | }
|
580 |
|
581 |
|
582 |
|
583 |
|
584 |
|
585 |
|
586 |
|
587 |
|
588 |
|
589 |
|
590 |
|
591 |
|
592 |
|
593 |
|
594 |
|
595 | :root[style*="readium-advanced-on"] {
|
596 | --USER__typeScale: 1.2;
|
597 | }
|
598 |
|
599 | :root[style*="readium-advanced-on"] p,
|
600 | :root[style*="readium-advanced-on"] li,
|
601 | :root[style*="readium-advanced-on"] div,
|
602 | :root[style*="readium-advanced-on"] pre,
|
603 | :root[style*="readium-advanced-on"] dd {
|
604 | font-size: 1rem !important;
|
605 | }
|
606 |
|
607 | :root[style*="readium-advanced-on"] h1 {
|
608 |
|
609 | font-size: 1.75rem !important;
|
610 | font-size: calc(((1rem * var(--USER__typeScale)) * var(--USER__typeScale)) * var(--USER__typeScale)) !important;
|
611 | }
|
612 |
|
613 | :root[style*="readium-advanced-on"] h2 {
|
614 |
|
615 | font-size: 1.5rem !important;
|
616 | font-size: calc((1rem * var(--USER__typeScale)) * var(--USER__typeScale)) !important;
|
617 | }
|
618 |
|
619 | :root[style*="readium-advanced-on"] h3 {
|
620 |
|
621 | font-size: 1.25rem !important;
|
622 | font-size: calc(1rem * var(--USER__typeScale)) !important;
|
623 | }
|
624 |
|
625 | :root[style*="readium-advanced-on"] h4,
|
626 | :root[style*="readium-advanced-on"] h5,
|
627 | :root[style*="readium-advanced-on"] h6 {
|
628 | font-size: 1rem !important;
|
629 | }
|
630 |
|
631 | :root[style*="readium-advanced-on"] small {
|
632 | font-size: smaller !important;
|
633 | }
|
634 |
|
635 | :root[style*="readium-advanced-on"] sub,
|
636 | :root[style*="readium-advanced-on"] sup {
|
637 | font-size: 67.5% !important;
|
638 | }
|
639 |
|
640 |
|
641 |
|
642 |
|
643 | :root[style*="readium-advanced-on"][style*="--USER__typeScale"] h1 {
|
644 | font-size: calc(((1rem * var(--USER__typeScale)) * var(--USER__typeScale)) * var(--USER__typeScale)) !important;
|
645 | }
|
646 |
|
647 | :root[style*="readium-advanced-on"][style*="--USER__typeScale"] h2 {
|
648 | font-size: calc((1rem * var(--USER__typeScale)) * var(--USER__typeScale)) !important;
|
649 | }
|
650 |
|
651 | :root[style*="readium-advanced-on"][style*="--USER__typeScale"] h3 {
|
652 | font-size: calc(1rem * var(--USER__typeScale)) !important;
|
653 | }
|
654 |
|
\ | No newline at end of file |