MediaWiki:Gadget-Vector2022Widener.css

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.
/* The following styles are adapted from https://en.wikipedia.org/wiki/MediaWiki_talk:Vector-2022.css#widener_gadget?
   with support added for expanding the page contents when the mw-panel is collapsed. */

.mw-article-toolbar-container,.mw-content-container {
	max-width: unset;
}

.mw-footer-container {
	padding-top: 0;
	padding-bottom: 0;
}

.mw-page-container, .vector-sticky-header {
    max-width: unset;
}

/* expands the page contents when the mw-panel is collapsed */
#mw-sidebar-checkbox:not(:checked) ~ .vector-sidebar-container-no-toc ~ .mw-content-container, .vector-toc-collapsed #mw-sidebar-checkbox:not(:checked) ~ :is(.mw-content-container, .mw-table-of-contents-container) {
    max-width:unset;
}