MediaWiki:Vector.css

From SlyMods
Revision as of 03:11, 5 July 2022 by TheOnlyZac (talk | contribs) (Removed non-functioning import url)
Jump to navigation Jump to search

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.
/* 
 * Sly Modding 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;
}

/* 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;
}


/* hide dark mode link */
.skin-vector .darkmode-link {
    display: none;
}

/* invert echo notification badges */
.skin-vector .mw-echo-notifications-badge {
    filter: invert(1);
}


/* 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 {
  font-family: blambot-casual !important;
  font-weight: 700;
  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 !important;
}

.mw-body a:visited, .mw-body a.extiw:visited, .mw-body a.external:visited {
  color: #0099c3 !important;
}

/* 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;
}

/* pre boxes */
pre {
  background-color: #1f1f1f;
  color: #f0f0f0;
  border-radius: 1px;
}

/* code */
code {
  background-color: #1f1f1f;
  color: #f0f0f0;
}

/* 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;
}

/* manage wiki box */
#managewiki {
  color: black;
  background-color: white;
}


/* 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;
}