MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* | /* ===== FULL BACKGROUND IMAGE ===== */ | ||
body::before { | body::before { | ||
content: ""; | content: ""; | ||
| Line 8: | Line 8: | ||
} | } | ||
/* | /* ===== TRANSPARENT OUTER LAYERS ===== */ | ||
body, | body, | ||
.mw-page-container, | .mw-page-container, | ||
.mw-body, | |||
.citizen-page-container, | .citizen-page-container, | ||
.citizen-body-container { | .citizen-body-container { | ||
| Line 16: | Line 17: | ||
} | } | ||
/* | /* ===== HEADER / SIDEBAR / DRAWER ===== */ | ||
.citizen-header, | .citizen-header, | ||
.citizen-drawer, | .citizen-drawer, | ||
.citizen-sidebar, | .citizen-sidebar, | ||
#mw-panel, | #mw-panel, | ||
#footer | #footer { | ||
background: rgba(15, 18, 22, 0.82) !important; | background: rgba(15, 18, 22, 0.82) !important; | ||
backdrop-filter: blur(6px); | backdrop-filter: blur(6px); | ||
} | } | ||
/* | /* ===== MAIN CONTENT PANEL ===== */ | ||
.mw-body-content { | .mw-body-content { | ||
background: rgba(20, 24, 30, 0. | background: rgba(20, 24, 30, 0.82) !important; | ||
backdrop-filter: blur(10px); | 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; | color: #eaeaea !important; | ||
} | } | ||
/* | /* ===== READABLE CONTENT TEXT ===== */ | ||
.mw-body-content, | .mw-body-content, | ||
.mw-body-content p, | .mw-body-content p, | ||
| Line 43: | Line 43: | ||
.mw-body-content td, | .mw-body-content td, | ||
.mw-body-content th, | .mw-body-content th, | ||
.mw-body-content span, | .mw-body-content span, | ||
.mw-body-content div { | .mw-body-content div, | ||
color: # | .mw-body-content label { | ||
color: #eaeaea !important; | |||
} | } | ||
/* | /* ===== HEADINGS ===== */ | ||
.mw-body-content h1, | .mw-body-content h1, | ||
.mw-body-content h2, | .mw-body-content h2, | ||
| Line 58: | Line 58: | ||
} | } | ||
/* | /* ===== LINKS ===== */ | ||
.mw-body-content | .mw-body-content a { | ||
color: #ff6a3d !important; | |||
color: # | |||
} | } | ||
.mw-body-content | .mw-body-content a:hover { | ||
color: #ff8a66 !important; | |||
color: # | |||
} | } | ||
/* | /* ===== SIDEBAR / HEADER TEXT ===== */ | ||
.citizen-header, | |||
.citizen-header *, | |||
.citizen-drawer, | |||
.citizen-drawer *, | |||
.citizen-sidebar, | .citizen-sidebar, | ||
.citizen- | .citizen-sidebar *, | ||
#mw-panel, | #mw-panel, | ||
#mw-panel * { | #mw-panel * { | ||
color: #f4e7c2 !important; | color: #f4e7c2 !important; | ||
} | } | ||
/* | /* ===== EDITOR / FORM FIELDS ===== */ | ||
. | textarea, | ||
. | input, | ||
color: # | 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; | |||
} | } | ||
Revision as of 17:01, 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 {
color: #ff6a3d !important;
}
.mw-body-content a:hover {
color: #ff8a66 !important;
}
/* ===== SIDEBAR / HEADER TEXT ===== */
.citizen-header,
.citizen-header *,
.citizen-drawer,
.citizen-drawer *,
.citizen-sidebar,
.citizen-sidebar *,
#mw-panel,
#mw-panel * {
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;
}