11/*
2- * Readium CSS (v. 2.0.0-beta.11 )
2+ * Readium CSS (v. 2.0.0-beta.12 )
33 * Developers: Jiminy Panoz
44 * Copyright (c) 2017. Readium Foundation. All rights reserved.
55 * Use of this source code is governed by a BSD-style license which is detailed in the
@@ -398,7 +398,7 @@ body{
398398 vertical-align : baseline !important ;
399399}
400400
401- : root [style *= "--USER__fontSize" ] body {
401+ : root : not ([ style *= "readium-deprecatedFontSize-on" ]) [style *= "--USER__fontSize" ] body {
402402 zoom : var (--USER__fontSize ) !important ;
403403}
404404
@@ -409,6 +409,10 @@ body{
409409 }
410410}
411411
412+ : root [style *= "readium-deprecatedFontSize-on" ][style *= "--USER__fontSize" ]{
413+ font-size : var (--USER__fontSize ) !important ;
414+ }
415+
412416: root [style *= "--USER__lineHeight" ]{
413417 line-height : var (--USER__lineHeight ) !important ;
414418}
@@ -536,61 +540,58 @@ body{
536540 filter : invert (100% ) !important ;
537541}
538542
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+ }
544546
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+ }
552554
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+ }
557559
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+ }
562564
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+ }
567569
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+ }
573575
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+ }
577579
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+ }
582584
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+ }
586588
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+ }
590592
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 ;
594595}
595596
596597: root [style *= "readium-iPadOSPatch-on" ] body {
0 commit comments