Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
js:foliate-js:reader [2024/03/26 13:41] – avillepreux | js:foliate-js:reader [2024/03/26 13:52] (Version actuelle) – ancienne révision (2024/03/26 13:27) restaurée avillepreux | ||
---|---|---|---|
Ligne 113: | Ligne 113: | ||
const getCSS = ({ spacing, justify, hyphenate }) => ` | const getCSS = ({ spacing, justify, hyphenate }) => ` | ||
@namespace epub " | @namespace epub " | ||
- | | + | |
color-scheme: | color-scheme: | ||
} | } | ||
/* https:// | /* https:// | ||
@media (prefers-color-scheme: | @media (prefers-color-scheme: | ||
- | | + | a:link { |
color: lightblue; | color: lightblue; | ||
} | } | ||
} | } | ||
- | | + | p, li, blockquote, dd { |
line-height: | line-height: | ||
text-align: ${justify ? ' | text-align: ${justify ? ' | ||
Ligne 134: | Ligne 134: | ||
} | } | ||
/* prevent the above from overriding the align attribute */ | /* prevent the above from overriding the align attribute */ | ||
- | | + | [align=" |
- | | + | [align=" |
- | | + | [align=" |
- | | + | [align=" |
- | | + | pre { |
white-space: | white-space: | ||
} | } | ||
- | | + | aside[epub|type~=" |
- | | + | aside[epub|type~=" |
- | | + | aside[epub|type~=" |
- | | + | aside[epub|type~=" |
display: none; | display: none; | ||
} | } |