1
1
/*
2
- * Readium CSS (v. 2.0.0-beta.11 )
2
+ * Readium CSS (v. 2.0.0-beta.12 )
3
3
* Developers: Jiminy Panoz
4
4
* Copyright (c) 2017. Readium Foundation. All rights reserved.
5
5
* Use of this source code is governed by a BSD-style license which is detailed in the
@@ -398,7 +398,7 @@ body{
398
398
vertical-align : baseline !important ;
399
399
}
400
400
401
- : root [style *= "--USER__fontSize" ] body {
401
+ : root : not ([ style *= "readium-deprecatedFontSize-on" ]) [style *= "--USER__fontSize" ] body {
402
402
zoom : var (--USER__fontSize ) !important ;
403
403
}
404
404
@@ -409,6 +409,10 @@ body{
409
409
}
410
410
}
411
411
412
+ : root [style *= "readium-deprecatedFontSize-on" ][style *= "--USER__fontSize" ]{
413
+ font-size : var (--USER__fontSize ) !important ;
414
+ }
415
+
412
416
: root [style *= "--USER__lineHeight" ]{
413
417
line-height : var (--USER__lineHeight ) !important ;
414
418
}
@@ -536,61 +540,58 @@ body{
536
540
filter : invert (100% ) !important ;
537
541
}
538
542
539
- @supports not (zoom : 1 ){
540
-
541
- : root [style *= "readium-normalize-on" ]{
542
- --USER__typeScale : 1.2 ;
543
- }
543
+ : root [style *= "readium-normalize-on" ]{
544
+ --USER__typeScale : 1.2 ;
545
+ }
544
546
545
- : root [style *= "readium-normalize-on" ] p ,
546
- : root [style *= "readium-normalize-on" ] li ,
547
- : root [style *= "readium-normalize-on" ] div ,
548
- : root [style *= "readium-normalize-on" ] pre ,
549
- : root [style *= "readium-normalize-on" ] dd {
550
- font-size : 1rem !important ;
551
- }
547
+ : root [style *= "readium-normalize-on" ] p ,
548
+ : root [style *= "readium-normalize-on" ] li ,
549
+ : root [style *= "readium-normalize-on" ] div ,
550
+ : root [style *= "readium-normalize-on" ] pre ,
551
+ : root [style *= "readium-normalize-on" ] dd {
552
+ font-size : 1rem !important ;
553
+ }
552
554
553
- : root [style *= "readium-normalize-on" ] h1 {
554
- font-size : 1.75rem !important ;
555
- font-size : calc (((1rem * var (--USER__typeScale )) * var (--USER__typeScale )) * var (--USER__typeScale )) !important ;
556
- }
555
+ : root [style *= "readium-normalize-on" ] h1 {
556
+ font-size : 1.75rem !important ;
557
+ font-size : calc (((1rem * var (--USER__typeScale )) * var (--USER__typeScale )) * var (--USER__typeScale )) !important ;
558
+ }
557
559
558
- : root [style *= "readium-normalize-on" ] h2 {
559
- font-size : 1.5rem !important ;
560
- font-size : calc ((1rem * var (--USER__typeScale )) * var (--USER__typeScale )) !important ;
561
- }
560
+ : root [style *= "readium-normalize-on" ] h2 {
561
+ font-size : 1.5rem !important ;
562
+ font-size : calc ((1rem * var (--USER__typeScale )) * var (--USER__typeScale )) !important ;
563
+ }
562
564
563
- : root [style *= "readium-normalize-on" ] h3 {
564
- font-size : 1.25rem !important ;
565
- font-size : calc (1rem * var (--USER__typeScale )) !important ;
566
- }
565
+ : root [style *= "readium-normalize-on" ] h3 {
566
+ font-size : 1.25rem !important ;
567
+ font-size : calc (1rem * var (--USER__typeScale )) !important ;
568
+ }
567
569
568
- : root [style *= "readium-normalize-on" ] h4 ,
569
- : root [style *= "readium-normalize-on" ] h5 ,
570
- : root [style *= "readium-normalize-on" ] h6 {
571
- font-size : 1rem !important ;
572
- }
570
+ : root [style *= "readium-normalize-on" ] h4 ,
571
+ : root [style *= "readium-normalize-on" ] h5 ,
572
+ : root [style *= "readium-normalize-on" ] h6 {
573
+ font-size : 1rem !important ;
574
+ }
573
575
574
- : root [style *= "readium-normalize-on" ] small {
575
- font-size : smaller !important ;
576
- }
576
+ : root [style *= "readium-normalize-on" ] small {
577
+ font-size : smaller !important ;
578
+ }
577
579
578
- : root [style *= "readium-normalize-on" ] sub ,
579
- : root [style *= "readium-normalize-on" ] sup {
580
- font-size : 67.5% !important ;
581
- }
580
+ : root [style *= "readium-normalize-on" ] sub ,
581
+ : root [style *= "readium-normalize-on" ] sup {
582
+ font-size : 67.5% !important ;
583
+ }
582
584
583
- : root [style *= "readium-normalize-on" ][style *= "--USER__typeScale" ] h1 {
584
- font-size : calc (((1rem * var (--USER__typeScale )) * var (--USER__typeScale )) * var (--USER__typeScale )) !important ;
585
- }
585
+ : root [style *= "readium-normalize-on" ][style *= "--USER__typeScale" ] h1 {
586
+ font-size : calc (((1rem * var (--USER__typeScale )) * var (--USER__typeScale )) * var (--USER__typeScale )) !important ;
587
+ }
586
588
587
- : root [style *= "readium-normalize-on" ][style *= "--USER__typeScale" ] h2 {
588
- font-size : calc ((1rem * var (--USER__typeScale )) * var (--USER__typeScale )) !important ;
589
- }
589
+ : root [style *= "readium-normalize-on" ][style *= "--USER__typeScale" ] h2 {
590
+ font-size : calc ((1rem * var (--USER__typeScale )) * var (--USER__typeScale )) !important ;
591
+ }
590
592
591
- : root [style *= "readium-normalize-on" ][style *= "--USER__typeScale" ] h3 {
592
- font-size : calc (1rem * var (--USER__typeScale )) !important ;
593
- }
593
+ : root [style *= "readium-normalize-on" ][style *= "--USER__typeScale" ] h3 {
594
+ font-size : calc (1rem * var (--USER__typeScale )) !important ;
594
595
}
595
596
596
597
: root [style *= "readium-iPadOSPatch-on" ] body {
0 commit comments