MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 73: | Line 73: | ||
} | } | ||
/* ===== SIDEBAR / HEADER TEXT ===== */ | /* ===== SIDEBAR / HEADER TEXT (FIXED) ===== */ | ||
.citizen-header, | .citizen-header, | ||
.citizen-drawer, | .citizen-drawer, | ||
.citizen-sidebar, | .citizen-sidebar, | ||
.citizen-sidebar | #mw-panel { | ||
color: #f4e7c2 !important; | |||
#mw-panel | } | ||
/* keep non-link text yellow */ | |||
.citizen-sidebar span, | |||
.citizen-drawer span, | |||
#mw-panel span { | |||
color: #f4e7c2 !important; | color: #f4e7c2 !important; | ||
} | } | ||
Revision as of 17:08, 5 April 2026
/* ===== FULL BACKGROUND IMAGE ===== */
body::before {
content: "";
position: fixed;
inset: 0;
background: url("/wiki/images/hubspawn.png") center center / cover no-repeat;
z-index: -1;
}
/* ===== TRANSPARENT OUTER LAYERS ===== */
body,
.mw-page-container,
.mw-body,
.citizen-page-container,
.citizen-body-container {
background: transparent !important;
}
/* ===== HEADER / SIDEBAR / DRAWER ===== */
.citizen-header,
.citizen-drawer,
.citizen-sidebar,
#mw-panel,
#footer {
background: rgba(15, 18, 22, 0.82) !important;
backdrop-filter: blur(6px);
}
/* ===== MAIN CONTENT PANEL ===== */
.mw-body-content {
background: rgba(20, 24, 30, 0.82) !important;
backdrop-filter: blur(10px);
border-radius: 12px !important;
padding: 20px !important;
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35) !important;
color: #eaeaea !important;
}
/* ===== READABLE CONTENT TEXT ===== */
.mw-body-content,
.mw-body-content p,
.mw-body-content li,
.mw-body-content td,
.mw-body-content th,
.mw-body-content span,
.mw-body-content div,
.mw-body-content label {
color: #eaeaea !important;
}
/* ===== HEADINGS ===== */
.mw-body-content h1,
.mw-body-content h2,
.mw-body-content h3,
#firstHeading,
.mw-page-title-main {
color: #f0320b !important;
}
/* ===== LINKS ===== */
.mw-body-content a,
.citizen-sidebar a,
.citizen-drawer a,
#mw-panel a {
color: #f03b02 !important;
}
.mw-body-content a:hover,
.citizen-sidebar a:hover,
.citizen-drawer a:hover,
#mw-panel a:hover {
color: #ff6a3d !important;
}
/* ===== SIDEBAR / HEADER TEXT (FIXED) ===== */
.citizen-header,
.citizen-drawer,
.citizen-sidebar,
#mw-panel {
color: #f4e7c2 !important;
}
/* keep non-link text yellow */
.citizen-sidebar span,
.citizen-drawer span,
#mw-panel span {
color: #f4e7c2 !important;
}
/* ===== EDITOR / FORM FIELDS ===== */
textarea,
input,
select,
.mw-input,
.oo-ui-inputWidget-input,
.oo-ui-textInputWidget-input,
.oo-ui-dropdownWidget-handle,
.oo-ui-tagMultiselectWidget-handle,
.ve-ui-mwSaveDialog,
.ve-ui-overlay,
.ve-ce-documentNode,
.ve-init-mw-desktopArticleTarget-toolbar,
.wikieditor-toolbar,
.editOptions,
.mw-editform #wpTextbox1 {
background: rgba(255, 255, 255, 0.96) !important;
color: #222 !important;
}
/* ===== PLACEHOLDER / HELP / INSTRUCTION TEXT ===== */
textarea::placeholder,
input::placeholder,
.oo-ui-labelElement-label,
.oo-ui-fieldLayout-help,
.mw-message-box,
.editCheckboxes,
.editOptions,
#wpSummaryLabel,
.mw-summary-preview,
.comment,
.hint,
small {
color: #444 !important;
}
/* ===== EDITOR BORDERS ===== */
textarea,
input,
select,
.oo-ui-inputWidget-input,
.oo-ui-textInputWidget-input,
.mw-editform #wpTextbox1 {
border: 1px solid rgba(240, 50, 11, 0.35) !important;
border-radius: 8px !important;
}
/* ===== TOOLBAR TEXT ===== */
.wikieditor-toolbar *,
.ve-ui-toolbar *,
.oo-ui-toolbar *,
.mw-editsection,
.mw-editform label {
color: #222 !important;
}