MediaWiki:Vector.css: Difference between revisions
EnWikiAdmin (talk | contribs) No edit summary |
EnWikiAdmin (talk | contribs) No edit summary Tag: Reverted |
||
Line 59: | Line 59: | ||
font-style: italic; | font-style: italic; | ||
font-size: 90%; | font-size: 90%; | ||
} | |||
/* 1) Hide the title only on Test_page */ | |||
body.page-Test_page #firstHeading { | |||
display: none !important; | |||
} | |||
/* 2) When the left sidebar is collapsed in Vector 2022 on Test_page, | |||
expand/widen the container */ | |||
body.skin-vector-2022.vector-main-menu-collapsed.page-Test_page .mw-page-container-inner { | |||
max-width: none !important; | |||
} | |||
/* | |||
If for some reason .mw-page-container-inner doesn't expand, | |||
you could also try .mw-content-container or .vector-limited-content, | |||
depending on how your wiki’s HTML is structured: | |||
*/ | |||
body.skin-vector-2022.vector-main-menu-collapsed.page-Test_page .mw-content-container { | |||
max-width: none !important; | |||
} | } |