MediaWiki:Vector.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 138: | Line 138: | ||
/* MAIN CONTENT BODY */ | /* MAIN CONTENT BODY */ | ||
/* ----------------- */ | /* ----------------- */ | ||
/* The page body starts directly under the | /* The page body starts directly under the head bar and beside the sidebar. */ | ||
body.skin-vector-legacy #content.mw-body { | body.skin-vector-legacy #content.mw-body { | ||
position: | position: absolute !important; | ||
top: var(--wiki-head-height) !important; | |||
margin | left: calc(var(--wiki-shell-gap) + var(--wiki-sidebar-width)) !important; | ||
right: auto !important; | |||
margin: 0 !important; | |||
width: var(--wiki-content-width) !important; | width: var(--wiki-content-width) !important; | ||
max-width: var(--wiki-content-width) !important; | max-width: var(--wiki-content-width) !important; | ||
min-height: calc(100vh - var(--wiki-head-height)); | |||
box-sizing: border-box; | box-sizing: border-box; | ||
z-index: 10; | z-index: 10; | ||
background: #fff; | background: #fff; | ||
border-top: 0 | border: 1px solid #333; | ||
border-top: 0; | |||
padding: 24px 24px 40px 24px; | |||
} | |||
/* Inner page content fills the body cleanly */ | |||
body.skin-vector-legacy #bodyContent { | |||
width: 100%; | |||
box-sizing: border-box; | |||
} | |||
/* Remove Vector's old content spacing assumptions */ | |||
body.skin-vector-legacy .mw-body-content { | |||
margin: 0; | |||
padding: 0; | |||
} | } | ||