Skip to content

fivethirtyeight.com Dark Mode by Nick2bad4u

Mirrored from https://github.com/Nick2bad4u/UserStyles/raw/refs/heads/main/fivethirtyeight.comDarkMode.user.css

Screenshot of fivethirtyeight.com Dark Mode

Details

AuthorNick2bad4u

LicenseUnLicense

Categoryfivethirtyeight.com

Created

Updated

Size636 B

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

fivethirtyeight.com Dark Mode!

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name       fivethirtyeight.com Dark Mode
@version    20241106.04.58
@namespace    typpi.online
@description  fivethirtyeight.com Dark Mode
@author       Nick2bad4u
@license      UnLicense
==/UserStyle== */

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