Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Vector.css: Difference between revisions

MediaWiki interface page
No edit summary
No edit summary
Line 138: Line 138:
/* MAIN CONTENT BODY */
/* MAIN CONTENT BODY */
/* ----------------- */
/* ----------------- */
/* The page body starts directly under the full head bar. */
/* 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: relative !important;
position: absolute !important;
margin-left: calc(var(--wiki-shell-gap) + var(--wiki-sidebar-width)) !important;
top: var(--wiki-head-height) !important;
margin-top: var(--wiki-head-height) !important;
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 !important;
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;
}
}