|
1 | 1 | /*! |
2 | | - * Readium CSS v.2.0.0-beta.18 |
| 2 | + * Readium CSS v.2.0.0-beta.19 |
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. |
@@ -140,145 +140,6 @@ body{ |
140 | 140 | padding-right:var(--RS__scrollPaddingRight) !important; |
141 | 141 | } |
142 | 142 |
|
143 | | -:root[style*="readium-night-on"]{ |
144 | | - |
145 | | - --RS__selectionTextColor:inherit; |
146 | | - |
147 | | - --RS__selectionBackgroundColor:#b4d8fe; |
148 | | - |
149 | | - --RS__visitedColor:#0099E5; |
150 | | - |
151 | | - --RS__linkColor:#63caff; |
152 | | - |
153 | | - --RS__textColor:#FEFEFE; |
154 | | - |
155 | | - --RS__backgroundColor:#000000; |
156 | | -} |
157 | | - |
158 | | -:root[style*="readium-night-on"] *:not(a){ |
159 | | - color:inherit !important; |
160 | | - background-color:transparent !important; |
161 | | - border-color:currentcolor !important; |
162 | | -} |
163 | | - |
164 | | -:root[style*="readium-night-on"] svg text{ |
165 | | - fill:currentcolor !important; |
166 | | - stroke:none !important; |
167 | | -} |
168 | | - |
169 | | -:root[style*="readium-night-on"] a:link, |
170 | | -:root[style*="readium-night-on"] a:link *{ |
171 | | - color:var(--RS__linkColor) !important; |
172 | | -} |
173 | | - |
174 | | -:root[style*="readium-night-on"] a:visited, |
175 | | -:root[style*="readium-night-on"] a:visited *{ |
176 | | - color:var(--RS__visitedColor) !important; |
177 | | -} |
178 | | - |
179 | | -:root[style*="readium-night-on"] img[class*="gaiji"], |
180 | | -:root[style*="readium-night-on"] *[epub\:type~="titlepage"] img:only-child, |
181 | | -:root[style*="readium-night-on"] *[epub|type~="titlepage"] img:only-child{ |
182 | | - -webkit-filter:invert(100%); |
183 | | - filter:invert(100%); |
184 | | -} |
185 | | - |
186 | | -:root[style*="readium-sepia-on"]{ |
187 | | - |
188 | | - --RS__selectionTextColor:inherit; |
189 | | - |
190 | | - --RS__selectionBackgroundColor:#b4d8fe; |
191 | | - |
192 | | - --RS__visitedColor:#551A8B; |
193 | | - |
194 | | - --RS__linkColor:#0000EE; |
195 | | - |
196 | | - --RS__textColor:#121212; |
197 | | - |
198 | | - --RS__backgroundColor:#faf4e8; |
199 | | -} |
200 | | - |
201 | | -:root[style*="readium-sepia-on"] *:not(a){ |
202 | | - color:inherit !important; |
203 | | - background-color:transparent !important; |
204 | | -} |
205 | | - |
206 | | -:root[style*="readium-sepia-on"] a:link, |
207 | | -:root[style*="readium-sepia-on"] a:link *{ |
208 | | - color:var(--RS__linkColor); |
209 | | -} |
210 | | - |
211 | | -:root[style*="readium-sepia-on"] a:visited, |
212 | | -:root[style*="readium-sepia-on"] a:visited *{ |
213 | | - color:var(--RS__visitedColor); |
214 | | -} |
215 | | - |
216 | | -@media screen and (-ms-high-contrast: active){ |
217 | | - |
218 | | - :root{ |
219 | | - color:windowText !important; |
220 | | - background-color:window !important; |
221 | | - } |
222 | | - |
223 | | - :root :not(#\#):not(#\#):not(#\#), |
224 | | - :root :not(#\#):not(#\#):not(#\#) :not(#\#):not(#\#):not(#\#) |
225 | | - :root :not(#\#):not(#\#):not(#\#) :not(#\#):not(#\#):not(#\#) :not(#\#):not(#\#):not(#\#){ |
226 | | - color:inherit !important; |
227 | | - background-color:inherit !important; |
228 | | - } |
229 | | - |
230 | | - .readiumCSS-mo-active-default{ |
231 | | - color:highlightText !important; |
232 | | - background-color:highlight !important; |
233 | | - } |
234 | | -} |
235 | | - |
236 | | -@media screen and (-ms-high-contrast: white-on-black){ |
237 | | - |
238 | | - :root[style*="readium-night-on"] img[class*="gaiji"], |
239 | | - :root[style*="readium-night-on"] *[epub\:type~="titlepage"] img:only-child, |
240 | | - :root[style*="readium-night-on"] *[epub|type~="titlepage"] img:only-child{ |
241 | | - -webkit-filter:none !important; |
242 | | - filter:none !important; |
243 | | - } |
244 | | - |
245 | | - :root[style*="readium-night-on"][style*="readium-invert-on"] img{ |
246 | | - -webkit-filter:none !important; |
247 | | - filter:none !important; |
248 | | - } |
249 | | - |
250 | | - :root[style*="readium-night-on"][style*="readium-darken-on"][style*="readium-invert-on"] img{ |
251 | | - -webkit-filter:brightness(80%); |
252 | | - filter:brightness(80%); |
253 | | - } |
254 | | -} |
255 | | - |
256 | | -@media screen and (inverted-colors){ |
257 | | - |
258 | | - :root[style*="readium-night-on"] img[class*="gaiji"], |
259 | | - :root[style*="readium-night-on"] *[epub\:type~="titlepage"] img:only-child, |
260 | | - :root[style*="readium-night-on"] *[epub|type~="titlepage"] img:only-child{ |
261 | | - -webkit-filter:none !important; |
262 | | - filter:none !important; |
263 | | - } |
264 | | - |
265 | | - :root[style*="readium-night-on"][style*="readium-invert-on"] img{ |
266 | | - -webkit-filter:none !important; |
267 | | - filter:none !important; |
268 | | - } |
269 | | - |
270 | | - :root[style*="readium-night-on"][style*="readium-darken-on"][style*="readium-invert-on"] img{ |
271 | | - -webkit-filter:brightness(80%); |
272 | | - filter:brightness(80%); |
273 | | - } |
274 | | -} |
275 | | - |
276 | | -@media screen and (monochrome){ |
277 | | -} |
278 | | - |
279 | | -@media screen and (prefers-reduced-motion){ |
280 | | -} |
281 | | - |
282 | 143 | :root[style*="--USER__backgroundColor"]{ |
283 | 144 | background-color:var(--USER__backgroundColor) !important; |
284 | 145 | } |
|
0 commit comments