dev

Note: After publishing, you may have to bypass your browser's cache to see the changes.

/***
 * @title			DiscordTheme/background
 * @description		Overrides wiki background with a Discord-style wallpaper
 * @docs			[[DiscordTheme]]
 * @version			v1.0
 * @author			Caburum
 * @skin			FandomDesktop
 * @installation	@import url("/load.php?mode=articles&only=styles&articles=u:dev:MediaWiki:DiscordTheme.css/background.css");
 ***/

/* Important to make sure nothing else overrides them */
body.skin-fandomdesktop .fandom-community-header__background {
	display: none !important;
}

body.mediawiki:not(.mw-special-ApiHelp) {
	background-image: url('https://static.wikia.nocookie.net/discord/images/b/b6/Discord_wallpaper.png/revision/latest') !important;
	background-repeat: no-repeat !important;
	background-size: cover !important;
	background-position: center top  !important;
	background-attachment: fixed !important;
}

body.skin-fandomdesktop {
	--theme-body-dynamic-color-1: #fff;
	--theme-body-dynamic-color-1--rgb: 255, 255, 255;
	--theme-body-dynamic-color-2: #e6e6e6;
	--theme-body-dynamic-color-2--rgb: 230, 230, 230;
	--theme-body-background-color: #1E1F23;
	--theme-body-background-color--rgb: 30, 31, 35;
	--theme-body-text-color: #fff;
	--theme-body-text-color--rgb: 255, 255, 255;
	--theme-body-text-color--hover: #ccc;
	--theme-community-header-color: #fff;
	--theme-community-header-color--hover: #ccc;
}