dcrainmaker.com - Dark Mode

Dark mode for DC RainMaker

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

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

@var color background-color "Background Color" #000000
@var color post-background-color "Post Background Color" #ffffff
@var color post-text-color "Post Text Color" #000000
@var color gradient-start-color "Gradient Start Color" #f15e1d
@var color gradient-end-color "Gradient End Color" #da1111ab
==/UserStyle== */
@-moz-document domain("dcrainmaker.com") {
	:root {
		--background-color: var(background-color);
		--post-background-color: var(post-background-color);
		--post-text-color: var(post-text-color);
		--gradient-start-color: var(gradient-start-color);
		--gradient-end-color: var(gradient-end-color);
	}

	/* Invert colors except images and videos */
	:is(html:not([stylus-iframe]), img, svg, video) {
		filter: invert(1) hue-rotate(180deg) !important;
	}

	#post-sections h4 {
		background: var(--post-background-color);
		color: var(--post-text-color);
		font-style: oblique;
		text-decoration: underline dotted;
	}

	.commentlist .children li.comment-author-rainmaker,
	.commentlist li.comment-author-rainmaker > div,
	.commentlist li.comment.bypostauthor > div {
		border-radius: 10px !important;
	}

	.reply a,
	a.comment-edit-link {
		padding-right: 20px;
	}

	.comment-author cite {
		background: linear-gradient(
			90deg,
			var(--gradient-start-color) 55%,
			var(--gradient-end-color) 45%
		);
		-webkit-background-clip: text;
		background-clip: text;
		-webkit-text-fill-color: transparent;
	}

	.commentlist li.comment-author-rainmaker {
		border: var(--gradient-start-color) dashed;
	}
}