MediaWiki:Common.css

From Doppler Shift Wiki
Revision as of 20:02, 6 September 2024 by Kannthus (talk | contribs) (Pastel Purple time baby.)
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.
/* CSS placed here will be applied to all skins */
/* Credit to Naaka for letting us customise their common.css */

.tooltip {
    position: relative
}

.tooltiptext {
    position: absolute;
    display: block;
    z-index: 2;
    width: 250px;
    padding: 10px;
    visibility: hidden;
    opacity: 0;
    white-space: normal;
    text-align: left;
    transition: all 0.2s;
    border: 1px solid #aaa;
    background-color: #565943;
    color: #ffffff;
}

.tooltip:hover>.tooltiptext {
    visibility: visible;
    opacity: 1
}

/* links */

a {
    color: #BF40BF;
}

a:visited {
    color: #9F2B68;
}

.mw-parser-output a.extiw, .mw-parser-output a.external {
    color: #BF40BF;
}

.mw-parser-output a.extiw, .mw-parser-output a.external:visited {
    color: #9F2B68;
}

.vector-legacy-sidebar .vector-menu-portal .vector-menu-content li a {
    color: #BF40BF;
}

.vector-legacy-sidebar .vector-menu-portal .vector-menu-content li a:visited {
    color: #9F2B68;
}

.vector-menu-tabs-legacy li a {
    color: #DA70D6;
}

.vector-menu-tabs-legacy li a:visited {
    color: #C3B1E1;
}

.vector-menu-dropdown .mw-list-item a {
    color: #BF40BF;
}

.vector-menu-dropdown .mw-list-item a:visited {
    color: #9F2B68;
}

.toctogglelabel {
    color: #C3B1E1;
}

.mw-collapsible-toggle-default .mw-collapsible-text {
    color: #9F2B68;
}

/* pretty tab gradients */

.vector-menu-tabs-legacy li {
    background-image: linear-gradient(to top, #C3B1E1 0, #C3B1E1 1px, #DA70D6 100%);
}

.vector-menu-tabs-legacy .selected {
    background: #aaff00;
    background-image: linear-gradient(to top, #BF40BF 0, #BF40BF 1px, #DA70D6 100%);
}

.vector-menu-tabs, .vector-menu-tabs a, #mw-head .vector-menu-dropdown .vector-menu-heading {
    background-image: linear-gradient(to bottom, #DA70D6 0, #BF40BF 100%);
}

#mw-page-base {
    background-color: #1b1b1b;
    background-image: linear-gradient(to bottom, #111111 50%, #1b1b1b 100%);
}

/* page body tweaks */

.mw-body {
    border: 1px solid #BF40BF;
}

body {
    background-color: #1b1b1b;
    color: #ffffff;
}

.mw-body,.parsoid-body {
    background-color: #333333;
    color: #ffffff;
}

.toc {
    background-color: #666666;
    color: #ffffff;
    border: 1pt solid #555555;
}

.toc, .toccolours {
    background-color: #666666;
    color: #ffffff;
    border: 1pt solid #555555;
}

.mw-footer li {
    color: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
    color: #ffffff;
}

.vector-search-box-input {
    background-color: #666666;
    color: #ffffff;
    border: 1pt solid #BF40BF;
}

/* assorted page body gubbins */
.wikitable {
    background-color: #666666;
    color: #ffffff;
    border: 1pt solid #BF40BF;
}