MediaWiki:Vector.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 21: | Line 21: | ||
/* VECTOR | /* VECTOR BASE STRIPS */ | ||
/* ------------------ | /* ------------------ */ | ||
body.skin-vector-legacy #mw-page-base { | body.skin-vector-legacy #mw-page-base { | ||
left: var(--wiki-shell-gap); | position: absolute; | ||
width: var(--wiki-shell-width); | top: 0; | ||
margin-left: 0; | left: var(--wiki-shell-gap) !important; | ||
width: var(--wiki-shell-width) !important; | |||
margin-left: 0 !important; | |||
background: #fff; | background: #fff; | ||
} | } | ||
body.skin-vector-legacy #mw-head-base { | body.skin-vector-legacy #mw-head-base { | ||
left: calc(var(--wiki-shell-gap) + var(--wiki-sidebar-width)); | position: absolute; | ||
width: var(--wiki-content-width); | top: 0; | ||
margin-left: 0; | left: calc(var(--wiki-shell-gap) + var(--wiki-sidebar-width)) !important; | ||
width: var(--wiki-content-width) !important; | |||
margin-left: 0 !important; | |||
background: #fff; | background: #fff; | ||
} | } | ||
| Line 42: | Line 45: | ||
/* ------------------- */ | /* ------------------- */ | ||
body.skin-vector-legacy #mw-panel { | body.skin-vector-legacy #mw-panel { | ||
left: var(--wiki-shell-gap); | position: absolute; | ||
top: 0; | left: var(--wiki-shell-gap) !important; | ||
width: var(--wiki-sidebar-width); | top: 0 !important; | ||
width: var(--wiki-sidebar-width) !important; | |||
min-height: 100vh; | min-height: 100vh; | ||
box-sizing: border-box; | box-sizing: border-box; | ||
padding: 24px 18px; | padding: 24px 18px; | ||
background: #171717; | background: #171717; | ||
color: #f2eadc; | color: #f2eadc; | ||
| Line 59: | Line 62: | ||
/* ----------------- */ | /* ----------------- */ | ||
body.skin-vector-legacy #p-logo { | body.skin-vector-legacy #p-logo { | ||
position: relative; | position: relative !important; | ||
top: 0; | top: 0 !important; | ||
left: 0; | left: 0 !important; | ||
width: 100%; | width: 100% !important; | ||
height: 150px; | height: 150px; | ||
margin: 0 0 24px 0; | margin: 0 0 24px 0; | ||
| Line 73: | Line 76: | ||
/* ------------------- */ | /* ------------------- */ | ||
body.skin-vector-legacy #content.mw-body { | body.skin-vector-legacy #content.mw-body { | ||
margin-left: calc(var(--wiki-shell-gap) + var(--wiki-sidebar-width)); | margin-left: calc(var(--wiki-shell-gap) + var(--wiki-sidebar-width)) !important; | ||
width: var(--wiki-content-width); | width: var(--wiki-content-width) !important; | ||
max-width: var(--wiki-content-width); | max-width: var(--wiki-content-width) !important; | ||
box-sizing: border-box; | box-sizing: border-box; | ||
background: #fff; | background: #fff; | ||
| Line 81: | Line 84: | ||
/* TOP | /* TOP HEAD LAYOUT */ | ||
/* | /* --------------- */ | ||
body.skin-vector-legacy #mw-head { | body.skin-vector-legacy #mw-head { | ||
left: calc(var(--wiki-shell-gap) + var(--wiki-sidebar-width)); | position: absolute; | ||
right: auto; | top: 0; | ||
width: var(--wiki-content-width); | left: calc(var(--wiki-shell-gap) + var(--wiki-sidebar-width)) !important; | ||
right: auto !important; | |||
width: var(--wiki-content-width) !important; | |||
box-sizing: border-box; | box-sizing: border-box; | ||
} | } | ||
/* TOP LEFT PAGE TABS */ | |||
/* ------------------ */ | |||
/* Vector normally adds its own left offset here. This removes that hidden push. */ | |||
body.skin-vector-legacy #left-navigation { | body.skin-vector-legacy #left-navigation { | ||
left: 0; | position: absolute; | ||
left: 0 !important; | |||
margin-left: 0 !important; | |||
} | } | ||
/* TOP RIGHT PAGE TABS AND SEARCH */ | |||
/* ------------------------------ */ | |||
body.skin-vector-legacy #right-navigation { | body.skin-vector-legacy #right-navigation { | ||
right: 0; | position: absolute; | ||
right: 0 !important; | |||
margin-right: 0 !important; | |||
max-width: 620px; | |||
box-sizing: border-box; | |||
} | } | ||
/* PERSONAL LINKS | /* PERSONAL LINKS */ | ||
/* | /* -------------- */ | ||
body.skin-vector-legacy #p-personal { | body.skin-vector-legacy #p-personal { | ||
right: var(--wiki-shell-gap); | position: absolute; | ||
top: 0; | |||
right: var(--wiki-shell-gap) !important; | |||
width: var(--wiki-content-width); | |||
box-sizing: border-box; | |||
} | |||
/* SEARCH BOX */ | |||
/* ---------- */ | |||
body.skin-vector-legacy #p-search { | |||
max-width: 330px; | |||
} | |||
body.skin-vector-legacy #p-search input { | |||
box-sizing: border-box; | |||
} | } | ||
Revision as of 19:04, 1 June 2026
/* ============================== */
/* WIZLORDS VECTOR SKIN OVERRIDES */
/* ============================== */
/* CENTERED VECTOR VARIABLES */
/* ------------------------- */
:root {
--wiki-shell-width: 1350px;
--wiki-sidebar-width: 210px;
--wiki-content-width: calc(var(--wiki-shell-width) - var(--wiki-sidebar-width));
--wiki-shell-gap: max(0px, calc((100vw - var(--wiki-shell-width)) / 2));
}
/* PAGE BACKGROUND */
/* --------------- */
body.skin-vector-legacy {
background: #f5f3ee;
}
/* VECTOR BASE STRIPS */
/* ------------------ */
body.skin-vector-legacy #mw-page-base {
position: absolute;
top: 0;
left: var(--wiki-shell-gap) !important;
width: var(--wiki-shell-width) !important;
margin-left: 0 !important;
background: #fff;
}
body.skin-vector-legacy #mw-head-base {
position: absolute;
top: 0;
left: calc(var(--wiki-shell-gap) + var(--wiki-sidebar-width)) !important;
width: var(--wiki-content-width) !important;
margin-left: 0 !important;
background: #fff;
}
/* LEFT SIDEBAR LAYOUT */
/* ------------------- */
body.skin-vector-legacy #mw-panel {
position: absolute;
left: var(--wiki-shell-gap) !important;
top: 0 !important;
width: var(--wiki-sidebar-width) !important;
min-height: 100vh;
box-sizing: border-box;
padding: 24px 18px;
background: #171717;
color: #f2eadc;
border-left: 1px solid #3a2f1d;
border-right: 1px solid #3a2f1d;
}
/* LEFT SIDEBAR LOGO */
/* ----------------- */
body.skin-vector-legacy #p-logo {
position: relative !important;
top: 0 !important;
left: 0 !important;
width: 100% !important;
height: 150px;
margin: 0 0 24px 0;
background-position: center top;
background-size: contain;
}
/* MAIN CONTENT LAYOUT */
/* ------------------- */
body.skin-vector-legacy #content.mw-body {
margin-left: calc(var(--wiki-shell-gap) + var(--wiki-sidebar-width)) !important;
width: var(--wiki-content-width) !important;
max-width: var(--wiki-content-width) !important;
box-sizing: border-box;
background: #fff;
}
/* TOP HEAD LAYOUT */
/* --------------- */
body.skin-vector-legacy #mw-head {
position: absolute;
top: 0;
left: calc(var(--wiki-shell-gap) + var(--wiki-sidebar-width)) !important;
right: auto !important;
width: var(--wiki-content-width) !important;
box-sizing: border-box;
}
/* TOP LEFT PAGE TABS */
/* ------------------ */
/* Vector normally adds its own left offset here. This removes that hidden push. */
body.skin-vector-legacy #left-navigation {
position: absolute;
left: 0 !important;
margin-left: 0 !important;
}
/* TOP RIGHT PAGE TABS AND SEARCH */
/* ------------------------------ */
body.skin-vector-legacy #right-navigation {
position: absolute;
right: 0 !important;
margin-right: 0 !important;
max-width: 620px;
box-sizing: border-box;
}
/* PERSONAL LINKS */
/* -------------- */
body.skin-vector-legacy #p-personal {
position: absolute;
top: 0;
right: var(--wiki-shell-gap) !important;
width: var(--wiki-content-width);
box-sizing: border-box;
}
/* SEARCH BOX */
/* ---------- */
body.skin-vector-legacy #p-search {
max-width: 330px;
}
body.skin-vector-legacy #p-search input {
box-sizing: border-box;
}
/* SIDEBAR LINK STYLING */
/* -------------------- */
body.skin-vector-legacy #mw-panel a {
color: #d08b00;
}
body.skin-vector-legacy #mw-panel a:visited {
color: #d08b00;
}
body.skin-vector-legacy #mw-panel a:hover {
color: #ffb536;
}
/* SIDEBAR SECTION STYLING */
/* ----------------------- */
body.skin-vector-legacy #mw-panel .portal {
margin: 0 0 18px 0;
padding: 0;
}
body.skin-vector-legacy #mw-panel .portal h3 {
color: #cfc2aa;
font-weight: bold;
border-bottom: 1px dotted #7b5b1d;
margin: 0 0 8px 0;
padding-bottom: 4px;
}
body.skin-vector-legacy #mw-panel .portal .body {
margin: 0;
padding: 0;
background: transparent;
}
/* PAGE TITLE TEXT RULES */
/* --------------------- */
body.skin-vector-legacy h1#firstHeading,
body.skin-vector-legacy h1#firstHeading .mw-page-title-main {
font-family: Arial, Helvetica, sans-serif !important;
font-size: clamp(30px, 3.2vw, 42px) !important;
line-height: 1.1 !important;
font-weight: bold !important;
}