|
1 | 1 | /*! |
2 | | - * Readium CSS v.2.0.0-beta.20 |
| 2 | + * Readium CSS v.2.0.0-beta.21 |
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. |
@@ -272,9 +272,13 @@ body{ |
272 | 272 | font-weight:inherit !important; |
273 | 273 | } |
274 | 274 |
|
| 275 | +:root[style*="AccessibleDfA"] body *:not(a),:root[style*="IA Writer Duospace"] body *:not(a), |
| 276 | +:root[style*="readium-a11y-on"] body *:not(a){ |
| 277 | + text-decoration:none !important; |
| 278 | +} |
| 279 | + |
275 | 280 | :root[style*="AccessibleDfA"] body *,:root[style*="IA Writer Duospace"] body *, |
276 | 281 | :root[style*="readium-a11y-on"] body *{ |
277 | | - text-decoration:none !important; |
278 | 282 | font-variant-caps:normal !important; |
279 | 283 | font-variant-numeric:normal !important; |
280 | 284 | font-variant-position:normal !important; |
@@ -324,7 +328,7 @@ body{ |
324 | 328 | margin-bottom:var(--USER__paraSpacing) !important; |
325 | 329 | } |
326 | 330 |
|
327 | | -:root[style*="--USER__paraIndent"] p{ |
| 331 | +:root[style*="--USER__paraIndent"] 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)){ |
328 | 332 | text-indent:var(--USER__paraIndent) !important; |
329 | 333 | } |
330 | 334 |
|
|
0 commit comments