MediaWiki:Common.css: Difference between revisions
From Lenn's Fun Stuff
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* ============================================================ | /* ============================================================ | ||
ANISA SKIN DARK MODE | ANISA SKIN - DARK MODE OVERRIDES | ||
============================================================ */ | ============================================================ */ | ||
/* 1. | /* 1. Global Dark Mode Body & Backgrounds */ | ||
body.dark-mode, | |||
body.dark-mode #mw-content-block, | |||
body.dark-mode #content, | |||
body.dark-mode .mw-body, | |||
body.dark-mode .anisa-main-container, | |||
body.dark-mode .anisa-sidebar { | |||
- | background-color: #121212 !important; | ||
color: #e0e0e0 !important; | |||
- | background-image: none !important; | ||
} | } | ||
body.dark-mode | /* 2. Anisa Content Cards & Text */ | ||
body.dark-mode .anisa-post, | |||
- | body.dark-mode .card, | ||
body.dark-mode .mw-parser-output, | |||
body.dark-mode #bodyContent { | |||
background-color: #1e1e1e !important; | |||
color: #e0e0e0 !important; | |||
border-color: #333333 !important; | |||
} | } | ||
/* | /* 3. Headers and Links */ | ||
body.dark-mode, | body.dark-mode h1, body.dark-mode h2, body.dark-mode h3, | ||
body.dark-mode | body.dark-mode h4, body.dark-mode h5, body.dark-mode h6 { | ||
body.dark-mode | color: #3399ff !important; | ||
body.dark-mode | border-bottom-color: #444444 !important; | ||
body.dark-mode | } | ||
body.dark-mode | |||
body.dark-mode a { | |||
color: | color: #3399ff !important; | ||
} | } | ||
body.dark-mode | body.dark-mode a:visited { | ||
color: #bb86fc !important; | |||
} | } | ||
/* ============================================================ | |||
PORTABLE INFOBOX - KH STYLE (THEMED) | |||
============================================================ */ | |||
/* | /* Main Container */ | ||
body.mediawiki .portable-infobox { | body.mediawiki .portable-infobox { | ||
background-color: | background-color: #ffffff !important; | ||
border: 2px solid | border: 2px solid #003366 !important; | ||
width: 320px !important; | width: 320px !important; | ||
float: right !important; | float: right !important; | ||
| Line 56: | Line 53: | ||
margin: 0 0 1em 1em !important; | margin: 0 0 1em 1em !important; | ||
padding: 0 !important; | padding: 0 !important; | ||
box-shadow: 2px 2px 8px rgba(0,0,0,0. | box-shadow: 2px 2px 8px rgba(0,0,0,0.15) !important; | ||
font-family: "Georgia", serif !important; | font-family: "Georgia", serif !important; | ||
overflow: hidden !important; | |||
} | } | ||
/* Dark Mode Infobox Adjustment */ | |||
body.dark-mode .portable-infobox { | |||
background-color: #2d2d2d !important; | |||
border-color: #3399ff !important; | |||
box-shadow: 0 0 10px rgba(51, 153, 255, 0.3) !important; | |||
} | |||
/* 1. THE TITLE */ | |||
body.mediawiki .pi-title { | body.mediawiki .pi-title { | ||
background-color: | background-color: #003366 !important; | ||
color: #ffffff !important; | color: #ffffff !important; | ||
font-size: 20px !important; | font-size: 20px !important; | ||
| Line 67: | Line 73: | ||
text-align: center !important; | text-align: center !important; | ||
padding: 12px !important; | padding: 12px !important; | ||
display: block !important; | |||
} | } | ||
body.dark-mode .pi-title { | |||
background-color: #3399ff !important; | |||
color: #000000 !important; | |||
} | |||
/* 2. SECTION HEADERS */ | |||
body.mediawiki .pi-header { | body.mediawiki .pi-header { | ||
background-color: | background-color: #4a4a4a !important; | ||
color: #ffffff !important; | color: #ffffff !important; | ||
font-weight: bold !important; | font-weight: bold !important; | ||
| Line 77: | Line 90: | ||
text-transform: uppercase !important; | text-transform: uppercase !important; | ||
font-size: 11px !important; | font-size: 11px !important; | ||
border-top: 1px solid | letter-spacing: 1.5px !important; | ||
border-top: 1px solid #333 !important; | |||
display: block !important; | |||
} | |||
body.dark-mode .pi-header { | |||
background-color: #000000 !important; | |||
border-top-color: #3399ff !important; | |||
} | } | ||
/* 3. IMAGE AREA */ | |||
body.mediawiki .pi-image { | body.mediawiki .pi-image { | ||
background-color: | display: block !important; | ||
background-color: #f8f9fa !important; | |||
text-align: center !important; | text-align: center !important; | ||
padding: 10px !important; | padding: 10px !important; | ||
} | } | ||
body.dark-mode .pi-image { | |||
background-color: #121212 !important; | |||
} | |||
body.mediawiki .pi-image img { | |||
max-width: 100% !important; | |||
height: auto !important; | |||
} | |||
/* 4. DATA LABELS & VALUES */ | |||
body.mediawiki .pi-data-label { | body.mediawiki .pi-data-label { | ||
background-color: | background-color: #f2f2f2 !important; | ||
color: | color: #333333 !important; | ||
font-weight: bold !important; | font-weight: bold !important; | ||
padding: 8px 10px !important; | padding: 8px 10px !important; | ||
} | |||
body.dark-mode .pi-data-label { | |||
background-color: #3d3d3d !important; | |||
color: #e0e0e0 !important; | |||
} | } | ||
body.mediawiki .pi-data-value { | body.mediawiki .pi-data-value { | ||
background-color: | background-color: #ffffff !important; | ||
color: | color: #333333 !important; | ||
padding: 8px 10px !important; | padding: 8px 10px !important; | ||
} | |||
body.dark-mode .pi-data-value { | |||
background-color: #262626 !important; | |||
color: #e0e0e0 !important; | |||
} | |||
/* 5. LISTS */ | |||
body.mediawiki .pi-data-value ul { | |||
margin: 0 !important; | |||
padding-left: 1.5em !important; | |||
} | } | ||
Revision as of 00:16, 12 March 2026
/* ============================================================
ANISA SKIN - DARK MODE OVERRIDES
============================================================ */
/* 1. Global Dark Mode Body & Backgrounds */
body.dark-mode,
body.dark-mode #mw-content-block,
body.dark-mode #content,
body.dark-mode .mw-body,
body.dark-mode .anisa-main-container,
body.dark-mode .anisa-sidebar {
background-color: #121212 !important;
color: #e0e0e0 !important;
background-image: none !important;
}
/* 2. Anisa Content Cards & Text */
body.dark-mode .anisa-post,
body.dark-mode .card,
body.dark-mode .mw-parser-output,
body.dark-mode #bodyContent {
background-color: #1e1e1e !important;
color: #e0e0e0 !important;
border-color: #333333 !important;
}
/* 3. Headers and Links */
body.dark-mode h1, body.dark-mode h2, body.dark-mode h3,
body.dark-mode h4, body.dark-mode h5, body.dark-mode h6 {
color: #3399ff !important;
border-bottom-color: #444444 !important;
}
body.dark-mode a {
color: #3399ff !important;
}
body.dark-mode a:visited {
color: #bb86fc !important;
}
/* ============================================================
PORTABLE INFOBOX - KH STYLE (THEMED)
============================================================ */
/* Main Container */
body.mediawiki .portable-infobox {
background-color: #ffffff !important;
border: 2px solid #003366 !important;
width: 320px !important;
float: right !important;
clear: right !important;
margin: 0 0 1em 1em !important;
padding: 0 !important;
box-shadow: 2px 2px 8px rgba(0,0,0,0.15) !important;
font-family: "Georgia", serif !important;
overflow: hidden !important;
}
/* Dark Mode Infobox Adjustment */
body.dark-mode .portable-infobox {
background-color: #2d2d2d !important;
border-color: #3399ff !important;
box-shadow: 0 0 10px rgba(51, 153, 255, 0.3) !important;
}
/* 1. THE TITLE */
body.mediawiki .pi-title {
background-color: #003366 !important;
color: #ffffff !important;
font-size: 20px !important;
font-weight: bold !important;
text-align: center !important;
padding: 12px !important;
display: block !important;
}
body.dark-mode .pi-title {
background-color: #3399ff !important;
color: #000000 !important;
}
/* 2. SECTION HEADERS */
body.mediawiki .pi-header {
background-color: #4a4a4a !important;
color: #ffffff !important;
font-weight: bold !important;
text-align: center !important;
padding: 8px 0 !important;
text-transform: uppercase !important;
font-size: 11px !important;
letter-spacing: 1.5px !important;
border-top: 1px solid #333 !important;
display: block !important;
}
body.dark-mode .pi-header {
background-color: #000000 !important;
border-top-color: #3399ff !important;
}
/* 3. IMAGE AREA */
body.mediawiki .pi-image {
display: block !important;
background-color: #f8f9fa !important;
text-align: center !important;
padding: 10px !important;
}
body.dark-mode .pi-image {
background-color: #121212 !important;
}
body.mediawiki .pi-image img {
max-width: 100% !important;
height: auto !important;
}
/* 4. DATA LABELS & VALUES */
body.mediawiki .pi-data-label {
background-color: #f2f2f2 !important;
color: #333333 !important;
font-weight: bold !important;
padding: 8px 10px !important;
}
body.dark-mode .pi-data-label {
background-color: #3d3d3d !important;
color: #e0e0e0 !important;
}
body.mediawiki .pi-data-value {
background-color: #ffffff !important;
color: #333333 !important;
padding: 8px 10px !important;
}
body.dark-mode .pi-data-value {
background-color: #262626 !important;
color: #e0e0e0 !important;
}
/* 5. LISTS */
body.mediawiki .pi-data-value ul {
margin: 0 !important;
padding-left: 1.5em !important;
}