Skip to content

nytimes.com - Dark Mode Simple by Nick2bad4u

Screenshot of nytimes.com - Dark Mode Simple

Details

AuthorNick2bad4u

LicenseUnLicense

Categorynytimes.com

Created

Updated

Size604 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.