MediaWiki:Citizen.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary Tag: Reverted |
||
| Line 1: | Line 1: | ||
/* Default: Full width */ | /* Default: Full width for all pages */ | ||
:root { | :root { | ||
--width-layout: 100vw; | --width-layout: 100vw; | ||
} | } | ||
/* Override for | /* Main page: Override to 1600px */ | ||
.page-Main_Page | .page-Hauptseite .mw-page-container, | ||
.page- | .page-Main_Page .mw-page-container { | ||
max-width: 1600px; | |||
margin-left: auto; | |||
margin-right: auto; | |||
} | |||
/* Reset for other pages */ | |||
body:not(.page-Hauptseite):not(.page-Main_Page) .mw-page-container { | |||
max-width: 100%; | |||
} | } | ||
Revision as of 00:50, 5 February 2026
/* Default: Full width for all pages */
:root {
--width-layout: 100vw;
}
/* Main page: Override to 1600px */
.page-Hauptseite .mw-page-container,
.page-Main_Page .mw-page-container {
max-width: 1600px;
margin-left: auto;
margin-right: auto;
}
/* Reset for other pages */
body:not(.page-Hauptseite):not(.page-Main_Page) .mw-page-container {
max-width: 100%;
}