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)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
/*
* SlyMods Wiki custom Vector CSS
*/
/* document body */
body.skin-vector {
background: linear-gradient(-4deg, black 1%, #010239 50%) fixed !important;
background-repeat: no-repeat;
background-attachment: fixed;
}
#mw-page-base {
background: transparent;
}
/* article tabs */
.vectorTabs,.vectorTabs ul,.vectorTabs ul li,.vectorTabs li.selected,.vectorTabs ul li span,div#mw-head div.vectorMenu h3,.vector-menu-tabs * > .mw-list-item {
background: transparent;
}
.vector-menu-tabs,.vector-menu-tabs a,#mw-head .vector-menu-dropdown h3 {
background: none;
}
.vector-menu-tabs .new a {
color: #db3030 !important;
}
/* more menu stuff */
.vector-menu-dropdown h3 {
color: #29d1fc;
}
.vector-menu-dropdown * > a {
color: black !important;
}
.vector-menu-heading-label {
color: #BEBFBF;
}
.vectorTabs li.selected a {
color: #fcffe4 !important;
}
/* search box */
.skin-vector #simpleSearch input {
color: white;
}
.skin-vector #simpleSearch input::placeholder {
color: lightgray;
}
/* mediawiki body */
.mw-body {
margin-right: 16px !important;
border-radius: 3px;
border: 2px solid #3E6897;
box-shadow: 0px 0px 7px #385486;
background-color: #102A51;
color: #99c3f0;
}
/* headings */
h1, h2, h3, h4, h5, h6 {
color: #99c3f0;
}
/* all links not in sidebar or article content */
#mw-head a, .skin-vector #mw-panel .portal .body li a, .skin-vector #mw-panel .portal .body li a:visited, .skin-vector div#mw-head div.vectorMenu h3 span, .skin-vector #footer a {
/*color: #fcffe4;*/
color: #8FA9CC;
}
/* sidebar links */
#mw-panel * > .mw-list-item a {
color: #8FA9CC !important;
}
/* article links */
.mw-body a, .mw-body a.extiw, .mw-body a.external {
color: #00C0F5;
}
.mw-body a:visited, .mw-body a.extiw:visited, .mw-body a.external:visited {
color: #0099c3;
}
/* redlinks */
a.new {
color: #F24333 !important;
}
a.new:visited {
color: #cb3a2d !important;
}
/* documentation box */
.documentation, .documentation-metadata {
background-color: rgba(0, 0, 0, 0.3) !important;
border-radius: 4px;
}
/* misc floating boxes */
.catlinks, .mw-collapsable, #toc {
background-color: #1C386A;
}
/* table of contents */
.tocnumber {
color: lightgray;
}
.toctogglelabel {
color: #00C0F5;
}
/* pre boxes and code */
pre {
background-color: rgba(0, 0, 0, 0.5);
color: #f0f0f0;
border: none;
border-radius: 3px;
}
code {
background-color: #1f1f1f;
color: #f0f0f0;
border: none;
}
.mw-highlight {
filter: saturate(3)
}
/* images */
.thumb {
color: black;
}
/* mboxes */
.ambox, .cmbox, .imbox, tmbox, .fmbox, .ombox, .mbox, .asbox, .dmbox {
background-color: rgba(0, 0, 0, 0.2) !important;
border-radius: 6px;
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
}
.ambox {
border-top: none !important;
border-right: none !important;
border-bottom: none !important;
}
.fmbox {
border-left: 4px solid #AC2A2D;
}
.ombox {
border: none;
}
/* editor diffs */
.diffchange-inline {
background: rgba(0, 0, 0, 0.2) !important;
border: 1px solid #feeec8
}
.diff-context {
color: inherit;
background-color: rgba(255, 255, 255, 0.2);
border-color: lightblue;
}
.diff-deletedline {
border-color: magenta;
}
.diff-addedline {
border-color: limegreen;
}
/* page history list */
#pagehistory li.selected {
color: white;
background-color: rgba(255, 255, 255, 0.2) !important;
}
.mw-plusminus-pos {
color: #4fff07;
}
.mw-plusminus-neg {
color: magenta;
}
.mw-changeslist-legend {
color: black;
}
/* navboxes */
.navbox {
color: black;
}
.navbox a {
color: #00566e !important;
}
.navbox a.selflink {
color: #004052 !important;
}
.navbox a.new {
color: #ff3724 !important
}
/* infoboxes */
table caption {
color: inherit;
}
.infobox {
padding: 0;
color: inherit;
text-align: left;
background-color: rgba(0, 0, 0, 0.2);
border: 1px solid rgba(255, 255, 255, 0.2);
border-top: none;
border-radius: 0px 0px 1px 1px;
border-spacing: 0px 0px;
border-collapse: collapse;
}
.infobox-title {
padding: 10px;
border: 1px solid rgba(255, 255, 255, 0.2);
border-bottom: none;
border-radius: 1px 1px 0px 0px;
}
.infobox-title, .infobox-header {
font-family: Verdana, Helvetica;
background-color: rgba(0, 0, 0, 0.5);
}
.infobox-above {
text-align: center;
text-indent: none;
}
.infobox-image {
margin: 0;
padding: 0;
}
table.infobox tr {
line-height: 2.2em;
border: 1px solid rgba(255, 255, 255, 0.1);
}
table.infobox tr:last-child {
border-bottom: none;
}
.infobox-header {
text-align: center;
margin-top: 20px;
}
.infobox-label {
width: 30%;
text-indent: 10%;
}
/* tables */
table {
display: wrap-text;
}
/* manage wiki box */
#managewiki {
color: black;
background-color: white;
}
/* hide dark mode link */
.skin-vector .darkmode-link {
display: none;
}
/* invert echo notification badges */
.skin-vector .mw-echo-notifications-badge {
filter: invert(1);
}
/* miscellaneous styles borrowed from https://zeldamods.org */
.skin-vector #mw-panel .portal h3 {
color: #ababab;
}
.skin-vector #footer ul li {
color: #deddc8;
}
#pt-uls .uls-trigger:before {
filter: invert(1);
}
.skin-vector #mw-panel .portal .body {
background: none;
}
.skin-vector #mw-panel .portal h3 {
border-bottom: 1px solid #5f5f5f;
}
.mw-content-ltr td ol,.mw-content-rtl .mw-content-ltr td ol {
margin-left: 1.5em;
}
.page-Main_Page #firstHeading,.page-Main_Page .heading-holder {
display: none !important;
}
.resloc-box {
border: 1px solid #d2d2d2;
padding: 2px 5px;
font-size: 85%;
border-left: 5px solid #000000;
}
.resloc-box-aoc {
border-left-color: #90c;
}
.resloc-box-normal {
border-left-color: #36c;
}
.no-rstb-box-color {
border-left-color: #c00;
}
.resloc-box p {
margin: 0;
}
.resloc-box + .resloc-box,.resloc-box + link + .resloc-box {
border-top: 0;
}
.ambox + .resloc-box {
margin-top: 10px;
}
.resloc-box + .ambox,.resloc-box + .toc {
margin-top: 10px;
}