MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
body { | /* ===== Global background and text ===== */ | ||
body, | |||
html { | |||
background-color: #1a1a1a !important; | background-color: #1a1a1a !important; | ||
color: #e0e0e0 !important; | color: #e0e0e0 !important; | ||
} | } | ||
a, | /* ===== Header and navigation ===== */ | ||
.mw- | .minerva-header, | ||
color: # | .branding-box a, | ||
.minerva-user-navigation, | |||
.navigation-drawer, | |||
#mw-mf-page-left, | |||
.toggle-list__list { | |||
background-color: #141414 !important; | |||
color: #e0e0e0 !important; | |||
border-color: #222 !important; | |||
} | |||
/* ===== Menu items ===== */ | |||
.toggle-list-item__anchor { | |||
color: #e0e0e0 !important; | |||
background: transparent !important; | |||
} | |||
.toggle-list-item__anchor:hover { | |||
background: #222 !important; | |||
} | |||
/* ===== Buttons and toggles ===== */ | |||
.cdx-button, | |||
.cdx-button--fake-button, | |||
.toggle-list__toggle { | |||
background: #222 !important; | |||
color: #e0e0e0 !important; | |||
border: 1px solid #333 !important; | |||
} | |||
.cdx-button:hover { | |||
background: #2a2a2a !important; | |||
} | |||
/* ===== Search bar ===== */ | |||
.minerva-search-form .search-box { | |||
background: #222 !important; | |||
border: 1px solid #333 !important; | |||
} | |||
.minerva-search-form input.search { | |||
background: transparent !important; | |||
color: #e0e0e0 !important; | |||
} | |||
.search-box-icon-overlay { | |||
filter: invert(1); | |||
} | |||
/* ===== Menu mask overlay ===== */ | |||
.main-menu-mask { | |||
background: rgba(0,0,0,0.6) !important; | |||
} | |||
/* ===== Icons ===== */ | |||
.minerva-icon { | |||
filter: invert(1) brightness(1.3); | |||
} | } | ||
/* ===== Page content ===== */ | |||
.mw-body, | .mw-body, | ||
#content, | #content, | ||
#mw-content-text { | #mw-content-text { | ||
background | background: #1a1a1a !important; | ||
color: #e0e0e0 !important; | color: #e0e0e0 !important; | ||
} | } | ||
/* ===== Tables, code blocks ===== */ | |||
.mw-parser-output table { | .mw-parser-output table { | ||
background-color: #222 !important; | background-color: #222 !important; | ||
border-color: #333 !important; | |||
color: #e0e0e0 !important; | color: #e0e0e0 !important; | ||
} | } | ||
.mw-parser-output pre, | .mw-parser-output pre, | ||
.mw-parser-output code { | .mw-parser-output code { | ||
background-color: #2b2b2b !important; | background-color: #2b2b2b !important; | ||
color: #d0d0d0 !important; | color: #d0d0d0 !important; | ||
border-radius: 3px; | |||
} | |||
/* ===== Footer ===== */ | |||
.minerva-footer, | |||
.footer { | |||
background: #121212 !important; | |||
color: #ccc !important; | |||
} | |||
/* ===== Links ===== */ | |||
a, | |||
.mw-body a { | |||
color: #6ab0ff !important; | |||
} | |||
a:visited { | |||
color: #9bb8ff !important; | |||
} | |||
a:hover { | |||
color: #9bc6ff !important; | |||
} | |||
/* ===== Forms ===== */ | |||
input, | |||
textarea, | |||
select { | |||
background: #222 !important; | |||
color: #eee !important; | |||
border: 1px solid #333 !important; | |||
} | |||
/* ===== Scrollbars (desktop) ===== */ | |||
::-webkit-scrollbar { | |||
width: 10px; | |||
} | |||
::-webkit-scrollbar-thumb { | |||
background: #444; | |||
} | |||
::-webkit-scrollbar-thumb:hover { | |||
background: #666; | |||
} | |||
::-webkit-scrollbar-track { | |||
background: #1a1a1a; | |||
} | } | ||
Revision as of 01:50, 2 November 2025
/* ===== Global background and text ===== */
body,
html {
background-color: #1a1a1a !important;
color: #e0e0e0 !important;
}
/* ===== Header and navigation ===== */
.minerva-header,
.branding-box a,
.minerva-user-navigation,
.navigation-drawer,
#mw-mf-page-left,
.toggle-list__list {
background-color: #141414 !important;
color: #e0e0e0 !important;
border-color: #222 !important;
}
/* ===== Menu items ===== */
.toggle-list-item__anchor {
color: #e0e0e0 !important;
background: transparent !important;
}
.toggle-list-item__anchor:hover {
background: #222 !important;
}
/* ===== Buttons and toggles ===== */
.cdx-button,
.cdx-button--fake-button,
.toggle-list__toggle {
background: #222 !important;
color: #e0e0e0 !important;
border: 1px solid #333 !important;
}
.cdx-button:hover {
background: #2a2a2a !important;
}
/* ===== Search bar ===== */
.minerva-search-form .search-box {
background: #222 !important;
border: 1px solid #333 !important;
}
.minerva-search-form input.search {
background: transparent !important;
color: #e0e0e0 !important;
}
.search-box-icon-overlay {
filter: invert(1);
}
/* ===== Menu mask overlay ===== */
.main-menu-mask {
background: rgba(0,0,0,0.6) !important;
}
/* ===== Icons ===== */
.minerva-icon {
filter: invert(1) brightness(1.3);
}
/* ===== Page content ===== */
.mw-body,
#content,
#mw-content-text {
background: #1a1a1a !important;
color: #e0e0e0 !important;
}
/* ===== Tables, code blocks ===== */
.mw-parser-output table {
background-color: #222 !important;
border-color: #333 !important;
color: #e0e0e0 !important;
}
.mw-parser-output pre,
.mw-parser-output code {
background-color: #2b2b2b !important;
color: #d0d0d0 !important;
border-radius: 3px;
}
/* ===== Footer ===== */
.minerva-footer,
.footer {
background: #121212 !important;
color: #ccc !important;
}
/* ===== Links ===== */
a,
.mw-body a {
color: #6ab0ff !important;
}
a:visited {
color: #9bb8ff !important;
}
a:hover {
color: #9bc6ff !important;
}
/* ===== Forms ===== */
input,
textarea,
select {
background: #222 !important;
color: #eee !important;
border: 1px solid #333 !important;
}
/* ===== Scrollbars (desktop) ===== */
::-webkit-scrollbar {
width: 10px;
}
::-webkit-scrollbar-thumb {
background: #444;
}
::-webkit-scrollbar-thumb:hover {
background: #666;
}
::-webkit-scrollbar-track {
background: #1a1a1a;
}