MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
CliffracerX (talk | contribs) No edit summary |
CliffracerX (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
// tooltip support | // tooltip support | ||
Line 71: | Line 72: | ||
.vector-menu-tabs-legacy li { | .vector-menu-tabs-legacy li { | ||
background-image: linear-gradient(to top, #9bbf30 0, #9bbf30 1px, # | background-image: linear-gradient(to top, #9bbf30 0, #9bbf30 1px, #dfff40 100%); | ||
} | } | ||
.vector-menu-tabs-legacy .selected { | .vector-menu-tabs-legacy .selected { | ||
background: #aaff00; | background: #aaff00; | ||
background-image: linear-gradient(to top, #aaff00 0, #aaff00 1px, # | background-image: linear-gradient(to top, #aaff00 0, #aaff00 1px, #dfff40 100%); | ||
} | } | ||
Revision as of 20:13, 24 March 2024
/* CSS placed here will be applied to all skins */
// tooltip support
.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: #aaff00
}
.tooltip:hover>.tooltiptext {
visibility: visible;
opacity: 1
}
// links
a {
color: #aaff00;
}
a:visited {
color: #afe60b;
}
.mw-parser-output a.extiw, .mw-parser-output a.external {
color: #aaff00;
}
.mw-parser-output a.extiw, .mw-parser-output a.external:visited {
color: #afe60b;
}
.vector-legacy-sidebar .vector-menu-portal .vector-menu-content li a {
color: #aaff00;
}
.vector-legacy-sidebar .vector-menu-portal .vector-menu-content li a:visited {
color: #afe60b;
}
.vector-menu-tabs-legacy li a {
color: #dfff40;
}
.vector-menu-tabs-legacy li a:visited {
color: #cef218;
}
.vector-menu-dropdown .mw-list-item a {
color: #aaff00;
}
.vector-menu-dropdown .mw-list-item a:visited {
color: #afe60b;
}
// pretty tab gradients
.vector-menu-tabs-legacy li {
background-image: linear-gradient(to top, #9bbf30 0, #9bbf30 1px, #dfff40 100%);
}
.vector-menu-tabs-legacy .selected {
background: #aaff00;
background-image: linear-gradient(to top, #aaff00 0, #aaff00 1px, #dfff40 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 #aaff00;
}
body {
background-color: #1b1b1b;
color: #ffffff;
}
.mw-body,.parsoid-body {
background-color: #333333;
color: #ffffff;
}
.toc {
background-color: #666666;
border: 1pt solid #555555;
}
.mw-footer li {
color: #ffffff;
}
h1, h2, h3, h4, h5, h6 {
color: #ffffff;
}