MediaWiki:Common.css: Difference between revisions

From Connor and Mitch Wiki
(Created page with "→‎CSS placed here will be applied to all skins: .mw-logo { display: none; }")
 
No edit summary
 
(2 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 {
/* Prevent the logo icon from being squashed */
     display: none;
.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;
}
/* Removes the Discussion tab from the UI for all users */
#ca-talk { display: none !important; }

Latest revision as of 09:03, 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;
}

/* Removes the Discussion tab from the UI for all users */
#ca-talk { display: none !important; }