MediaWiki:Common.css: Difference between revisions

From Doppler Shift Wiki
Jump to navigation Jump to search
Undo revision 32 by Kannthus (talk)
Tag: Undo
Undo revision 31 by Kannthus (talk)
Tag: Undo
Line 80: Line 80:


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


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



Revision as of 20:08, 6 September 2024

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

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

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

.toctogglelabel {
    color: #afe60b;
}

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

/* pretty tab gradients */

.vector-menu-tabs-legacy li {
    background-image: linear-gradient(to top, #9bbf30 0, #9bbf30 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;
}