MediaWiki:Common.css: Difference between revisions

From Heroes of Might and Magic: Olden Era Official Wiki
m added Gradient, Drop shadow, and changed the borders
mNo edit summary
Line 7: Line 7:
outline: solid #13161a 1em;
outline: solid #13161a 1em;
}
}
#mw-content


.portable-infobox.pi-theme-OE {
.portable-infobox.pi-theme-OE {

Revision as of 15:50, 7 November 2025

/* CSS placed here will be applied to all skins */

#mw-content, #content-bottom-stuff {
	background: linear-gradient(to right, #13161a,#242b35,#13161a);
	filter: drop-shadow(black 0 0 3rem);
	border-inline: solid #BEA064;
	outline: solid #13161a 1em;
}

.portable-infobox.pi-theme-OE {
	background-color: #1a1e22;
	--pi-secondary-background: #1a1e22;
}

/**************************
* Start Sidebar icons     *
**************************/

#p-Game.mw-portlet .mw-list-item a span:before {
	content: '';
	display: inline-block;
	vertical-align: bottom;
	height: 1.3em;
	width: 1.3em;
	background-size: contain;
	background-repeat: no-repeat;
	margin: 0 0.3em;
}

.mw-portlet #n-Factions span:before {
	background-image: url(/images/mbhh_homm/c/c0/Human_icon.png);
}

.mw-portlet #n-Laws span:before {
	background-image: url(/images/mbhh_homm/3/34/Icon_LawsPoint.png);
}

.mw-portlet #n-Heroes span:before {
	background-image: url(/images/mbhh_homm/f/f4/Skill_Leadership.png);
}

.mw-portlet #n-Units span:before {
	background-image: url(/images/mbhh_homm/9/9d/Focus_Charge_2.png);
}

.mw-portlet #n-Spells span:before {
	background-image: url(/images/mbhh_homm/8/8b/Mana_icon.png);
}

.mw-portlet #n-Resources span:before {
	background-image: url(/images/mbhh_homm/9/9a/Icon_Resource_Gold.png);
}

.mw-portlet #n-DevDiaries span:before {
	background-image: url(/images/mbhh_homm/b/b3/Unfrozen_Logo_-_Full_Color.png);
}

/**************************
* End Sidebar icons       *
**************************/