MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| (9 intermediate revisions by the same user not shown) | |||
| 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: 100px !important; | |||
width: auto !important; | |||
height: | |||
} | } | ||
/* | .mw-logo-container { | ||
.mw-logo- | position: relative !important; | ||
padding-left: 120px !important; | |||
} | |||
/* Position the image */ | |||
.mw-logo:before { | |||
content: "" !important; | |||
position: absolute !important; | |||
left: 0 !important; | |||
top: 50% !important; | |||
transform: translateY(-50%) !important; | |||
width: 100px !important; | |||
height: 100px !important; | |||
background: url('http://sewihockey.com/images/e/e1/Se_wi_puck_small.png') no-repeat center !important; | |||
background-size: contain !important; | |||
} | |||
/* Style the main site name */ | |||
.mw-logo-wordmark { | |||
display: block !important; | display: block !important; | ||
font-size: 28px !important; | |||
padding-top: 20px !important; | |||
} | } | ||
/* | /* Add the tagline with simple positioning */ | ||
.mw-logo- | .mw-logo-wordmark:after { | ||
content: "South East Wisconsin Hockey" !important; | |||
display: block !important; | |||
font-size: 14px !important; | |||
color: #666 !important; | |||
margin-top: 5px !important; | |||
} | } | ||
Latest revision as of 04:25, 20 March 2025
/* CSS placed here will be applied to all skins */
.mw-logo {
position: relative !important;
height: 100px !important;
width: auto !important;
}
.mw-logo-container {
position: relative !important;
padding-left: 120px !important;
}
/* Position the image */
.mw-logo:before {
content: "" !important;
position: absolute !important;
left: 0 !important;
top: 50% !important;
transform: translateY(-50%) !important;
width: 100px !important;
height: 100px !important;
background: url('http://sewihockey.com/images/e/e1/Se_wi_puck_small.png') no-repeat center !important;
background-size: contain !important;
}
/* Style the main site name */
.mw-logo-wordmark {
display: block !important;
font-size: 28px !important;
padding-top: 20px !important;
}
/* Add the tagline with simple positioning */
.mw-logo-wordmark:after {
content: "South East Wisconsin Hockey" !important;
display: block !important;
font-size: 14px !important;
color: #666 !important;
margin-top: 5px !important;
}