MediaWiki:Common.css: Difference between revisions

From WikiHoster.xyz
Created page with "CSS placed here will be applied to all skins: Hide both sidebars for everyone: #mw-site-navigation, #mw-related-navigation { display: none !important; } Expand main content to full width: #content, #bodyContent, .mw-body, .mw-workspace-container { margin: 0 !important; width: 100% !important; max-width: none !important; }"
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 9: Line 9:
#content,
#content,
#bodyContent,
#bodyContent,
#mw-content-block,
.mw-body,
.mw-body,
.mw-workspace-container {
.mw-workspace-container {
Line 15: Line 16:
   max-width: none !important;
   max-width: none !important;
}
}
/* Hide page tabs (Edit, Talk, etc.) */
#p-views, .vector-tabs, #left-navigation { display: none !important; }
/* Hide footer (optional) */
#footer, .mw-footer { display: none !important; }

Latest revision as of 20:26, 7 November 2025

/* CSS placed here will be applied to all skins */
/* Hide both sidebars for everyone */
#mw-site-navigation,
#mw-related-navigation {
  display: none !important;
}

/* Expand main content to full width */
#content,
#bodyContent,
#mw-content-block,
.mw-body,
.mw-workspace-container {
  margin: 0 !important;
  width: 100% !important;
  max-width: none !important;
}

/* Hide page tabs (Edit, Talk, etc.) */
#p-views, .vector-tabs, #left-navigation { display: none !important; }

/* Hide footer (optional) */
#footer, .mw-footer { display: none !important; }