MediaWiki:Common.css: Difference between revisions

From sewi
No edit summary
No edit summary
Line 2: Line 2:
.mw-logo {
.mw-logo {
     position: relative !important;
     position: relative !important;
     height: 120px !important;
     height: 100px !important;
     width: auto !important;
     width: auto !important;
}
}
Line 8: Line 8:
.mw-logo-container {
.mw-logo-container {
     position: relative !important;
     position: relative !important;
     padding-left: 130px !important;
     padding-left: 120px !important;
}
}


Line 18: Line 18:
     top: 50% !important;
     top: 50% !important;
     transform: translateY(-50%) !important;
     transform: translateY(-50%) !important;
     width: 120px !important;
     width: 100px !important;
     height: 120px !important;
     height: 100px !important;
     background: url('http://sewihockey.com/images/e/e1/Se_wi_puck_small.png') no-repeat center !important;
     background: url('http://sewihockey.com/images/e/e1/Se_wi_puck_small.png') no-repeat center !important;
     background-size: contain !important;
     background-size: contain !important;
Line 27: Line 27:
.mw-logo-wordmark {
.mw-logo-wordmark {
     height: auto !important;
     height: auto !important;
     display: inline-block !important;
     display: block !important;
     padding-top: 35px !important; /* Reduced to make room for tagline */
     padding-top: 25px !important;
     font-size: 26px !important;
     font-size: 28px !important;
    line-height: 1.2 !important;
}
}


/* Show and style the tagline */
/* Show and style the tagline */
.mw-logo-tagline {
    display: block !important;
    font-size: 14px !important;
    color: #666 !important;
    margin-top: 5px !important;
}
/* Add custom tagline using pseudo-element if needed */
.mw-logo-wordmark:after {
.mw-logo-wordmark:after {
     content: "South East Wisconsin Hockey Info" !important;
     content: "South East Wisconsin\A Hockey Info" !important;
    white-space: pre !important;
     display: block !important;
     display: block !important;
     font-size: 14px !important;
     font-size: 16px !important;
     color: #666 !important;
     color: #666 !important;
     font-weight: normal !important;
     font-weight: normal !important;
     margin-top: 5px !important;
     margin-top: 4px !important;
    line-height: 1.2 !important;
}
}

Revision as of 04:11, 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;
}

/* Position the text properly */
.mw-logo-wordmark {
    height: auto !important;
    display: block !important;
    padding-top: 25px !important;
    font-size: 28px !important;
    line-height: 1.2 !important;
}

/* 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: 4px !important;
    line-height: 1.2 !important;
}