11/*
2- * Readium CSS (v. 2.0.0-beta.10 )
2+ * Readium CSS (v. 2.0.0-beta.11 )
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
@@ -362,45 +362,38 @@ body{
362362
363363: root [style *= "readium-font-on" ][style *= "AccessibleDfA" ]{
364364 font-family : AccessibleDfA, Verdana, Tahoma, "Trebuchet MS" , sans-serif !important ;
365- --RS__lineHeightCompensation : 1.167 ;
366365}
367366
368367: root [style *= "readium-font-on" ][style *= "IA Writer Duospace" ]{
369368 font-family : "IA Writer Duospace" , Menlo, "DejaVu Sans Mono" , "Bitstream Vera Sans Mono" , Courier, monospace !important ;
370- --RS__lineHeightCompensation : 1.167 ;
371- }
372-
373- : root [style *= "readium-font-on" ][style *= "readium-a11y-on" ]{
374- font-family : var (--USER__fontFamily ) !important ;
375- --RS__lineHeightCompensation : 1.167 ;
376369}
377370
378371: root [style *= "readium-font-on" ][style *= "AccessibleDfA" ], : root [style *= "readium-font-on" ][style *= "IA Writer Duospace" ],
379- : root [style *= "readium-font-on" ][ style *= "readium- a11y-on" ]{
372+ : root [style *= "readium-a11y-on" ]{
380373 font-style : normal !important ;
381374 font-weight : normal !important ;
382375}
383376
384377: root [style *= "readium-font-on" ][style *= "AccessibleDfA" ] * : not (code ): not (var ): not (kbd ): not (samp ), : root [style *= "readium-font-on" ][style *= "IA Writer Duospace" ] * : not (code ): not (var ): not (kbd ): not (samp ),
385- : root [style *= "readium-font-on" ][ style *= "readium- a11y-on" ] * : not (code ): not (var ): not (kbd ): not (samp ){
378+ : root [style *= "readium-a11y-on" ] * : not (code ): not (var ): not (kbd ): not (samp ){
386379 font-family : inherit !important ;
387380 font-style : inherit !important ;
388381 font-weight : inherit !important ;
389382}
390383
391384: root [style *= "readium-font-on" ][style *= "AccessibleDfA" ] * , : root [style *= "readium-font-on" ][style *= "IA Writer Duospace" ] * ,
392- : root [style *= "readium-font-on" ][ style *= "readium- a11y-on" ] * {
385+ : root [style *= "readium-a11y-on" ] * {
393386 text-decoration : none !important ;
394387 font-variant-caps : normal !important ;
395388 font-variant-numeric : normal !important ;
396389 font-variant-position : normal !important ;
397390}
398391
399392: root [style *= "readium-font-on" ][style *= "AccessibleDfA" ] sup , : root [style *= "readium-font-on" ][style *= "IA Writer Duospace" ] sup ,
400- : root [style *= "readium-font-on" ][ style *= "readium- a11y-on" ] sup ,
393+ : root [style *= "readium-a11y-on" ] sup ,
401394: root [style *= "readium-font-on" ][style *= "AccessibleDfA" ] sub ,
402395: root [style *= "readium-font-on" ][style *= "IA Writer Duospace" ] sub ,
403- : root [style *= "readium-font-on" ][ style *= "readium- a11y-on" ] sub {
396+ : root [style *= "readium-a11y-on" ] sub {
404397 font-size : 1rem !important ;
405398 vertical-align : baseline !important ;
406399}
@@ -598,4 +591,62 @@ body{
598591 : root [style *= "readium-normalize-on" ][style *= "--USER__typeScale" ] h3 {
599592 font-size : calc (1rem * var (--USER__typeScale )) !important ;
600593 }
594+ }
595+
596+ : root [style *= "readium-iPadOSPatch-on" ] body {
597+ -webkit-text-size-adjust : none;
598+ }
599+
600+ : root [style *= "readium-iPadOSPatch-on" ] p ,
601+ : root [style *= "readium-iPadOSPatch-on" ] h1 ,
602+ : root [style *= "readium-iPadOSPatch-on" ] h2 ,
603+ : root [style *= "readium-iPadOSPatch-on" ] h3 ,
604+ : root [style *= "readium-iPadOSPatch-on" ] h4 ,
605+ : root [style *= "readium-iPadOSPatch-on" ] h5 ,
606+ : root [style *= "readium-iPadOSPatch-on" ] h6 ,
607+ : root [style *= "readium-iPadOSPatch-on" ] li ,
608+ : root [style *= "readium-iPadOSPatch-on" ] th ,
609+ : root [style *= "readium-iPadOSPatch-on" ] td ,
610+ : root [style *= "readium-iPadOSPatch-on" ] dt ,
611+ : root [style *= "readium-iPadOSPatch-on" ] dd ,
612+ : root [style *= "readium-iPadOSPatch-on" ] pre ,
613+ : root [style *= "readium-iPadOSPatch-on" ] address ,
614+ : root [style *= "readium-iPadOSPatch-on" ] details ,
615+ : root [style *= "readium-iPadOSPatch-on" ] summary ,
616+ : root [style *= "readium-iPadOSPatch-on" ] figcaption ,
617+ : root [style *= "readium-iPadOSPatch-on" ] div : not (: has (p , h1 , h2 , h3 , h4 , h5 , h6 , li , th , td , dt , dd , pre , address , aside , details , figcaption , summary )),
618+ : root [style *= "readium-iPadOSPatch-on" ] aside : not (: has (p , h1 , h2 , h3 , h4 , h5 , h6 , li , th , td , dt , dd , pre , address , aside , details , figcaption , summary )){
619+ -webkit-text-zoom : reset;
620+ }
621+
622+ : root [style *= "readium-iPadOSPatch-on" ] abbr ,
623+ : root [style *= "readium-iPadOSPatch-on" ] b ,
624+ : root [style *= "readium-iPadOSPatch-on" ] bdi ,
625+ : root [style *= "readium-iPadOSPatch-on" ] bdo ,
626+ : root [style *= "readium-iPadOSPatch-on" ] cite ,
627+ : root [style *= "readium-iPadOSPatch-on" ] code ,
628+ : root [style *= "readium-iPadOSPatch-on" ] dfn ,
629+ : root [style *= "readium-iPadOSPatch-on" ] em ,
630+ : root [style *= "readium-iPadOSPatch-on" ] i ,
631+ : root [style *= "readium-iPadOSPatch-on" ] kbd ,
632+ : root [style *= "readium-iPadOSPatch-on" ] mark ,
633+ : root [style *= "readium-iPadOSPatch-on" ] q ,
634+ : root [style *= "readium-iPadOSPatch-on" ] rp ,
635+ : root [style *= "readium-iPadOSPatch-on" ] rt ,
636+ : root [style *= "readium-iPadOSPatch-on" ] ruby ,
637+ : root [style *= "readium-iPadOSPatch-on" ] s ,
638+ : root [style *= "readium-iPadOSPatch-on" ] samp ,
639+ : root [style *= "readium-iPadOSPatch-on" ] small ,
640+ : root [style *= "readium-iPadOSPatch-on" ] span ,
641+ : root [style *= "readium-iPadOSPatch-on" ] strong ,
642+ : root [style *= "readium-iPadOSPatch-on" ] sub ,
643+ : root [style *= "readium-iPadOSPatch-on" ] sup ,
644+ : root [style *= "readium-iPadOSPatch-on" ] time ,
645+ : root [style *= "readium-iPadOSPatch-on" ] u ,
646+ : root [style *= "readium-iPadOSPatch-on" ] var {
647+ -webkit-text-zoom : normal;
648+ }
649+
650+ : root [style *= "readium-iPadOSPatch-on" ] p : not (: has (b , cite , em , i , q , s , small , span , strong )): first-line {
651+ -webkit-text-zoom : normal;
601652}
0 commit comments