MediaWiki:Vector.css: Difference between revisions

No edit summary
Tag: Reverted
No edit summary
 
(13 intermediate revisions by the same user not shown)
Line 62: Line 62:




 
body.page-Main_Page #firstHeading {
/* 1) Hide the title only on Test_page */
body.page-Test_page #firstHeading {
   display: none !important;
   display: none !important;
}
}


/* 2) When the left sidebar is collapsed in Vector 2022 on Test_page,
body.page-Main_Page .mw-body {
  expand/widen the container */
    grid-template-columns: minmax(0, 1fr) min-content;
body.skin-vector-2022.vector-main-menu-collapsed.page-Test_page .mw-page-container-inner {
  max-width: none !important;
}
}


/*  
/* Hide the pre-content heading holder on Test_Page in mobile view */
  If for some reason .mw-page-container-inner doesn't expand,
@media (max-width: 1120px) { /* Adjust the breakpoint as needed */
  you could also try .mw-content-container or .vector-limited-content,
    body.page-Main_Page .pre-content.heading-holder {
  depending on how your wiki’s HTML is structured:
        display: none !important;
*/
    }
body.skin-vector-2022.vector-main-menu-collapsed.page-Test_page .mw-content-container {
 
  max-width: none !important;
}
body.skin-minerva a:visited,
body.skin-minerva .mw-parser-output a:visited {
    color: #6a60b0 !important; /* Your custom color */
}
}