Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update core.css to new standards
  • Loading branch information
acabal committed Dec 29, 2020
1 parent e2e0343 commit 5e8c7f2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/epub/css/core.css
Expand Up @@ -122,7 +122,8 @@ section[epub|type~="endnotes"] > ol > li{
margin: 1em 0;
}

@media (prefers-color-scheme: dark){
/* Invert images in dark mode. RMSDK requires a target media as well as a state. */
@media all and (prefers-color-scheme: dark){
img[epub|type~="se:image.color-depth.black-on-transparent"]{
filter: invert(100%);
}
Expand Down

0 comments on commit 5e8c7f2

Please sign in to comment.