|
1 | 1 | /* |
2 | | - * Readium CSS (v. 1.0.0-beta.3) |
| 2 | + * Readium CSS (v. 1.1.0) |
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 |
@@ -316,24 +316,12 @@ screen and (min-device-width: 36em) and (max-device-width: 47em) and (orientatio |
316 | 316 | :root[style*="readium-advanced-on"][style*="--USER__textAlign"] body, |
317 | 317 | :root[style*="readium-advanced-on"][style*="--USER__textAlign"] *:not(blockquote):not(figcaption) p, |
318 | 318 | :root[style*="readium-advanced-on"][style*="--USER__textAlign"] li{ |
319 | | - text-align:inherit !important; |
| 319 | + text-align:var(--USER__textAlign) !important; |
320 | 320 | -moz-text-align-last:auto !important; |
321 | 321 | -epub-text-align-last:auto !important; |
322 | 322 | text-align-last:auto !important; |
323 | 323 | } |
324 | 324 |
|
325 | | -:root[style*="readium-advanced-on"][dir="rtl"][style*="--USER__textAlign: left"], |
326 | | -:root[style*="readium-advanced-on"][dir="rtl"][style*="--USER__textAlign:left"], |
327 | | -:root[style*="readium-advanced-on"][style*="--USER__textAlign: left"] *[dir="rtl"], |
328 | | -:root[style*="readium-advanced-on"][style*="--USER__textAlign:left"] *[dir="rtl"]{ |
329 | | - text-align:right; |
330 | | -} |
331 | | - |
332 | | -:root[style*="readium-advanced-on"][dir="rtl"][style*="--USER__textAlign: start"], |
333 | | -:root[style*="readium-advanced-on"][dir="rtl"][style*="--USER__textAlign:start"]{ |
334 | | - text-align:right; |
335 | | -} |
336 | | - |
337 | 325 | :root[style*="readium-advanced-on"][style*="--USER__textAlign: justify"] body, |
338 | 326 | :root[style*="readium-advanced-on"][style*="--USER__textAlign:justify"] body{ |
339 | 327 | -webkit-hyphens:auto; |
|
0 commit comments