Skip to content

Fandom.com - Dark Mode by Nick2bad4u

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

Screenshot of Fandom.com - Dark Mode

Details

AuthorNick2bad4u

LicenseUnLicense

Categoryfandom

Created

Updated

Size1.0 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Dark mode for Fandom

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name         Fandom.com - Dark Mode
@version      20241116.15.42
@namespace    typpi.online
@description  Dark mode for Fandom
@homepageURL  https://github.com/Nick2bad4u/UserStyles
@supportURL   https://github.com/Nick2bad4u/UserStyles/issues
@author       Nick2bad4u
@license      UnLicense
==/UserStyle== */

@-moz-document domain("fandom.com") {
	*:not(
			body
				> div.main-container
				> div.resizable-container
				> div.page
				> main
		) {
		background: black;
	}

	img,
	video,
	trk-shared-icon > svg > use,
	header > nav {
		filter: invert(1) hue-rotate(180deg) !important;
	}

	/* Exclude Dark Mode Elements */
	*:not(
			[style*='background-color: #121212'],
			[style*='background-color: black']
		) {
		filter: none !important;
		/* Reset filter for dark backgrounds */
	}

	/* Specific Exclusions */
	body,
	#primaryNav,
	#primaryNav > div > div.primary-links > ul,
	#content {
		background-color: #000 !important;
		--theme-page-background-color: #000000 !important;
		/* Ensure body stays dark */
	}
}

Reviews

No reviews yet.