MediaWiki:Common.css: Difference between revisions

From Connor and Mitch Wiki
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 */
/* Hide the Vector 2022 logo icon */
/* Prevent the logo icon from being squashed */
.vector-header-start .vector-pinnable-header-icon {
.mw-logo-icon {
     display: none;
     width: auto;      /* Allow width to scale naturally */
    height: 50px;     /* Keep standard height */
    object-fit: contain; /* Ensure the image fits without distortion */
}
}


/* Optional: Ensure the text aligns properly after the logo is gone */
/* If the wordmark text image is squashed */
.vector-header-start .vector-pinnable-header-label {
.mw-logo-wordmark {
     margin-left: 0;
    width: auto;
    height: auto;
    max-height: 32px;  /* Standard max height for wordmarks */
     object-fit: contain;
}
}

Revision as of 08:56, 5 April 2026

/* CSS placed here will be applied to all skins */
/* Prevent the logo icon from being squashed */
.mw-logo-icon {
    width: auto;       /* Allow width to scale naturally */
    height: 50px;      /* Keep standard height */
    object-fit: contain; /* Ensure the image fits without distortion */
}

/* If the wordmark text image is squashed */
.mw-logo-wordmark {
    width: auto;
    height: auto;
    max-height: 32px;  /* Standard max height for wordmarks */
    object-fit: contain;
}