Dark theme for New Yorker
New Yorker Simple Dark Mode by Nick2bad4u
Mirrored from https://github.com/Nick2bad4u/UserStyles/raw/refs/heads/main/NewYorkerDarkMode.user.css
Details
AuthorNick2bad4u
LicenseUnLicense
Categorynewyorker
Created
Updated
Size607 B
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
Userstyle doesn't have notes.Source code
/* ==UserStyle==
@name New Yorker Simple Dark Mode
@version 20241106.04.29
@namespace typpi.online
@description Dark theme for New Yorker
@author Nick2bad4u
@license UnLicense
==/UserStyle== */
@-moz-document domain("newyorker.com") {
/* Invert colors except images and videos */
:is(html:not([stylus-iframe]), img, svg, video):not(z#z.z[z]) {
filter: invert(1) hue-rotate(180deg) !important;
}
/* Ensure background images are not inverted */
:is(html:not([stylus-iframe]), img, svg, video):not(z#z.z[z]) {
background-color: inherit !important;
}
}