MediaWiki:Common.css: Difference between revisions
Update templates and main page |
Update templates and main page |
||
| Line 80: | Line 80: | ||
/* ===== Content area — centered ===== */ | /* ===== Content area — centered ===== */ | ||
/* Override Vector 2022 grid to center the main content */ | |||
.mw-page-container-inner { | |||
display: block !important; | |||
max-width: 960px; | |||
margin: 0 auto !important; | |||
} | |||
.mw-body { | .mw-body { | ||
max-width: 960px; | max-width: 960px; | ||
| Line 85: | Line 91: | ||
padding: 1.5em 2em; | padding: 1.5em 2em; | ||
} | } | ||
.mw-content-container { | |||
.mw- | max-width: none !important; | ||
max-width: | margin: 0 !important; | ||
margin: 0 | |||
} | } | ||
/* | /* Header also centered */ | ||
. | .vector-header-container .mw-header { | ||
max-width: 960px; | max-width: 960px; | ||
margin: 0 auto !important; | margin: 0 auto !important; | ||
| Line 213: | Line 215: | ||
} | } | ||
/* Hide Tools dropdown | /* Hide Tools dropdown */ | ||
#vector-page-tools { | |||
display: none !important; | |||
} | |||
/* Hide the entire page toolbar row (empty after removing all tabs) */ | |||
.vector-page-toolbar { | |||
display: none !important; | display: none !important; | ||
} | } | ||