MediaWiki:Common.css: Difference between revisions
added .searchresults |
try b95 for subtle |
||
| (14 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
/* only public wiki - hide talk link */ | /* only public wiki - hide talk link */ | ||
:root { | |||
--color-base: #f8f9fa; | |||
--color-subtle: #b95; | |||
--background-color-base: #222; | |||
} | |||
html, | |||
body { | |||
background-color: #222; | |||
} | |||
.minerva__tab-container { | .minerva__tab-container { | ||
| Line 16: | Line 26: | ||
visibility: hidden; | visibility: hidden; | ||
} | } | ||
body { | body { | ||
| Line 25: | Line 36: | ||
background-image: unset !important; | background-image: unset !important; | ||
} | } | ||
/* <span class="light-bg"> for transparent images */ | /* <span class="light-bg"> for transparent images */ | ||
.light-bg { | .light-bg { | ||
background-color: #fff; | background-color: #fff; | ||
} | } | ||
| Line 74: | Line 60: | ||
body table.prettytable > * > tr > th, | body table.prettytable > * > tr > th, | ||
body table.prettytable > * > tr > td { | body table.prettytable > * > tr > td { | ||
background-color: #333; | background-color: #333 !important; | ||
border-color: #000; | border-color: #000 !important; | ||
} | } | ||
| Line 97: | Line 83: | ||
} | } | ||
#mw-script-doc { | #mw-script-doc { | ||
background-color: #222; | background-color: #222!important; | ||
} | } | ||
| Line 106: | Line 92: | ||
.client-js .toc-mobile, | .client-js .toc-mobile, | ||
#toc, | #toc, | ||
.search-box .search, | /* .search-box .search, */ | ||
.content kbd, | .content kbd, | ||
.content samp, | .content samp, | ||
| Line 126: | Line 112: | ||
border: 0; | border: 0; | ||
} | } | ||
fmbox-warning { | table.fmbox-warning { | ||
background-color: #794747; | background-color: #794747; | ||
} | |||
/* Search input — Minerva header and JS overlay */ | |||
.minerva-search-form .search, | |||
.search-box .search, | |||
.search-overlay .search, | |||
input[type="search"] { | |||
background-color: #343739; | |||
color: #f8f9fa; | |||
border-color: #555; | |||
} | |||
.minerva-search-form .search::placeholder, | |||
.search-box .search::placeholder, | |||
input[type="search"]::placeholder { | |||
color: #aaa; | |||
} | |||
/* Search results overlay background */ | |||
.overlay, | |||
.overlay-enabled, | |||
.search-overlay, | |||
.overlay-content, | |||
.search-overlay .results { | |||
background-color: #222; | |||
color: #bb9966; | |||
} | |||
.language-overlay .search-box input, | |||
.search-overlay .search-box input { | |||
color: #f8f9fa; | |||
background-color: #343739; | |||
} | } | ||
| Line 133: | Line 152: | ||
.extiw a, .extiw a:visited, .branding-box a, .branding-box a:visited, | .extiw a, .extiw a:visited, .branding-box a, .branding-box a:visited, | ||
.pBody ul li a, .pBody ul li a:visited, .subpages a, .subpages a:visited, body a, body a:visited, a, a:visited { | .pBody ul li a, .pBody ul li a:visited, .subpages a, .subpages a:visited, body a, body a:visited, a, a:visited { | ||
color: #ec7; | color: #ec7 !important; | ||
} | } | ||
| Line 140: | Line 159: | ||
} | } | ||
mw-kartographer-autostyled { | body a.mw-kartographer-autostyled { | ||
color: #fff; | color: #fff !important; | ||
} | } | ||
| Line 160: | Line 179: | ||
#mw-panel | #mw-panel | ||
{ | { | ||
background-image: none; | background-image: none !important; | ||
background-color: #444; | background-color: #444 !important; | ||
} | } | ||
.vector-menu-tabs li { | .vector-menu-tabs li { | ||
background-image: unset; | background-image: unset !important; | ||
background-color: #444; | background-color: #444 !important; | ||
} | } | ||
| Line 172: | Line 191: | ||
background-color: #333; | background-color: #333; | ||
} | } | ||
.mw-sidebar-action .mw-sidebar-action-item mw-sidebar-action-heading, | body .mw-sidebar-action .mw-sidebar-action-item h3.mw-sidebar-action-heading, | ||
body .vector-menu-portal .vector-menu-heading { | body .vector-menu-portal .vector-menu-heading { | ||
color: #fff; | color: #fff; | ||
} | } | ||