Skip to content

kbin small mods by Amongog

Details

AuthorAmongog

LicenseNo License

Categorykbin.social

Created

Updated

Size1.3 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Compilation of small kbin mods from various authors at /m/kbinStyles

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name           kbin small mods
@namespace      github.com/openstyles/stylus
@version        0.0.5
@description    Compilation of small kbin mods from various authors at /m/kbinStyles
@author         Amongog
==/UserStyle== */
@-moz-document domain("kbin.social"),
domain("karab.in"),
domain("nadajnik.org"),
domain("kopnij.in"),
domain("fedia.io") {

	:root {
		--upvote-color: #ff8f65;
		--downvote-color: #9494ff;
		--boost-color: #53ffa6;
		--visited-color: #7f7f8b;
	}

	/* Change vote colors to match reddit */
	.vote .active.vote__up button {
		color: var(--upvote-color);
	}

	.vote .active.vote__down button {
		color: var(--downvote-color);
	}

	/* Change boost color when pressed */
	.comment menu > a.active,
	.comment menu > li button.active {
		color: var(--boost-color);
	}
	.entry footer menu > a.active,
	.entry footer menu > li button.active {
		color: var(--boost-color);
	}
	/* Change boost KUP icon color when pressed */
	a.boost-link.footer-button.active {
		color: var(--boost-color);
	}
	/* change boost KUP Mobile icon color when pressed */
	body.KUP-setting-alternativeMobileUI article.entry .footer-button.active {
		color: var(--boost-color);
	}
	
	.entry header h1 a:visited,
	.entry header h2 a:visited{
		color: var(--visited-color)
	}
}

Reviews

No reviews yet.