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 { | .tooltip { | ||
position: relative | position: relative | ||
Line 23: | Line 25: | ||
opacity: 1 | opacity: 1 | ||
} | } | ||
// links | |||
a { | a { | ||
Line 32: | Line 36: | ||
} | } | ||
. | .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; | |||
} | } | ||
Line 52: | Line 60: | ||
} | } | ||
.vector-menu-dropdown .mw-list-item a { | |||
color: #aaff00; | |||
} | } | ||
.vector-menu- | .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, #1b1b1b 100%); | |||
} | } | ||
. | .vector-menu-tabs,.vector-menu-tabs a,#mw-head .vector-menu-dropdown .vector-menu-heading { | ||
background- | background-image: linear-gradient(to bottom,rgba(27,27,27,0) 0,#aaff00 100%); | ||
} | } | ||
. | .vector-menu-tabs-legacy .selected { | ||
background | background: #aaff00; | ||
background-image: linear-gradient(to top, #aaff00 0, #aaff00 1px, #1b1b1b 100%); | |||
} | } | ||
#mw-page-base { | |||
color: # | background-color: #1b1b1b; | ||
background-image: linear-gradient(to bottom, #111111 50%, #1b1b1b 100%); | |||
} | } | ||
// page body tweaks | |||
.mw-body { | |||
border: 1px solid #aaff00; | |||
} | } | ||
Line 97: | Line 109: | ||
} | } | ||
. | .mw-footer li { | ||
color: #ffffff; | |||
} | } | ||
h1, h2, h3, h4, h5, h6 { | |||
color: #ffffff; | color: #ffffff; | ||
} | } |
Revision as of 20:11, 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, #1b1b1b 100%);
}
.vector-menu-tabs,.vector-menu-tabs a,#mw-head .vector-menu-dropdown .vector-menu-heading {
background-image: linear-gradient(to bottom,rgba(27,27,27,0) 0,#aaff00 100%);
}
.vector-menu-tabs-legacy .selected {
background: #aaff00;
background-image: linear-gradient(to top, #aaff00 0, #aaff00 1px, #1b1b1b 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;
}