Difference between revisions of "MediaWiki:Common.css"
From Heroes of Hammerwatch wiki
m |
|||
| Line 5: | Line 5: | ||
} | } | ||
*/ | */ | ||
| − | + | /* Force site logo */ | |
| − | /* Force site logo | ||
.mw-wiki-logo, | .mw-wiki-logo, | ||
#p-logo a { | #p-logo a { | ||
| Line 22: | Line 21: | ||
display: block !important; | display: block !important; | ||
} | } | ||
| + | |||
| + | |||
.menu { | .menu { | ||
Revision as of 12:56, 18 December 2025
/* 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 */
.mw-wiki-logo,
#p-logo a {
width: 135px !important;
height: 135px !important;
display: block !important;
}
.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;
}