MediaWiki:Common.css
From Heroes of Hammerwatch wiki
Revision as of 02:27, 25 January 2026 by Muffinatorz (talk | contribs)
Note: After saving, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* CSS placed here will be applied to all skins
body {
background-image: url("images/1/15/Background1440p.png");
}
*/
/* Force site logo */
.mw-wiki-logo,
#p-logo a {
background-image: url("/images/logo.png") !important;
background-repeat: no-repeat !important;
background-position: center center !important;
background-size: contain !important;
}
/* Give the logo a visible box if it ends up 0×0 */
/* Edited to center the logo with the sidebar */
.mw-wiki-logo,
#p-logo a {
/* width: 135px !important; */
height: 135px !important;
display: block !important;
}
#firstHeading { display: none; }
.printfooter { display: none; }
.siteSub { display: none; }
.jump-to-nav { display: none; }
.menu {
align-content: center;
margin: auto;
}
.rowcontainer {
display: flex;
flex-direction: row;
flex-wrap: nowrap;
justify-content: center;
}
.rowsmall {
width: 15vw;
margin-top: auto;
}
.rowlarge {
width: 70vw;
margin: auto;
}
.res-img img {
max-width: 100%;
height: auto;
position: relative;
float: left;
}
.logo-img img {
max-width: 60%;
height: auto;
}