MediaWiki:RPGC-header.css: Difference between revisions
Jump to navigation
Jump to search
Created page with "→Wiki logo: .mw-logo img, .mw-wiki-logo { max-height: 56px !important; width: auto !important; height: auto !important; object-fit: contain; }" |
No edit summary |
||
| Line 1: | Line 1: | ||
/* | /* Legacy Vector sidebar logo container */ | ||
.mw-logo | #p-logo { | ||
width: 160px !important; | |||
height: 110px !important; | |||
margin: 0 auto !important; | |||
} | |||
/* The logo is a CSS background, not an <img> */ | |||
#p-logo a, | |||
#p-logo a.mw-wiki-logo, | |||
.mw-wiki-logo { | .mw-wiki-logo { | ||
display: block !important; | |||
width: | width: 100% !important; | ||
height: | height: 100% !important; | ||
background-size: contain !important; | |||
background-position: center center !important; | |||
background-repeat: no-repeat !important; | |||
} | } | ||
Latest revision as of 05:10, 11 July 2026
/* Legacy Vector sidebar logo container */
#p-logo {
width: 160px !important;
height: 110px !important;
margin: 0 auto !important;
}
/* The logo is a CSS background, not an <img> */
#p-logo a,
#p-logo a.mw-wiki-logo,
.mw-wiki-logo {
display: block !important;
width: 100% !important;
height: 100% !important;
background-size: contain !important;
background-position: center center !important;
background-repeat: no-repeat !important;
}