MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
m revert Tag: Replaced |
Naaka-fied the CSS |
||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* 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: #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; | |||
} | |||
.toctogglelabel { | |||
color: #afe60b; | |||
} | |||
.mw-collapsible-toggle-default .mw-collapsible-text { | |||
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%); | |||
} | |||
.vector-menu-tabs, .vector-menu-tabs a, #mw-head .vector-menu-dropdown .vector-menu-heading { | |||
background-image: linear-gradient(to bottom, #dfff40 0, #aaff00 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; | |||
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 #aaff00; | |||
} | |||
/* assorted page body gubbins */ | |||
.wikitable { | |||
background-color: #666666; | |||
color: #ffffff; | |||
border: 1pt solid #aaff00; | |||
} |
Revision as of 19:58, 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: #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; } .toctogglelabel { color: #afe60b; } .mw-collapsible-toggle-default .mw-collapsible-text { 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%); } .vector-menu-tabs, .vector-menu-tabs a, #mw-head .vector-menu-dropdown .vector-menu-heading { background-image: linear-gradient(to bottom, #dfff40 0, #aaff00 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; 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 #aaff00; } /* assorted page body gubbins */ .wikitable { background-color: #666666; color: #ffffff; border: 1pt solid #aaff00; }