More actions
Skycrafter (talk | contribs) No edit summary |
Skycrafter (talk | contribs) No edit summary |
||
Line 5: | Line 5: | ||
margin-left: 5px; | margin-left: 5px; | ||
} | } | ||
/* | /* ---- Dark theme selectors (MediaWiki core + common non-Fandom skins) ---- | ||
: | - Core: html.skin-theme-clientpref-night | ||
- Citizen: html.skin-citizen-dark or [data-theme="dark"] | |||
*/ | |||
:is(html.skin-theme-clientpref-night, | |||
html.skin-citizen-dark, | |||
[data-theme="dark"]) .navbox { | |||
background: #000 !important; | |||
color: #9a9a9a !important; /* text */ | |||
} | } | ||
:is(html.skin-theme-clientpref-night, | |||
html.skin-citizen-dark, | |||
[data-theme="dark"]) .navbox table, | |||
--navbox | :is(html.skin-theme-clientpref-night, | ||
html.skin-citizen-dark, | |||
-- | [data-theme="dark"]) .navbox table table, | ||
- | :is(html.skin-theme-clientpref-night, | ||
html.skin-citizen-dark, | |||
[data-theme="dark"]) .navbox table table table { | |||
background: #000 !important; | |||
color: #9a9a9a !important; /* text */ | |||
} | } | ||
/* | /* Optional, remove if breaks things */ | ||
.navbox, | :is(html.skin-theme-clientpref-night, | ||
.navbox- | html.skin-citizen-dark, | ||
[data-theme="dark"]) .navbox .navbox-title, | |||
color: | :is(html.skin-theme-clientpref-night, | ||
border: | html.skin-citizen-dark, | ||
[data-theme="dark"]) .navbox .navbox-group, | |||
:is(html.skin-theme-clientpref-night, | |||
html.skin-citizen-dark, | |||
[data-theme="dark"]) .navbox th { | |||
background: #1b1b1b !important; | |||
color: #e6e6e6 !important; | |||
border-color: #2a2a2a !important; | |||
} | } | ||
Revision as of 20:49, 15 August 2025
/* CSS placed here will be applied to all skins */
.citizen-overflow-wrapper:has(.citizen-overflow-content .wikitable) {
float: right;
clear: right;
margin-left: 5px;
}
/* ---- Dark theme selectors (MediaWiki core + common non-Fandom skins) ----
- Core: html.skin-theme-clientpref-night
- Citizen: html.skin-citizen-dark or [data-theme="dark"]
*/
:is(html.skin-theme-clientpref-night,
html.skin-citizen-dark,
[data-theme="dark"]) .navbox {
background: #000 !important;
color: #9a9a9a !important; /* text */
}
:is(html.skin-theme-clientpref-night,
html.skin-citizen-dark,
[data-theme="dark"]) .navbox table,
:is(html.skin-theme-clientpref-night,
html.skin-citizen-dark,
[data-theme="dark"]) .navbox table table,
:is(html.skin-theme-clientpref-night,
html.skin-citizen-dark,
[data-theme="dark"]) .navbox table table table {
background: #000 !important;
color: #9a9a9a !important; /* text */
}
/* Optional, remove if breaks things */
:is(html.skin-theme-clientpref-night,
html.skin-citizen-dark,
[data-theme="dark"]) .navbox .navbox-title,
:is(html.skin-theme-clientpref-night,
html.skin-citizen-dark,
[data-theme="dark"]) .navbox .navbox-group,
:is(html.skin-theme-clientpref-night,
html.skin-citizen-dark,
[data-theme="dark"]) .navbox th {
background: #1b1b1b !important;
color: #e6e6e6 !important;
border-color: #2a2a2a !important;
}