MediaWiki:Vector.css
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.
/* ---------------------------------------------
OSRS Wiki-Inspired Vector Skin Styling
--------------------------------------------- */
/* 🎨 Ensure body respects background + font (redundant but safe) */
body {
font-family: 'IBM Plex Sans', 'Helvetica Neue', 'Arial', sans-serif;
color: #2e2e2e;
margin: 0;
}
/* 🧾 Unify article + tab background color */
.vector-body,
#mw-content-text,
#content {
background-color: #fdfaf4;
}
/* 📌 Logo position and subtle drop shadow */
#p-logo {
margin-top: -1.5em;
filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.25));
}
/* 🗂️ Legacy tab bar (top of article) */
.vector-menu-tabs-legacy {
background: #fdfaf4;
border-bottom: 1px solid #d5c2a4;
padding-left: 1em;
}
.vector-menu-tabs-legacy ul {
margin: 0;
padding: 0;
list-style: none;
display: flex;
align-items: center;
}
.vector-menu-tabs-legacy li {
background-color: #fdfaf4;
border: 1px solid transparent;
border-bottom: none;
margin: 0;
box-shadow: inset 0 -7px 7px -7px rgba(0, 0, 0, 0.15);
}
.vector-menu-tabs-legacy li a {
display: block;
padding: 1em 0.75em;
font-weight: bold;
color: #3d3d3d;
text-decoration: none;
}
.vector-menu-tabs-legacy li.selected {
background-color: #fffaf0;
border: 1px solid #d5c2a4;
border-bottom: none;
z-index: 1;
}
.vector-menu-tabs-legacy li.selected a {
color: #000;
}
/* 🧭 Sidebar section titles */
.vector-menu-portal .vector-menu-heading {
color: #2e2e2e;
font-weight: bold;
font-size: 1em;
background: none;
padding: 0.5em 0.75em;
}
/* 🧷 Sidebar links */
.vector-menu-portal .vector-menu-content li a {
color: #3d3d3d;
text-decoration: none;
display: block;
padding: 0.35em 0.75em;
transition: background 0.2s;
}
.vector-menu-portal .vector-menu-content li a:hover {
background: rgba(255, 255, 255, 0.2);
}
/* 🔍 Search box tweaks */
.vector-search-box-vue input.cdx-text-input__input {
background-color: #fff;
border: 1px solid #d5c2a4;
color: #2e2e2e;
padding: 7px;
height: 2.5rem;
}
/* 🧱 Edit sections and brackets */
.mw-editsection {
font-size: 0.85em;
color: #666;
}
.client-js .mw-editsection-bracket {
display: none;
}
/* 📜 Table of contents styling backup */
.toc {
border-radius: 4px;
font-size: 0.9em;
}
/* 📎 Hide the article action "view" tab if present */
#ca-view {
display: none !important;
}