MediaWiki:Common.css: Difference between revisions
From Heroes of Might and Magic: Olden Era Official Wiki
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
| Line 59: | Line 59: | ||
margin-bottom: 5px !important; /* Add some space between tabs */ | margin-bottom: 5px !important; /* Add some space between tabs */ | ||
box-sizing: border-box !important; /* Include padding in the width */ | box-sizing: border-box !important; /* Include padding in the width */ | ||
} | |||
.tabbernav li a { | |||
padding: 0px 0.5em !important; | |||
margin-left: 0px !important; | |||
} | } | ||
Revision as of 15:42, 31 October 2025
/* CSS placed here will be applied to all skins */
.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-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 *
**************************/
.tabber {
display: flex !important;
flex-direction: column !important; /* Stack tabs vertically */
}
.tabber .tabbertab {
display: block !important; /* Ensure each tab is treated as a block */
width: 100% !important; /* Full width of the container */
margin-bottom: 5px !important; /* Add some space between tabs */
box-sizing: border-box !important; /* Include padding in the width */
}
.tabbernav li a {
padding: 0px 0.5em !important;
margin-left: 0px !important;
}


