MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 2: | Line 2: | ||
.mw-logo { | .mw-logo { | ||
position: relative !important; | position: relative !important; | ||
height: | height: 110px !important; | ||
width: auto !important; | width: auto !important; | ||
margin-bottom: 10px !important; | |||
} | } | ||
| Line 28: | Line 29: | ||
height: auto !important; | height: auto !important; | ||
display: block !important; | display: block !important; | ||
padding-top: | padding-top: 15px !important; | ||
font-size: 28px !important; | font-size: 28px !important; | ||
line-height: 1. | line-height: 1.4 !important; | ||
margin-bottom: 25px !important; /* Create space below the main title */ | |||
} | } | ||
| Line 41: | Line 43: | ||
color: #666 !important; | color: #666 !important; | ||
font-weight: normal !important; | font-weight: normal !important; | ||
margin-top: | margin-top: 6px !important; | ||
line-height: 1.2 !important; | line-height: 1.2 !important; | ||
position: absolute !important; /* Position absolutely */ | |||
top: 50px !important; /* Control exact position */ | |||
} | } | ||
Revision as of 04:12, 20 March 2025
/* CSS placed here will be applied to all skins */
.mw-logo {
position: relative !important;
height: 110px !important;
width: auto !important;
margin-bottom: 10px !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;
}
/* Position the text properly */
.mw-logo-wordmark {
height: auto !important;
display: block !important;
padding-top: 15px !important;
font-size: 28px !important;
line-height: 1.4 !important;
margin-bottom: 25px !important; /* Create space below the main title */
}
/* Show and style the tagline */
.mw-logo-wordmark:after {
content: "South East Wisconsin\A Hockey Info" !important;
white-space: pre !important;
display: block !important;
font-size: 16px !important;
color: #666 !important;
font-weight: normal !important;
margin-top: 6px !important;
line-height: 1.2 !important;
position: absolute !important; /* Position absolutely */
top: 50px !important; /* Control exact position */
}