MediaWiki:Gadget-Vector2022Widener.css

/* 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-workspace-container { max-width: 100%; }

.mw-article-toolbar-container,.mw-content-container { max-width: 100%; margin-right: 0; }

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

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

/* expands the page contents when the mw-panel is collapsed */ .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container :is(.mw-content-container, .mw-article-toolbar-container) { margin-left: 11em; /* 11em is the width of #mw-panel */ }