MediaWiki:Common.css: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 81: | Line 81: | ||
.infobox-title { | .infobox-title { | ||
text-align: center; | text-align: center; | ||
} | |||
.infobox-image, | |||
.infobox-items { | |||
margin-top: 20px; | |||
} | |||
.infobox-table { | |||
margin: 20px 0 0 0 !important; | |||
} | } | ||
Line 94: | Line 103: | ||
} | } | ||
.infobox-table th, .infobox- | .infobox-table th, .infobox-table td { | ||
border: none !important; | border: none !important; | ||
width: 50%; | |||
} | } | ||
Line 134: | Line 144: | ||
display: none; | display: none; | ||
position: absolute; | position: absolute; | ||
width: max-content; | |||
} | } | ||
Revision as of 04:35, 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,
.search-box .search,
.suggestions a.mw-searchSuggest-link,
.suggestions-result,
.suggestions-special .special-query {
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;
}
.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,
.mw-ui-icon-wikiText::before {
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);
}
.page-actions-menu li a,
.page-actions-menu li label
{
color: var(--text-color) !important;
}
.content .infobox {
background-color: var(--content-background-color);
border: none;
}
.infobox-title {
text-align: center;
}
.infobox-image,
.infobox-items {
margin-top: 20px;
}
.infobox-table {
margin: 20px 0 0 0 !important;
}
.infobox-title,
.infobox-table {
width: 100%;
}
.infobox-title,
.infobox-table tr:nth-child(odd) {
margin: 0 !important;
background-color: var(--background-color-hover);
}
.infobox-table th, .infobox-table td {
border: none !important;
width: 50%;
}
.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;
width: max-content;
}
.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;*/
/*}*/