MediaWiki:Common.css

From enIKSwiki
Revision as of 11:09, 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;
}

/* Hide edit section links */
.mw-editsection,
.mw-editsection-like {
	display: none !important;
}

/* Hide sidebar menus */
.vector-menu-portal,
#mw-panel .portal {
	display: none !important;
}

/* Collapse left sidebar completely */
.vector-column-start {
	display: none !important;
}

/* Remove Vector gutter spacing */
:root {
	--vector-gutter-width: 0px !important;
}

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

/* Stretch content to 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;
}