MediaWiki:Common.css: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 36: | Line 36: | ||
} | } | ||
.suggestions a.mw-searchSuggest-link { | .search-box .search, | ||
.suggestions a.mw-searchSuggest-link, | |||
.suggestions-result { | |||
color: var(--text-color); | color: var(--text-color); | ||
} | } |
Revision as of 04:09, 17 February 2023
@import url('https://fonts.googleapis.com/css?family=Lexend&display=swap');
:root {
--border-color: rgba(110, 120, 130, 0.4);
--background-color: #212035;
--background-color-hover: #424064;
--content-background-color: #34324F;
--nav-background-color: #15151E;
--text-color: #FFF;
}
body,
.toggle-list-item__label {
color: var(--text-color);
}
body,
.pre-content h1,
.content h1,
.content h2 {
font-family: 'Lexend', sans-serif;
}
.header-container,
.minerva-footer,
.toggle-list__list {
background-color: var(--nav-background-color) !important;
}
.suggestions-results,
.mw-searchSuggest-link,
.suggestions-special,
.search-box .search {
background-color: var(--content-background-color);
border: none;
}
.search-box .search,
.suggestions a.mw-searchSuggest-link,
.suggestions-result {
color: var(--text-color);
}
.toggle-list__list {
box-shadow: 0 16px 18px -20px black;
}
.toggle-list-item:hover {
background-color: var(--background-color-hover);
}
.minerva-footer {
border: none;
}
.last-modified-bar,
.minerva-footer-logo,
.minerva__tab-container {
display: none;
}
.content .mw-parser-output > h2, .content .section-heading {
border-bottom: 1px solid var(--border-color);
}
.page-actions-menu {
border: none;
background-color: var(--content-background-color);
}
.content .infobox {
background-color: var(--content-background-color);
border: none;
}
.mw-ui-icon::before {
filter: brightness(2);
}
.infobox {
display: flex;
align-items: center;
}
.infobox-image {
width: 60%;
}
#ca-ve-edit,
.ve-edit-visual {
display: none;
}
.infobox-item-row {
display: flex;
flex-direction: row;
}
.item-slot {
position: relative;
}
.item-slot img {
width: 32px !important;
height: 32px !important;
image-rendering: pixelated;
}
.item-tooltip {
display: none;
position: absolute;
}
.item-slot:hover .item-tooltip {
display: block;
}
.overlay-enabled, .mw-body {
background-color: var(--background-color);
}
/*.dark-mode .overlay-enabled,*/
/*.dark-mode .mw-body {*/
/* background-color: #34324F;*/
/*}*/