MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
/* | |||
/* Center the full Vector page layout on wide screens */ | |||
#mw-page-base, | #mw-page-base, | ||
#mw-head-base, | |||
#content, | #content, | ||
#mw-panel { | |||
#mw-panel | |||
max-width: 1200px; | max-width: 1200px; | ||
} | } | ||
#mw-page-base, | |||
#mw-head-base, | |||
#content { | |||
margin-left: auto; | margin-left: auto; | ||
margin-right: auto; | margin-right: auto; | ||
} | |||
/* Keep the left sidebar attached to the centered content area */ | |||
#mw-panel { | |||
left: calc((100% - 1200px) / 2); | |||
} | } | ||
Revision as of 20:25, 6 July 2026
/* CSS placed here will be applied to all skins */
/* Center the full Vector page layout on wide screens */
#mw-page-base,
#mw-head-base,
#content,
#mw-panel {
max-width: 1200px;
}
#mw-page-base,
#mw-head-base,
#content {
margin-left: auto;
margin-right: auto;
}
/* Keep the left sidebar attached to the centered content area */
#mw-panel {
left: calc((100% - 1200px) / 2);
}