DetroitMi.gov - Dark Mode

DetroitMi.gov - Dark Mode!

目前為 2024-12-04 提交的版本,檢視 最新版本

/* ==UserStyle==
@name         DetroitMi.gov - Dark Mode
@version      20241116.23.31
@namespace    typpi.online
@description  DetroitMi.gov - Dark Mode!
@author       Nick2bad4u
@license      UnLicense
@homepageURL  https://github.com/Nick2bad4u/UserStyles
==/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]):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;
	}
}