Skip to content

nytimes.com - Dark Mode Simple by Nick2bad4u

Mirrored from https://github.com/Nick2bad4u/UserStyles/raw/refs/heads/main/nytimes.com-DarkModeSimple.user.css

Screenshot of nytimes.com - Dark Mode Simple

Details

AuthorNick2bad4u

LicenseUnLicense

Categorynytimes

Created

Updated

Size623 B

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Dark New York Times Simple!

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name         nytimes.com - Dark Mode Simple
@version      20241106.05.27
@namespace    typpi.online
@description  Dark New York Times Simple
@author       Nick2bad4u
@license      UnLicense
==/UserStyle== */

@-moz-document domain("nytimes.com") {
/* Invert colors except images and videos */
:is(html:not([stylus-iframe]), img, svg, video):not(z#z.z[z]):not(svg):not(a > img) {
	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;
}
}

Reviews

No reviews yet.