dcrainmaker.com - Dark Mode

Dark mode for DC RainMaker

Από την 21/01/2025. Δείτε την τελευταία έκδοση.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey, το Greasemonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Userscripts για να εγκαταστήσετε αυτόν τον κώδικα.

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

Θα χρειαστεί να εγκαταστήσετε μια επέκταση διαχείρισης κώδικα χρήστη για να εγκαταστήσετε αυτόν τον κώδικα.

(Έχω ήδη έναν διαχειριστή κώδικα χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

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.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Έχω ήδη έναν διαχειριστή στυλ χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

/* ==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;
	}
}