MediaWiki:Common.css: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 4: | Line 4: | ||
--border-color: rgba(110, 120, 130, 0.4); | --border-color: rgba(110, 120, 130, 0.4); | ||
--background-color: #212035; | --background-color: #212035; | ||
--background-color-hover: #424064; | |||
--content-background-color: #34324F; | --content-background-color: #34324F; | ||
--nav-background-color: #15151E; | --nav-background-color: #15151E; | ||
Line 9: | Line 10: | ||
} | } | ||
body { | body, | ||
.toggle-list-item__label { | |||
color: var(--text-color); | color: var(--text-color); | ||
} | } | ||
Line 21: | Line 23: | ||
.header-container, | .header-container, | ||
.minerva-footer, | |||
.toggle-list__list { | |||
background-color: var(--content-background-color) !important; | |||
} | |||
.toggle-list__list { | |||
box-shadow: 0 16px 18px -20px black; | |||
} | |||
.toggle-list-item:hover { | |||
background-color: var(--background-color-hover); | |||
} | |||
.minerva-footer { | .minerva-footer { | ||
border: none; | |||
} | |||
.last-modified-bar, | |||
.minerva-footer-logo, | |||
.minerva__tab-container { | |||
display: none; | |||
} | } | ||
Line 79: | Line 100: | ||
.item-slot:hover .item-tooltip { | .item-slot:hover .item-tooltip { | ||
display: block; | display: block; | ||
} | } | ||
Revision as of 03:40, 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(--content-background-color) !important;
}
.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;*/
/*}*/