MediaWiki:Vector.css
MediaWiki interface page
More actions
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* ============================== */
/* 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 TOP BACKGROUND STRIPS */
/* ---------------------------- */
/* These are Vector's fake top background layers. They need to match the centred shell. */
body.skin-vector-legacy #mw-page-base {
left: var(--wiki-shell-gap);
width: var(--wiki-shell-width);
margin-left: 0;
background: #fff;
}
body.skin-vector-legacy #mw-head-base {
left: calc(var(--wiki-shell-gap) + var(--wiki-sidebar-width));
width: var(--wiki-content-width);
margin-left: 0;
background: #fff;
}
/* LEFT SIDEBAR LAYOUT */
/* ------------------- */
body.skin-vector-legacy #mw-panel {
left: var(--wiki-shell-gap);
top: 0;
width: var(--wiki-sidebar-width);
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;
top: 0;
left: 0;
width: 100%;
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));
width: var(--wiki-content-width);
max-width: var(--wiki-content-width);
box-sizing: border-box;
background: #fff;
}
/* TOP NAVIGATION LAYOUT */
/* --------------------- */
body.skin-vector-legacy #mw-head {
left: calc(var(--wiki-shell-gap) + var(--wiki-sidebar-width));
right: auto;
width: var(--wiki-content-width);
box-sizing: border-box;
}
body.skin-vector-legacy #left-navigation {
left: 0;
}
body.skin-vector-legacy #right-navigation {
right: 0;
}
/* PERSONAL LINKS LAYOUT */
/* --------------------- */
body.skin-vector-legacy #p-personal {
right: var(--wiki-shell-gap);
}
/* 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;
}