Skip to content

michigan.gov - Dark Mode by Nick2bad4u

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

Screenshot of michigan.gov - Dark Mode

Details

AuthorNick2bad4u

LicenseUnLicense

Categorymichigan

Created

Updated

Size1.0 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Michigan.gov Simple Dark Mode!

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name         michigan.gov - Dark Mode
@version      20241107.04.43
@namespace    typpi.online
@description  Michigan.gov Simple Dark Mode
@author       Nick2bad4u
@license      UnLicense
==/UserStyle== */

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

/* Additional styling for the Michigan Department of State */
#footer > section > div > div > div > div > div.row {
	filter: invert(1) hue-rotate(180deg) !important;
}

#footer > section > div > div > div > div > div.footer__section-logo > div > div > div.col-lg-3.col-md-4.footer__section-logo-img > img {
	filter: invert(0) hue-rotate(180deg) !important;
}

*[style*="background-image"] {
  filter: invert(1) hue-rotate(180deg)
}
}

Reviews

No reviews yet.