MediaWiki:Vector.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tag: Manual revert |
No edit summary |
||
Line 1: | Line 1: | ||
/* | /* ========================================================= */ | ||
/* Vector 2022 Dark Mode - Custom Skin Overrides */ | |||
/* ========================================================= */ | |||
/* | /* ------------------------------ */ | ||
/* 1. | /* 1. Base Page & Backgrounds */ | ||
/* | /* ------------------------------ */ | ||
body, | body, | ||
#mw-head-base, | #mw-head-base, | ||
#mw-page-base { | #mw-page-base { | ||
background-color: #1a1a1a; | background-color: #1a1a1a !important; | ||
color: #e0e0e0; | color: #e0e0e0 !important; | ||
} | } | ||
/* | /* ------------------------------ */ | ||
/* 2. Links */ | |||
/* ------------------------------ */ | |||
a { | a { | ||
color: #7aa06e; | color: #7aa06e !important; | ||
} | } | ||
a:visited { | a:visited { | ||
color: #cccccc; | color: #cccccc !important; | ||
} | } | ||
a:hover { | a:hover { | ||
color: #a3be8c; | color: #a3be8c !important; | ||
} | } | ||
a.new { | a.new { | ||
color: #ffff00; | color: #ffff00 !important; | ||
} | } | ||
/* | /* ------------------------------ */ | ||
/* | /* 3. Content Area */ | ||
/* | /* ------------------------------ */ | ||
#content { | #content, | ||
background-color: #2a2a2a; | .vector-body { | ||
color: #e0e0e0; | background-color: #2a2a2a !important; | ||
border-color: #444; | color: #e0e0e0 !important; | ||
border-color: #444 !important; | |||
} | } | ||
#content h1, #content h2, #content h3, | |||
#content h4, #content h5, #content h6 { | |||
color: #f0f0f0 !important; | |||
#content | |||
#content | |||
#content | |||
#content | |||
#content | |||
#content | |||
color: # | |||
} | } | ||
#content p, #content ul, #content ol, | |||
#content | #content li, #content dl, #content dd, | ||
#content | #content dt, #content div { | ||
#content | color: #e0e0e0 !important; | ||
#content | |||
#content | |||
#content | |||
color: # | |||
} | } | ||
#content a, .vector-body a { | |||
#content a { | color: #7aa06e !important; | ||
color: #7aa06e; | |||
} | } | ||
#content a:visited { | #content a:visited { | ||
color: #cccccc; | color: #cccccc !important; | ||
} | } | ||
#content a:hover { | #content a:hover { | ||
color: #a3be8c; | color: #a3be8c !important; | ||
} | } | ||
/* | /* ------------------------------ */ | ||
/* | /* 4. Sidebar & Navigation Panel */ | ||
/* | /* ------------------------------ */ | ||
#mw-panel { | |||
background-color: #1a1a1a !important; | |||
color: # | color: #e0e0e0 !important; | ||
border-color: #444 !important; | |||
} | } | ||
#mw-panel div.portal { | |||
background-color: #1a1a1a !important; | |||
border-color: #444 !important; | |||
background-color: #1a1a1a; | |||
color: # | |||
} | } | ||
#mw-panel div.portal h3 { | |||
color: #f0f0f0 !important; | |||
# | border-color: #444 !important; | ||
color: # | |||
} | } | ||
# | #mw-panel div.body ul li a { | ||
color: # | color: #7aa06e !important; | ||
} | } | ||
# | #mw-panel div.body ul li a:visited { | ||
color: # | color: #cccccc !important; | ||
} | } | ||
#mw-panel div.body ul li a:hover { | |||
color: #a3be8c !important; | |||
# | background-color: #3a3a3a !important; | ||
color: # | |||
} | } | ||
#mw-panel div.body ul li { | |||
color: #e0e0e0 !important; | |||
} | } | ||
#mw-panel li.mw-list-item a { | |||
color: #7aa06e !important; | |||
# | |||
color: # | |||
} | } | ||
# | #mw-panel li.mw-list-item a:visited { | ||
color: # | color: #cccccc !important; | ||
} | } | ||
# | #mw-list-item a:hover { | ||
color: # | color: #a3be8c !important; | ||
background-color: #3a3a3a !important; | |||
} | } | ||
# | #mw-panel li.mw-list-item { | ||
color: | background-color: transparent !important; | ||
color: #e0e0e0 !important; | |||
color: # | |||
} | } | ||
/* | /* ------------------------------ */ | ||
/* | /* 5. Top Tabs (Read/Edit/History) */ | ||
/* | /* ------------------------------ */ | ||
#p-views ul li { | #p-views ul li { | ||
background-color: #3a3a3a; | background-color: #3a3a3a !important; | ||
border-color: #444; | border-color: #444 !important; | ||
background-image: none !important; | background-image: none !important; | ||
} | } | ||
#p-views ul li a { | #p-views ul li a { | ||
color: #e0e0e0; | color: #e0e0e0 !important; | ||
background-image: none !important; | background-image: none !important; | ||
} | } | ||
#p-views ul li.selected { | #p-views ul li.selected { | ||
background-color: #2a2a2a; | background-color: #2a2a2a !important; | ||
border-color: #444 | border-color: #444 !important; | ||
} | } | ||
#p-views ul li.selected a { | #p-views ul li.selected a { | ||
color: #f0f0f0; | color: #f0f0f0 !important; | ||
} | } | ||
#p-views ul li:not(.selected):hover { | #p-views ul li:not(.selected):hover { | ||
background-color: #4a4a4a | background-color: #4a4a4a !important; | ||
} | } | ||
#p-views ul li:not(.selected):hover a { | #p-views ul li:not(.selected):hover a { | ||
color: #ffffff; | color: #ffffff !important; | ||
} | } | ||
/* | /* Vector 2022 Tabs */ | ||
.vector-menu-tabs, | .vector-menu-tabs, | ||
.vector-menu-tabs a, | .vector-menu-tabs a, | ||
#mw-head .vector-menu-dropdown .vector-menu-heading { | #mw-head .vector-menu-dropdown .vector-menu-heading { | ||
background-image: none !important; | background-image: none !important; | ||
background-color: #3a3a3a !important; | background-color: #3a3a3a !important; | ||
color: #e0e0e0 !important; | color: #e0e0e0 !important; | ||
} | } | ||
/* ------------------------------ */ | |||
/* 6. Header & Logo */ | |||
/* ------------------------------ */ | |||
#mw-head { | #mw-head { | ||
background-color: #1a1a1a; | background-color: #1a1a1a !important; | ||
border-bottom-color: #444; | border-bottom-color: #444 !important; | ||
} | } | ||
#mw-wiki-logo { | #mw-wiki-logo { | ||
background-color: transparent; | background-color: transparent !important; | ||
} | } | ||
/* | /* ------------------------------ */ | ||
/* | /* 7. Footer */ | ||
/* | /* ------------------------------ */ | ||
#footer { | |||
# | background-color: #1a1a1a !important; | ||
background-color: #1a1a1a; | color: #e0e0e0 !important; | ||
color: #e0e0e0; | } | ||
#footer a { | |||
color: #7aa06e !important; | |||
} | |||
#footer a:visited { | |||
color: #cccccc !important; | |||
} | |||
#footer a:hover { | |||
color: #a3be8c !important; | |||
} | |||
#footer li { | |||
color: #e0e0e0 !important; | |||
} | } | ||
/* | /* ------------------------------ */ | ||
# | /* 8. Search Input */ | ||
background-color: # | /* ------------------------------ */ | ||
#searchInput { | |||
background-color: #ffffff !important; | |||
color: #333333 !important; | |||
} | |||
#searchInput::placeholder, | |||
#searchInput::-webkit-input-placeholder, | |||
#searchInput::-moz-placeholder, | |||
#searchInput:-ms-input-placeholder, | |||
#searchInput::-ms-input-placeholder { | |||
color: #666666 !important; | |||
opacity: 1 !important; | |||
} | } | ||
/* | /* ------------------------------ */ | ||
/* 9. Table of Contents (TOC) */ | |||
color: # | /* ------------------------------ */ | ||
.mw-toc-heading { | |||
background-color: #3a3a3a !important; | |||
color: #f0f0f0 !important; | |||
} | } | ||
/* | /* ------------------------------ */ | ||
/* 10. Changes List & Legends */ | |||
/* ------------------------------ */ | |||
.mw-changeslist, | |||
color: # | .mw-changeslist-legend { | ||
background-color: #2a2a2a !important; | |||
color: #e0e0e0 !important; | |||
border-color: #444 !important; | |||
} | } | ||
.mw-changeslist-legend .mw-legend { | |||
color: #e0e0e0 !important; | |||
color: # | |||
} | } | ||
/* | /* ------------------------------ */ | ||
/* 11. Editing Interface */ | |||
/* ------------------------------ */ | |||
#editform, | |||
# | #wpTextbox1 { | ||
color: # | background-color: #2a2a2a !important; | ||
color: #e0e0e0 !important; | |||
border: 1px solid #555 !important; | |||
} | } | ||
.divEditOptions, | |||
color: # | .editOptions { | ||
background-color: #1a1a1a !important; | |||
color: #e0e0e0 !important; | |||
border-color: #444 !important; | |||
} | } | ||
.divEditOptions input, | |||
color: # | .divEditOptions textarea, | ||
.divEditOptions select { | |||
background-color: #2a2a2a !important; | |||
color: #e0e0e0 !important; | |||
border: 1px solid #555 !important; | |||
} | } | ||
/* | /* ------------------------------ */ | ||
/* 12. Custom Blocks (Optional) */ | |||
/* ------------------------------ */ | |||
.qme-column { | .qme-column { | ||
background-color: #2a2a2a; | background-color: #2a2a2a !important; | ||
color: #e0e0e0; | color: #e0e0e0 !important; | ||
border: 1px solid #444; | border: 1px solid #444 !important; | ||
padding: 1em; | padding: 1em; | ||
} | } | ||
/* Example custom heading style */ | |||
.qme-heading { | |||
background-color: #3a3a3a !important; | |||
color: #f0f0f0 !important; | |||
border: 1px solid #444 !important; | |||
} | |||
Revision as of 23:37, 30 June 2025
/* ========================================================= */
/* Vector 2022 Dark Mode - Custom Skin Overrides */
/* ========================================================= */
/* ------------------------------ */
/* 1. Base Page & Backgrounds */
/* ------------------------------ */
body,
#mw-head-base,
#mw-page-base {
background-color: #1a1a1a !important;
color: #e0e0e0 !important;
}
/* ------------------------------ */
/* 2. Links */
/* ------------------------------ */
a {
color: #7aa06e !important;
}
a:visited {
color: #cccccc !important;
}
a:hover {
color: #a3be8c !important;
}
a.new {
color: #ffff00 !important;
}
/* ------------------------------ */
/* 3. Content Area */
/* ------------------------------ */
#content,
.vector-body {
background-color: #2a2a2a !important;
color: #e0e0e0 !important;
border-color: #444 !important;
}
#content h1, #content h2, #content h3,
#content h4, #content h5, #content h6 {
color: #f0f0f0 !important;
}
#content p, #content ul, #content ol,
#content li, #content dl, #content dd,
#content dt, #content div {
color: #e0e0e0 !important;
}
#content a, .vector-body a {
color: #7aa06e !important;
}
#content a:visited {
color: #cccccc !important;
}
#content a:hover {
color: #a3be8c !important;
}
/* ------------------------------ */
/* 4. Sidebar & Navigation Panel */
/* ------------------------------ */
#mw-panel {
background-color: #1a1a1a !important;
color: #e0e0e0 !important;
border-color: #444 !important;
}
#mw-panel div.portal {
background-color: #1a1a1a !important;
border-color: #444 !important;
}
#mw-panel div.portal h3 {
color: #f0f0f0 !important;
border-color: #444 !important;
}
#mw-panel div.body ul li a {
color: #7aa06e !important;
}
#mw-panel div.body ul li a:visited {
color: #cccccc !important;
}
#mw-panel div.body ul li a:hover {
color: #a3be8c !important;
background-color: #3a3a3a !important;
}
#mw-panel div.body ul li {
color: #e0e0e0 !important;
}
#mw-panel li.mw-list-item a {
color: #7aa06e !important;
}
#mw-panel li.mw-list-item a:visited {
color: #cccccc !important;
}
#mw-list-item a:hover {
color: #a3be8c !important;
background-color: #3a3a3a !important;
}
#mw-panel li.mw-list-item {
background-color: transparent !important;
color: #e0e0e0 !important;
}
/* ------------------------------ */
/* 5. Top Tabs (Read/Edit/History) */
/* ------------------------------ */
#p-views ul li {
background-color: #3a3a3a !important;
border-color: #444 !important;
background-image: none !important;
}
#p-views ul li a {
color: #e0e0e0 !important;
background-image: none !important;
}
#p-views ul li.selected {
background-color: #2a2a2a !important;
border-color: #444 !important;
}
#p-views ul li.selected a {
color: #f0f0f0 !important;
}
#p-views ul li:not(.selected):hover {
background-color: #4a4a4a !important;
}
#p-views ul li:not(.selected):hover a {
color: #ffffff !important;
}
/* Vector 2022 Tabs */
.vector-menu-tabs,
.vector-menu-tabs a,
#mw-head .vector-menu-dropdown .vector-menu-heading {
background-image: none !important;
background-color: #3a3a3a !important;
color: #e0e0e0 !important;
}
/* ------------------------------ */
/* 6. Header & Logo */
/* ------------------------------ */
#mw-head {
background-color: #1a1a1a !important;
border-bottom-color: #444 !important;
}
#mw-wiki-logo {
background-color: transparent !important;
}
/* ------------------------------ */
/* 7. Footer */
/* ------------------------------ */
#footer {
background-color: #1a1a1a !important;
color: #e0e0e0 !important;
}
#footer a {
color: #7aa06e !important;
}
#footer a:visited {
color: #cccccc !important;
}
#footer a:hover {
color: #a3be8c !important;
}
#footer li {
color: #e0e0e0 !important;
}
/* ------------------------------ */
/* 8. Search Input */
/* ------------------------------ */
#searchInput {
background-color: #ffffff !important;
color: #333333 !important;
}
#searchInput::placeholder,
#searchInput::-webkit-input-placeholder,
#searchInput::-moz-placeholder,
#searchInput:-ms-input-placeholder,
#searchInput::-ms-input-placeholder {
color: #666666 !important;
opacity: 1 !important;
}
/* ------------------------------ */
/* 9. Table of Contents (TOC) */
/* ------------------------------ */
.mw-toc-heading {
background-color: #3a3a3a !important;
color: #f0f0f0 !important;
}
/* ------------------------------ */
/* 10. Changes List & Legends */
/* ------------------------------ */
.mw-changeslist,
.mw-changeslist-legend {
background-color: #2a2a2a !important;
color: #e0e0e0 !important;
border-color: #444 !important;
}
.mw-changeslist-legend .mw-legend {
color: #e0e0e0 !important;
}
/* ------------------------------ */
/* 11. Editing Interface */
/* ------------------------------ */
#editform,
#wpTextbox1 {
background-color: #2a2a2a !important;
color: #e0e0e0 !important;
border: 1px solid #555 !important;
}
.divEditOptions,
.editOptions {
background-color: #1a1a1a !important;
color: #e0e0e0 !important;
border-color: #444 !important;
}
.divEditOptions input,
.divEditOptions textarea,
.divEditOptions select {
background-color: #2a2a2a !important;
color: #e0e0e0 !important;
border: 1px solid #555 !important;
}
/* ------------------------------ */
/* 12. Custom Blocks (Optional) */
/* ------------------------------ */
.qme-column {
background-color: #2a2a2a !important;
color: #e0e0e0 !important;
border: 1px solid #444 !important;
padding: 1em;
}
/* Example custom heading style */
.qme-heading {
background-color: #3a3a3a !important;
color: #f0f0f0 !important;
border: 1px solid #444 !important;
}
By using this site, you agree to the Terms of Use. © 1996–2025 The Quincy Examiner / MTB. All rights reserved.