MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
.mw-logo { | .mw-logo { | ||
position: relative !important; | |||
height: 120px !important; | |||
width: auto !important; | |||
} | |||
.mw-logo-container { | |||
position: relative !important; | |||
padding-left: 130px !important; | padding-left: 130px !important; | ||
} | } | ||
/* | /* Position the image */ | ||
.mw-logo | .mw-logo:before { | ||
content: "" !important; | |||
position: absolute !important; | |||
left: 0 !important; | |||
top: 50% !important; | |||
transform: translateY(-50%) !important; | |||
width: 120px !important; | |||
height: 120px !important; | |||
background: url('http://sewihockey.com/images/e/e1/Se_wi_puck_small.png') no-repeat center !important; | |||
background-size: contain !important; | |||
} | } | ||
/* | /* Position the text properly */ | ||
.mw-logo- | .mw-logo-wordmark { | ||
height: auto !important; | |||
display: inline-block !important; | |||
display: | |||
Revision as of 04:09, 20 March 2025
/* CSS placed here will be applied to all skins */
.mw-logo {
position: relative !important;
height: 120px !important;
width: auto !important;
}
.mw-logo-container {
position: relative !important;
padding-left: 130px !important;
}
/* Position the image */
.mw-logo:before {
content: "" !important;
position: absolute !important;
left: 0 !important;
top: 50% !important;
transform: translateY(-50%) !important;
width: 120px !important;
height: 120px !important;
background: url('http://sewihockey.com/images/e/e1/Se_wi_puck_small.png') no-repeat center !important;
background-size: contain !important;
}
/* Position the text properly */
.mw-logo-wordmark {
height: auto !important;
display: inline-block !important;