--
This commit is contained in:
73
style.css
73
style.css
@ -44,3 +44,76 @@ white-space: pre-wrap;
|
||||
font-size: 0.7em;
|
||||
padding: 1em;
|
||||
}
|
||||
|
||||
/* I stole this from darkreader */
|
||||
@media screen {
|
||||
|
||||
/* Leading rule */
|
||||
html {
|
||||
-webkit-filter: url(#dark-reader-filter) !important;
|
||||
filter: url(#dark-reader-filter) !important;
|
||||
}
|
||||
|
||||
/* Reverse rule */
|
||||
img,
|
||||
video,
|
||||
:not(object):not(body)>embed,
|
||||
object,
|
||||
svg image,
|
||||
[style*="background:url"],
|
||||
[style*="background-image:url"],
|
||||
[style*="background: url"],
|
||||
[style*="background-image: url"],
|
||||
[background],
|
||||
twitterwidget,
|
||||
.sr-reader,
|
||||
.sr-backdrop,
|
||||
iframe:fullscreen,
|
||||
[class="opinary-iframe"] {
|
||||
-webkit-filter: url(#dark-reader-reverse-filter) !important;
|
||||
filter: url(#dark-reader-reverse-filter) !important;
|
||||
}
|
||||
[style*="background:url"] *,
|
||||
[style*="background-image:url"] *,
|
||||
[style*="background: url"] *,
|
||||
[style*="background-image: url"] *,
|
||||
input,
|
||||
[background] *,
|
||||
img[src^="https://s0.wp.com/latex.php"],
|
||||
img.Wirisformula,
|
||||
twitterwidget .NaturalImage-image {
|
||||
-webkit-filter: none !important;
|
||||
filter: none !important;
|
||||
}
|
||||
.compatibility-with-darkreader-below-4-3-3 {
|
||||
background: white !important;
|
||||
}
|
||||
|
||||
/* Text contrast */
|
||||
html {
|
||||
text-shadow: 0 0 0 !important;
|
||||
}
|
||||
|
||||
/* Full screen */
|
||||
:-webkit-full-screen, :-webkit-full-screen * {
|
||||
-webkit-filter: none !important;
|
||||
filter: none !important;
|
||||
}
|
||||
:-moz-full-screen, :-moz-full-screen * {
|
||||
-webkit-filter: none !important;
|
||||
filter: none !important;
|
||||
}
|
||||
:fullscreen, :fullscreen * {
|
||||
-webkit-filter: none !important;
|
||||
filter: none !important;
|
||||
}
|
||||
|
||||
/* Page background */
|
||||
html {
|
||||
background: rgb(255,255,255) !important;
|
||||
}
|
||||
|
||||
/* Custom rules */
|
||||
.compatibility-with-darkreader-below-4-3-3 {
|
||||
background: white !important;
|
||||
}
|
||||
|
Reference in New Issue
Block a user