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 11: Line 11:
--wiki-content-width: calc(var(--wiki-shell-width) - var(--wiki-sidebar-width));
--wiki-content-width: calc(var(--wiki-shell-width) - var(--wiki-sidebar-width));
--wiki-shell-gap: max(0px, calc((100vw - var(--wiki-shell-width)) / 2));
--wiki-shell-gap: max(0px, calc((100vw - var(--wiki-shell-width)) / 2));
--wiki-head-height: 64px;
--wiki-head-height: 82px;
--wiki-user-row-top: 8px;
--wiki-nav-row-top: 42px;
}
}


Line 66: Line 68:
/* TOP HEAD BAR */
/* TOP HEAD BAR */
/* ------------ */
/* ------------ */
/* This is the full head/navigation area to the right of the sidebar. */
body.skin-vector-legacy #mw-head {
body.skin-vector-legacy #mw-head {
position: absolute !important;
position: absolute !important;
Line 77: Line 80:


background: #fff;
background: #fff;
border-bottom: 0;
border-bottom: 1px solid #a7d7f9;
}
}


Line 85: Line 88:
body.skin-vector-legacy #p-personal {
body.skin-vector-legacy #p-personal {
position: absolute !important;
position: absolute !important;
top: 8px !important;
top: var(--wiki-user-row-top) !important;
right: 16px !important;
right: 16px !important;
left: auto !important;
left: auto !important;
Line 96: Line 99:
/* LEFT PAGE TABS */
/* LEFT PAGE TABS */
/* -------------- */
/* -------------- */
/* Main Page / Discussion. The sidebar sits in front of this area if they overlap. */
/* Main Page / Discussion. */
body.skin-vector-legacy #left-navigation {
body.skin-vector-legacy #left-navigation {
position: absolute !important;
position: absolute !important;
left: 0 !important;
left: 0 !important;
top: 32px !important;
top: var(--wiki-nav-row-top) !important;
margin: 0 !important;
margin: 0 !important;
padding: 0 !important;
padding: 0 !important;
Line 113: Line 116:
position: absolute !important;
position: absolute !important;
right: 0 !important;
right: 0 !important;
top: 32px !important;
top: var(--wiki-nav-row-top) !important;
margin: 0 !important;
margin: 0 !important;
padding: 0 !important;
padding: 0 !important;
Line 135: Line 138:
/* MAIN CONTENT BODY */
/* MAIN CONTENT BODY */
/* ----------------- */
/* ----------------- */
/* The page body starts under the head bar and to the right of the sidebar. */
/* The page body starts directly under the full head bar. */
body.skin-vector-legacy #content.mw-body {
body.skin-vector-legacy #content.mw-body {
position: relative !important;
position: relative !important;
Line 146: Line 149:


background: #fff;
background: #fff;
border-top: 0 !important;
}
}