MediaWiki:Common.css: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 3: | Line 3: | ||
:root { | :root { | ||
--background-color: #212035; | --background-color: #212035; | ||
--content-background-color: #34324F; | |||
--text-color: #FFF; | |||
} | |||
body { | |||
color: var(--text-color); | |||
} | } | ||
Line 10: | Line 16: | ||
.content h2 { | .content h2 { | ||
font-family: 'Lexend', sans-serif; | font-family: 'Lexend', sans-serif; | ||
} | |||
.content .infobox { | |||
background-color: var(--content-background-color); | |||
} | } | ||
Revision as of 03:21, 17 February 2023
@import url('https://fonts.googleapis.com/css?family=Lexend&display=swap');
:root {
--background-color: #212035;
--content-background-color: #34324F;
--text-color: #FFF;
}
body {
color: var(--text-color);
}
body,
.pre-content h1,
.content h1,
.content h2 {
font-family: 'Lexend', sans-serif;
}
.content .infobox {
background-color: var(--content-background-color);
}
.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;
}
/*Minerva Skin*/
.minerva__tab-container {
display: none;
}
.overlay-enabled, .mw-body {
background-color: var(--background-color);
}
/*.dark-mode .overlay-enabled,*/
/*.dark-mode .mw-body {*/
/* background-color: #34324F;*/
/*}*/