Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
No edit summary
No edit summary
Line 27: Line 27:
   background: #000 !important;  
   background: #000 !important;  
   color: #9a9a9a !important; /* text */
   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;
}
}

Revision as of 20:55, 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 */
}