MediaWiki:Common.css: Difference between revisions

From DFO – Flood Observatory
No edit summary
Undo revision 5882 by DFO Kettner (talk)
Tag: Undo
 
(3 intermediate revisions by the same user not shown)
Line 17: Line 17:
.mw-title-separator,
.mw-title-separator,
.firstHeading .mw-page-title-separator {
.firstHeading .mw-page-title-separator {
    display: none !important;
}
/* Prevent leftover margin/padding where the title used to be */
#content,
#mw-content-text,
.mw-body,
.vector-body {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
/* Hide any HR under the title (common in older skins & some extensions) */
#content hr,
#mw-content-text hr:first-of-type,
.mw-body-content > hr:first-child {
     display: none !important;
     display: none !important;
}
}

Latest revision as of 14:04, 2 December 2025

/* CSS placed here will be applied to all skins */

img { height: auto; max-width: 100%; }

/* Hide page title */
.mw-page-title-main {
    display: none !important;
}

/* Hide namespace prefix (e.g., "Discharge:") */
.mw-page-title-namespace {
    display: none !important;
}

/* Hide colon between namespace and title */
.mw-page-title-separator,
.mw-title-separator,
.firstHeading .mw-page-title-separator {
    display: none !important;
}

/* Prevent leftover margin/padding where the title used to be */
#content,
#mw-content-text,
.mw-body,
.vector-body {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Hide any HR under the title (common in older skins & some extensions) */
#content hr,
#mw-content-text hr:first-of-type,
.mw-body-content > hr:first-child {
    display: none !important;
}