Skip to content

DetroitMi.gov - Dark Mode by Nick2bad4u

Mirrored from https://github.com/Nick2bad4u/UserStyles/raw/refs/heads/main/detroitmi.gov-DarkMode.user.css

Screenshot of DetroitMi.gov - Dark Mode

Details

AuthorNick2bad4u

LicenseUnLicense

Categorydetroitmi

Created

Updated

Size781 B

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

DetroitMi.gov - Dark Mode!

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name         DetroitMi.gov - Dark Mode
@version      20241116.23.32
@namespace    typpi.online
@description  DetroitMi.gov - Dark Mode!
@author       Nick2bad4u
@license      UnLicense
@homepageURL  https://github.com/Nick2bad4u/UserStyles
@supportURL   https://github.com/Nick2bad4u/UserStyles/issues
==/UserStyle== */

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