MediaWiki:Common.css

From enIKSwiki
Revision as of 11:04, 1 June 2026 by Sarika (talk | contribs)
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* CSS placed here will be applied to all skins */
/* Hide "edit / edit source" next to headings everywhere */
.mw-editsection,
.mw-editsection-like {
  display: none !important;
}



/* Hide left sidebar but keep logo */
.vector-column-start .vector-menu-portal,
#mw-panel .portal {
    display: none !important;
}

/* Collapse sidebar column */
.vector-column-start {
    width: 0 !important;
    min-width: 0 !important;
    max-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
}

/* Remove the left column from page layout */
.mw-page-container {
    grid-template-columns: 0 minmax(0, 1fr) !important;
}

/* Stretch article content full width */
.mw-content-container,
.vector-page,
.vector-column-end {
    max-width: 100% !important;
    width: 100% !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
}