MediaWiki:Vector.css: Difference between revisions
MediaWiki interface page
More actions
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: | --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: | 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: | 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 | /* 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: | 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: | 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 | /* 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; | |||
} | } | ||