MediaWiki:Common.css: Difference between revisions
From Lenn's Fun Stuff
No edit summary |
No edit summary |
(No difference)
| |
Revision as of 00:50, 12 March 2026
/* ============================================================
ANISA SKIN - VARIABLE HIJACK & EDIT PAGE FIX
============================================================ */
/* 1. OVERWRITING ANISA'S INTERNAL VARIABLES */
body.dark-mode {
--anisa-bg: #121212 !important;
--anisa-content-bg: #1a1a1a !important;
--anisa-border: #3399ff !important; /* The Blue Glow */
--anisa-text: #e0e0e0 !important;
--anisa-link: #3399ff !important;
}
/* 2. THE EDIT PAGE & SEARCH BAR (The "Nuclear" Text Fix) */
/* Targets the search box, the big edit box, and all inputs */
body.dark-mode input,
body.dark-mode textarea,
body.dark-mode #wpTextbox1,
body.dark-mode .ace_editor, /* If you use the CodeEditor extension */
body.dark-mode #searchInput {
background-color: #222222 !important;
color: #ffffff !important;
border: 1px solid #3399ff !important;
-webkit-text-fill-color: #ffffff !important; /* Force search text visibility */
}
/* 3. ALERTS & NOTICES (Specific Selectors) */
body.dark-mode .mw-echo-notifications-badge,
body.dark-mode #pt-notifications-notice a,
body.dark-mode #pt-notifications-alert a {
filter: invert(1) brightness(2) !important;
}
/* 4. THE BLUE LINES (Page Structure) */
/* We target the specific 'card' and 'post' classes Anisa uses for content */
body.dark-mode .anisa-post,
body.dark-mode .anisa-page-content,
body.dark-mode .card,
body.dark-mode #content,
body.dark-mode .mw-body {
background-color: #1a1a1a !important;
border: 2px solid #3399ff !important; /* Thicker blue lines for visibility */
box-shadow: 0 0 10px rgba(51, 153, 255, 0.3) !important;
}
/* 5. KH INFOBOX - SYNCED WITH DARK MODE */
body.dark-mode .portable-infobox {
background-color: #1a1a1a !important;
border: 2px solid #3399ff !important;
}
body.dark-mode .pi-title {
background-color: #3399ff !important;
color: #000000 !important;
}
body.dark-mode .pi-header {
background-color: #000000 !important;
color: #3399ff !important;
}