|
1 | 1 | /*! |
2 | | - * Readium CSS v.2.0.0-beta.19 |
| 2 | + * Readium CSS v.2.0.0-beta.20 |
3 | 3 | * Copyright (c) 2017–2025. Readium Foundation. All rights reserved. |
4 | 4 | * Use of this source code is governed by a BSD-style license which is detailed in the |
5 | 5 | * LICENSE file present in the project repository where this source code is maintained. |
@@ -214,7 +214,7 @@ body{ |
214 | 214 | } |
215 | 215 |
|
216 | 216 | :root[style*="--USER__textAlign"] body, |
217 | | -:root[style*="--USER__textAlign"] p:not(blockquote p):not(figcaption p):not(hgroup p), |
| 217 | +:root[style*="--USER__textAlign"] p:not([class*="title"]):not(blockquote p):not(figcaption p):not(header p):not(hgroup p):not(div:has(+ *) > h1 + p):not(div:has(+ *) > p:has(+ h1)), |
218 | 218 | :root[style*="--USER__textAlign"] li, |
219 | 219 | :root[style*="--USER__textAlign"] dd{ |
220 | 220 | text-align:var(--USER__textAlign) !important; |
@@ -265,15 +265,15 @@ body{ |
265 | 265 | font-weight:normal !important; |
266 | 266 | } |
267 | 267 |
|
268 | | -:root[style*="AccessibleDfA"] *:not(code):not(var):not(kbd):not(samp),:root[style*="IA Writer Duospace"] *:not(code):not(var):not(kbd):not(samp), |
269 | | -:root[style*="readium-a11y-on"] *:not(code):not(var):not(kbd):not(samp){ |
| 268 | +:root[style*="AccessibleDfA"] body *:not(code):not(var):not(kbd):not(samp),:root[style*="IA Writer Duospace"] body *:not(code):not(var):not(kbd):not(samp), |
| 269 | +:root[style*="readium-a11y-on"] body *:not(code):not(var):not(kbd):not(samp){ |
270 | 270 | font-family:inherit !important; |
271 | 271 | font-style:inherit !important; |
272 | 272 | font-weight:inherit !important; |
273 | 273 | } |
274 | 274 |
|
275 | | -:root[style*="AccessibleDfA"] *,:root[style*="IA Writer Duospace"] *, |
276 | | -:root[style*="readium-a11y-on"] *{ |
| 275 | +:root[style*="AccessibleDfA"] body *,:root[style*="IA Writer Duospace"] body *, |
| 276 | +:root[style*="readium-a11y-on"] body *{ |
277 | 277 | text-decoration:none !important; |
278 | 278 | font-variant-caps:normal !important; |
279 | 279 | font-variant-numeric:normal !important; |
|
0 commit comments