MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 148: | Line 148: | ||
.cdx-button:hover { | .cdx-button:hover { | ||
background: #315f9d !important; | background: #315f9d !important; | ||
} | |||
/* Vector legacy tabs: Main Page / Discussion / Read / Edit / View history */ | |||
#p-namespaces li, | |||
#p-views li, | |||
#p-cactions li { | |||
background: none !important; | |||
} | |||
#p-namespaces li a, | |||
#p-namespaces li span, | |||
#p-views li a, | |||
#p-views li span, | |||
#p-cactions li a, | |||
#p-cactions li span { | |||
background: #1a2028 !important; | |||
color: #d7dce3 !important; | |||
border: 1px solid #2a333d !important; | |||
border-bottom: none !important; | |||
} | |||
#p-namespaces li.selected a, | |||
#p-namespaces li.selected span, | |||
#p-views li.selected a, | |||
#p-views li.selected span { | |||
background: #315f9d !important; | |||
color: #ffffff !important; | |||
} | |||
/* More dropdown */ | |||
#p-cactions .vector-menu-heading { | |||
background: #1a2028 !important; | |||
color: #d7dce3 !important; | |||
border: 1px solid #2a333d !important; | |||
} | |||
/* Search box legacy Vector */ | |||
#p-search input, | |||
#searchInput { | |||
background: #161b21 !important; | |||
color: #eeeeee !important; | |||
border: 1px solid #2a333d !important; | |||
} | } | ||
Revision as of 19:20, 4 July 2026
/* CSS placed here will be applied to all skins */
:root {
--background-color-base: #0b0d10;
--background-color-neutral: #12161b;
--background-color-interactive: #315f9d;
--background-color-interactive-subtle: #1b2430;
--border-color-base: #2a333d;
--color-base: #eeeeee;
--color-subtle: #aca6ad;
--color-emphasized: #ffffff;
--color-progressive: #6fa8ff;
--color-progressive--hover: #9fc4ff;
}
body {
background: #0b0d10 !important;
color: #eeeeee !important;
}
.mw-body,
.vector-body {
background: #10151b !important;
color: #eeeeee !important;
border-color: #2a333d !important;
}
#mw-page-base {
background: linear-gradient(#171b20, #0b0d10) !important;
}
.vector-header-container,
.vector-sticky-header,
#mw-head {
background: #12161b !important;
color: #eeeeee !important;
}
.vector-menu,
.vector-menu-content,
.vector-menu-content-list {
background: #12161b !important;
}
a {
color: #6fa8ff !important;
}
a:hover {
color: #9fc4ff !important;
}
.mw-parser-output h1,
.mw-parser-output h2 {
border-bottom: 2px solid #315f9d !important;
color: #ffffff !important;
}
.toc,
#toc {
background: #10151b !important;
border: 1px solid #2a333d !important;
color: #eeeeee !important;
}
.infobox,
.wikitable {
background: #12161b !important;
border: 1px solid #2a333d !important;
color: #eeeeee !important;
}
.infobox th,
.wikitable th {
background: #315f9d !important;
color: #ffffff !important;
}
.infobox td,
.wikitable td {
border-color: #2a333d !important;
}
.mw-editsection,
.catlinks {
background: #10151b !important;
border-color: #2a333d !important;
color: #aca6ad !important;
}
/* Top page tabs */
.vector-page-toolbar,
.vector-page-toolbar-container,
.vector-page-toolbar .vector-menu,
.vector-page-toolbar .vector-menu-content {
background: transparent !important;
}
/* Individual tabs */
.vector-tab-noicon a,
.vector-tab-noicon span,
.vector-tab-noicon {
background: #1a2028 !important;
color: #ddd !important;
border: 1px solid #2a333d !important;
}
.vector-tab-noicon.selected,
.vector-tab-noicon.selected a {
background: #315f9d !important;
color: white !important;
}
/* Search */
.cdx-text-input__input {
background: #161b21 !important;
color: #eee !important;
border-color: #2a333d !important;
}
.cdx-search-input {
background: transparent !important;
}
/* Buttons */
.cdx-button {
background: #1a2028 !important;
color: #ddd !important;
border-color: #2a333d !important;
}
.cdx-button:hover {
background: #315f9d !important;
}
/* Vector legacy tabs: Main Page / Discussion / Read / Edit / View history */
#p-namespaces li,
#p-views li,
#p-cactions li {
background: none !important;
}
#p-namespaces li a,
#p-namespaces li span,
#p-views li a,
#p-views li span,
#p-cactions li a,
#p-cactions li span {
background: #1a2028 !important;
color: #d7dce3 !important;
border: 1px solid #2a333d !important;
border-bottom: none !important;
}
#p-namespaces li.selected a,
#p-namespaces li.selected span,
#p-views li.selected a,
#p-views li.selected span {
background: #315f9d !important;
color: #ffffff !important;
}
/* More dropdown */
#p-cactions .vector-menu-heading {
background: #1a2028 !important;
color: #d7dce3 !important;
border: 1px solid #2a333d !important;
}
/* Search box legacy Vector */
#p-search input,
#searchInput {
background: #161b21 !important;
color: #eeeeee !important;
border: 1px solid #2a333d !important;
}