MediaWiki:Vector.css: Skirtumas tarp puslapio versijų

Iš MCSlime.LT.
Pereiti į navigaciją Jump to search
Nėra keitimo santraukos
SNėra keitimo santraukos
 
(nerodomos 6 tarpinės versijos, sukurtos to paties naudotojo)
1 eilutė: 1 eilutė:
/* All CSS here will be loaded for users of the Vector skin */
/* All CSS here will be loaded for users of the Vector skin */


/* All CSS here will be loaded for users of the dark Vector skin */
/**
/**
  * See [[MediaWiki:Common.css]] for desktop and mobile styles, e.g. templates.
  * See [[MediaWiki:Common.css]] for desktop and mobile styles, e.g. templates.
  *
  *
  * See [[MediaWiki:Vector-theme-dark.css]] for desktop dark theme related styles.
  * See [[MediaWiki:Vector.css]] for desktop theme related styles.
  *
  *
  * See [[MediaWiki:Minerva.css]] for mobile theme related styles.
  * See [[MediaWiki:Minerva.css]] for mobile theme related styles.
  * See [[MediaWiki:Minerva-theme-dark.css]] for mobile dark theme related styles.
  * See [[MediaWiki:Minerva-theme-dark.css]] for mobile dark theme related styles.
  */
  */
 
html:has(body.wgl-theme-dark) {
color-scheme: dark;
}
 
/* Default styles:
/* Default styles:
  * [[File:Wiki.png]] [[File:Background.png]] [[File:Header-background.png]]
  * [[File:Dark-background.png]] [[File:Dark-header-background.png]]
  * [[File:Vector-tabs.png]] [[File:Vector-tabs-first.png]] [[File:Wiki@2x.png]]
  * [[File:Dark-vector-tabs.png]] [[File:Dark-vector-tabs-first.png]]
  * [[File:Background-HiDPI.png]] [[File:Header-background-HiDPI.png]]
  * [[File:Dark-background-HiDPI.png]] [[File:Dark-header-background-HiDPI.png]]
  * [[File:Vector-tabs-HiDPI.png]] [[File:Vector-tabs-first-HiDPI.png]]
  * [[File:Dark-vector-tabs-HiDPI.png]] [[File:Dark-vector-tabs-first-HiDPI.png]]
  */
  */
:root {
body.wgl-theme-dark {
--wiki-logo: url('/images/Wiki.png');
--base-background: url('filepath:///resources/assets/mc/Dark-background.png');
--base-background: url('filepath:///resources/assets/mc/Background.png');
--header-background: url('filepath:///resources/assets/mc/Dark-header-background.png');
--header-background: url('filepath:///resources/assets/mc/Header-background.png');
--vector-tabs: url('filepath:///resources/assets/mc/Dark-vector-tabs.png');
--vector-tabs: url('filepath:///resources/assets/mc/Vector-tabs.png');
--vector-tabs-first: url('filepath:///resources/assets/mc/Dark-vector-tabs-first.png');
--vector-tabs-first: url('filepath:///resources/assets/mc/Vector-tabs-first.png');
 
--base-background-hidpi: url('filepath:///resources/assets/mc/Dark-background-HiDPI.png');
--wiki-logo-hidpi: url('/images/Wiki@2x.png');
--header-background-hidpi: url('filepath:///resources/assets/mc/Dark-header-background-HiDPI.png');
--base-background-hidpi: url('filepath:///resources/assets/mc/Background-HiDPI.png');
--vector-tabs-hidpi: url('filepath:///resources/assets/mc/Dark-vector-tabs-HiDPI.png');
--header-background-hidpi: url('filepath:///resources/assets/mc/filepath:///resources/assets/mc/Header-background-HiDPI.png');
--vector-tabs-first-hidpi: url('filepath:///resources/assets/mc/Dark-vector-tabs-first-HiDPI.png');
--vector-tabs-hidpi: url('filepath:///resources/assets/mc/Vector-tabs-HiDPI.png');
 
--vector-tabs-first-hidpi: url('filepath:///resources/assets/mc/Vector-tabs-first-HiDPI.png');
--list-bullet: url('filepath:///resources/assets/mc/List_bullet_dark.svg');
 
--list-bullet: url('filepath:///resources/assets/mc/List_bullet.svg');
--content-text-color: #e6e6e6;
--content-secondary-text-color: #aaaaaa;
--content-text-color: #202122;
--base-background-color: #13191c;
--content-secondary-text-color: #555555;
--content-background-color: #2b2f39;
--base-background-color: #303030;
--content-border-top-color: #1f2528;
--content-background-color: #E6EFF4;
--content-border-top-right-color: #4e362b;
--content-border-top-color: #B4BEC3;
 
--content-border-top-right-color: #784c2a;
--simplesearch-top-border-color: #959595;
--simplesearch-top-border-color: #FFFFFF;
--simplesearch-left-border-color: #6f6f6f;
--simplesearch-left-border-color: #888888;
--simplesearch-topright-grass-color: #0e6a3b;
--simplesearch-topright-grass-color: #6BA41E;
--searchinput-placeholder-color: #bfc1c5;
--searchinput-placeholder-color: #72777D;
 
--archive-box-background-color: #282828;
--sidebar-display-minecraft: initial;
--archive-box-border-color: #444;
--sidebar-display-dungeons: none;
 
--sidebar-display-earth: none;
--table-header-color: #222;
--sidebar-display-legends: none;
--table-border-color: #444;
--sidebar-display-story-mode: none;
--sidebar-display-tutorial: none;
--sidebar-display-movie: none;
}


body {
--smw-border-hover: #a2a9b1;
    font-family: 'IBM Plex Sans', 'Helvetica Neue', 'Arial', sans-serif;
--smw-table-hover: #313848;
}
}
/* Dungeons styles:
/* Dungeons styles:
  * [[File:Dungeons Wiki.png]] [[File:Header-background-dungeons.png]]
  * [[File:Dark-header-background-dungeons.png]]
  * [[File:Vector-tabs-dungeons.png]] [[File:Vector-tabs-first-dungeons.png]]
  * [[File:Dark-vector-tabs-dungeons.png]] [[File:Dark-vector-tabs-first-dungeons.png]]
  * [[File:Dungeons Wiki HiDPI.png]] [[File:Header-background-dungeons-HiDPI.png]]
  * [[File:Dark-header-background-dungeons-HiDPI.png]] [[File:Dark-vector-tabs-dungeons-HiDPI.png]]
* [[File:Vector-tabs-dungeons-HiDPI.png]] [[File:Vector-tabs-first-dungeons-HiDPI.png]]
* [[File:Dark-vector-tabs-first-dungeons-HiDPI.png]]
  */
  */
body.rootpage-Minecraft_Dungeons,
body.wgl-theme-dark.rootpage-Minecraft_Dungeons,
body.rootpage-Talk_Minecraft_Dungeons,
body.wgl-theme-dark.rootpage-Talk_Minecraft_Dungeons,
body.ns-10000,
body.wgl-theme-dark.ns-10000,
body.ns-10001 {
body.wgl-theme-dark.ns-10001 {
/* Overwrite theme gadget styles */
/* Overwrite theme gadget styles */
--base-background: url('filepath://Background.png');
--base-background: url('filepath://Dark-background.png');
--base-background-hidpi: url('filepath://Background-HiDPI.png');
--base-background-hidpi: url('filepath://Dark-background-HiDPI.png');
/*--wiki-logo: url('filepath://Dungeons_Wiki.png');*/
--header-background: url('filepath://Dark-header-background-dungeons.png');
--header-background: url('filepath://Header-background-dungeons.png');
--vector-tabs: url('filepath://Dark-vector-tabs-dungeons.png');
--vector-tabs: url('filepath://Vector-tabs-dungeons.png');
--vector-tabs-first: url('filepath://Dark-vector-tabs-first-dungeons.png');
--vector-tabs-first: url('filepath://Vector-tabs-first-dungeons.png');
/*--wiki-logo-hidpi: url('filepath://Dungeons_Wiki_HiDPI.png');*/
--header-background-hidpi: url('filepath://Header-background-dungeons-HiDPI.png');
--vector-tabs-hidpi: url('filepath://Vector-tabs-dungeons-HiDPI.png');
--vector-tabs-first-hidpi: url('filepath://Vector-tabs-first-dungeons-HiDPI.png');
--content-background-color: #F2EEE7;
--content-border-top-color: #C5B494;
--content-border-top-right-color: #595959;
--simplesearch-before-border-left-color: #3A3B3A;
--simplesearch-topright-grass-color: #F26417;
--search-form-after-border-top-color: #F27633;
--sidebar-display-minecraft: none;
--sidebar-display-dungeons: initial;
--sidebar-display-earth: none;
--sidebar-display-legends: none;
--sidebar-display-story-mode: none;
--sidebar-display-tutorial: none;
--sidebar-display-movie: none;
}


/* Earth styles:
--header-background-hidpi: url('filepath://Dark-header-background-dungeons-HiDPI.png');
  * [[File:Earth Wiki.png]] [[File:Header-background-earth.png]]
--vector-tabs-hidpi: url('filepath://Dark-vector-tabs-dungeons-HiDPI.png');
  * [[File:Vector-tabs-earth.png]] [[File:Vector-tabs-first-earth.png]]
--vector-tabs-first-hidpi: url('filepath://Dark-vector-tabs-first-dungeons-HiDPI.png');
  * [[File:Earth Wiki HiDPI.png]] [[File:Header-background-earth-HiDPI.png]]
 
* [[File:Vector-tabs-earth-HiDPI.png]] [[File:Vector-tabs-first-earth-HiDPI.png]]
--content-background-color: #433d3d;
--content-border-top-color: #201c10;
--content-border-top-right-color: #303d46;
 
--simplesearch-topright-grass-color: #8b4322;
}
/* Earth styles:
  * [[File:Dark-header-background-earth.png]]
  * [[File:Dark-vector-tabs-earth.png]] [[File:Dark-vector-tabs-first-earth.png]]
  * [[File:Dark-header-background-earth-HiDPI.png]] [[File:Dark-vector-tabs-earth-HiDPI.png]]
* [[File:Dark-vector-tabs-first-earth-HiDPI.png]]
  */
  */
body.rootpage-Minecraft_Earth,
body.wgl-theme-dark.rootpage-Minecraft_Earth,
body.rootpage-Talk_Minecraft_Earth,
body.wgl-theme-dark.rootpage-Talk_Minecraft_Earth,
body.ns-10002,
body.wgl-theme-dark.ns-10002,
body.ns-10003 {
body.wgl-theme-dark.ns-10003 {
/* Overwrite theme gadget styles */
/* Overwrite theme gadget styles */
--base-background: url('filepath://Background.png');
--base-background: url('filepath://Dark-background.png');
--base-background-hidpi: url('filepath://Background-HiDPI.png');
--base-background-hidpi: url('filepath://Dark-background-HiDPI.png');
/*--wiki-logo: url('filepath://Earth_Wiki.png');*/
--header-background: url('filepath://Dark-header-background-earth.png');
--header-background: url('filepath://Header-background-earth.png');
--vector-tabs: url('filepath://Dark-vector-tabs-earth.png');
--vector-tabs: url('filepath://Vector-tabs-earth.png');
--vector-tabs-first: url('filepath://Dark-vector-tabs-first-earth.png');
--vector-tabs-first: url('filepath://Vector-tabs-first-earth.png');
 
--header-background-hidpi: url('filepath://Dark-header-background-earth-HiDPI.png');
/*--wiki-logo-hidpi: url('filepath://Earth_Wiki_HiDPI.png');*/
--vector-tabs-hidpi: url('filepath://Dark-vector-tabs-earth-HiDPI.png');
--header-background-hidpi: url('filepath://Header-background-earth-HiDPI.png');
--vector-tabs-first-hidpi: url('filepath://Dark-vector-tabs-first-earth-HiDPI.png');
--vector-tabs-hidpi: url('filepath://Vector-tabs-earth-HiDPI.png');
 
--vector-tabs-first-hidpi: url('filepath://Vector-tabs-first-earth-HiDPI.png');
--content-background-color: #252b3c;
--content-border-top-color: #182028;
--content-background-color: #E5EDFF;
--content-border-top-right-color: #25404b;
--content-border-top-color: #B7BDCC;
 
--content-border-top-right-color: #406b7f;
--simplesearch-topright-grass-color: #0b7940;
--simplesearch-before-border-left-color: #284350;
--simplesearch-topright-grass-color: #0FD36D;
--search-form-after-border-top-color: #2DDA81;
--sidebar-display-minecraft: none;
--sidebar-display-dungeons: none;
--sidebar-display-earth: initial;
--sidebar-display-legends: none;
--sidebar-display-story-mode: none;
--sidebar-display-tutorial: none;
--sidebar-display-movie: none;
}
}
/* Legends styles:
/* Legends styles:
  * [[File:Header-background-legends.png]] [[File:Vector-tabs-legends.png]]
  * [[File:Dark-header-background-legends.png]]
* [[File:Vector-tabs-first-legends.png]] [[File:Header-background-legends-HiDPI.png]]
* [[File:Dark-vector-tabs-legends.png]] [[File:Dark-vector-tabs-first-legends.png]]
* [[File:Vector-tabs-legends-HiDPI.png]] [[File:Vector-tabs-first-legends-HiDPI.png]]
* [[File:Dark-header-background-legends-HiDPI.png]] [[File:Dark-vector-tabs-legends-HiDPI.png]]
* [[File:Dark-vector-tabs-first-legends-HiDPI.png]]
  */
  */
body.rootpage-Minecraft_Legends,
body.wgl-theme-dark.rootpage-Minecraft_Legends,
body.rootpage-Talk_Minecraft_Legends,
body.wgl-theme-dark.rootpage-Talk_Minecraft_Legends,
body.ns-10006,
body.wgl-theme-dark.ns-10006,
body.ns-10007 {
body.wgl-theme-dark.ns-10007 {
/* Overwrite theme gadget styles */
/* Overwrite theme gadget styles */
--base-background: url('filepath://Background.png');
--base-background: url('filepath://Dark-background.png');
--base-background-hidpi: url('filepath://Background-HiDPI.png');
--base-background-hidpi: url('filepath://Dark-background-HiDPI.png');
/*--wiki-logo: url('filepath://Legends_Wiki.png');*/
--header-background: url('filepath://Dark-header-background-legends.png');
--header-background: url('filepath://Header-background-legends.png');
--vector-tabs: url('filepath://Dark-vector-tabs-legends.png');
--vector-tabs: url('filepath://Vector-tabs-legends.png');
--vector-tabs-first: url('filepath://Dark-vector-tabs-first-legends.png');
--vector-tabs-first: url('filepath://Vector-tabs-first-legends.png');
 
--header-background-hidpi: url('filepath://Dark-header-background-legends-HiDPI.png');
/*--wiki-logo-hidpi: url('filepath://Legends_Wiki_HiDPI.png');*/
--vector-tabs-hidpi: url('filepath://Dark-vector-tabs-legends-HiDPI.png');
--header-background-hidpi: url('filepath://Header-background-legends-HiDPI.png');
--vector-tabs-first-hidpi: url('filepath://Dark-vector-tabs-first-legends-HiDPI.png');
--vector-tabs-hidpi: url('filepath://Vector-tabs-legends-HiDPI.png');
 
--vector-tabs-first-hidpi: url('filepath://Vector-tabs-first-legends-HiDPI.png');
--content-background-color: #293344;
--content-border-top-color: #202426;
--content-background-color: #DAEAE9;
--content-border-top-right-color: #21334e;
--content-border-top-color: #9FA2A2;
 
--content-border-top-right-color: #34538c;
--simplesearch-topright-grass-color: #006c60;
--simplesearch-before-border-left-color: #203559;
--simplesearch-topright-grass-color: #08F9E2;
--search-form-after-border-top-color: #2AFDE9;
--sidebar-display-minecraft: none;
--sidebar-display-dungeons: none;
--sidebar-display-earth: none;
--sidebar-display-legends: initial;
--sidebar-display-story-mode: none;
--sidebar-display-tutorial: none;
--sidebar-display-movie: none;
}
}
/* Story Mode styles:
/* Story Mode styles:
  * [[File:Header-background-storymode.png]] [[File:Vector-tabs-storymode.png]]
  * [[File:Dark-header-background-storymode.png]]
* [[File:Vector-tabs-first-storymode.png]] [[File:Header-background-storymode-HiDPI.png]]
* [[File:Dark-vector-tabs-storymode.png]] [[File:Dark-vector-tabs-first-storymode.png]]
* [[File:Vector-tabs-storymode-HiDPI.png]] [[File:Vector-tabs-first-storymode-HiDPI.png]]
* [[File:Dark-header-background-storymode-HiDPI.png]] [[File:Dark-vector-tabs-storymode-HiDPI.png]]
* [[File:Dark-vector-tabs-first-storymode-HiDPI.png]]
  */
  */
body.rootpage-Minecraft_Story_Mode,
body.wgl-theme-dark.rootpage-Minecraft_Story_Mode,
body.rootpage-Talk_Minecraft_Story_Mode,
body.wgl-theme-dark.rootpage-Talk_Minecraft_Story_Mode,
body.rootpage-Minecraft_Story_Mode_-_Season_Two,
body.wgl-theme-dark.rootpage-Minecraft_Story_Mode_-_Season_Two,
body.rootpage-Talk_Minecraft_Story_Mode_-_Season_Two,
body.wgl-theme-dark.rootpage-Talk_Minecraft_Story_Mode_-_Season_Two,
body.ns-10004,
body.wgl-theme-dark.ns-10004,
body.ns-10005 {
body.wgl-theme-dark.ns-10005 {
/* Overwrite theme gadget styles */
/* Overwrite theme gadget styles */
--base-background: url('filepath://Background.png');
--base-background: url('filepath://Dark-background.png');
--base-background-hidpi: url('filepath://Background-HiDPI.png');
--base-background-hidpi: url('filepath://Dark-background-HiDPI.png');
/*--wiki-logo: url('filepath://Story_Mode_Wiki.png');*/
--header-background: url('filepath://Dark-header-background-storymode.png');
--header-background: url('filepath://Header-background-storymode.png');
--vector-tabs: url('filepath://Dark-vector-tabs-storymode.png');
--vector-tabs: url('filepath://Vector-tabs-storymode.png');
--vector-tabs-first: url('filepath://Dark-vector-tabs-first-storymode.png');
--vector-tabs-first: url('filepath://Vector-tabs-first-storymode.png');
 
--header-background-hidpi: url('filepath://Dark-header-background-storymode-HiDPI.png');
/*--wiki-logo-hidpi: url('filepath://Story_Mode_Wiki_HiDPI.png');*/
--vector-tabs-hidpi: url('filepath://Dark-vector-tabs-storymode-HiDPI.png');
--header-background-hidpi: url('filepath://Header-background-storymode-HiDPI.png');
--vector-tabs-first-hidpi: url('filepath://Dark-vector-tabs-first-storymode-HiDPI.png');
--vector-tabs-hidpi: url('filepath://Vector-tabs-storymode-HiDPI.png');
 
--vector-tabs-first-hidpi: url('filepath://Vector-tabs-first-storymode-HiDPI.png');
--content-background-color: #39342c;
--content-border-top-color: #2d2411;
--content-background-color: #f9eddc;
--content-border-top-right-color: #302441;
--content-border-top-color: #d5c090;
 
--content-border-top-right-color: #503767;
--simplesearch-topright-grass-color: #967735;
--simplesearch-before-border-left-color: #352343;
--simplesearch-topright-grass-color: #d2a734;
--search-form-after-border-top-color: #d2a734;
--sidebar-display-minecraft: none;
--sidebar-display-dungeons: none;
--sidebar-display-earth: none;
--sidebar-display-legends: none;
--sidebar-display-story-mode: initial;
--sidebar-display-tutorial: none;
--sidebar-display-movie: none;
}
 
/* Tutorial styles
*/
body.rootpage-Tutorials,
body.rootpage-Talk_Tutorials,
body.ns-10010,
body.ns-10011 {
--sidebar-display-minecraft: none;
--sidebar-display-dungeons: none;
--sidebar-display-earth: none;
--sidebar-display-legends: none;
--sidebar-display-story-mode: none;
--sidebar-display-tutorial: initial;
--sidebar-display-movie: none;
}
}


/* Movie styles:
/* Movie styles:
  * [[File:Background-movie.png]] [[File:Background-movie-HiDPI.png]]
  * [[File:Dark-background-movie.png]] [[File:Dark-background-movie-HiDPI.png]]
  * [[File:Header-background-movie.png]] [[File:Vector-tabs-movie.png]]
  * [[File:Dark-header-background-movie.png]]
* [[File:Vector-tabs-first-movie.png]] [[File:Header-background-movie-HiDPI.png]]
* [[File:Dark-vector-tabs-movie.png]] [[File:Dark-vector-tabs-first-movie.png]]
* [[File:Vector-tabs-movie-HiDPI.png]] [[File:Vector-tabs-first-movie-HiDPI.png]]
* [[File:Dark-header-background-movie-HiDPI.png]] [[File:Dark-vector-tabs-movie-HiDPI.png]]
* [[File:Dark-vector-tabs-first-movie-HiDPI.png]]
  */
  */
html body.rootpage-A_Minecraft_Movie,
body.wgl-theme-dark.rootpage-A_Minecraft_Movie,
html body.rootpage-Talk_A_Minecraft_Movie,
body.wgl-theme-dark.rootpage-Talk_A_Minecraft_Movie,
html body.ns-10012,
body.wgl-theme-dark.ns-10012,
html body.ns-10013 {
body.wgl-theme-dark.ns-10013 {
--base-background: url('filepath://Background-movie.png');
--base-background: url('filepath://Dark-background-movie.png');
--base-background-hidpi: url('filepath://Background-movie-HiDPI.png');
--base-background-hidpi: url('filepath://Dark-background-movie-HiDPI.png');
--header-background: url('filepath://Dark-header-background-movie.png');
--vector-tabs: url('filepath://Dark-vector-tabs-movie.png');
--vector-tabs-first: url('filepath://Dark-vector-tabs-first-movie.png');


--header-background: url('filepath://Header-background-movie.png');
--header-background-hidpi: url('filepath://Dark-header-background-movie-HiDPI.png');
--vector-tabs: url('filepath://Vector-tabs-movie.png');
--vector-tabs-hidpi: url('filepath://Dark-vector-tabs-movie-HiDPI.png');
--vector-tabs-first: url('filepath://Vector-tabs-first-movie.png');
--vector-tabs-first-hidpi: url('filepath://Dark-vector-tabs-first-movie-HiDPI.png');


--header-background-hidpi: url('filepath://Header-background-movie-HiDPI.png');
--content-background-color: #36322E;
--vector-tabs-hidpi: url('filepath://Vector-tabs-movie-HiDPI.png');
     --content-border-top-color: #2A2724;
--vector-tabs-first-hidpi: url('filepath://Vector-tabs-first-movie-HiDPI.png');
 
--content-background-color: #E8E3E1;
     --content-border-top-color: #BDB5AF;
 
--sidebar-display-minecraft: none;
--sidebar-display-dungeons: none;
--sidebar-display-earth: none;
--sidebar-display-legends: none;
--sidebar-display-story-mode: none;
--sidebar-display-tutorial: none;
--sidebar-display-movie: initial;
}
}


/* Give the background the initial stone texture */
/* [[File:HelpNotice.svg]] */
body {
body.wgl-theme-dark #mw-indicator-mw-helplink a {
background-color: var(--base-background-color);
background-image: url('filepath://HelpNotice.svg');
    background-image: var(--header-background), var(--base-background);
    background-repeat: repeat-x, repeat;
    background-position: top left, top left;
    background-size: auto 234px, 468px;
}
}


/* Logo */
.mw-message-box,
.mw-wiki-logo {
.mw-body,
background-image: var(--wiki-logo);
h1, h2, h3, h4, h5, h6,
background-size: cover;
.mw-ui-input,
.search-types .current a {
color: var(--content-text-color);
}
body.wgl-theme-dark #mw-content-subtitle,
body.wgl-theme-dark #contentSub,
body.wgl-theme-dark #contentSub2,
body.wgl-theme-dark .results-info,
body.wgl-theme-dark .mw-search-result-data,
body.wgl-theme-dark .wikiEditor-ui-toolbar .group .label {
color: #9f9f9f;
}
}


#mw-page-base {
/* FP */
background: none;
body.wgl-theme-dark .fp-section {
height: 85px;
background-color: #2f2f2f;
    border-color: #202125;
}
}


/* Remove excess spacing between the sidebar and the logo */
body.wgl-theme-dark .mcwiki-header {
div#mw-panel {
    border-color: #202125;
padding-top: 0;
}
padding-bottom: 10px;
body.wgl-theme-dark .mcwiki-header a {
    color: #0645ad;
}
body.wgl-theme-dark .mcwiki-header a:visited {
    color: #0b0080;
}
}


#p-logo,
/* Discord widget */
#p-logo a {
body.wgl-theme-dark .discord-widget-dark {
height: 8.75em; /* 140px */
color-scheme: auto;
}
}


/* Set the outer content link colours to light gray and white */
/* <blockquote> */
#mw-panel *:not(h3) > a:not(:hover):not(:focus),
.vector-body blockquote {
#footer a:not(:hover):not(:focus),
border-left-color: var(--infobox-header-background-color);
.mw-notification a:not(:hover):not(:focus) {
color: #BFBFBF !important;
}
}


#mw-panel h3,
#mw-panel a,
#footer li,
#footer a,
.mw-notification a {
color: #FFF !important;
}


#mw-panel h3 {
/* Recent Changes */
text-decoration: none !important;
cursor: pointer;
}


/* Set the tab link colours to black and bold */
body.wgl-theme-dark label.mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-savedQueryTitle.oo-ui-widget.oo-ui-widget-enabled.oo-ui-labelElement-label.oo-ui-labelWidget.oo-ui-labelElement {
#p-namespaces a,
    color: #fff;
#p-views a,
#p-cactions-label span,
div#mw-head div.vectorMenu h4,
div#p-variants.vectorMenu #mw-vector-current-variant {
font-weight: bold;
text-decoration: none;
}
}
 
body.wgl-theme-dark .mw-changeslist-legend,
/* Use black links */
body.wgl-theme-dark .mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle,
#p-namespaces a,
body.wgl-theme-dark .vector-menu-dropdown .vector-menu-content{
#p-views a,
background-color: #1e1e1e;
#p-sharing span,
    color: #fff;
#p-cactions-label span,
    border-color: #686869;
div#mw-head div.vectorMenu h4 {
color: #000;
}
}
 
body.wgl-theme-dark .mw-ui-input {
#p-namespaces .new a,
    background-color: inherit;
#p-views .new a {
    color: inherit;
color: #BA0000;
}
body.wgl-theme-dark .mw-ui-button,
body.wgl-theme-dark .cdx-button {
background-color: #373f50;
    color: #f8f9fa;
}
body.wgl-theme-dark .mw-ui-button:visited {
color: #d8d9da;
}
}
 
body.wgl-theme-dark .mw-plusminus-neg {
/* Add some margin to help with the 3D effect */
color: #ffa1b3;
#right-navigation,
#content {
margin-right: 10px;
}
}
#footer {
body.wgl-theme-dark .mw-plusminus-pos {
margin-right: 8px;
color: #00e04c;
}
}
 
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c1,
/* Position the tabs */
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c1 tr:first-child,
#left-navigation,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
#right-navigation {
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
margin-top: 54px;
    background-color: #c2d1f066
}
}


#mw-head-base {
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c2,
height: 80px;
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c2 tr:first-child,
margin-top: -80px;
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c2.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c2.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
    background-color: #b3e7dc66
}
}


/* Give the tabs the grass block styling */
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c3,
nav.vector-menu-tabs,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c3 tr:first-child,
nav.vector-menu-dropdown {
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c3.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
     background: none;
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c3.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
    padding: 0;
     background-color: #fff0c266
     height: 36px;
}
 
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c4,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c4 tr:first-child,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c4.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c4.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
     background-color: #ffd3bd66
}
}


nav.vector-menu-tabs li a {
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c5,
     box-sizing: unset;
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c5 tr:first-child,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
     background-color: #f5c2c266
}
}


nav.vector-menu-tabs,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2,
nav.vector-menu-tabs a,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2 tr:first-child,
.vector-menu-portal .vector-menu-heading,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
nav.vector-menu-tabs ul,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
nav.vector-menu-tabs ul li.selected,
     background-color: #8cc5d566
#mw-head .vector-menu-dropdown .vector-menu-heading {
     background: none;
}
}


nav.vector-menu-tabs ul li,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c3,
nav.vector-menu-tabs ul li.selected,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c3 tr:first-child,
nav.vector-menu-tabs ul li:hover,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c3.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
nav.vector-menu-tabs ul li:focus,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c3.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
nav.vector-menu-dropdown,
     background-color: #ccdecc66
nav.vector-menu-dropdown:hover,
nav.vector-menu-dropdown:focus {
    --ca-background-image: var(--vector-tabs);
    --ca-background-color: var(--content-border-top-color);
    background: var(--ca-background-image) no-repeat right 8px top,
                linear-gradient(to right, var(--ca-background-color) calc(100% - 14px), transparent 0) no-repeat left 6px top 6px;
     position: relative;
}
}


nav.vector-menu-tabs ul li.selected,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c4,
nav.vector-menu-tabs ul li:hover,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c4 tr:first-child,
nav.vector-menu-tabs ul li:focus,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c4.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
nav.vector-menu-dropdown:hover,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c4.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
nav.vector-menu-dropdown:focus {
     background-color: #ccb4bb66
    --ca-background-color: var(--content-background-color);
     background-position-y: bottom, 6px;
}
}


nav.vector-menu-tabs ul li:before,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c5,
nav.vector-menu-dropdown:before {
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c5 tr:first-child,
    content: "";
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
    position: absolute;
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
    left: 0;
     background-color: #c4a6bf66
    background: var(--ca-background-image) var(--content-border-top-color) no-repeat left top;
    width: 6px;
    height: 100%;
     pointer-events: none;
}
}


#left-navigation nav.vector-menu-tabs li:first-child:before {
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3,
    background: var(--vector-tabs-first) no-repeat left top;
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3 tr:first-child,
     height: 93px
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
     background-color: #bfdeaf66
}
}


nav.vector-menu-tabs li a {
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c4,
    padding: 15px 14px 0 20px;
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c4 tr:first-child,
    height: 21px;
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c4.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
     margin-right: 8px;
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c4.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
     background-color: #bfc7aa66
}
}


.vector-menu-tabs .mw-watchlink.icon {
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c5,
/* Force font-size when using the icon */
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c5 tr:first-child,
     font-size: 16px !important;
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
     background-color: #b7b8af66
}
}


.vector-menu-tabs .mw-watchlink.icon a {
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4,
    width: 45px;
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4 tr:first-child,
    margin-right: 3px;
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
     margin-bottom: -4px;
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
     background-color: #ffce9566
}
}


.vector-menu-tabs .mw-watchlink.icon a:before {
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c5,
left: 1.17em;
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c5 tr:first-child,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
    background-color: #f7bf9966
}
}


nav.vector-menu-dropdown label {
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5,
padding: 15px 14px 0 20px !important;
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5 tr:first-child,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
    background-color: #f7a89566
}
}


nav.vector-menu-dropdown .vector-menu-content {
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3,
transition: none;
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3 tr:first-child,
margin-left: 6px;
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
min-width: calc(100% - 14px); /* Subtract 14px from the minimum width so that it doesn't cross the grass border */
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
    background-color: #94bda866
}
}


.vector-menu-dropdown:focus-within .vector-menu-content,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c5,
.vector-menu-dropdown:hover .vector-menu-content {
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c5 tr:first-child,
    opacity: 1;
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
    visibility: visible;
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
     height: auto;
     background-color: #8c99a866
}
}


nav.vector-menu {
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c4,
     margin: 0 8px 0 6px;
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c4 tr:first-child,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c4.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c4.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
     background-color: #94a7a466
}
}
#p-views,
 
#p-cactions {
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4,
margin: 0;
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4 tr:first-child,
}
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
#p-cactions {
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
padding-right: 8px;
    background-color: #d0ad9066
}
}


#left-navigation nav.vector-menu {
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c5,
margin-left: 0;
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c5 tr:first-child,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
    background-color: #c8a09466
}
}


nav.vector-menu h3 span {
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5,
     font-weight: bold;
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5 tr:first-child,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
     background-color: #c88a9066
}
}


nav.vector-menu h3 a {
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4,
    height: 36px;
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4 tr:first-child,
     margin-right: 8px;
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
     background-color: #c4be8066
}
}


nav.vector-menu div.vector-menu-content {
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c5,
     top: 35px;
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c5 tr:first-child,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
     background-color: #bcb18466
}
}


.vector-menu-portal .vector-menu-content,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5,
#p-personal .vector-menu-content-list,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5 tr:first-child,
#footer {
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
     background-color: #232324;
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
    border: 2px #313233 solid;
     background-color: #bc9a8066
}
}
nav.vector-menu-portal,
 
#p-personal {
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5,
     background-color: #232324;
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5 tr:first-child,
    border: 2px black solid;
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
     background-color: #f7a16c66
}
}


#mw-panel nav.vector-menu-portal.collapsed h3:before {
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4,
    -webkit-transform: rotate(-90deg);
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4 tr:first-child,
    transform: rotate(-90deg);
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
    background-color: #b5ae8b66
}
}


.vector-legacy-sidebar .vector-menu-portal {
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c5,
display: var(--sidebar-display, block);
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c5 tr:first-child,
    margin: 0.5em 8px 2px 6px;
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
     padding: 0;
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
     background-color: #aea18f66
}
}


.vector-legacy-sidebar .vector-menu-portal .vector-menu-content {
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5,
    margin-left: 0;
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5 tr:first-child,
     padding: 0;
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
     background-color: #ae8d8b66
}
}


.vector-legacy-sidebar .vector-menu-portal .vector-menu-content-list {
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5,
     padding: 0.3em 0.5em;
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5 tr:first-child,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
     background-color: #d2917f66
}
}


div#mw-panel nav.vector-menu-portal h3 {
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5,
    background: conic-gradient(from 180deg at 2px calc(100% - 2px), #6a6b6c 90deg, transparent 0),
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5 tr:first-child,
                conic-gradient(from 0 at calc(100% - 2px) 2px, #6a6b6c 90deg, transparent 0),
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
                linear-gradient(to top, #464747 2px, transparent 0px),
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
                linear-gradient(to bottom, #5a5b5c 2px, transparent 0px),
    background-color: #c89f7366
                linear-gradient(to left, #464747 2px, transparent 0px),
}
                linear-gradient(to right, #5a5b5c 2px, transparent 0px);
 
    background-color: #313233;
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5,
    padding: calc(0.5em + 2px);
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5 tr:first-child,
     border-bottom: 2px solid black;
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
     background-color: #b2887466
}
}


@media screen and (min-width: 720px) {
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey td:not(:nth-child(-n+2)) {
div#mw-panel nav.vector-menu-portal.collapsed h3 {
    background-color: #dee0e366
    background: conic-gradient(from 180deg at 2px calc(100% - 2px), #7c7c7d 90deg, transparent 0),
                conic-gradient(from 0 at calc(100% - 2px) 2px, #7c7c7d 90deg, transparent 0),
                linear-gradient(to top, #5a5b5c 2px, transparent 0),
                linear-gradient(to bottom, #6d6d6e 2px, transparent 0),
                linear-gradient(to left, #5a5b5c 2px, transparent 0),
                linear-gradient(to right, #6d6d6e 2px, transparent 0);
    background-color: #48494a;
    padding: 0.5em calc(0.5em + 2px);
    border-bottom: 5px solid #313233;
}
}
}


.vector-legacy-sidebar .vector-menu-portal .vector-menu-heading {
.wgl-theme-dark .autocomment,
     margin: 0;
.wgl-theme-dark .autocomment a,
.wgl-theme-dark .autocomment a:visited {
     color: #a1a8b1;
}
}


nav.mw-portlet.emptyPortlet {
.wgl-theme-dark .mw-rcfilters-ui-tagItemWidget.oo-ui-flaggedElement-muted.oo-ui-tagItemWidget.oo-ui-widget-enabled .oo-ui-labelElement-label {
display: none;
    color: #9dafc4;
}
}


/* Uncomment this to unhide the "Navigation" header of the first sidebar box */
.wgl-theme-dark .mw-rcfilters-ui-itemMenuOptionWidget-label-title {
/* #p-logo + .mw-portlet .vector-menu-heading {
     color: #c8cbcf;
     display: block;
}
} */


/*#mw-panel nav.vector-menu-portal.collapsed .vector-menu-content {
.wgl-theme-dark .mw-rcfilters-ui-itemMenuOptionWidget:not(:last-child):not(.mw-rcfilters-ui-itemMenuOptionWidget-identifier-talk) {
     display: none;
     border-bottom: 1px solid #505154;
}*/
}


/* Style the personal links */
.wgl-theme-dark .mw-rcfilters-ui-itemMenuOptionWidget-view-namespaces {
#p-personal {
     border-top: 4px solid #505154;
     right: 10px;
    top: 5px;
    margin-right: 0;
    margin-left: 10px;
}
}


#p-personal a {
.wgl-theme-dark .mw-rcfilters-ui-filterMenuHeaderWidget-header {
     color: white;
     border-bottom: 1px solid #76797d;
    background-color: #4e4f50;
}
}


.mw-echo-alert {
.wgl-theme-dark .mw-rcfilters-ui-filterMenuHeaderWidget-title {
     background-color: #8e721c;
     color: #ffffff;
    border: 1px solid #fff;
    border-radius: 4px;
    font-weight: bold;
}
}


#p-personal .vector-menu-content-list {
.wgl-theme-dark .mw-rcfilters-ui-filterMenuOptionWidget.oo-ui-flaggedElement-muted:not(.oo-ui-optionWidget-selected) {
padding: 1px 0.5em 1px 0;
    background-color: #292929;
}
}


.vector-user-menu-legacy li {
.wgl-theme-dark .mw-rcfilters-ui-filterMenuSectionOptionWidget {
     padding-top: 0.3em;
     background-color: #6e6e6f;
    padding-bottom: 0.3em;
}
}


#p-personal .oo-ui-icon-bell, #p-personal .mw-ui-icon-bell::before,
.wgl-theme-dark .mw-rcfilters-ui-filterMenuSectionOptionWidget-header-title.oo-ui-labelElement-label {
#p-personal .oo-ui-icon-tray, #p-personal .mw-ui-icon-tray::before {
     color: #dedede;
     filter: invert(1);
}
}
.vector-user-menu-legacy #pt-anonuserpage,
 
.vector-user-menu-legacy #pt-tmpuserpage,
.wgl-theme-dark .mw-rcfilters-ui-itemMenuOptionWidget-label-desc {
.vector-user-menu-legacy #pt-userpage a {
     color: #a1a8ae;
     filter: invert(1);
    padding-top: 0;
    background-size: 14px;
    background-position: unset;
}
}


.vector-user-menu-legacy #pt-anonuserpage span,
.wgl-theme-dark .mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-title {
.vector-user-menu-legacy #pt-tmpuserpage span {
     color: #e2e6e9;
     color: lightgrey;
    filter: invert(1);
}
}


.vector-user-menu-legacy #pt-userpage a span {
    color: white;
    filter: invert(1);
}


.skin-vector-legacy #p-personal #pt-notifications-notice,
/* Links */
.skin-vector-legacy #p-personal #pt-notifications-alert {
body.wgl-theme-dark .mw-collapsible-text,
margin-right: 0;
:where(body.wgl-theme-dark) .toctogglelabel,
:where(body.wgl-theme-dark) .jslink,
:where(body.wgl-theme-dark) .vector-menu-dropdown .mw-list-item a,
:where(body.wgl-theme-dark) .mw-body a.external,
:where(body.wgl-theme-dark) .mw-body a.extiw,
:where(body.wgl-theme-dark) a {
color: #0097ff;
}
}
 
:where(body.wgl-theme-dark) .ext-discussiontools-init-replylink-reply:visited,
.skin-vector-legacy #pt-notifications-notice .mw-echo-notifications-badge,
:where(body.wgl-theme-dark) .ext-discussiontools-init-section-subscribe-link:visited,
.skin-vector-legacy #pt-notifications-alert .mw-echo-notifications-badge {
:where(body.wgl-theme-dark) .mw-body a.external:visited,
    top: 0;
:where(body.wgl-theme-dark) .mw-body a.extiw:visited,
    width: 14px;
:where(body.wgl-theme-dark) a:visited {
    height: 14px;
color: #9495f4;
    background-size: 14px 14px;
    margin-right: 8px;
}
}
 
:where(body.wgl-theme-dark) a.new,
.skin-vector-legacy #pt-notifications-notice .mw-echo-notifications-badge.mw-echo-notifications-badge-all-read,
:where(body.wgl-theme-dark) a.mw-usertoollinks-contribs-no-edits {
.skin-vector-legacy #pt-notifications-alert .mw-echo-notifications-badge.mw-echo-notifications-badge-all-read {
color: #ffa4a4;
    margin-right: 2px;
}
:where(body.wgl-theme-dark) a.new:visited,
:where(body.wgl-theme-dark) a.mw-usertoollinks-contribs-no-edits:visited {
color: #fb7a7a;
}
:where(body.wgl-theme-dark) .mw-body a.external:hover,
:where(body.wgl-theme-dark) .mw-body a.extiw:hover,
:where(body.wgl-theme-dark) a:hover {
color: #7e8eff;
}
:where(body.wgl-theme-dark) a.new:hover,
:where(body.wgl-theme-dark) a.mw-usertoollinks-contribs-no-edits:hover {
color: #ff8484;
}
}
 
:where(body.wgl-theme-dark) .mw-body a.external:active,
.skin-vector-legacy #pt-notifications-notice .mw-echo-notifications-badge:after,
:where(body.wgl-theme-dark) .mw-body a.extiw:active,
.skin-vector-legacy #pt-notifications-alert .mw-echo-notifications-badge:after {
:where(body.wgl-theme-dark) a.new:active,
    top: 4px;
:where(body.wgl-theme-dark) a.mw-usertoollinks-contribs-no-edits:active,
    filter: invert(1);
:where(body.wgl-theme-dark) a:active {
color: #faa700;
}
}
 
/* [[File:Link-external-small-ltr-progressive.svg]] */
/* Style the simple search */
:where(body.wgl-theme-dark) .mw-parser-output a.external {
#p-search {
background-image: url('filepath:///resources/assets/mc/Link-external-small-ltr-progressive.svg');
margin-left: 0;
}
}


#p-search form {
:where(body.wgl-theme-dark) .ext-discussiontools-init-replylink-buttons.ext-discussiontools-init-replylink-active > .ext-discussiontools-init-replylink-reply,
position: relative;
body a.mw-selflink:hover {
margin-top: 6px;
color: inherit;
padding: 0 4px 0 5px;
height: 27px;
}
}


#simpleSearch {
/* tables */
top: -3px;
body.wgl-theme-dark .mw-datatable,
border: 0;
body.wgl-theme-dark table.mw_metadata,
border-top: 3px solid var(--simplesearch-top-border-color);
body.wgl-theme-dark .wikitable,
border-left: 3px solid var(--simplesearch-left-border-color);
body.wgl-theme-dark table.mw-abuselog-details,
background-color: #D0CFCF;
body.wgl-theme-dark table.mw-interwikitable.body td.mw-interwikitable-local-yes {
background-image: -webkit-linear-gradient(#C3C3C3, #DBDBDB);
color: inherit;
background-image: linear-gradient(#C3C3C3, #DBDBDB);
-webkit-transition: none !important;
-moz-transition: none !important;
transition: none !important;
}
}
 
body.wgl-theme-dark .mw-datatable,
#simpleSearch:before {
body.wgl-theme-dark table.mw_metadata,
content: "";
body.wgl-theme-dark .mw-datatable th,
position: absolute;
body.wgl-theme-dark table.mw_metadata th,
bottom: 0;
body.wgl-theme-dark .mw-datatable td,
left: -3px;
body.wgl-theme-dark table.mw_metadata td,
border-top: 3px solid var(--simplesearch-left-border-color);
body.wgl-theme-dark .wikitable,
border-left: 3px solid var(--content-border-top-color);
body.wgl-theme-dark .wikitable > tr > th,
z-index: 1;
body.wgl-theme-dark .wikitable > tr > td,
body.wgl-theme-dark .wikitable > * > tr > th,
body.wgl-theme-dark .wikitable > * > tr > td,
body.wgl-theme-dark table.mw-abuselog-details,
body.wgl-theme-dark table.mw-abuselog-details td,
body.wgl-theme-dark table.mw-abuselog-details th {
border-color: #444;
}
}


#simpleSearch:after {
body.wgl-theme-dark table.mw-abuselog-details th,
content: "";
body.wgl-theme-dark .mw-datatable th,
position: absolute;
body.wgl-theme-dark table.mw_metadata th,
top: -3px;
body.wgl-theme-dark .wikitable > tr > th,
right: 0;
body.wgl-theme-dark .wikitable > * > tr > th {
border-top: 3px solid var(--simplesearch-topright-grass-color);
background-color: #222;
border-left: 3px solid var(--simplesearch-top-border-color);
}
}
 
body.wgl-theme-dark table.mw-abuselog-details,
/* Remove border of search bar */
body.wgl-theme-dark .mw-datatable,
#simpleSearch .vector-search-box-input {
body.wgl-theme-dark table.mw_metadata,
    border: none;
body.wgl-theme-dark .mw-datatable td,
    border-radius: 0;
body.wgl-theme-dark table.mw_metadata td,
    outline: none;
body.wgl-theme-dark .wikitable {
    box-shadow: none;
background-color: #2f2f2f;
    height: 27px;
}
}
 
body.wgl-theme-dark #mw-allmessagestable tbody:hover td,
.vector-search-box-input::placeholder {
body.wgl-theme-dark .mw-datatable tr:hover td {
color: var(--searchinput-placeholder-color);
background-color: #222;
}
}
 
/* [[File:Sort_both.svg]], [[File:Sort_down.svg]], [[File:Sort_up.svg]] */
/* Style the simple search */
body.wgl-theme-dark .client-js .sortable:not(.jquery-tablesorter) > * > tr:first-child > th:not(.unsortable),
#p-search {
body.wgl-theme-dark .jquery-tablesorter th.headerSort {
margin-left: 0;
background-image: url('filepath://Sort_both.svg');
width: unset;
}
min-width: unset;
body.wgl-theme-dark .jquery-tablesorter th.headerSortDown {
background-image: url('filepath://Sort_down.svg');
}
body.wgl-theme-dark .jquery-tablesorter th.headerSortUp {
background-image: url('filepath://Sort_up.svg');
}
}


#p-search #searchform {
body.wgl-theme-dark .mw-json tr,
position: relative;
body.wgl-theme-dark .mw-json td {
margin-top: 6px;
  background-color: var(--content-background-color);
padding: 0 4px 0 5px;
}
}


/* Unstyle codex search */
body.wgl-theme-dark td.mw-json-value,
#p-search #searchform .cdx-text-input__input,
body.wgl-theme-dark td.mw-json-single-value {
#p-search #searchform .cdx-search-input,
  background-color: var(--ooui-enabled);
#p-search #searchform {
background: none;
display: block;
    border: none;
    border-radius: 0;
    outline: none;
    box-shadow: none;
    height: 27px;
}
}


/* Keep old vector default styles */
body.wgl-theme-dark .mw-json th {
#p-search #searchform .cdx-search-input__input-wrapper {
  background-color: #26282d;
    height: 100%;
    min-width: 6.5em;
    width: 20vw;
    max-width: 26em;
    margin: 0;
}
}


#p-search #searchform .cdx-search-input__input-wrapper {
/* Code, Pre */
position: relative;
@media screen {
top: -3px;
body.wgl-theme-dark pre,
border: 0;
body.wgl-theme-dark code,
border-top: 3px solid var(--simplesearch-top-border-color);
body.wgl-theme-dark .mw-code {
border-left: 3px solid var(--simplesearch-left-border-color);
background-color: #444444;
background-color: #D0CFCF;
color: #fff;
background-image: -webkit-linear-gradient(#C3C3C3, #DBDBDB);
border: 1px solid #6f6f6f;
background-image: linear-gradient(#C3C3C3, #DBDBDB);
}
-webkit-transition: none !important;
-moz-transition: none !important;
transition: none !important;
}
}


#p-search #searchform .cdx-search-input__input-wrapper:before {
body.wgl-theme-dark .mw-content-ltr.mw-highlight-lines pre,
content: "";
body.wgl-theme-dark .mw-content-ltr.content .mw-highlight-lines pre {
position: absolute;
    box-shadow: none;
bottom: 0;
left: -3px;
border-top: 3px solid var(--simplesearch-left-border-color);
border-left: 3px solid var(--content-border-top-color);
z-index: 1;
}
}


#p-search #searchform .cdx-search-input__input-wrapper:after {
/* Miscellaneous */
content: "";
body.wgl-theme-dark .notaninfobox,
position: absolute;
body.wgl-theme-dark .gallerybox .thumb,
top: -3px;
body.wgl-theme-dark .thumbimage,
right: 0;
body.wgl-theme-dark figure[typeof~='mw:File/Thumb'],
border-top: 3px solid var(--simplesearch-topright-grass-color);
body.wgl-theme-dark figure[typeof~='mw:File/Thumb'] > figcaption,
border-left: 3px solid var(--simplesearch-top-border-color);
body.wgl-theme-dark figure[typeof~='mw:File/Frame'],
}
body.wgl-theme-dark figure[typeof~='mw:File/Frame'] > figcaption,
 
body.wgl-theme-dark .thumbinner,
#p-search #searchform .cdx-text-input__input {
body.wgl-theme-dark .ve-ce-mwBlockImageNode-type-thumb, /* thumb images in visual editor */
    background-color: rgba(255, 255, 255, 0.5);
body.wgl-theme-dark .ve-ce-mwBlockImageNode-type-thumb > figcaption,
    color: #000;
body.wgl-theme-dark #catlinks,
    min-height: unset;
body.wgl-theme-dark #toc,
    padding: 5px 2.15384615em 5px 0.4em;
body.wgl-theme-dark .toc,
body.wgl-theme-dark .toccolours,
body.wgl-theme-dark .mw-warning,
body.wgl-theme-dark .navpopup,
body.wgl-theme-dark .ref-tooltip-text,
body.wgl-theme-dark #filetoc,
body.wgl-theme-dark .directorstable {
background-color: #282828;
border-color: #444;
}
 
body.wgl-theme-dark .mwe-popups,
body.wgl-theme-dark .mwe-popups-container,
body.wgl-theme-dark .mwe-popups .mwe-popups-extract {
color: #fff;
background-color: #282828;
}
 
body.wgl-theme-dark .mwe-popups .mwe-popups-extract[dir='ltr']:after {
display: none;
}
}


#p-search #searchform .cdx-text-input__input::placeholder {
body.wgl-theme-dark #mw-content-text .hlist li:not(:last-child)::after {
color: var(--searchinput-placeholder-color);
background-color: #fff;
}
}


#p-search #searchform .cdx-search-input__end-button {
body.wgl-theme-dark .tocnumber {
display: block;
color: #E0E0EC;
    position: absolute;
    top: 1px;
    bottom: 1px;
    right: 1px;
    min-width: 28px;
    width: 2.15384615em;
    border: 0;
    padding: 0;
    cursor: pointer;
    direction: ltr;
    text-indent: -99999px;
    white-space: nowrap;
    overflow: hidden;
    z-index: 1;
    background: no-repeat center / 1.23076923em url(/skins/Vector/resources/skins.vector.styles.legacy/images/search.svg?ac00d);
    opacity: 0.67;
    margin: 0;
    min-height: unset;
}
}


#p-search #searchform > .cdx-search-input__end-button {
body.wgl-theme-dark #pagehistory li.selected {
right: 5px;
background-color: #444;
color: #e6e6e6;
}
}


/* The suggestions shown under the search bar */
body.wgl-theme-dark #pagehistory .updatedmarker {
#p-search #searchform .cdx-menu {
  background-color: #608000;
background-color: #DBDADA;
  color: white;
    border-color: #3C3B3B;
    box-shadow: none;
}
}


#p-search #searchform .cdx-menu--has-footer .cdx-menu-item:last-of-type:not(:first-of-type) {
/* smw cache warning on category pages */
    border-color: #3C3B3B;
body.wgl-theme-dark .smw-callout-warning {
  background-color: hsl(60,25%,8%);
  border-left-color: hsl(60,15%,36%);
}
}


#p-search #searchform .cdx-menu-item--highlighted {
/* error message box in Special:BatchUpload */
background-color: #0078D7;
body.wgl-theme-dark .fileupload-results .ful-error {
background-color: maroon;
}
}


#p-search #searchform .cdx-menu-item--highlighted .cdx-typeahead-search__search-footer__icon,
/* Syntax highlight, CodeEditor */
#p-search #searchform .cdx-menu-item--highlighted .cdx-menu-item__text__supporting-text,
/* https://github.com/pygments/pygments/blob/master/pygments/token.py#L123 */
#p-search #searchform .cdx-menu-item--highlighted .cdx-menu-item__text__description,
body.wgl-theme-dark .ace-tm .ace_cursor,
#p-search #searchform .cdx-menu-item--highlighted .cdx-menu-item__content,
body.wgl-theme-dark .ace-tm .ace_support.ace_function {
#p-search #searchform .cdx-menu-item--highlighted {
color: #fff;
color: #fff;
}
}
 
body.wgl-theme-dark .ace-tm,
#p-search #searchform .cdx-thumbnail__placeholder,
body.wgl-theme-dark .ace-tm .ace_gutter,
#p-search #searchform .cdx-thumbnail__image {
body.wgl-theme-dark .codeEditor-status,
background-color: #f8f9fa;
body.wgl-theme-dark .mw-highlight pre {
background-color: #282828;
color: #fff;
}
}


/* Fix placeholder text being too light in chrome */
body.wgl-theme-dark .ace-tm .ace_gutter {
::-webkit-input-placeholder {
border-right: 1px solid #232324;
color: inherit;
opacity: 0.54;
}
}


/* The suggestions shown under the search bar */
body.wgl-theme-dark .ace-tm .ace_comment,
.suggestions.searchbar {
body.wgl-theme-dark .mw-highlight .c, /* comment */
margin-right: -1px;
body.wgl-theme-dark .mw-highlight .c1, /* single comment */
body.wgl-theme-dark .mw-highlight .cm { /* multiline comment */
color: #afafaf;
}
}
 
body.wgl-theme-dark .ace-tm .ace_keyword.ace_operator,
.suggestions.searchbar > .suggestions-results,
body.wgl-theme-dark .mw-highlight .o { /* operator */
.suggestions.searchbar > .mw-searchSuggest-link {
color: #a9a9a9;
display: block;
margin-left: 1px;
}
}
 
body.wgl-theme-dark .mw-highlight .cp { /* preproc */
.suggestions.searchbar .suggestions-results,
color: #ea9800;
.suggestions.searchbar .suggestions-special,
.suggestions .suggestions-results,
.suggestions .suggestions-special {
background-color: #DBDADA !important;
border-color: #3C3B3B !important;
}
}
 
body.wgl-theme-dark .ace-tm .ace_storage,
.suggestions.searchbar .suggestions-result-current,
body.wgl-theme-dark .ace-tm .ace_keyword,
.suggestions .suggestions-result-current {
body.wgl-theme-dark .ace-tm .ace_constant,
background-color: #0078D7 !important;
body.wgl-theme-dark .ace-tm .ace_constant.ace_language,
body.wgl-theme-dark .ace-tm .ace_support.ace_type,
body.wgl-theme-dark .mw-highlight .bp, /* pseudo buildin */
body.wgl-theme-dark .mw-highlight .nt, /* tag name */
body.wgl-theme-dark .mw-highlight .k, /* keyword */
body.wgl-theme-dark .mw-highlight .kr, /* reserved keyword */
body.wgl-theme-dark .mw-highlight .kd, /* declaration keyword */
body.wgl-theme-dark .mw-highlight .kp, /* pseudo keyword */
body.wgl-theme-dark .mw-highlight .kc { /* constant keyword */
color: #00cf00;
}
body.wgl-theme-dark .mw-highlight .kt { /* type keyword */
color: #ff90b8;
}
}
 
body.wgl-theme-dark .mw-highlight .nb { /* buildin name */
/* Give the main content area its healthy blue glow and add a border */
color: #01cd01;
.mw-body, .parsoid-body,
div#content {
position: relative;
background-color: var(--content-background-color);
border-top: 6px solid var(--content-border-top-color);
border-bottom: 0;
border-left: 6px solid #171717;
word-wrap: break-word;
}
}
 
body.wgl-theme-dark .ace-tm .ace_variable,
.oo-ui-windowManager-modal > .oo-ui-dialog > .oo-ui-window-frame {
body.wgl-theme-dark .mw-highlight .nc { /* class name */
background-color: var(--content-background-color);
color: #8bb2ff;
}
}
 
body.wgl-theme-dark .mw-highlight .nd { /* decorator name */
/* Add the 3D corners to the main content */
color: #d592ff;
#mw-page-base::after {
content: "";
position: absolute;
border-top: 6px solid var(--content-border-top-right-color);
border-left: 6px solid var(--content-border-top-color);
z-index: 1;
top: 84px;
right: 10px;
}
}
 
body.wgl-theme-dark .mw-highlight .nf { /* function name */
#content:after {
color: #AAAAFF;
content: "";
position: absolute;
border-top: 6px solid transparent;
border-left: 6px solid var(--base-background-color);
    left: -6px;
    bottom: 0;
}
}
 
body.wgl-theme-dark .mw-highlight .nn { /* namespace name */
#footer {
color: #a0a0ff;
    outline: 2px black solid;
    border-width: 4px;
    outline-offset: -2px;
    margin-left: calc(10em + 4px);
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 0.5em 0.75em;
}
}
 
body.wgl-theme-dark .mw-highlight .nv { /* variable name */
#footer:after {
color: #9cdcfe;
    content: '';
    clear: both;
    display: block;
}
}
 
body.wgl-theme-dark .mw-highlight .w { /* whitespace */
@media screen and (min-width: 982px) {
color: #bbbbbb;
/* Position the footer */
#footer {
    margin-left: calc(11em + 4px);
}
}
}
 
body.wgl-theme-dark .mw-highlight .mi, /* integer number */
/* Fix positioning for small screens when the sidebar moves below the content */
body.wgl-theme-dark .mw-highlight .mf { /* float number */
@media screen and (max-width: 720px) {
color: #b2b2b2;
/* Add some margin to help with the 3D effect */
}
#left-navigation,
body.wgl-theme-dark .ace-tm .ace_constant.ace_numeric,
#content {
body.wgl-theme-dark .mw-highlight .mh { /* hex number */
margin-left: 10px;
color: #a9a9a9;
}
}
#footer {
body.wgl-theme-dark .ace-tm .ace_string,
margin-left: 8px;
body.wgl-theme-dark .mw-highlight .s, /* string */
}
body.wgl-theme-dark .mw-highlight .s1, /* single string */
#footer:before {
body.wgl-theme-dark .mw-highlight .s2 { /* double string */
    content: none;
color: #ff8b8b;
}
}
/* Position the tabs */
body.wgl-theme-dark .mw-highlight .ow { /* operator word */
#left-navigation,
color: #bc52ff;
#right-navigation {
}
margin-top: 40px;
body.wgl-theme-dark .mw-highlight .hll { /* highlighted line */
}
background-color: #330;
/* Position the personal links */
}
#p-personal {
body.wgl-theme-dark .mw-highlight a:hover .linenos, /* hovered line number */
    top: -8px;
body.wgl-theme-dark .mw-highlight .hll a .linenos { /* highlighted line number */
}
color: #ccc;
/* Position the sidebar sections */
div#mw-navigation div#mw-panel {
display: flex;
flex-wrap: wrap;
justify-content: space-evenly;
width: 100%;
}
.vector-legacy-sidebar .vector-menu-portal {
width: 142px;
flex-shrink: 0;
display: var(--sidebar-display, flex);
    flex-direction: column;
}
.vector-legacy-sidebar .vector-menu-portal .vector-menu-content {
flex-grow: 1;
display: block !important;
}
#mw-panel nav.vector-menu-portal.collapsed h3:before {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
}
}
}
 
/* Code editor highlight */
.mw-dismissable-notice-close .dismiss-icon svg {
body.wgl-theme-dark .ace_marker-layer .ace_selected-word {
fill: var(--content-text-color);
background: #333;
border-color: #666;
}
}
 
body.wgl-theme-dark .ace-tm .ace_marker-layer .ace_selection {
/* Use black bullet points, instead of blue circles: [[File:List bullet.svg]] */
background: #246;
ul {
list-style-image: var(--list-bullet);
}
}
 
/* Diff overview */
/* Various styling for message boxes, based on colours/styling from [[Template:Msgbox]] */
body.wgl-theme-dark td.diff-context {
div.mw-warning-with-logexcerpt,
background-color: #232324;
.errorbox,
border-color: #313233;
.warningbox,
color: #BFBFBF;
.successbox {
    padding: .4em .8em;
    margin-bottom: 1em;
    border: 1px solid #CCC;
}
}
 
body.wgl-theme-dark td.diff-addedline {
div.mw-warning-with-logexcerpt,
background-color: #494a4b;
.errorbox {
border-color: #686869;
    background: #FDD;
border-left-color: #005e20;
    border-left: 4px solid #FAA;
color: #fff;
}
}
 
body.wgl-theme-dark td.diff-deletedline {
.warningbox {
background-color: #494a4b;
    background: #FFC;
border-color: #686869;
    border-left: 4px solid #DD8;
border-left-color: #9f0000;
color: #fff;
}
}
 
body.wgl-theme-dark .diff-addedline .diffchange {
.successbox {
background-color: #005e20;
    background: #DFD;
    border-left: 4px solid #9C9;
}
}


.successbox strong p {
body.wgl-theme-dark .diff-deletedline .diffchange {
    margin: 0;
background-color: #9f0000;
}
}


/* Add white background to some areas */
/* Revision slider */
#asirra_ChallengeTableDiv {
body.wgl-theme-dark .mw-revslider-pointer-line .mw-revslider-lower-color {
background-color: #FFF;
border-color: #ffa1a1;
}
}
 
body.wgl-theme-dark .mw-revslider-pointer-line .mw-revslider-upper-color {
/* Fix diff area styling */
border-color: #00e04c;
table.diff {
}
background-color: transparent;
body.wgl-theme-dark .mw-revslider-pointer-container-older .mw-revslider-slider-line {
border-color: rgba(255, 161, 161, 0.5)
}
body.wgl-theme-dark .mw-revslider-pointer-container-older:hover .mw-revslider-slider-line {
border-color: rgba(255, 161, 161, 0.8)
}
}
 
body.wgl-theme-dark .mw-revslider-pointer-container-newer .mw-revslider-slider-line {
td.diff-addedline,
border-color: rgba(0, 224, 76, 0.5)
td.diff-deletedline {
background-color: #F9F9F9;
}
}
 
body.wgl-theme-dark .mw-revslider-pointer-container-newer:hover .mw-revslider-slider-line {
td.diff-context {
border-color: rgba(0, 224, 76, 0.8)
background-color: #F3F3F3;
}
}
 
body.wgl-theme-dark .mw-revslider-pointer.mw-revslider-pointer-newer {
td.diff-addedline,
border-color: #00e04c;
td.diff-deletedline,
background-color: #00e04c;
td.diff-context,
background-image: linear-gradient(to bottom,#76ffa5 0,#00e04c 100%);
td.diff-addedline .diffchange,
td.diff-deletedline .diffchange {
border-radius: 0;
}
}
 
body.wgl-theme-dark .mw-revslider-pointer.mw-revslider-pointer-older {
/* Fix side-by-side editor background colour */
border-color: #ffa1a1;
.wikiEditor-ui-controls {
background-color: #ffa1a1;
background-color: #E6EFF4;
background-image: linear-gradient(to bottom,#ffdada 0,#ffa1a1 100%);
border-right: 1px solid #E6EFF4;
}
}


/* Style notifications to look like achievements: [[File:Achievement background.png]] */
/* CodeMirror */
body .mw-notification-area-layout {
body.wgl-theme-dark .CodeMirror {
top: 80px;
background-color: #1e1e1e;
color: #fff;
}
}


body .mw-notification.mw-notification-type-success,
/* CodeMirror selection */
body .mw-notification.mw-notification-type-error,
.wgl-theme-dark .CodeMirror-line::selection,
body .mw-notification.mw-notification-type-warn,
.wgl-theme-dark .CodeMirror-line > span::selection,
body .mw-notification {
.wgl-theme-dark .CodeMirror-line > span > span::selection {
border: 8px solid #555;
background: #246;
border-radius: 0;
-webkit-border-image: url('filepath://Achievement_background.png') 8 repeat;
-moz-border-image: url('filepath://Achievement_background.png') 8 repeat;
-o-border-image: url('filepath://Achievement_background.png') 8 repeat;
border-image: url('filepath://Achievement_background.png') 8 fill repeat;
box-shadow: none;
background-color: #212121;
background-clip: padding-box;
color: #FFF;
padding: 0.2em 0.4em;
}
}


body .mw-notification.mw-notification-type-success {
/* CodeMirror comments */
    color: #2d6;
body.wgl-theme-dark .cm-mw-comment {
}
color: #afafaf;
body .mw-notification.mw-notification-type-error {
    color: #d33;
}
body .mw-notification.mw-notification-type-warn {
    color: #fc3;
}
}


/* HiDPI images */
/* CodeMirror links */
@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 1.5dppx) {
body.wgl-theme-dark .cm-mw-link-pagename,
body {
body.wgl-theme-dark .cm-mw-link-bracket,
    background-image: var(--header-background-hidpi), var(--base-background-hidpi);
body.wgl-theme-dark .cm-mw-link-delimiter,
}
body.wgl-theme-dark .cm-mw-extlink,
body.wgl-theme-dark .cm-mw-free-extlink,
.mw-wiki-logo {
body.wgl-theme-dark .cm-mw-extlink-protocol,
background-image: var(--wiki-logo-hidpi);
body.wgl-theme-dark .cm-mw-free-extlink-protocol,
background-size: 8.4375em auto; /* 135px */
body.wgl-theme-dark .cm-mw-extlink-bracket {
}
color: #8bb2ff;
nav.vector-menu-tabs ul li,
nav.vector-menu-tabs ul li.selected,
nav.vector-menu-tabs ul li:hover,
nav.vector-menu-tabs ul li:focus,
nav.vector-menu-dropdown,
nav.vector-menu-dropdown:hover,
nav.vector-menu-dropdown:focus {
--ca-background-image: var(--vector-tabs-hidpi);
background-size: 262px auto, auto;
}
nav.vector-menu-tabs ul li:before,
nav.vector-menu-dropdown:before {
background-size: 262px auto;
}
#left-navigation nav.vector-menu-tabs li:first-child:before {
background-image: var(--vector-tabs-first-hidpi);
background-size: 6px auto;
}
}
}


.wikiEditor-ui .oo-ui-toolbar-popups {
/* CodeMirror Parser function */
    right: 0;
body.wgl-theme-dark .cm-mw-parserfunction-name,
body.wgl-theme-dark .cm-mw-parserfunction-bracket,
body.wgl-theme-dark .cm-mw-parserfunction-delimiter {
color: #ffa0a0;
}
}
.wikiEditor-ui .ve-init-mw-switchPopupWidget,
 
.wikiEditor-ui .oo-ui-popupToolGroup-tools {
/* CodeMirror table color */
    right: 0 !important;
body.wgl-theme-dark .cm-mw-table-bracket,
    left: unset !important;
body.wgl-theme-dark .cm-mw-table-delimiter,
body.wgl-theme-dark .cm-mw-table-definition {
color: #ff40af;
}
}
.wikiEditor-ui .ve-init-mw-switchPopupWidget .oo-ui-popupWidget-anchor {
 
margin-left: calc(100% - 1.25em);
/* CodeMirror template color */
    left: unset !important;
body.wgl-theme-dark .cm-mw-template,
}
body.wgl-theme-dark .cm-mw-template-name,
.wikiEditor-ui .ext-WikiEditor-realtimepreview-button > a.oo-ui-buttonElement-button {
body.wgl-theme-dark .cm-mw-template-argument-name,
display: flex;
body.wgl-theme-dark .cm-mw-template-delimiter,
align-items: center;
body.wgl-theme-dark .cm-mw-template-bracket {
color: #c44eff;
}
}


body.rootpage-Minecraft_Wiki #firstHeading,
/* CodeMirror template variable variable */
body.rootpage-Movie_Wiki #firstHeading,
body.wgl-theme-dark .cm-mw-templatevariable,
body.rootpage-Dungeons_Wiki #firstHeading,
body.wgl-theme-dark .cm-mw-templatevariable-bracket,
body.rootpage-Legends_Wiki #firstHeading,
body.wgl-theme-dark .cm-mw-templatevariable-name,
body.rootpage-Story_Mode_Wiki #firstHeading,
body.wgl-theme-dark .cm-mw-templatevariable-delimiter {
body.rootpage-Earth_Wiki #firstHeading {
color: #ffa826;
display: none;
}
}


body.rootpage-Minecraft_Wiki #bodyContent,
/* CodeMirror wikitext formatting */
body.rootpage-Movie_Wiki #bodyContent,
body.wgl-theme-dark .cm-mw-list,
body.rootpage-Dungeons_Wiki #bodyContent,
body.wgl-theme-dark .cm-mw-indenting,
body.rootpage-Legends_Wiki #bodyContent,
body.wgl-theme-dark .cm-mw-doubleUnderscore,
body.rootpage-Story_Mode_Wiki #bodyContent,
body.wgl-theme-dark .cm-mw-signature,
body.rootpage-Earth_Wiki #bodyContent {
body.wgl-theme-dark .cm-mw-hr,
clear: both;
body.wgl-theme-dark .cm-mw-apostrophes-bold,
body.wgl-theme-dark .cm-mw-apostrophes-italic,
body.wgl-theme-dark .cm-mw-link,
body.wgl-theme-dark .cm-mw-link-tosection,
body.wgl-theme-dark .cm-mw-section-header {
color: #57b1ff;
}
}


body.rootpage-Minecraft_Wiki .mw-indicators,
/* CodeMirror xml tag */
body.rootpage-Movie_Wiki .mw-indicators,
body.wgl-theme-dark .cm-mw-mnemonic,
body.rootpage-Dungeons_Wiki .mw-indicators,
body.wgl-theme-dark .cm-mw-exttag-name,
body.rootpage-Legends_Wiki .mw-indicators,
body.wgl-theme-dark .cm-mw-htmltag-name,
body.rootpage-Story_Mode_Wiki .mw-indicators,
body.wgl-theme-dark .cm-mw-exttag-bracket,
body.rootpage-Earth_Wiki .mw-indicators {
body.wgl-theme-dark .cm-mw-exttag-attribute,
height: 0;
body.wgl-theme-dark .cm-mw-htmltag-bracket,
top: -15px;
body.wgl-theme-dark .cm-mw-htmltag-attribute {
color: #00cf00;
}
}


/* [[File:Wiki Discord.svg]] */
/* Tabs */
div#mw-panel nav.portal li a[href="https://discord.gg/fGdE5ZE"] {
body.wgl-theme-dark #p-namespaces a,
    display: inline-block;
body.wgl-theme-dark #p-views a,
    position: relative;
body.wgl-theme-dark #p-sharing span,
    height: 20px;
body.wgl-theme-dark #p-cactions-label span,
    width: 119px;
body.wgl-theme-dark div#mw-head div.vectorMenu h4 {
    margin: 0.25em;
color: #fff;
    max-width: 100%;
}
}
div#mw-panel nav.portal li a[href="https://discord.gg/fGdE5ZE"]::before {
 
    position: absolute;
body.wgl-theme-dark #p-namespaces .new a,
    width: 100%;
body.wgl-theme-dark #p-views .new a {
    height: 100%;
color: #ffa4a4;
    top: 0;
    left: -0.25em;
    content: "";
    background: url('filepath://Wiki_Discord.svg') no-repeat;
    background-size: contain;
}
}


#n-in-Minecraft,
/* Invert dark icons */
#n-in-Dungeons,
body.wgl-theme-dark .magnify a,
#n-in-Earth,
body.wgl-theme-dark .ve-ce-mwBlockImageNode-type-thumb > a::after, /* visual editor thumbnail magnify */
#n-in-Legends,
body.wgl-theme-dark .mwe-popups-settings-icon,
#n-in-Story-Mode,
body.wgl-theme-dark .vector-menu-dropdown .vector-menu-heading:after,
#n-in-Tutorial,
body.wgl-theme-dark #footer-icons,
#n-in-Movie,
body.wgl-theme-dark .mw-icon-arrow-collapsed :not(p),
#p-Recent_versions li {
body.wgl-theme-dark .mw-collapsible-arrow.mw-collapsible-toggle-collapsed,
margin-left: 10px;
body.wgl-theme-dark .mw-mmv-filepage-buttons .mw-ui-icon:before,
display: var(--sidebar-display, list-item);
body.wgl-theme-dark .redirectText li:first-child, /* redirect icon; inverts the text next to the icon as well */
body.wgl-theme-dark .redirectText li:first-child > a, /* invert text next to the redirect icon back */
body.wgl-theme-dark .darkmode-invert {
filter: invert(1);
}
}


.ns-0 #n-randompage, .ns-1 #n-randompage,
/* OOUI buttons */
.ns-10000 #n-randompage, .ns-10001 #n-randompage,
:root body.wgl-theme-dark {
.ns-10002 #n-randompage, .ns-10003 #n-randompage,
--ooui-color: #fff;
.ns-10004 #n-randompage, .ns-10005 #n-randompage,
--ooui-progressive: #6f9fff;
.ns-10006 #n-randompage, .ns-10007 #n-randompage,
--ooui-progressive-hover: #447ff5;
.ns-10010 #n-randompage, .ns-10011 #n-randompage,
--ooui-destructive: #ff6767;
.ns-10012 #n-randompage, .ns-10013 #n-randompage,
--ooui-destructive-hover: #ff4242;
#p-Recent_versions #n-Bedrock-Edition,
--ooui-enabled: #373f50;
#p-Recent_versions #n-Java-Edition {
--ooui-enabled-hover: #4f596d;
margin-left: 0;
--ooui-border: #5a5d64;
font-weight: bold;
--ooui-border-disabled: #494c52;
--ooui-disabled: #191d25;
--ooui-text-disabled: #72777d;
}
}
 
/* overwriting styles from here:
body.rootpage-Minecraft_Wiki #n-randompage {
* https://gerrit.wikimedia.org/r/plugins/gitiles/oojs/ui/+/refs/heads/master/src/styles/elements/ButtonElement.less
font-weight: normal;
* https://gerrit.wikimedia.org/r/plugins/gitiles/oojs/ui/+/refs/heads/master/src/themes/wikimediaui/elements.less */
body.wgl-theme-dark .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button {
color: var(--ooui-color);
}
}
 
body.wgl-theme-dark .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover {
body.rootpage-Minecraft_Wiki #n-in-Minecraft,
background-color: unset;
#n-in-Minecraft {
color: #d9d9d9;
--sidebar-display: none;
}
}
.ns-0 #n-in-Minecraft,
body.wgl-theme-dark .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button:focus {
.ns-1 #n-in-Minecraft,
border-color: var(--ooui-border);
#p-Recent_versions,
box-shadow: var(--ooui-border);
#p-useful-pages {
--sidebar-display: var(--sidebar-display-minecraft);
}
}
 
body.wgl-theme-dark .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-buttonElement-pressed > input.oo-ui-buttonElement-button,
#n-in-Dungeons,
body.wgl-theme-dark .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button:active {
#p-useful-pages-dungeons {
background-color: unset;
--sidebar-display: var(--sidebar-display-dungeons);
color: var(--ooui-color);
border-color: var(--ooui-border);
}
}
 
body.wgl-theme-dark .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button {
#n-in-Earth,
color: var(--ooui-progressive);
#p-useful-pages-earth {
--sidebar-display: var(--sidebar-display-earth);
}
}
 
body.wgl-theme-dark .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover {
#n-in-Legends,
color: var(--ooui-progressive-hover);
#p-useful-pages-legends {
--sidebar-display: var(--sidebar-display-legends);
}
}
 
body.wgl-theme-dark .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:active,
#n-in-Story-Mode,
body.wgl-theme-dark .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive.oo-ui-buttonElement-pressed > .oo-ui-buttonElement-button {
#p-useful-pages-story-mode {
color: var(--ooui-progressive);
--sidebar-display: var(--sidebar-display-story-mode);
border-color: var(--ooui-progressive);
}
}
 
body.wgl-theme-dark .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button {
#n-in-Tutorial,
color: var(--ooui-destructive);
#p-useful-pages-tutorial {
--sidebar-display: var(--sidebar-display-tutorial);
}
}
 
body.wgl-theme-dark .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button:hover {
#n-in-Movie,
color: var(--ooui-destructive-hover);
#p-useful-pages-movie {
--sidebar-display: var(--sidebar-display-movie);
}
}
 
body.wgl-theme-dark .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button:active,
/* Hide mobile-only things */
body.wgl-theme-dark .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive.oo-ui-buttonElement-pressed > .oo-ui-buttonElement-button {
.mobileonly {
color: var(--ooui-destructive);
display: none;
border-color: var(--ooui-destructive);
}
}
 
body.wgl-theme-dark .oo-ui-buttonElement-frameless.oo-ui-widget-disabled > .oo-ui-buttonElement-button {
 
color: var(--ooui-text-disabled);
 
/**********
Add WikiEditor parity with VisualEditor
And fixes for dark theme, VisualEditor and CodeEditor
**********/
 
/* Space that the whole editor takes */
.wikiEditor-ui .wikiEditor-ui-view {
margin-left: -1.7em;
margin-right: -1.7em;
border: 0;
}
}
.client-js #editform > .wikiEditor-ui .wikiEditor-ui-view {
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-disabled > .oo-ui-buttonElement-button {
margin-left: 0;
background: var(--ooui-disabled);
margin-right: 0;
color: var(--ooui-text-disabled);
border-color: var(--ooui-border-disabled);
}
}
.client-js #editform {
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button {
margin-left: -1.7em;
background: var(--ooui-enabled);
margin-right: -1.7em;
color: var(--ooui-color);
border-color: var(--ooui-border);
box-shadow: var(--ooui-color);
}
}
 
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover,
/* Removes border from the toolbar */
body.wgl-theme-dark .oo-ui-popupToolGroup.oo-ui-widget-enabled > .oo-ui-popupToolGroup-handle:hover {
.wikiEditor-ui .wikiEditor-ui-top {
background: var(--ooui-enabled-hover);
border-bottom: 0;
color: var(--ooui-color);
border-color: var(--ooui-border);
}
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:focus {
border-color: var(--ooui-border);
box-shadow: var(--ooui-color), var(--ooui-color);
}
}
 
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-buttonElement-active > .oo-ui-buttonElement-button {
/* Changes colors of the WikiEditor and VisualEditor toolbars */
background: var(--ooui-enabled-hover);
.wikiEditor-ui-toolbar,
color: var(--ooui-color);
.oo-ui-toolbar-bar,
border-color: var(--ooui-border);
.wikiEditor-ui-toolbar .sections .section,
.ve-init-mw-desktopArticleTarget-toolbarPlaceholder-floating .ve-init-mw-desktopArticleTarget-toolbarPlaceholder-bar {
    background-color: #dddddd;
    color: #202122;
    box-shadow: 0px 3px 7px 0px rgba(163,159,159,0.15);
    border-top: 1px solid #cbcbcb;
    border-bottom: 1px solid #cbcbcb;
}
}
 
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-buttonElement-active > .oo-ui-buttonElement-button:focus {
.wikiEditor-ui-toolbar .sections .section .section-advanced .section-visible {
border-color: var(--ooui-border);
border-bottom: 0;
box-shadow: var(--ooui-color), var(--ooui-color);
}
}
 
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:active,
.oo-ui-toolbar-bar .oo-ui-toolbar-actions .oo-ui-toolbar .oo-ui-toolbar-bar {
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-buttonElement-pressed > .oo-ui-buttonElement-button {
border-bottom: 0;
background: var(--ooui-enabled);
box-shadow: none;
color: var(--ooui-color);
border-color: var(--ooui-border);
}
}
 
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button {
/* Changes buttons of WikiEditor to match VisualEditor's behavior */
color: var(--ooui-progressive);
.wikiEditor-ui-toolbar .oo-ui-buttonElement-frameless.oo-ui-iconElement > .oo-ui-buttonElement-button > .oo-ui-iconElement-icon {
    left: 10px;
}
}
.wikiEditor-ui-toolbar .oo-ui-buttonElement-frameless.oo-ui-iconElement > .oo-ui-buttonElement-button {
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover {
    min-width: 42px;
color: var(--ooui-progressive-hover);
    min-height: 42px;
background: var(--ooui-enabled);
    text-align: center;
border-color: var(--ooui-progressive-hover);
}
}
.wikiEditor-ui-toolbar .group .tool-select,
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:focus {
.wikiEditor-ui-toolbar .group .tool-select .label:after {
border-color: var(--ooui--button-border-top);
height: 42px;
box-shadow: var(--ooui-color), var(--ooui-color);
}
}
.wikiEditor-ui-toolbar .group .label {
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:active,
    line-height: 39px;
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive.oo-ui-buttonElement-pressed > .oo-ui-buttonElement-button,
color: #202122;
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive.oo-ui-buttonElement-active > .oo-ui-buttonElement-button,
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive.oo-ui-popupToolGroup-active > .oo-ui-buttonElement-button {
background: var(--ooui-enabled);
color: var(--ooui-progressive-hover);
border-color: var(--ooui-progressive-hover);
}
}
.wikiEditor-ui-toolbar .group .tool-select .label {
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button {
    line-height: 42px;
color: var(--ooui-destructive);
    height: 42px;
}
}
.wikiEditor-ui-toolbar .tabs span.tab {
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button:hover {
    line-height: 42px;
color: var(--ooui-destructive-hover);
background: var(--ooui-enabled);
border-color: var(--ooui-destructive-hover);
}
}
.wikiEditor-ui-toolbar .tabs span.tab a:before {
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button:focus {
filter: invert(0);
border-color: var(--ooui-destructive-hover);
height: 42px;
box-shadow: var(--ooui-destructive-hover), var(--ooui-destructive-hover);
left: 6px;
}
}
.wikiEditor-ui-toolbar .tabs span.tab a {
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button:active,
height: 42px;
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive.oo-ui-buttonElement-pressed > .oo-ui-buttonElement-button,
color: #202122;
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive.oo-ui-buttonElement-active > .oo-ui-buttonElement-button,
padding-left: 22px;
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive.oo-ui-popupToolGroup-active > .oo-ui-buttonElement-button {
background: var(--ooui-enabled);
color: var(--ooui-destructive-hover);
border-color: var(--ooui-destructive-hover);
}
}
.wikiEditor-ui-toolbar .tabs {
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button {
margin: 0;
color: var(--ooui-color);
background: var(--ooui-progressive);
border-color: var(--ooui-progressive);
}
}
.ve-init-mw-editSwitch .oo-ui-popupToolGroup {
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover {
height: 42px;
color: var(--ooui-color);
background: var(--ooui-progressive-hover);
border-color: var(--ooui-progressive-hover);
}
}
.ve-init-mw-editSwitch .oo-ui-popupToolGroup.oo-ui-iconElement .oo-ui-popupToolGroup-handle {
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:focus {
    padding-top: 42px;
border-color: var(--ooui-border);
box-shadow: var(--ooui-border), var(--ooui-border);
}
}
 
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:active,
/* Changes colors of the VisualEditor placeholder toolbar */
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive.oo-ui-buttonElement-pressed > .oo-ui-buttonElement-button,
.ve-init-mw-desktopArticleTarget-toolbarPlaceholder-bar {
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive.oo-ui-buttonElement-active > .oo-ui-buttonElement-button,
border-bottom: 1px solid #eaecf0;
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive.oo-ui-popupToolGroup-active > .oo-ui-buttonElement-button {
    box-shadow: 0 2px 4px 0 rgba(0,0,0,0.2);
color: var(--ooui-color);
background: var(--ooui-progressive);
border-color: var(--ooui-progressive);
}
}
 
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button {
/* Changes border color for separator lines on both editors */
color: var(--ooui-color);
.oo-ui-toolbar-bar,
background: var(--ooui-destructive);
.oo-ui-menuToolGroup,
border-color: var(--ooui-destructive);
.wikiEditor-ui .wikiEditor-ui-view,
}
.wikiEditor-ui-toolbar .sections .section,
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button:hover {
.wikiEditor-ui-toolbar .group,
color: var(--ooui-color);
.wikiEditor-ui-toolbar .section-secondary .group,
background: var(--ooui-destructive-hover);
.wikiEditor-ui .wikiEditor-ui-top,
border-color: var(--ooui-destructive-hover);
.codeEditor-status-message,
}
.ace_print-margin {
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button:focus {
    border-color: #cbcbcb;
border-color: var(--ooui-border);
box-shadow: var(--ooui-destructive-hover), var(--ooui-destructive-hover);
}
}
.ace_print-margin {
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button:active,
    background-color: #eaecf0;
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-destructive.oo-ui-buttonElement-pressed > .oo-ui-buttonElement-button,
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-destructive.oo-ui-buttonElement-active > .oo-ui-buttonElement-button,
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-destructive.oo-ui-popupToolGroup-active > .oo-ui-buttonElement-button {
color: var(--ooui-color);
background: var(--ooui-destructive);
border-color: var(--ooui-destructive);
}
}


/* Removes a shadow under page tabs on VisualEditor */
/* OOUI Dropdown, Input */
.ve-activated .vector-menu-tabs .selected {
body.wgl-theme-dark .oo-ui-tabSelectWidget-framed {
    box-shadow: none;
background-color: #232324;
}
}


/* Improves a bit text on the exit without saving changes menu on VisualEditor */
body.wgl-theme-dark .oo-ui-tabOptionWidget > .oo-ui-labelElement-label {
.oo-ui-messageDialog-title {
color: #fff;
    color: #1e1e1e;
    font-weight: bold;
}
}


/* Improves labels on the character insertion menu on VisualEditor */
body.wgl-theme-dark .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected {
.ve-ui-specialCharacterPage h3,
background-color: #494a4b;
.ve-ui-mwLatexDialog-content .oo-ui-bookletLayout-stackLayout h3 {
    font-weight: bold;
}
}
 
body.wgl-theme-dark .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-widget-enabled.oo-ui-optionWidget-selected:hover {
/* Changes the color of the highlighting icons' background */
background-color: #686869
/* Hovering */
.tool.oo-ui-buttonElement-frameless.oo-ui-iconElement > .oo-ui-buttonElement-button:is(:hover, :focus-within),
.wikiEditor-ui-toolbar .group .tool-select .menu .options .option:is(:hover, :focus-within),
.wikiEditor-ui-toolbar .tabs span.tab a:is(:hover, :focus-within),
.wikiEditor-ui-toolbar .group div.tool.tool-select a.label:is(:hover, :focus-within),
.wikiEditor-ui-toolbar .page-characters div span:hover,
.wikiEditor-ui-toolbar .booklet > .index > :hover,
.wikiEditor-ui-toolbar .page-characters div .wikiEditor-character-highlighted,
.oo-ui-tool.oo-ui-widget-enabled > .oo-ui-tool-link:hover {
background-color: #ebebeb;
color: #202122;
text-decoration: none;
}
}
/* Active */
body.wgl-theme-dark .oo-ui-dropdownInputWidget.oo-ui-widget-enabled:hover,
.oo-ui-toggleButtonWidget.oo-ui-widget-enabled.oo-ui-buttonElement-frameless.oo-ui-toggleWidget-on .oo-ui-buttonElement-button,
body.wgl-theme-dark .oo-ui-dropdownInputWidget.oo-ui-widget-enabled {
.wikiEditor-ui-toolbar .tabs span.tab a.current,
background: transparent;
.wikiEditor-ui-toolbar .group div.tool.tool-select.options-shown > a.label,
.oo-ui-popupToolGroup.oo-ui-popupToolGroup-active > .oo-ui-popupToolGroup-handle,
.oo-ui-listToolGroup-tools .oo-ui-tool.oo-ui-widget-enabled:active,
.oo-ui-outlineOptionWidget.oo-ui-optionWidget-selected,
.oo-ui-tool.oo-ui-widget-enabled > .oo-ui-tool-link:active,
.oo-ui-tool.oo-ui-widget-enabled.oo-ui-tool-active > .oo-ui-tool-link,
.wikiEditor-ui-toolbar .booklet > .index > .current {
background-color: #dee6f3;
color: #0645ad;
}
}


/* Fixes Special characters and Help menus buttons and labels */
body.wgl-theme-dark .oo-ui-dropdownInputWidget.oo-ui-widget-enabled select {
/* Normal */
color: #d0d1d2;
.wikiEditor-ui-toolbar .page-characters div span {
border: 1px solid #cbcbcb;
}
}
 
body.wgl-theme-dark .oo-ui-dropdownInputWidget.oo-ui-widget-enabled select:hover {
/* Fixes Help menu padding */
color: #f0f2f4;
.wikiEditor-ui-toolbar .page-table th,
.wikiEditor-ui-toolbar .page-table td {
padding: 4px;
}
}
 
body.wgl-theme-dark .oo-ui-dropdownInputWidget.oo-ui-widget-enabled option,
/* Fixes Help menu colors */
body.wgl-theme-dark .oo-ui-dropdownInputWidget.oo-ui-widget-enabled optgroup {
.wikiEditor-ui-toolbar .page-table td {
  color: black;
border-top: 1px solid #cbcbcb;
}
}


/* Makes a border color a bit consistent on the notice popup on VisualEditor */
body.wgl-theme-dark .oo-ui-checkboxInputWidget [type='checkbox'] + span,
.oo-ui-popupWidget-popup {
body.wgl-theme-dark .oo-ui-radioInputWidget [type='radio'] + span,
     border: 1px solid #c8ccd1;
body.wgl-theme-dark .oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle,
body.wgl-theme-dark .oo-ui-textInputWidget .oo-ui-inputWidget-input,
body.wgl-theme-dark .wikiEditor-ui,
body.wgl-theme-dark .CodeMirror,
body.wgl-theme-dark .mw-editform #wpTextbox1,
body.wgl-theme-dark .ace-tm,
body.wgl-theme-dark .wikiEditor-ui textarea,
body.wgl-theme-dark .cdx-text-input__input:enabled,
body.wgl-theme-dark textarea {
    background-color: #1e1e1e;
    color: #fff;
     border-color: #686869;
}
}
 
body.wgl-theme-dark .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined .oo-ui-tagItemWidget.oo-ui-widget-enabled {
/* Adds some padding at the left of the text editing section */
background-color: inherit;
.mw-editform #wpTextbox1 {
padding-left: 0.8em;
}
}
 
body.wgl-theme-dark .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined,
/* Makes the text editing section a certain color on all cases */
body.wgl-theme-dark .oo-ui-dropdownWidget.oo-ui-widget-enabled.oo-ui-dropdownWidget-open .oo-ui-dropdownWidget-handle,
.wikiEditor-ui,
body.wgl-theme-dark .oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle:hover,
.CodeMirror,
body.wgl-theme-dark .oo-ui-textInputWidget.oo-ui-widget-enabled .oo-ui-inputWidget-input[readonly],
.mw-editform #wpTextbox1,
body.wgl-theme-dark .oo-ui-tagMultiselectWidget,
.ace-tm,
body.wgl-theme-dark .oo-ui-tagItemWidget.oo-ui-widget-enabled:not(.oo-ui-tagItemWidget-fixed) {
.wikiEditor-ui textarea {
    background-color: #1e1e1e;
background: #fbfbfb;
    color: #fff;
box-shadow: inset 1px -4px 12px 0px rgba(0,0,0,0.15);
    border-color: #686869;
}
}
 
body.wgl-theme-dark .oo-ui-optionWidget.oo-ui-widget-disabled {
/* Makes the syntax highlighting number line more readable
    color: #aaa;
.CodeMirror-linenumbers,
.ace-tm .ace_gutter {
background: #efefef;
border-right: 1px solid #c8ccd1;
} */
 
/* Adds more padding to these notices */
.mw-editTools,
.templatesUsed,
.hiddencats,
.limitreport {
padding-left: 1.5em;
padding-right: 1.5em;
}
}
 
body.wgl-theme-dark .oo-ui-selectFileWidget-dropTarget {
/* Changes colors of the save section */
background-color: #878787 !important;
.editOptions {
background-color: #dddddd;
    border: 0;
    padding: 1.5em;
    border-top: 1px solid #cbcbcb;
    border-bottom: 1px solid #cbcbcb;
}
}
 
body.wgl-theme-dark.oo-ui-labelWidget.oo-ui-inline-help {
/* Modifies layout of some elements of the save section */
    color: #a8b2bb;
/* Summary section */
.mw-editform #wpSummaryLabel {
margin: 0 1em;
}
}
.editOptions > #wpSummaryLabel {
body.wgl-theme-dark .oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle:focus {
margin: 0;
border-color: #8d8d8d;
box-shadow: inset 0 0 0 1px #8d8d8d;
}
body.wgl-theme-dark .ve-ui-mwReferenceContextItem-muted, /* VE reference tooltip */
body.wgl-theme-dark .mw-widget-titleWidget-menu .oo-ui-optionWidget-highlighted .mw-widget-titleOptionWidget-description /* VE template search - result item description */  {
  color: #a2a7ad;
}
}
/* Summary preview section */
body.wgl-theme-dark .oo-ui-indicatorElement-indicator,
.mw-summary-preview {
body.wgl-theme-dark .oo-ui-iconElement-icon:not(.oo-ui-image-invert):not(.oo-ui-image-destructive):not(.oo-ui-image-warning):not(.oo-ui-image-progressive):not(.oo-ui-image-error):not(.oo-ui-image-success):not(.oo-ui-checkboxInputWidget-checkIcon):not(.oo-ui-icon-page-existing):not(.oo-ui-icon-article.mw-widget-titleOptionWidget-hasImage) {
margin: 0 1em;
filter: invert(1);
}
}
.editOptions > .mw-summary-preview {
body.wgl-theme-dark .oo-ui-iconElement-icon.oo-ui-icon-stop.oo-ui-image-invert {
margin: 0;
filter: none !important;
}
}
/* Copyright notice section */
body.wgl-theme-dark .oo-ui-pendingElement-pending {
.mw-editform #editpage-copywarn {
background-image: url(data:image/gif;base64,R0lGODlhGAAYAKECADhHZhchNgAruwAruyH/C05FVFNDQVBFMi4wAwEAAAAh+QQFAQACACwAAAAAGAAYAAACNYwDqcvnyKJ6R1pqrMRQL955AChOXJmQqFqyouvBmnydq93irx7zs1/DoFLCITD4GI6KN0MBACH5BAUBAAMALAAAAAAYABgAAAI0jB+gy43YIntHWmqsxEk77H1UOIGkwnVkegLs+a5cG4e1d2v5NcO9bAKOfEHbz1hEPlquAgAh+QQFAQADACwAAAAAGAAYAAACM4x/oMuN2CJ7SUpq7MU64tA5XLh8ZDme5gl8oLqSLjvDaVjLMb53OX/z9TQ/YZA4tBQ1BQAh+QQFAQADACwAAAAAGAAYAAACNISDmcbtCp1kUM1Z15U5bJ59TyhSZAl06HGW6vqisTt/nSfX2w3rF59r2XwYIki4M46QjgIAIfkEBQEAAwAsAAAAABgAGAAAAjWEHal67bjWmyBK6izDTSfeeWBojYdoVlqqlilqwqMM0pyNecGLTzq/ivUeP2FwNswkSa5JAQAh+QQFAQADACwAAAAAGAAYAAACNIRvobvozuKbIDL6bMNIK9554OEFYyKe5YlabKW9qRqz83iDObdjPbWi1XC/TBFyDA11uwIAIfkEBQEAAwAsAAAAABgAGAAAAjWEj6G76M7imyAy+mzDSQfeaeDhfWPlnah4lqr7sq08prGlrtK9zzh/AW58v5rNSOPAkEVAAQAh+QQFAQADACwAAAAAGAAYAAACNISPF8ucr1qDUE6arMNIL955YKSNhheYAKqypjvCoMzRddnirx7zs3+zqFZAjCgnRCZ7pQIAIfkEBQEAAwAsAAAAABgAGAAAAjSEjxnLnH+ahFA2+qzDSC/eeWAkjoAXmGc5oqprwi0LyjXN2belrvyr6eFyQeAvVkQeZ5YCACH5BAEBAAMALAAAAAAYABgAAAI1jIGpa90LlXOxzlfhxTnt03lfKG4k8gUnkK7t+ZJxOHd1dlsjvMs9/QNeViyTy8gbHpVJQwEAOw==);
line-height: 1.4;
margin-top: 5px;
}
}


/* Changes the edit save popup */
body.wgl-theme-dark .oo-ui-popupWidget-popup {
/* Background transparency */
background: #323232;
.oo-ui-windowManager-modal > .oo-ui-dialog {
border-color: var(--ooui-border);
background-color: rgb(255 255 255 / 20%);
}
}
/* Actual background colors */
 
.oo-ui-windowManager-modal.oo-ui-windowManager-floating > .oo-ui-dialog > .oo-ui-window-frame {
/* Editing: From https://en.wikipedia.org/wiki/MediaWiki:Gadget-Blackskin.css */
border: 0;
body.wgl-theme-dark .mw-message-box-success,
background-color: #fff;
body.wgl-theme-dark .successbox {
    background-color: #2e5e05;
    border-color: #3c780a;
}
}
/* Separator line colors */
body.wgl-theme-dark .oo-ui-messageWidget.oo-ui-messageWidget-block.oo-ui-flaggedElement-warning {
.oo-ui-messageDialog-content > .oo-ui-window-foot {
    background-color: #fef6e766;
outline: 1px solid #c8ccd1;
    border-color: #fc3;
}
}
.oo-ui-messageDialog-actions-horizontal .oo-ui-actionWidget {
body.wgl-theme-dark .tdg-templateDataParamWidget-param-description {
border-right: 1px solid #c8ccd1;
    color: #bdbdbd;
}
}
/* Cancel button colors */
 
.oo-ui-messageDialog-actions-horizontal .oo-ui-actionWidget:first-child > .oo-ui-buttonElement-button {
body.wgl-theme-dark .mw-message-box-warning,
background-color: #fff;
body.wgl-theme-dark .warningbox,
color: #d33;
body.wgl-theme-dark .usermessage {
    background-color: #2b2f09;
    border-color: #fc3;
}
}
.oo-ui-messageDialog-actions-horizontal .oo-ui-actionWidget:first-child > .oo-ui-buttonElement-button:is(:hover, :focus-within) {
 
background-color: #f7e7e7;
body.wgl-theme-dark .mw-warning-with-logexcerpt,
body.wgl-theme-dark .mw-message-box-error,
body.wgl-theme-dark .errorbox {
    background-color: #4d2622;
    border-color: #9e352e;
}
}
/* Accept button colors */
 
.oo-ui-messageDialog-actions-horizontal .oo-ui-actionWidget:last-child > .oo-ui-buttonElement-button {
body.wgl-theme-dark .wikiEditor-ui,
background-color: #36c;
body.wgl-theme-dark .CodeMirror-gutters {
color: #fff;
    background-color: #282828;
}
}
.oo-ui-messageDialog-actions-horizontal .oo-ui-actionWidget:last-child > .oo-ui-buttonElement-button:is(:hover, :focus-within) {
 
background-color: #447ff5;
body.wgl-theme-dark .CodeMirror-gutters {
border-color: #464646;
}
}


/* Other popups */
body.wgl-theme-dark .wikiEditor-ui .wikiEditor-ui-view,
/* Background transparency */
body.wgl-theme-dark .wikiEditor-ui-toolbar .sections .section,
.ui-widget-overlay {
body.wgl-theme-dark .wikiEditor-ui-toolbar .group,
background: rgb(255 255 255 / 20%);
body.wgl-theme-dark .wikiEditor-ui-toolbar .section-secondary .group,
body.wgl-theme-dark .wikiEditor-ui .wikiEditor-ui-top,
body.wgl-theme-dark .codeEditor-status-message,
body.wgl-theme-dark .ace_print-margin {
    border-color: #6f6f6f;
}
}
/* Actual background colors */
 
.ui-widget-content {
body.wgl-theme-dark .wikiEditor-ui-toolbar,
border: 0;
body.wgl-theme-dark .wikiEditor-ui-toolbar .sections .section {
background: #fff;
background-image: none;
color: #323437;
background-color: inherit;
}
}
/* Input fields */
 
.ui-widget select {
body.wgl-theme-dark .tool-button.tool-active,
cursor: pointer;
body.wgl-theme-dark .tool.tool-active.oo-ui-buttonElement-frameless.oo-ui-iconElement {
background-color: inherit;
}
}
#wikieditor-toolbar-file-target,
 
#wikieditor-toolbar-file-caption,
body.wgl-theme-dark .wikiEditor-ui-toolbar .tabs span.tab a.current,
#wikieditor-toolbar-file-alt,
body.wgl-theme-dark .wikiEditor-ui-toolbar .tabs span.tab a.current:visited {
.ui-widget input,
color: inherit;
.ui-widget select,
.ui-widget textarea,
.ui-widget button {
border: 1px solid #c0c2c5;
    padding: 0.3em;
    border-radius: 3px;
}
}
/* Header colors */
 
body .ui-dialog .ui-widget-header {
body.wgl-theme-dark .editOptions {
background: #ebe9e9 !important;
    background-color: #282828;
border: 0;
    border-color: #1f2528;
font-size: 120%;
    color: #ccc;
padding: 0.6em 1.4em 0.6em !important;
margin: 0.5em 0.5em 0;
}
}
/* Turns the wrapper of the options into flex */
 
.wikieditor-toolbar-field-wrapper {
body.wgl-theme-dark div#editpage-specialchars a {
display: flex;
    background-color: #000000;
gap: 6px;
    border-color: #1f2528;
align-items: center;
flex-wrap: wrap;
}
}
/* Turns the Show help text of inserting images into a button */
 
.wikieditor-toolbar-file-alt-help {
body.wgl-theme-dark .mw-editform-legacy input#wpSummary {
background: #f7f7f7;
  background-color: #000000;
border: 1px solid #c3c3c3;
  color: #90ff90;
font-size: 110%;
padding: 0.4em 1em 0.4em;
border-radius: 2px;
cursor: pointer;
}
}
.wikieditor-toolbar-file-alt-help:is(:hover, :focus-within) {
 
background: #eef4ff !important;
/* Search */
border-color: #afc4db !important;
body.wgl-theme-dark #simpleSearch {
    background: #5e5e5e;
    background-image: unset;
}
}
/* Changes colors of the bottom buttons */
body.wgl-theme-dark #searchInput {
.ui-dialog .ui-dialog-buttonpane button {
background: none;
background: #f7f7f7 !important;
color: #fff;
border-color: #c3c3c3 !important;
font-weight: bold;
font-size: 110%;
color: #222222;
padding: 0.3em;
border-radius: 2px;
box-shadow: none;
}
.ui-dialog .ui-dialog-buttonpane button:is(:hover, :focus-within) {
background: #eef4ff !important;
border-color: #afc4db !important;
}
}


/* Improvements for colors on Search & Replace */
/* Search */
#wikieditor-toolbar-replace-nomatch {
body.wgl-theme-dark #p-search #searchform .cdx-search-input__input-wrapper {
background-color: #f3cece;
    background: #5e5e5e;
border-radius: 4px;
    background-image: unset;
padding: 10px;
margin-bottom: 16px;
}
}
#wikieditor-toolbar-replace-emptysearch {
body.wgl-theme-dark #p-search #searchform .cdx-text-input__input {
background-color: #e5e7bf;
background: none;
border-radius: 4px;
color: #fff;
padding: 10px;
margin-bottom: 16px;
}
}
#wikieditor-toolbar-replace-success {
body.wgl-theme-dark #p-search #searchform .cdx-search-input__end-button {
background-color: #d6ebd2;
filter: invert(1);
border-radius: 4px;
padding: 10px;
margin-bottom: 16px;
}
}
#wikieditor-toolbar-replace-invalidregex {
 
background-color: #efd6f1;
body.wgl-theme-dark .mw-search-profile-tabs,
border-radius: 4px;
body.wgl-theme-dark #mw-searchoptions {
padding: 10px;
background-color: #282828;
margin-bottom: 16px;
    border-color: #1f2528;
    color: #ccc;
}
}


/* Changes for VisualEditor's save UI */
/* The suggestions shown under the search bar */
.ve-ui-mwSaveDialog-options {
body.wgl-theme-dark #p-search #searchform .cdx-menu {
    background-color: transparent;
background-color: #282828;
     border: 0;
     border-color: #464646;
}
}
.ve-ui-mwSaveDialog-summary {
 
     background-color: transparent;
body.wgl-theme-dark #p-search #searchform .cdx-menu--has-footer .cdx-menu-item:last-of-type:not(:first-of-type) {
     border-color: #464646;
}
}
.ve-ui-changeDescriptionsSelectWidget > .oo-ui-optionWidget {
 
    padding: 0.3em 0.6em;
body.wgl-theme-dark #p-search #searchform .cdx-menu-item .cdx-typeahead-search__search-footer__icon,
    border-radius: 3px;
body.wgl-theme-dark #p-search #searchform .cdx-menu-item .cdx-menu-item__text__supporting-text,
body.wgl-theme-dark #p-search #searchform .cdx-menu-item .cdx-menu-item__text__description,
body.wgl-theme-dark #p-search #searchform .cdx-menu-item .cdx-menu-item__content,
body.wgl-theme-dark #p-search #searchform .cdx-menu-item {
color: #fff;
}
}


body.wgl-theme-dark #p-search #searchform .cdx-thumbnail__placeholder,
body.wgl-theme-dark #p-search #searchform .cdx-thumbnail__image {
background-color: #282828;
border-color: #444;
}


/* Reference */
body.wgl-theme-dark ol.references li:target,
body.wgl-theme-dark sup.reference:target,
body.wgl-theme-dark span.citation:target {
background-color: #435d77;
}


 
/* Image preview screen */
/**********
body.wgl-theme-dark .mw-mmv-post-image {
CodeEditor (also called AceEditor) colors
background: #323232;
Consistency between light and dark themes
color: #ddd;
**********/
.ace-tm .ace_comment {
color: #4a5651;
}
}
.ace-tm .ace_constant,
 
.ace-tm .ace_string {
body.wgl-theme-dark .mw-mmv-image-metadata {
color: #b30106;
background: #323232;
border-color: #222;
}
}
.ace-tm .ace_variable {
 
color: #005671;
/* VisualEditor */
body.wgl-theme-dark .oo-ui-toolbar-bar {
background: #282828;
color: #fff;
}
}
.ace-tm .ace_support.ace_type,
 
.ace-tm .ace_support.ace_class,
body.wgl-theme-dark .oo-ui-toolbar-bar,
.ace-tm .ace_constant.ace_language,
body.wgl-theme-dark .oo-ui-menuToolGroup {
.ace-tm .ace_constant.ace_library {
border-color: #464646;
color: #006612;
}
}
.ace-tm .ace_constant.ace_numeric,
 
.ace-tm .ace_storage,
/* Notification */
.ace-tm .ace_keyword {
.wgl-theme-dark .mw-htmlform-ooui .mw-htmlform-matrix tbody tr:nth-child(even) td {
color: #132be5;
    background-color: #19222c;
}
}
.ace-tm .ace_support.ace_constant {
.wgl-theme-dark .mw-htmlform-ooui .mw-htmlform-matrix tbody tr:hover td {
color: #8c4100;
    background-color: #404754;
}
}
.ace-tm .ace_entity.ace_name.ace_function {
.wgl-theme-dark .mw-echo-ui-pageNotificationsOptionWidget.oo-ui-optionWidget-selected {
color: #0070a7;
    background-color: #2d405b;
    color: #90c0fe;
}
.wgl-theme-dark div.mw-echo-ui-notificationsInboxWidget-toolbarWrapper,
.wgl-theme-dark div.mw-echo-ui-crossWikiNotificationItemWidget-group,
.wgl-theme-dark div.mw-echo-ui-bundleNotificationItemWidget-group {
    background: inherit;
}
}
.ace-tm .ace_comment.ace_doc {
.wgl-theme-dark .mw-echo-ui-notificationOptionWidget,
color: #4863c1;
.wgl-theme-dark .mw-echo-ui-notificationGroupItemWidget-group {
background: none;
}
}


.wgl-theme-dark .oo-ui-menuSelectWidget {
z-index: 1002;
}


.wgl-theme-dark .mw-echo-ui-notificationOptionWidget:hover,
.wgl-theme-dark .mw-echo-ui-notificationGroupItemWidget-group:hover,
.wgl-theme-dark .oo-ui-menuSelectWidget {
background: #1a1a1a;
color: #545454;
}


.wgl-theme-dark .oo-ui-menuOptionWidget.oo-ui-widget-enabled.oo-ui-optionWidget {
color: var(--content-text-color);
}


/**********
.wgl-theme-dark .oo-ui-dropdownWidget.oo-ui-widget-disabled .oo-ui-dropdownWidget-handle,
CodeMirror (WikiEditor syntax highlighting) colors
.wgl-theme-dark .oo-ui-dropdownInputWidget.oo-ui-widget-disabled {
Consistency between light and dark themes
background: black;
**********/
text-shadow: none;
/* Parser functions */
.cm-mw-parserfunction-name,
.cm-mw-parserfunction-bracket,
.cm-mw-parserfunction-delimiter {
color: #c50000;
}
}
/* Templates */
 
.cm-mw-template,
.wgl-theme-dark .oo-ui-menuOptionWidget.oo-ui-optionWidget-highlighted {
.cm-mw-template-name,
background-color: #111;
.cm-mw-template-argument-name,
color: #fff;
.cm-mw-template-delimiter,
.cm-mw-template-bracket {
color: #7500af;
}
}
/* Page links */
 
.cm-mw-link-pagename,
.wgl-theme-dark .oo-ui-widget.oo-ui-menuOptionWidget.oo-ui-optionWidget-selected {
.cm-mw-link-bracket,
background-color: #222222;
.cm-mw-link-delimiter,
    color: #E0E0E0;
.cm-mw-extlink,
.cm-mw-free-extlink,
.cm-mw-extlink-protocol,
.cm-mw-free-extlink-protocol,
.cm-mw-extlink-bracket {
color: #1318d5;
}
}
/* Tags */
.wgl-theme-dark .mw-echo-ui-menuItemWidget > .oo-ui-buttonElement-button >.oo-ui-labelElement-label {
.cm-mw-mnemonic,
color: var(--content-text-color);
.cm-mw-exttag-name,
.cm-mw-htmltag-name,
.cm-mw-exttag-bracket,
.cm-mw-exttag-attribute,
.cm-mw-htmltag-bracket,
.cm-mw-htmltag-attribute {
color: #095c00;
}
}
/* Comments */
 
.cm-mw-comment {
.wgl-theme-dark .oo-ui-widget.oo-ui-menuOptionWidget.oo-ui-optionWidget-selected.oo-ui-menuOptionWidget.oo-ui-optionWidget-highlighted,
color: #59718d;
.wgl-theme-dark .oo-ui-widget.oo-ui-menuOptionWidget.oo-ui-optionWidget-pressed.oo-ui-menuOptionWidget.oo-ui-optionWidget-highlighted {
    background-color: #000000;
    color: #FFFFFF;
}
}
/* Template variables */
 
.cm-mw-templatevariable,
.wgl-theme-dark .mw-echo-title,
.cm-mw-templatevariable-bracket,
.wgl-theme-dark .mw-echo-notification-footer {
.cm-mw-templatevariable-name,
/*color: #fff !important;*/
.cm-mw-templatevariable-delimiter {
color: #95580a;
}
}
/* Links to sections and other formatting */
 
.cm-mw-list,
.wgl-theme-dark .oo-ui-popupWidget .oo-ui-popupWidget-popup {
.cm-mw-indenting,
background: #000;
.cm-mw-doubleUnderscore,
color: #fff;
.cm-mw-signature,
border: 1px solid #545454;
.cm-mw-hr,
.cm-mw-apostrophes-bold,
.cm-mw-apostrophes-italic,
.cm-mw-link,
.cm-mw-link-tosection,
.cm-mw-section-header {
color: #0066be;
}
/* Tables */
.cm-mw-table-bracket,
.cm-mw-table-delimiter,
.cm-mw-table-definition {
    color: #ce007f;
}
/* Matching brackets */
.cm-mw-matchingbracket {
background-color: #c5c54b;
}
}


#preferences .mw-htmlform-submit-buttons {
.wgl-theme-dark .oo-ui-popupWidget .oo-ui-popupWidget-popup .oo-ui-buttonWidget,
background-color: var(--content-background-color);
.wgl-theme-dark .oo-ui-buttonElement-framed .oo-ui-widget-enabled > .oo-ui-buttonElement-button
{
border: 0;
background: transparent;
}
}


/* DiscussionTools */
.wgl-theme-dark .oo-ui-popupWidget-body,
.ext-discussiontools-ui-replyWidget-footer,
.wgl-theme-dark .oo-ui-popupWidget-footer,
.ext-discussiontools-init-timestamplink,
.wgl-theme-dark .oo-ui-popupWidget-header,
.ext-discussiontools-init-timestamplink:visited,
.wgl-theme-dark .mw-echo-ui-notificationBadgeButtonPopupWidget-popup > .oo-ui-popupWidget-popup > .oo-ui-popupWidget-footer,
.ext-discussiontools-init-timestamplink:active,
.wgl-theme-dark .mw-echo-ui-notificationItemWidget,
.ext-discussiontools-init-pageframe-latestcomment,
.wgl-theme-dark .mw-echo-ui-notificationItemWidget-unread,
.ext-discussiontools-visualenhancements-enabled .ext-discussiontools-init-section-metaitem {
.wgl-theme-dark .mw-echo-ui-notificationBadgeButtonPopupWidget > .oo-ui-popupWidget > .oo-ui-popupWidget-popup > .oo-ui-popupWidget-head,
color: var(--content-secondary-text-color);
.wgl-theme-dark .mw-echo-ui-notificationBadgeButtonPopupWidget-popup > .oo-ui-popupWidget-popup > .oo-ui-popupWidget-footer .oo-ui-buttonElement:last-child,
.wgl-theme-dark .mw-echo-ui-notificationGroupItemWidget-separator {
border-color: #545454 !important;
}
}


.mcwiki-header-grass .ext-discussiontools-init-section-subscribe > * {
@-webkit-keyframes unseen-fadeout-to-unread {
color: inherit !important;
from {
background-color: #27113f;
}
to {
background-color: #545454;
}
}
}


.ext-discussiontools-replytool-enabled:not(.ns-4) dl,
@keyframes unseen-fadeout-to-unread {
.rootpage-Minecraft_Wiki_Admin_noticeboard dl,
from {
.ns-10008 dl,
background-color: #27113f;
.ns-talk dl {
}
border-left: 1px dotted #a2a9b1;
to {
background-color: #545454
}
}
}


.ext-discussiontools-replytool-enabled:not(.ns-4) dl:has(+ dl),
@-webkit-keyframes unseen-fadeout-to-read {
.ext-discussiontools-replytool-enabled:not(.ns-4) dl dl,
from {
.rootpage-Minecraft_Wiki_Admin_noticeboard dl:has(+ dl),
background-color: #27113f;
.rootpage-Minecraft_Wiki_Admin_noticeboard dl dl,
}
.ns-10008 dl:has(+ dl),
to {
.ns-10008 dl dl,
background-color: #1f1f1f;
.ns-talk dl:has(+ dl),
}
.ns-talk dl dl {
margin-bottom: -0.5em;
padding-bottom: 0.5em;
}
}


body:is(
@keyframes unseen-fadeout-to-read {
.ext-discussiontools-replytool-enabled:not(.ns-4),
from {
.rootpage-Minecraft_Wiki_Admin_noticeboard,
background-color: #545454;
.ns-10008,
}
.ns-talk
to {
) :is(dl:has(+ dl), dd) dd:last-child {
background-color: #1f1f1f;
margin-bottom: 0;
}
}
}


body:is(
.wgl-theme-dark .mw-echo-ui-notificationItemWidget-content-actions-timestamp {
.ext-discussiontools-replytool-enabled:not(.ns-4),
color: #fff;
.rootpage-Minecraft_Wiki_Admin_noticeboard,
.ns-10008,
.ns-talk
) dd:first-child:not(:has(> dl:first-child)) {
margin-top: 0.5em;
padding-top: 0.5em;
border-top: 1px dotted #a2a9b1;
}
}


body:is(
.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button {
.ext-discussiontools-replytool-enabled:not(.ns-4),
background: #000;
.rootpage-Minecraft_Wiki_Admin_noticeboard,
}
.ns-10008,
 
.ns-talk
.wgl-theme-dark .oo-ui-popupWidget .oo-ui-popupWidget-popup .oo-ui-buttonWidget:hover,
) dd:not(:last-child):has([data-mw-comment-end]) {
.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover {
margin-bottom: 0.5em;
background: #1f1f1f;
padding-bottom: 0.5em;
border-bottom: 1px dotted #a2a9b1;
}
}


.vector-body blockquote {
.wgl-theme-dark .oo-ui-widget-footer {
    border-color: #00bb35;
margin: 0px !important;
    margin-left: 6px;
}
}


/* All CSS here will be loaded for users of the dark Vector skin */
.wgl-theme-dark div#netbar .mw-echo-alert,
/**
.wgl-theme-dark div#netbar .mw-echo-alert a {
* See [[MediaWiki:Common.css]] for desktop and mobile styles, e.g. templates.
    color: #000;
*
}
* See [[MediaWiki:Vector.css]] for desktop theme related styles.
*
* See [[MediaWiki:Minerva.css]] for mobile theme related styles.
* See [[MediaWiki:Minerva-theme-dark.css]] for mobile dark theme related styles.
*/


html:has(body.wgl-theme-dark) {
/* invert the icon colors */
color-scheme: dark;
.wgl-theme-dark .mw-echo-ui-overlay .oo-ui-iconElement-icon,
.wgl-theme-dark .msgbox-text > img[alt="Signature-icon.svg"] {
  filter: invert(100%);
  -webkit-filter: invert(100%);
  -moz-filter: invert(100%);
  -o-filter: invert(100%);
  -ms-filter: invert(100%);
}
/* Special:CreateAccount */
body.wgl-theme-light .mw-number-text.icon-contributors {
  filter: invert(0.25);
}
}


/* Default styles:
body.wgl-theme-dark .mw-number-text.icon-contributors {
* [[File:Dark-background.png]] [[File:Dark-header-background.png]]
  filter: invert(0.675);
* [[File:Dark-vector-tabs.png]] [[File:Dark-vector-tabs-first.png]]
}
* [[File:Dark-background-HiDPI.png]] [[File:Dark-header-background-HiDPI.png]]
* [[File:Dark-vector-tabs-HiDPI.png]] [[File:Dark-vector-tabs-first-HiDPI.png]]
*/
body.wgl-theme-dark {
--base-background: url('filepath://Dark-background.png');
--header-background: url('filepath://Dark-header-background.png');
--vector-tabs: url('filepath://Dark-vector-tabs.png');
--vector-tabs-first: url('filepath://Dark-vector-tabs-first.png');


--base-background-hidpi: url('filepath://Dark-background-HiDPI.png');
/* Both light and dark theme */
--header-background-hidpi: url('filepath://Dark-header-background-HiDPI.png');
.mw-number-text.icon-pages,
--vector-tabs-hidpi: url('filepath://Dark-vector-tabs-HiDPI.png');
.mw-number-text.icon-edits,
--vector-tabs-first-hidpi: url('filepath://Dark-vector-tabs-first-HiDPI.png');
.mw-body-content .mw-number-text > h3,
.mw-body-content .mw-number-text > p {
  filter: invert(0.5);
}


--list-bullet: url('filepath://List_bullet_dark.svg');
.wgl-theme-dark .mw-echo-ui-notificationItemWidget {
background-color: #1f1f1f;
}


--content-text-color: #e6e6e6;
.wgl-theme-dark .mw-echo-ui-menuItemWidget-content {
--content-secondary-text-color: #aaaaaa;
color: #ddd !important;
--base-background-color: #13191c;
}
--content-background-color: #2b2f39;
--content-border-top-color: #1f2528;
--content-border-top-right-color: #4e362b;


--simplesearch-top-border-color: #959595;
.wgl-theme-dark .mw-echo-ui-notificationItemWidget-content-message-header {
--simplesearch-left-border-color: #6f6f6f;
color: #fff;
--simplesearch-topright-grass-color: #0e6a3b;
}
--searchinput-placeholder-color: #bfc1c5;


--archive-box-background-color: #282828;
.wgl-theme-dark .mw-echo-ui-notificationItemWidget.oo-ui-optionWidget-selected,
--archive-box-border-color: #444;
.wgl-theme-dark .mw-echo-ui-notificationItemWidget.oo-ui-optionWidget-highlighted {
background-color: #3f3f3f;
}


--table-header-color: #222;
.wgl-theme-dark div#netbar #pt-notifications-alert > .oo-ui-widget a,
--table-border-color: #444;
.wgl-theme-dark div#netbar #pt-notifications-message > .oo-ui-widget a {
color: #5a93cc;
}


--smw-border-hover: #a2a9b1;
.wgl-theme-dark div#netbar #pt-notifications-alert > .oo-ui-widget .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button,
--smw-table-hover: #313848;
.wgl-theme-dark div#netbar #pt-notifications-message > .oo-ui-widget .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button {
color: #ddd;
}
.wgl-theme-dark .mw-echo-ui-placeholderItemWidget {
background-color: inherit;
}
}
/* Dungeons styles:
* [[File:Dark-header-background-dungeons.png]]
* [[File:Dark-vector-tabs-dungeons.png]] [[File:Dark-vector-tabs-first-dungeons.png]]
* [[File:Dark-header-background-dungeons-HiDPI.png]] [[File:Dark-vector-tabs-dungeons-HiDPI.png]]
* [[File:Dark-vector-tabs-first-dungeons-HiDPI.png]]
*/
body.wgl-theme-dark.rootpage-Minecraft_Dungeons,
body.wgl-theme-dark.rootpage-Talk_Minecraft_Dungeons,
body.wgl-theme-dark.ns-10000,
body.wgl-theme-dark.ns-10001 {
/* Overwrite theme gadget styles */
--base-background: url('filepath://Dark-background.png');
--base-background-hidpi: url('filepath://Dark-background-HiDPI.png');
--header-background: url('filepath://Dark-header-background-dungeons.png');
--vector-tabs: url('filepath://Dark-vector-tabs-dungeons.png');
--vector-tabs-first: url('filepath://Dark-vector-tabs-first-dungeons.png');


--header-background-hidpi: url('filepath://Dark-header-background-dungeons-HiDPI.png');
.wgl-theme-dark .mw-echo-ui-notificationItemWidget:hover {
--vector-tabs-hidpi: url('filepath://Dark-vector-tabs-dungeons-HiDPI.png');
background-color: inherit;
--vector-tabs-first-hidpi: url('filepath://Dark-vector-tabs-first-dungeons-HiDPI.png');
}


--content-background-color: #433d3d;
.wgl-theme-dark #mw-mwoauth-authorize-form {
--content-border-top-color: #201c10;
color: #ddd;
--content-border-top-right-color: #303d46;
}


--simplesearch-topright-grass-color: #8b4322;
.wgl-theme-dark .vector-menu-dropdown .mw-list-item.selected a,
.wgl-theme-dark .vector-menu-dropdown .mw-list-item.selected a:visited {
color: var(--content-text-color);
}
}
/* Earth styles:
* [[File:Dark-header-background-earth.png]]
* [[File:Dark-vector-tabs-earth.png]] [[File:Dark-vector-tabs-first-earth.png]]
* [[File:Dark-header-background-earth-HiDPI.png]] [[File:Dark-vector-tabs-earth-HiDPI.png]]
* [[File:Dark-vector-tabs-first-earth-HiDPI.png]]
*/
body.wgl-theme-dark.rootpage-Minecraft_Earth,
body.wgl-theme-dark.rootpage-Talk_Minecraft_Earth,
body.wgl-theme-dark.ns-10002,
body.wgl-theme-dark.ns-10003 {
/* Overwrite theme gadget styles */
--base-background: url('filepath://Dark-background.png');
--base-background-hidpi: url('filepath://Dark-background-HiDPI.png');
--header-background: url('filepath://Dark-header-background-earth.png');
--vector-tabs: url('filepath://Dark-vector-tabs-earth.png');
--vector-tabs-first: url('filepath://Dark-vector-tabs-first-earth.png');


--header-background-hidpi: url('filepath://Dark-header-background-earth-HiDPI.png');
/* SMW - Special:Browse */
--vector-tabs-hidpi: url('filepath://Dark-vector-tabs-earth-HiDPI.png');
body.wgl-theme-dark .smwb-theme-light .smwb-title,
--vector-tabs-first-hidpi: url('filepath://Dark-vector-tabs-first-earth-HiDPI.png');
body.wgl-theme-dark .smwb-theme-light .smwb-center,
body.wgl-theme-dark .smwb-theme-light .smwb-actions,
body.wgl-theme-dark .smwb-theme-light .smwb-prophead,
body.wgl-theme-dark .smwb-theme-light .smwb-propval,
body.wgl-theme-dark .smwb-propvalue,
body.wgl-theme-dark .smwb-ipropvalue {
background-color: unset;
}


--content-background-color: #252b3c;
body.wgl-theme-dark .smwb-theme-light .smwb-factbox {
--content-border-top-color: #182028;
border-left: unset;
--content-border-top-right-color: #25404b;
}


--simplesearch-topright-grass-color: #0b7940;
body.wgl-theme-dark .smwb-bottom {
border-bottom: 1px solid var(--ooui-border);
}
}
/* Legends styles:
* [[File:Dark-header-background-legends.png]]
* [[File:Dark-vector-tabs-legends.png]] [[File:Dark-vector-tabs-first-legends.png]]
* [[File:Dark-header-background-legends-HiDPI.png]] [[File:Dark-vector-tabs-legends-HiDPI.png]]
* [[File:Dark-vector-tabs-first-legends-HiDPI.png]]
*/
body.wgl-theme-dark.rootpage-Minecraft_Legends,
body.wgl-theme-dark.rootpage-Talk_Minecraft_Legends,
body.wgl-theme-dark.ns-10006,
body.wgl-theme-dark.ns-10007 {
/* Overwrite theme gadget styles */
--base-background: url('filepath://Dark-background.png');
--base-background-hidpi: url('filepath://Dark-background-HiDPI.png');
--header-background: url('filepath://Dark-header-background-legends.png');
--vector-tabs: url('filepath://Dark-vector-tabs-legends.png');
--vector-tabs-first: url('filepath://Dark-vector-tabs-first-legends.png');


--header-background-hidpi: url('filepath://Dark-header-background-legends-HiDPI.png');
body.wgl-theme-dark .smw-table-cell.smwb-cell.smwb-prophead {
--vector-tabs-hidpi: url('filepath://Dark-vector-tabs-legends-HiDPI.png');
border-top: 1px solid var(--ooui-border);
--vector-tabs-first-hidpi: url('filepath://Dark-vector-tabs-first-legends-HiDPI.png');
background-color: var(--ooui-enabled);
}


--content-background-color: #293344;
body.wgl-theme-dark .smwb-ifactbox .smwb-cell,
--content-border-top-color: #202426;
body.wgl-theme-dark .smwb-factbox .smwb-cell {
--content-border-top-right-color: #21334e;
border-top: 1px solid var(--ooui-border);
}


--simplesearch-topright-grass-color: #006c60;
body.wgl-theme-dark .smwb-theme-light .smwb-ifactbox {
border-right: unset;
}
 
body.wgl-theme-dark .mw-ui-button:not(:disabled),
body.wgl-theme-dark .mw-ui-input:not(:disabled),
body.wgl-theme-dark .cdx-button:not(:disabled) {
border-color: var(--ooui-border);
}
}
/* Story Mode styles:
* [[File:Dark-header-background-storymode.png]]
* [[File:Dark-vector-tabs-storymode.png]] [[File:Dark-vector-tabs-first-storymode.png]]
* [[File:Dark-header-background-storymode-HiDPI.png]] [[File:Dark-vector-tabs-storymode-HiDPI.png]]
* [[File:Dark-vector-tabs-first-storymode-HiDPI.png]]
*/
body.wgl-theme-dark.rootpage-Minecraft_Story_Mode,
body.wgl-theme-dark.rootpage-Talk_Minecraft_Story_Mode,
body.wgl-theme-dark.rootpage-Minecraft_Story_Mode_-_Season_Two,
body.wgl-theme-dark.rootpage-Talk_Minecraft_Story_Mode_-_Season_Two,
body.wgl-theme-dark.ns-10004,
body.wgl-theme-dark.ns-10005 {
/* Overwrite theme gadget styles */
--base-background: url('filepath://Dark-background.png');
--base-background-hidpi: url('filepath://Dark-background-HiDPI.png');
--header-background: url('filepath://Dark-header-background-storymode.png');
--vector-tabs: url('filepath://Dark-vector-tabs-storymode.png');
--vector-tabs-first: url('filepath://Dark-vector-tabs-first-storymode.png');


--header-background-hidpi: url('filepath://Dark-header-background-storymode-HiDPI.png');
body.wgl-theme-dark .mw-ui-button:disabled,
--vector-tabs-hidpi: url('filepath://Dark-vector-tabs-storymode-HiDPI.png');
body.wgl-theme-dark .mw-ui-input:disabled,
--vector-tabs-first-hidpi: url('filepath://Dark-vector-tabs-first-storymode-HiDPI.png');
body.wgl-theme-dark .cdx-button:disabled {
color: var(--searchinput-placeholder-color);
border-color: var(--ooui-border-disabled);
background-color: var(--ooui-disabled);
}


--content-background-color: #39342c;
body.wgl-theme-dark .mw-ui-button:not(:disabled):hover,
--content-border-top-color: #2d2411;
body.wgl-theme-dark .mw-ui-button:not(:disabled):active,
--content-border-top-right-color: #302441;
body.wgl-theme-dark .cdx-button:not(:disabled):hover,
body.wgl-theme-dark .cdx-button:not(:disabled):active {
color: var(--ooui-color);
border-color: var(--smw-border-hover);
background-color: var(--ooui-enabled);
}


--simplesearch-topright-grass-color: #967735;
body.wgl-theme-dark .mw-ui-button:not(:disabled):enabled,
body.wgl-theme-dark .cdx-button:not(:disabled):enabled {
color: var(--ooui-color);
}
}


/* Movie styles:
body.wgl-theme-dark .mw-ui-input:not(:disabled):hover,
* [[File:Dark-background-movie.png]] [[File:Dark-background-movie-HiDPI.png]]
body.wgl-theme-dark .mw-ui-input:not(:disabled):active {
* [[File:Dark-header-background-movie.png]]
border-color: var(--smw-border-hover);
* [[File:Dark-vector-tabs-movie.png]] [[File:Dark-vector-tabs-first-movie.png]]
}
* [[File:Dark-header-background-movie-HiDPI.png]] [[File:Dark-vector-tabs-movie-HiDPI.png]]
* [[File:Dark-vector-tabs-first-movie-HiDPI.png]]
*/
body.wgl-theme-dark.rootpage-A_Minecraft_Movie,
body.wgl-theme-dark.rootpage-Talk_A_Minecraft_Movie,
body.wgl-theme-dark.ns-10012,
body.wgl-theme-dark.ns-10013 {
--base-background: url('filepath://Dark-background-movie.png');
--base-background-hidpi: url('filepath://Dark-background-movie-HiDPI.png');
--header-background: url('filepath://Dark-header-background-movie.png');
--vector-tabs: url('filepath://Dark-vector-tabs-movie.png');
--vector-tabs-first: url('filepath://Dark-vector-tabs-first-movie.png');


--header-background-hidpi: url('filepath://Dark-header-background-movie-HiDPI.png');
body.wgl-theme-dark .mw-ui-input:not(:disabled):focus,
--vector-tabs-hidpi: url('filepath://Dark-vector-tabs-movie-HiDPI.png');
body.wgl-theme-dark .mw-ui-button:not(:disabled):focus,
--vector-tabs-first-hidpi: url('filepath://Dark-vector-tabs-first-movie-HiDPI.png');
body.wgl-theme-dark .cdx-button:not(:disabled):focus {
border-color: var(--ooui-progressive-hover);
box-shadow: inset 0 0 0 1px var(--ooui-progressive-hover);
}


--content-background-color: #36322E;
body.wgl-theme-dark div:not(.autocomplete-selected).autocomplete-suggestions {
    --content-border-top-color: #2A2724;
color: var(--searchinput-placeholder-color);
background-color: var(--ooui-enabled);
border-color: var(--ooui-border);
}
}


/* [[File:HelpNotice.svg]] */
body.wgl-theme-dark .autocomplete-suggestion {
body.wgl-theme-dark #mw-indicator-mw-helplink a {
border-color: var(--ooui-border);
background-image: url('filepath://HelpNotice.svg');
background-color: var(--content-background-color);
}
}


.mw-message-box,
body.wgl-theme-dark .autocomplete-selected {
.mw-body,
color: var(--ooui-color);
h1, h2, h3, h4, h5, h6,
border: solid 1px var(--smw-border-hover);
.mw-ui-input,
background-color: var(--ooui-enabled);
.search-types .current a {
padding: 4px 9px 5px 9px;
color: var(--content-text-color);
}
body.wgl-theme-dark #mw-content-subtitle,
body.wgl-theme-dark #contentSub,
body.wgl-theme-dark #contentSub2,
body.wgl-theme-dark .results-info,
body.wgl-theme-dark .mw-search-result-data,
body.wgl-theme-dark .wikiEditor-ui-toolbar .group .label {
color: #9f9f9f;
}
}


/* FP */
body.wgl-theme-dark .tippy-header {
body.wgl-theme-dark .fp-section {
background-color: var(--base-background-color);
background-color: #2f2f2f;
border-color: var(--smw-border-hover);
    border-color: #202125;
color: var(--ooui-color);
}
}


body.wgl-theme-dark .mcwiki-header {
body.wgl-theme-dark .tippy-tooltip.light-border-theme {
    border-color: #202125;
background-color: unset;
}
body.wgl-theme-dark .mcwiki-header a {
    color: #0645ad;
}
body.wgl-theme-dark .mcwiki-header a:visited {
    color: #0b0080;
}
}


/* Discord widget */
body.wgl-theme-dark .tippy-content-container {
body.wgl-theme-dark .discord-widget-dark {
background-color: var(--ooui-disabled);
color-scheme: auto;
color: var(--content-text-color)
}
}


/* <blockquote> */
/* SMW - Property: */
.vector-body blockquote {
body.wgl-theme-dark .smw-property-page-results .header-row > .header-title {
border-left-color: var(--infobox-header-background-color);
background-color: var(--ooui-enabled);
border-bottom-color: var(--ooui-border);
color: var(--ooui-color);
}
}


body.wgl-theme-dark .smw-property-page-results .value-row:hover {
background-color: var(--smw-table-hover);
}


/* Recent Changes */
body.wgl-theme-dark .smw-ui-pagination .page-link {
background-color: var(--content-background-color);
border: 1px solid var(--ooui-border);
color: var(--ooui-color);
text-decoration: none;
margin-left: 0;
}


body.wgl-theme-dark label.mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-savedQueryTitle.oo-ui-widget.oo-ui-widget-enabled.oo-ui-labelElement-label.oo-ui-labelWidget.oo-ui-labelElement {
body.wgl-theme-dark .smw-ui-pagination .page-link:hover {
    color: #fff;
background-color: var(--ooui-enabled);
border: 1px solid var(--smw-border-hover);
}
}
body.wgl-theme-dark .mw-changeslist-legend,
 
body.wgl-theme-dark .mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle,
body.wgl-theme-dark .smw-ui-pagination .page-link.link-disabled {
body.wgl-theme-dark .vector-menu-dropdown .vector-menu-content{
color: var(--searchinput-placeholder-color);
background-color: #1e1e1e;
border-color: var(--ooui-border-disabled);
    color: #fff;
background-color: var(--ooui-disabled);
    border-color: #686869;
}
}
body.wgl-theme-dark .mw-ui-input {
 
    background-color: inherit;
body.wgl-theme-dark .smw-ui-pagination .page-link.link-active {
    color: inherit;
border-color: var(--ooui-progressive-hover);
}
}
body.wgl-theme-dark .mw-ui-button,
 
body.wgl-theme-dark .cdx-button {
body.wgl-theme-dark .smw-tabs section, .smw-tabs .subtab-content {
background-color: #373f50;
border-top: 1px solid var(--smw-border-hover);
    color: #f8f9fa;
}
}
body.wgl-theme-dark .mw-ui-button:visited {
 
color: #d8d9da;
body.wgl-theme-dark .smw-tabs input.nav-tab:checked + label.nav-label {
border: 1px solid var(--smw-border-hover);
border-top: 2px solid #337ab7;
}
}
body.wgl-theme-dark .mw-plusminus-neg {
 
color: #ffa1b3;
body.wgl-theme-dark .smw-tabs label.nav-label,
body.wgl-theme-dark .smw-tabs,
body.wgl-theme-dark .smw-tabs input.nav-tab:checked + label.nav-label,
body.wgl-theme-dark #tab-smw-property-value:checked + label.nav-label .usage-count,
body.wgl-theme-dark #tab-smw-concept-list:checked + label.nav-label .usage-count,
body.wgl-theme-dark #tab-smw-property-subp:checked + label.nav-label .item-count,
body.wgl-theme-dark #tab-smw-property-errp:checked + label.nav-label .item-count,
body.wgl-theme-dark #tab-smw-property-redi:checked + label.nav-label .item-count,
body.wgl-theme-dark #tab-smw-type-list:checked + label.nav-label .item-count,
body.wgl-theme-dark #tab-smw-property-spec:checked + label.nav-label .item-count {
color: var(--ooui-color);
}
}
body.wgl-theme-dark .mw-plusminus-pos {
 
color: #00e04c;
body.wgl-theme-dark #tab-smw-property-value:checked + label.nav-label .usage-count.moderate,
}
body.wgl-theme-dark #tab-smw-concept-list:checked + label.nav-label .usage-count.moderate {
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c1,
background-color: rgba(43, 157, 239, 0.64);
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c1 tr:first-child,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
    background-color: #c2d1f066
}
}


.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c2,
body.wgl-theme-dark #tab-smw-property-value:checked + label.nav-label .usage-count.high,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c2 tr:first-child,
body.wgl-theme-dark #tab-smw-concept-list:checked + label.nav-label .usage-count.high {
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c2.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
background-color: rgba(222, 0, 0, 0.50);
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c2.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
    background-color: #b3e7dc66
}
}


.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c3,
body.wgl-theme-dark .smw-ui-input-filter {
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c3 tr:first-child,
color: var(--content-text-color);
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c3.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
border: solid 1px var(--ooui-border);
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c3.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
background-color: var(--ooui-enabled);
    background-color: #fff0c266
}
}


.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c4,
body.wgl-theme-dark .smw-ui-input-filter:hover {
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c4 tr:first-child,
border-color: var(--smw-border-hover);
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c4.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c4.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
    background-color: #ffd3bd66
}
}


.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c5,
body.wgl-theme-dark .smw-ui-input-filter input {
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c5 tr:first-child,
color: var(--content-text-color) !important;
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
border-color: var(--ooui-border) !important;
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
    background-color: #f5c2c266
}
}


.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2,
/**********
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2 tr:first-child,
Add WikiEditor parity with VisualEditor
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
And fixes for dark theme, VisualEditor and CodeEditor
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
**********/
    background-color: #8cc5d566
 
/* Changes colors of the WikiEditor and VisualEditor toolbars */
body.wgl-theme-dark .wikiEditor-ui-toolbar,
body.wgl-theme-dark .oo-ui-toolbar-bar,
body.wgl-theme-dark .wikiEditor-ui-toolbar .sections .section,
body.wgl-theme-dark .ve-init-mw-desktopArticleTarget-toolbarPlaceholder-floating .ve-init-mw-desktopArticleTarget-toolbarPlaceholder-bar {
background-color: #353535;
color: #e6e6e6;
border-top: 1px solid #595959;
border-bottom: 1px solid #595959;
}
}


.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c3,
/* VE template editor */
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c3 tr:first-child,
body.wgl-theme-dark .oo-ui-messageWidget.oo-ui-messageWidget-block.oo-ui-flaggedElement-notice {
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c3.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
     background-color: #39393b;
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c3.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
     background-color: #ccdecc66
}
}


.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c4,
body.wgl-theme-dark .ve-ui-mwTemplatePage-description,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c4 tr:first-child,
body.wgl-theme-dark .oo-ui-labelWidget.oo-ui-inline-help,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c4.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
body.wgl-theme-dark .ve-ui-mwParameterPage-undocumentedLabel,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c4.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
body.wgl-theme-dark .ve-ui-mwTransclusionOutlineTemplateWidget-no-template-parameters {
     background-color: #ccb4bb66
     color: #b0bac3;
}
}


.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c5,
body.wgl-theme-dark .ve-ui-mwParameterPage-doc-required,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c5 tr:first-child,
body.wgl-theme-dark .ve-ui-mwParameterPage-doc-deprecated,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
body.wgl-theme-dark .ve-ui-mwParameterPage-inlineDescription .ve-ui-mwParameterPage-doc-example {
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
color: #aaa;
    background-color: #c4a6bf66
}
}


.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3,
body.wgl-theme-dark .ve-ui-mwTransclusionOutlineTemplateWidget-sticky {
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3 tr:first-child,
     background-color: #333d51;
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
     background-color: #bfdeaf66
}
}


.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c4,
/* Changes buttons of WikiEditor to match VisualEditor's behavior */
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c4 tr:first-child,
body.wgl-theme-dark .wikiEditor-ui-toolbar .sections .section .group .tool .tool-select > .label a {
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c4.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
color: #e6e6e6;
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c4.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
    background-color: #bfc7aa66
}
}
 
body.wgl-theme-dark .wikiEditor-ui-toolbar .tabs span.tab a:before {
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c5,
filter: invert(1);
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c5 tr:first-child,
}
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
body.wgl-theme-dark .wikiEditor-ui-toolbar .tabs span.tab a {
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
color: #e6e6e6;
    background-color: #b7b8af66
}
}


.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4,
/* Changes colors of the VisualEditor placeholder toolbar */
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4 tr:first-child,
body.wgl-theme-dark .ve-init-mw-desktopArticleTarget-toolbarPlaceholder-bar {
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
border-bottom: 1px solid #595959;
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
    background-color: #ffce9566
}
}


.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c5,
/* Changes border color for separator lines on both editors */
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c5 tr:first-child,
body.wgl-theme-dark .oo-ui-toolbar-bar,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
body.wgl-theme-dark .oo-ui-menuToolGroup,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
body.wgl-theme-dark .wikiEditor-ui .wikiEditor-ui-view,
     background-color: #f7bf9966
body.wgl-theme-dark .wikiEditor-ui-toolbar .sections .section,
body.wgl-theme-dark .wikiEditor-ui-toolbar .group,
body.wgl-theme-dark .wikiEditor-ui-toolbar .section-secondary .group,
body.wgl-theme-dark .wikiEditor-ui .wikiEditor-ui-top,
body.wgl-theme-dark .codeEditor-status-message,
body.wgl-theme-dark .ace_print-margin {
     border-color: #595959;
}
}
 
body.wgl-theme-dark .ace_print-margin {
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5,
     background-color: #595959;
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5 tr:first-child,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
     background-color: #f7a89566
}
}


.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3,
/* Inverts a bit the color of some blue icons on dark theme */
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3 tr:first-child,
body.wgl-theme-dark #p-lang-btn .oo-ui-icon-translation,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
body.wgl-theme-dark .ve-ui-toolbar .oo-ui-image-progressive,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
body.wgl-theme-dark .wikiEditor-ui-toolbar .oo-ui-image-progressive {
    background-color: #94bda866
    filter: contrast(0.7) brightness(1.8);
}
}


.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c5,
/* Fixes a border-like shadow under link insertion tool on VisualEditor on dark theme */
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c5 tr:first-child,
body.wgl-theme-dark .oo-ui-tabSelectWidget-frameless {
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
     box-shadow: inset 0 -1px 0 0 #595959;
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
     background-color: #8c99a866
}
}


.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c4,
/* Visual Editor: Link edit popup display text */
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c4 tr:first-child,
body.wgl-theme-dark .ve-ui-desktopContext .ve-ui-linkContextItem .ve-ui-linkContextItem-label .ve-ui-linkContextItem-label-preview {
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c4.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
color: #aaa;
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c4.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
    background-color: #94a7a466
}
}


.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4,
/* Visual Editor: Template editing popup left-hand-side parameter selection input */
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4 tr:first-child,
body.wgl-theme-dark .oo-ui-selectWidget .oo-ui-optionWidget-highlighted {
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
color: white;
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
background: #333;
    background-color: #d0ad9066
}
}


.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c5,
body.wgl-theme-dark .ve-ui-mwTransclusionOutlineTemplateWidget .ve-ui-mwTransclusionOutlineParameterWidget.ve-ui-mwTransclusionOutlineParameterWidget-activePage,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c5 tr:first-child,
body.wgl-theme-dark .ve-ui-mwTransclusionOutlineTemplateWidget .ve-ui-mwTransclusionOutlineParameterWidget.ve-ui-mwTransclusionOutlineParameterWidget-activePage:hover,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
body.wgl-theme-dark .ve-ui-mwTransclusionOutlineTemplateWidget .ve-ui-mwTransclusionOutlineParameterWidget.ve-ui-mwTransclusionOutlineParameterWidget-activePage.oo-ui-optionWidget-highlighted {
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
color: #fff;
    background-color: #c8a09466
background: #467c;
}
}


.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5,
/* Visual Editor: Template editing popup bottom left controls */
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5 tr:first-child,
body.wgl-theme-dark .ve-ui-mwTransclusionOutlineControlsWidget {
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
background-color: black;
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
border-top-color: #888;
    background-color: #c88a9066
}
}


.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4,
/* Fixes some colors on various zones on VisualEditor on dark theme */
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4 tr:first-child,
body.wgl-theme-dark .oo-ui-toolbar-position-top .ve-ui-toolbarDialog-position-above,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
body.wgl-theme-dark .ve-ui-mwNoticesPopupTool-items > div:not(:first-child),
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
body.wgl-theme-dark .ve-ui-mwHelpPopupTool-item:not(:first-child) {
     background-color: #c4be8066
    border-top: 1px solid #6f6f6f;
}
body.wgl-theme-dark .ve-ui-mwHelpPopupTool-version-label,
body.wgl-theme-dark .ve-ui-mwHelpPopupTool-version-link,
body.wgl-theme-dark .ve-ui-mwHelpPopupTool-version-date {
     color: #cebfd3;
}
}
 
body.wgl-theme-dark .oo-ui-listToolGroup-tools .oo-ui-tool.oo-ui-widget-disabled .oo-ui-tool-title,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c5,
body.wgl-theme-dark .oo-ui-popupToolGroup-tools .oo-ui-tool-link .oo-ui-tool-accel {
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c5 tr:first-child,
     color: #9ea0a1;
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
     background-color: #bcb18466
}
}
 
body.wgl-theme-dark .ve-ce-languageAnnotation {
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5,
     background-color: #141921;
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5 tr:first-child,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
     background-color: #bc9a8066
}
}
 
body.wgl-theme-dark .ve-ce-linkAnnotation.ve-ce-annotation-active {
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5,
    box-shadow: 0 0 0 1px #141921;
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5 tr:first-child,
    background-color: #141921;
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
}
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
body.wgl-theme-dark .oo-ui-bookletLayout > .oo-ui-menuLayout-menu,
     background-color: #f7a16c66
body.wgl-theme-dark .ve-ui-mwTwoPaneTransclusionDialogLayout > .oo-ui-menuLayout-menu,
body.wgl-theme-dark .ve-ui-mwGalleryDialog-menuLayout-desktop > .oo-ui-menuLayout-menu,
body.wgl-theme-dark .ve-ui-diffElement-hasDescriptions .ve-ui-diffElement-content {
     border-right: 1px solid #6f6f6f;
}
}
 
body.wgl-theme-dark .ve-ui-specialCharacterPage-character {
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4,
border: 1px solid #6f6f6f;
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4 tr:first-child,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
    background-color: #b5ae8b66
}
}
 
body.wgl-theme-dark .oo-ui-outlineOptionWidget.oo-ui-optionWidget-highlighted,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c5,
body.wgl-theme-dark .oo-ui-menuOptionWidget.oo-ui-optionWidget-highlighted {
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c5 tr:first-child,
    background-color: #535a69;
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
     color: #9ed2ff;
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
     background-color: #aea18f66
}
}
 
body.wgl-theme-dark .oo-ui-processDialog-actions-safe .oo-ui-widget-enabled.oo-ui-iconElement:not(.oo-ui-labelElement) > .oo-ui-buttonElement-button:active {
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5,
    background-color: #535a69;
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5 tr:first-child,
     border-right-color: #6f6f6f;
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
     background-color: #ae8d8b66
}
}
 
body.wgl-theme-dark .oo-ui-toggleSwitchWidget {
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5,
     background-color: #46494d;
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5 tr:first-child,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
     background-color: #d2917f66
}
}
 
body.wgl-theme-dark .oo-ui-toggleSwitchWidget.oo-ui-widget-disabled {
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5,
    background-color: #6f6f6f;
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5 tr:first-child,
     border-color: #6f6f6f;
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
     background-color: #c89f7366
}
}
 
body.wgl-theme-dark .ve-ui-contextItem + .ve-ui-contextItem {
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5,
    border-top: 1px solid var(--ooui-border);
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5 tr:first-child,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
    background-color: #b2887466
}
}
 
body.wgl-theme-dark .ve-ui-mwAceEditorWidget .ace_editor {
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey td:not(:nth-child(-n+2)) {
     border: 1px solid #6f6f6f;
     background-color: #dee0e366
}
}
 
body.wgl-theme-dark .ve-ui-desktopContext .ve-ui-linkContextItem .ve-ui-linkContextItem-label {
.wgl-theme-dark .autocomment,
border-top: 1px solid #6f6f6f;
.wgl-theme-dark .autocomment a,
.wgl-theme-dark .autocomment a:visited {
    color: #a1a8b1;
}
}
 
body.wgl-theme-dark .oo-ui-menuSelectWidget {
.wgl-theme-dark .mw-rcfilters-ui-tagItemWidget.oo-ui-flaggedElement-muted.oo-ui-tagItemWidget.oo-ui-widget-enabled .oo-ui-labelElement-label {
     background-color: #333;
     color: #9dafc4;
    border: 1px solid #6f6f6f;
}
}
 
body.wgl-theme-dark .oo-ui-menuOptionWidget.oo-ui-widget-enabled.oo-ui-optionWidget {
.wgl-theme-dark .mw-rcfilters-ui-itemMenuOptionWidget-label-title {
color: #e6e6e6;
    color: #c8cbcf;
}
}
 
body.wgl-theme-dark .ve-ui-mwAceEditorWidget .ace_focus {
.wgl-theme-dark .mw-rcfilters-ui-itemMenuOptionWidget:not(:last-child):not(.mw-rcfilters-ui-itemMenuOptionWidget-identifier-talk) {
border-color: #90c0fe;
    border-bottom: 1px solid #505154;
}
}
 
body.wgl-theme-dark .ve-ui-mwLanguagesPage-languages-table th,
.wgl-theme-dark .mw-rcfilters-ui-itemMenuOptionWidget-view-namespaces {
body.wgl-theme-dark .ve-ui-mwLanguagesPage-languages-table td {
    border-top: 4px solid #505154;
  border-bottom:1px solid #000;
}
}
 
body.wgl-theme-dark .ve-ui-mwLanguagesPage-languages-table tr:nth-child(odd) td {
.wgl-theme-dark .mw-rcfilters-ui-filterMenuHeaderWidget-header {
  background:#535353;
    border-bottom: 1px solid #76797d;
    background-color: #4e4f50;
}
}
 
body.wgl-theme-dark .ve-ui-mwLanguagesPage-languages-table tr:nth-child(even) td {
.wgl-theme-dark .mw-rcfilters-ui-filterMenuHeaderWidget-title {
  background:#636363;
    color: #ffffff;
}
}
 
body.wgl-theme-dark .ve-ui-mwLatexDialog-menuLayout > .oo-ui-menuLayout-content {
.wgl-theme-dark .mw-rcfilters-ui-filterMenuOptionWidget.oo-ui-flaggedElement-muted:not(.oo-ui-optionWidget-selected) {
border-bottom: 1px solid #6f6f6f;
    background-color: #292929;
}
}
 
body.wgl-theme-dark .ve-ui-mwLatexPage-symbol {
.wgl-theme-dark .mw-rcfilters-ui-filterMenuSectionOptionWidget {
border: 1px solid #898989;
    background-color: #6e6e6f;
}
}
 
body.wgl-theme-dark .ve-ui-mwLatexPage-symbol-largeLayout.ve-ui-mwLatexPage-symbol-wide,
.wgl-theme-dark .mw-rcfilters-ui-filterMenuSectionOptionWidget-header-title.oo-ui-labelElement-label {
body.wgl-theme-dark .ve-ui-mwLatexPage-symbol {
     color: #dedede;
     filter: invert(1);
}
}
 
body.wgl-theme-dark .ve-ui-mwLatexPage-symbol:is(:hover, :focus-within, :active) {
.wgl-theme-dark .mw-rcfilters-ui-itemMenuOptionWidget-label-desc {
     border-color: #555;
     color: #a1a8ae;
}
}
 
body.wgl-theme-dark .ve-ui-targetWidget:not(.oo-ui-pendingElement-pending) {
.wgl-theme-dark .mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-title {
     background: #292929;
     color: #e2e6e9;
}
}
 
body.wgl-theme-dark .ve-ui-targetWidget {
 
    border: 1px solid #6f6f6f;
/* Links */
body.wgl-theme-dark .mw-collapsible-text,
:where(body.wgl-theme-dark) .toctogglelabel,
:where(body.wgl-theme-dark) .jslink,
:where(body.wgl-theme-dark) .vector-menu-dropdown .mw-list-item a,
:where(body.wgl-theme-dark) .mw-body a.external,
:where(body.wgl-theme-dark) .mw-body a.extiw,
:where(body.wgl-theme-dark) a {
color: #90c0fe;
}
}
:where(body.wgl-theme-dark) .ext-discussiontools-init-replylink-reply:visited,
body.wgl-theme-dark .ve-ce-branchNode-blockSlug,
:where(body.wgl-theme-dark) .ext-discussiontools-init-section-subscribe-link:visited,
body.wgl-theme-dark .ve-ce-branchNode-newSlug {
:where(body.wgl-theme-dark) .mw-body a.external:visited,
    outline: 1px dashed #6f6f6f;
:where(body.wgl-theme-dark) .mw-body a.extiw:visited,
    background-color: rgb(57 57 57 / 75%);
:where(body.wgl-theme-dark) a:visited {
color: #9495f4;
}
}
:where(body.wgl-theme-dark) a.new,
body.wgl-theme-dark .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover {
:where(body.wgl-theme-dark) a.mw-usertoollinks-contribs-no-edits {
    color: #d9d9d9;
color: #ffa4a4;
}
}
:where(body.wgl-theme-dark) a.new:visited,
body.wgl-theme-dark .oo-ui-barToolGroup-tools.oo-ui-toolGroup-enabled-tools .oo-ui-tool.oo-ui-widget-disabled.oo-ui-flaggedElement-primary > .oo-ui-tool-link,
:where(body.wgl-theme-dark) a.mw-usertoollinks-contribs-no-edits:visited {
body.wgl-theme-dark .oo-ui-barToolGroup-tools.oo-ui-toolGroup-disabled-tools .oo-ui-tool.oo-ui-flaggedElement-primary > .oo-ui-tool-link {
color: #fb7a7a;
    background-color: #6f6f6f;
    border-color: #6f6f6f;
}
}
:where(body.wgl-theme-dark) .mw-body a.external:hover,
body.wgl-theme-dark .oo-ui-barToolGroup-tools.oo-ui-toolGroup-enabled-tools .oo-ui-tool.oo-ui-widget-disabled.oo-ui-flaggedElement-primary > .oo-ui-tool-link .oo-ui-tool-title,
:where(body.wgl-theme-dark) .mw-body a.extiw:hover,
body.wgl-theme-dark .oo-ui-barToolGroup-tools.oo-ui-toolGroup-disabled-tools .oo-ui-tool.oo-ui-flaggedElement-primary > .oo-ui-tool-link .oo-ui-tool-title {
:where(body.wgl-theme-dark) a:hover {
    color: #c9c9c9;
color: #7e8eff;
}
}
:where(body.wgl-theme-dark) a.new:hover,
body.wgl-theme-dark .oo-ui-processDialog-actions-safe .oo-ui-widget-enabled.oo-ui-iconElement:not(.oo-ui-labelElement) > .oo-ui-buttonElement-button:hover {
:where(body.wgl-theme-dark) a.mw-usertoollinks-contribs-no-edits:hover {
    background-color: #434f5b;
color: #ff8484;
    border-right-color: #6f6f6f;
}
}
:where(body.wgl-theme-dark) .mw-body a.external:active,
 
:where(body.wgl-theme-dark) .mw-body a.extiw:active,
/* Improves a bit text on the exit without saving changes menu on VisualEditor */
:where(body.wgl-theme-dark) a.new:active,
body.wgl-theme-dark .oo-ui-messageDialog-title {
:where(body.wgl-theme-dark) a.mw-usertoollinks-contribs-no-edits:active,
    color: #e6e6e6;
:where(body.wgl-theme-dark) a:active {
color: #faa700;
}
}
/* [[File:Link-external-small-ltr-progressive.svg]] */
 
:where(body.wgl-theme-dark) .mw-parser-output a.external {
/* Improves labels on the character insertion menu on VisualEditor */
background-image: url('filepath://Link-external-small-ltr-progressive.svg');
body.wgl-theme-dark .ve-ui-specialCharacterPage h3,
body.wgl-theme-dark .ve-ui-mwLatexDialog-content .oo-ui-bookletLayout-stackLayout h3 {
    color: #d7d7d7;
}
}


:where(body.wgl-theme-dark) .ext-discussiontools-init-replylink-buttons.ext-discussiontools-init-replylink-active > .ext-discussiontools-init-replylink-reply,
/* Improves border colors around popups of the VisualEditor on dark theme */
body a.mw-selflink:hover {
/* Borders */
color: inherit;
body.wgl-theme-dark .oo-ui-processDialog-content .oo-ui-window-head,
body.wgl-theme-dark .oo-ui-processDialog-content .oo-ui-window-foot {
    outline: 1px solid #6f6f6f;
}
}
 
body.wgl-theme-dark .oo-ui-searchWidget-query {
/* tables */
    border-bottom: 1px solid #6f6f6f;
body.wgl-theme-dark .mw-datatable,
body.wgl-theme-dark table.mw_metadata,
body.wgl-theme-dark .wikitable,
body.wgl-theme-dark table.mw-abuselog-details,
body.wgl-theme-dark table.mw-interwikitable.body td.mw-interwikitable-local-yes {
color: inherit;
}
}
body.wgl-theme-dark .mw-datatable,
body.wgl-theme-dark .mw-widget-mediaResultWidget-overlay {
body.wgl-theme-dark table.mw_metadata,
    box-shadow: inset 0 0 0 1px #6f6f6f;
body.wgl-theme-dark .mw-datatable th,
body.wgl-theme-dark table.mw_metadata th,
body.wgl-theme-dark .mw-datatable td,
body.wgl-theme-dark table.mw_metadata td,
body.wgl-theme-dark .wikitable,
body.wgl-theme-dark .wikitable > tr > th,
body.wgl-theme-dark .wikitable > tr > td,
body.wgl-theme-dark .wikitable > * > tr > th,
body.wgl-theme-dark .wikitable > * > tr > td,
body.wgl-theme-dark table.mw-abuselog-details,
body.wgl-theme-dark table.mw-abuselog-details td,
body.wgl-theme-dark table.mw-abuselog-details th {
border-color: #444;
}
}
 
body.wgl-theme-dark .mw-widget-mediaResultWidget.oo-ui-optionWidget-highlighted,
body.wgl-theme-dark table.mw-abuselog-details th,
body.wgl-theme-dark .mw-widget-mediaResultWidget.oo-ui-optionWidget-selected {
body.wgl-theme-dark .mw-datatable th,
box-shadow: 0 0 2px #90c0fe;
body.wgl-theme-dark table.mw_metadata th,
body.wgl-theme-dark .wikitable > tr > th,
body.wgl-theme-dark .wikitable > * > tr > th {
background-color: #222;
}
}
body.wgl-theme-dark table.mw-abuselog-details,
/* Input labels */
body.wgl-theme-dark .mw-datatable,
body.wgl-theme-dark .oo-ui-textInputWidget.oo-ui-widget-enabled .oo-ui-inputWidget-input:is(:hover, :focus, :focus-within, :active),
body.wgl-theme-dark table.mw_metadata,
body.wgl-theme-dark .ve-ui-targetWidget-focused {
body.wgl-theme-dark .mw-datatable td,
border-color: #90c0fe;
body.wgl-theme-dark table.mw_metadata td,
    box-shadow: inset 0 0 0 1px #90c0fe;
body.wgl-theme-dark .wikitable {
background-color: #2f2f2f;
}
body.wgl-theme-dark #mw-allmessagestable tbody:hover td,
body.wgl-theme-dark .mw-datatable tr:hover td {
background-color: #222;
}
/* [[File:Sort_both.svg]], [[File:Sort_down.svg]], [[File:Sort_up.svg]] */
body.wgl-theme-dark .client-js .sortable:not(.jquery-tablesorter) > * > tr:first-child > th:not(.unsortable),
body.wgl-theme-dark .jquery-tablesorter th.headerSort {
background-image: url('filepath://Sort_both.svg');
}
body.wgl-theme-dark .jquery-tablesorter th.headerSortDown {
background-image: url('filepath://Sort_down.svg');
}
body.wgl-theme-dark .jquery-tablesorter th.headerSortUp {
background-image: url('filepath://Sort_up.svg');
}
}


body.wgl-theme-dark .mw-json tr,
/* VisualEditor: Style included images like images on the regular page */
body.wgl-theme-dark .mw-json td {
.wgl-theme-dark figure[typeof~="mw:File/Thumb"] > a:first-child > :first-child:not(.mw-broken-media),
  background-color: var(--content-background-color);
.wgl-theme-dark figure[typeof~="mw:File/Frame"] > a:first-child > :first-child:not(.mw-broken-media),
.wgl-theme-dark figure[typeof~="mw:Image/Thumb"] > a:first-child > :first-child:not(.mw-broken-media),
.wgl-theme-dark figure[typeof~="mw:Video/Thumb"] > a:first-child > :first-child:not(.mw-broken-media),
.wgl-theme-dark figure[typeof~="mw:Audio/Thumb"] > a:first-child > :first-child:not(.mw-broken-media),
.wgl-theme-dark figure[typeof~="mw:Image/Frame"] > a:first-child > :first-child:not(.mw-broken-media),
.wgl-theme-dark figure[typeof~="mw:Video/Frame"] > a:first-child > :first-child:not(.mw-broken-media),
.wgl-theme-dark figure[typeof~="mw:Audio/Frame"] > a:first-child > :first-child:not(.mw-broken-media),
.wgl-theme-dark figure[typeof~="mw:File/Thumb"] > span:first-child > :first-child:not(.mw-broken-media),
.wgl-theme-dark figure[typeof~="mw:File/Frame"] > span:first-child > :first-child:not(.mw-broken-media),
.wgl-theme-dark figure[typeof~="mw:Image/Thumb"] > span:first-child > :first-child:not(.mw-broken-media),
.wgl-theme-dark figure[typeof~="mw:Video/Thumb"] > span:first-child > :first-child:not(.mw-broken-media),
.wgl-theme-dark figure[typeof~="mw:Audio/Thumb"] > span:first-child > :first-child:not(.mw-broken-media),
.wgl-theme-dark figure[typeof~="mw:Image/Frame"] > span:first-child > :first-child:not(.mw-broken-media),
.wgl-theme-dark figure[typeof~="mw:Video/Frame"] > span:first-child > :first-child:not(.mw-broken-media),
.wgl-theme-dark figure[typeof~="mw:Audio/Frame"] > span:first-child > :first-child:not(.mw-broken-media) {
    background-color: #282828;
    border-color: #444;
}
}


body.wgl-theme-dark td.mw-json-value,
/* Changes the color of the highlighting icons' background */
body.wgl-theme-dark td.mw-json-single-value {
/* Hovering */
  background-color: var(--ooui-enabled);
body.wgl-theme-dark .tool.oo-ui-buttonElement-frameless.oo-ui-iconElement > .oo-ui-buttonElement-button:is(:hover, :focus-within),
body.wgl-theme-dark .wikiEditor-ui-toolbar .group .tool-select .menu .options .option:is(:hover, :focus-within),
body.wgl-theme-dark .wikiEditor-ui-toolbar .tabs span.tab a:is(:hover, :focus-within),
body.wgl-theme-dark .wikiEditor-ui-toolbar .group div.tool.tool-select a.label:is(:hover, :focus-within),
body.wgl-theme-dark .wikiEditor-ui-toolbar .page-characters div span:hover,
body.wgl-theme-dark .wikiEditor-ui-toolbar .booklet > .index > :hover,
body.wgl-theme-dark .wikiEditor-ui-toolbar .page-characters div .wikiEditor-character-highlighted,
body.wgl-theme-dark .oo-ui-tool.oo-ui-widget-enabled > .oo-ui-tool-link:hover,
body.wgl-theme-dark .oo-ui-listToolGroup-tools .oo-ui-tool.oo-ui-widget-enabled:hover {
background-color: #4b4c4f;
color: var(--ooui-color);
}
/* Active */
body.wgl-theme-dark .oo-ui-toggleButtonWidget.oo-ui-widget-enabled.oo-ui-buttonElement-frameless.oo-ui-toggleWidget-on .oo-ui-buttonElement-button,
body.wgl-theme-dark .wikiEditor-ui-toolbar .tabs span.tab a.current,
body.wgl-theme-dark .wikiEditor-ui-toolbar .group div.tool.tool-select.options-shown > a.label,
body.wgl-theme-dark .oo-ui-popupToolGroup.oo-ui-popupToolGroup-active > .oo-ui-popupToolGroup-handle,
body.wgl-theme-dark .oo-ui-listToolGroup-tools .oo-ui-tool.oo-ui-widget-enabled:active,
body.wgl-theme-dark .oo-ui-outlineOptionWidget.oo-ui-optionWidget-selected,
body.wgl-theme-dark .oo-ui-tool.oo-ui-widget-enabled > .oo-ui-tool-link:active,
body.wgl-theme-dark .oo-ui-tool.oo-ui-widget-enabled.oo-ui-tool-active > .oo-ui-tool-link,
body.wgl-theme-dark .wikiEditor-ui-toolbar .booklet > .index > .current {
background-color: #454e61;
color: #90c0fe;
}
}


body.wgl-theme-dark .mw-json th {
/* Fixes Heading insert icon on dark theme */
  background-color: #26282d;
body.wgl-theme-dark .wikiEditor-ui-toolbar .group .tool-select .label:after {
filter: invert(1);
}
}


/* Code, Pre */
/* Fixes Heading insert options background on dark theme */
@media screen {
body.wgl-theme-dark .wikiEditor-ui-toolbar .group .tool-select .options {
body.wgl-theme-dark pre,
border: 1px solid var(--ooui-border);
body.wgl-theme-dark code,
background-color: #353535;
body.wgl-theme-dark .mw-code {
background-color: #444444;
color: #fff;
border: 1px solid #6f6f6f;
}
}
}


body.wgl-theme-dark .mw-content-ltr.mw-highlight-lines pre,
/* Fixes Heading insert options text color on dark theme */
body.wgl-theme-dark .mw-content-ltr.content .mw-highlight-lines pre {
body.wgl-theme-dark .wikiEditor-ui-toolbar .group .tool-select .options .option {
    box-shadow: none;
color: #e6e6e6;
}
}


/* Miscellaneous */
/* Fixes text colors on some menus on dark theme */
body.wgl-theme-dark .notaninfobox,
body.wgl-theme-dark .oo-ui-popupToolGroup-tools .oo-ui-tool-active.oo-ui-widget-enabled .oo-ui-tool-link .oo-ui-tool-title {
body.wgl-theme-dark .gallerybox .thumb,
    color: #90c0fe;
body.wgl-theme-dark .thumbimage,
body.wgl-theme-dark figure[typeof~='mw:File/Thumb'],
body.wgl-theme-dark figure[typeof~='mw:File/Thumb'] > figcaption,
body.wgl-theme-dark figure[typeof~='mw:File/Frame'],
body.wgl-theme-dark figure[typeof~='mw:File/Frame'] > figcaption,
body.wgl-theme-dark .thumbinner,
body.wgl-theme-dark .ve-ce-mwBlockImageNode-type-thumb, /* thumb images in visual editor */
body.wgl-theme-dark .ve-ce-mwBlockImageNode-type-thumb > figcaption,
body.wgl-theme-dark #catlinks,
body.wgl-theme-dark #toc,
body.wgl-theme-dark .toc,
body.wgl-theme-dark .toccolours,
body.wgl-theme-dark .mw-warning,
body.wgl-theme-dark .navpopup,
body.wgl-theme-dark .ref-tooltip-text,
body.wgl-theme-dark #filetoc,
body.wgl-theme-dark .directorstable {
background-color: #282828;
border-color: #444;
}
}


body.wgl-theme-dark .mwe-popups,
/* Fixes Special characters and Help menus buttons and labels */
body.wgl-theme-dark .mwe-popups-container,
/* Normal */
body.wgl-theme-dark .mwe-popups .mwe-popups-extract {
body.wgl-theme-dark .wikiEditor-ui-toolbar .page-characters div span {
color: #fff;
border: 1px solid #6f6f6f;
background-color: #282828;
color: #e6e6e6;
}
}


body.wgl-theme-dark .mwe-popups .mwe-popups-extract[dir='ltr']:after {
/* Fixes Help menu colors */
display: none;
body.wgl-theme-dark .wikiEditor-ui-toolbar .page-table th {
color: #e6e6e6;
}
body.wgl-theme-dark .wikiEditor-ui-toolbar .page-table td {
color: #e6e6e6;
border-top: 1px solid #595959;
}
}


body.wgl-theme-dark #mw-content-text .hlist li:not(:last-child)::after {
/* Makes a border color a bit consistent on the notice popup on VisualEditor */
background-color: #fff;
body.wgl-theme-dark .oo-ui-popupWidget-popup {
    border: 1px solid #6f6f6f;
}
}
 
body.wgl-theme-dark .oo-ui-popupWidget-anchored-top .oo-ui-popupWidget-anchor:after {
body.wgl-theme-dark .tocnumber {
    border-bottom-color: #323232;
color: #E0E0EC;
}
}
 
body.wgl-theme-dark .oo-ui-popupWidget-anchored-top .oo-ui-popupWidget-anchor:before {
body.wgl-theme-dark #pagehistory li.selected {
    border-bottom-color: #6f6f6f;
background-color: #444;
color: #e6e6e6;
}
}


body.wgl-theme-dark #pagehistory .updatedmarker {
/* Fixes dark theme for the editor toggle */
  background-color: #608000;
/* General background of the options menu */
  color: white;
body.wgl-theme-dark .oo-ui-popupToolGroup-tools,
.wgl-theme-dark .oo-ui-popupWidget .oo-ui-popupWidget-popup {
background-color: #353535;
border: 1px solid #6f6f6f;
}
}


/* smw cache warning on category pages */
/* Color of the active selected option */
body.wgl-theme-dark .smw-callout-warning {
body.wgl-theme-dark .oo-ui-listToolGroup-tools .oo-ui-tool-active.oo-ui-widget-enabled .oo-ui-tool-link .oo-ui-tool-title {
  background-color: hsl(60,25%,8%);
color: #90c0fe;
  border-left-color: hsl(60,15%,36%);
}
}


/* error message box in Special:BatchUpload */
/* Visual Editor link popup article preview image background */
body.wgl-theme-dark .fileupload-results .ful-error {
body.wgl-theme-dark .ve-ui-mwInternalLinkContextItem-withImage > .oo-ui-iconElement.oo-ui-iconElement-icon {
background-color: maroon;
background-color: transparent;
}
}


/* Syntax highlight, CodeEditor */
/* Makes the text editing section a certain color on all cases */
/* https://github.com/pygments/pygments/blob/master/pygments/token.py#L123 */
body.wgl-theme-dark .wikiEditor-ui,
body.wgl-theme-dark .ace-tm .ace_cursor,
body.wgl-theme-dark .CodeMirror,
body.wgl-theme-dark .ace-tm .ace_support.ace_function {
body.wgl-theme-dark .mw-editform #wpTextbox1,
color: #fff;
}
body.wgl-theme-dark .ace-tm,
body.wgl-theme-dark .ace-tm,
body.wgl-theme-dark .ace-tm .ace_gutter,
body.wgl-theme-dark .wikiEditor-ui textarea {
body.wgl-theme-dark .codeEditor-status,
background-color: #1e1e1e;
body.wgl-theme-dark .mw-highlight pre {
background-color: #282828;
color: #fff;
}
}


/* Makes the syntax highlighting number line more readable */
body.wgl-theme-dark .CodeMirror-gutter,
body.wgl-theme-dark CodeMirror-linenumbers,
body.wgl-theme-dark .ace-tm .ace_gutter {
body.wgl-theme-dark .ace-tm .ace_gutter {
border-right: 1px solid #232324;
background: #333333;
border-right: 1px solid #6f6f6f;
color: #fff;
}
body.wgl-theme-dark .ace-tm .ace_gutter-active-line {
background-color: #5f5f5f;
color: #e6e6e6;
}
}


body.wgl-theme-dark .ace-tm .ace_comment,
/* Adds more padding to these notices */
body.wgl-theme-dark .mw-highlight .c, /* comment */
body.wgl-theme-dark .codeEditor-status {
body.wgl-theme-dark .mw-highlight .c1, /* single comment */
border-top: 1px solid #6f6f6f;
body.wgl-theme-dark .mw-highlight .cm { /* multiline comment */
color: #afafaf;
}
}
body.wgl-theme-dark .ace-tm .ace_keyword.ace_operator,
 
body.wgl-theme-dark .mw-highlight .o { /* operator */
/* Changes colors of the save section */
color: #a9a9a9;
body.wgl-theme-dark .editOptions {
background-color: #353535;
border-top: 1px solid #595959;
border-bottom: 1px solid #595959;
}
}
body.wgl-theme-dark .mw-highlight .cp { /* preproc */
 
color: #ea9800;
/* Changes the edit save popup */
/* Popup background */
body.wgl-theme-dark .oo-ui-windowManager-modal > .oo-ui-dialog {
  background-color: #0008;
}
}
body.wgl-theme-dark .ace-tm .ace_storage,
 
body.wgl-theme-dark .ace-tm .ace_keyword,
/* Actual background colors */
body.wgl-theme-dark .ace-tm .ace_constant,
body.wgl-theme-dark .oo-ui-windowManager-modal.oo-ui-windowManager-floating > .oo-ui-dialog > .oo-ui-window-frame {
body.wgl-theme-dark .ace-tm .ace_constant.ace_language,
background-color: #414141;
body.wgl-theme-dark .ace-tm .ace_support.ace_type,
body.wgl-theme-dark .mw-highlight .bp, /* pseudo buildin */
body.wgl-theme-dark .mw-highlight .nt, /* tag name */
body.wgl-theme-dark .mw-highlight .k, /* keyword */
body.wgl-theme-dark .mw-highlight .kr, /* reserved keyword */
body.wgl-theme-dark .mw-highlight .kd, /* declaration keyword */
body.wgl-theme-dark .mw-highlight .kp, /* pseudo keyword */
body.wgl-theme-dark .mw-highlight .kc { /* constant keyword */
color: #00cf00;
}
}
body.wgl-theme-dark .mw-highlight .kt { /* type keyword */
/* Text color on dark theme */
color: #ff90b8;
body.wgl-theme-dark .oo-ui-messageDialog-message {
color: #fff;
}
}
body.wgl-theme-dark .mw-highlight .nb { /* buildin name */
/* Separator line colors */
color: #01cd01;
body.wgl-theme-dark .oo-ui-messageDialog-content > .oo-ui-window-foot {
outline: 1px solid var(--ooui-border);
}
}
body.wgl-theme-dark .ace-tm .ace_variable,
body.wgl-theme-dark .oo-ui-messageDialog-actions-horizontal .oo-ui-actionWidget {
body.wgl-theme-dark .mw-highlight .nc { /* class name */
border-right: 1px solid var(--ooui-border);
color: #8bb2ff;
}
}
body.wgl-theme-dark .mw-highlight .nd { /* decorator name */
/* Cancel button colors */
color: #d592ff;
body.wgl-theme-dark .oo-ui-messageDialog-actions-horizontal .oo-ui-actionWidget:first-child > .oo-ui-buttonElement-button {
background-color: #414141;
color: var(--ooui-destructive);
}
}
body.wgl-theme-dark .mw-highlight .nf { /* function name */
body.wgl-theme-dark .oo-ui-messageDialog-actions-horizontal .oo-ui-actionWidget:first-child > .oo-ui-buttonElement-button:is(:hover, :focus-within) {
color: #AAAAFF;
background-color: #615858;
}
}
body.wgl-theme-dark .mw-highlight .nn { /* namespace name */
/* Accept button colors */
color: #a0a0ff;
body.wgl-theme-dark .oo-ui-messageDialog-actions-horizontal .oo-ui-actionWidget:last-child > .oo-ui-buttonElement-button {
background-color: #36c;
color: #fff;
}
}
body.wgl-theme-dark .mw-highlight .nv { /* variable name */
body.wgl-theme-dark .oo-ui-messageDialog-actions-horizontal .oo-ui-actionWidget:last-child > .oo-ui-buttonElement-button:is(:hover, :focus-within) {
color: #9cdcfe;
background-color: #447ff5;
}
}
body.wgl-theme-dark .mw-highlight .w { /* whitespace */
 
color: #bbbbbb;
/* Other popups */
/* Actual background colors */
body.wgl-theme-dark .ui-widget-content {
border: 0;
background: #414141;
color: var(--ooui-color);
}
}
body.wgl-theme-dark .mw-highlight .mi, /* integer number */
/* Input fields */
body.wgl-theme-dark .mw-highlight .mf { /* float number */
body.wgl-theme-dark #wikieditor-toolbar-file-target,
color: #b2b2b2;
body.wgl-theme-dark #wikieditor-toolbar-file-caption,
body.wgl-theme-dark #wikieditor-toolbar-file-alt,
body.wgl-theme-dark .ui-widget input,
body.wgl-theme-dark .ui-widget select,
body.wgl-theme-dark .ui-widget textarea,
body.wgl-theme-dark .ui-widget button {
border: 1px solid #595959;
color: var(--ooui-color);
}
}
body.wgl-theme-dark .ace-tm .ace_constant.ace_numeric,
/* Header colors */
body.wgl-theme-dark .mw-highlight .mh { /* hex number */
body.wgl-theme-dark .ui-dialog .ui-widget-header {
color: #a9a9a9;
background: #5a5a5b !important;
color: var(--ooui-color);
}
}
body.wgl-theme-dark .ace-tm .ace_string,
/* Inverts the closing button color */
body.wgl-theme-dark .mw-highlight .s, /* string */
body.wgl-theme-dark .ui-dialog .ui-icon-closethick {
body.wgl-theme-dark .mw-highlight .s1, /* single string */
filter: invert(1);
body.wgl-theme-dark .mw-highlight .s2 { /* double string */
color: #ff8b8b;
}
}
body.wgl-theme-dark .mw-highlight .ow { /* operator word */
/* Turns the Show help text of inserting images into a button */
color: #bc52ff;
body.wgl-theme-dark .wikieditor-toolbar-file-alt-help {
background: var(--ooui-enabled);
border: 1px solid var(--ooui-border);
}
}
body.wgl-theme-dark .mw-highlight .hll { /* highlighted line */
body.wgl-theme-dark .wikieditor-toolbar-file-alt-help:is(:hover, :focus-within) {
background-color: #330;
background: var(--ooui-enabled-hover) !important;
border: 1px solid #7a8191 !important;
}
}
body.wgl-theme-dark .mw-highlight a:hover .linenos, /* hovered line number */
/* Changes colors of the separator line */
body.wgl-theme-dark .mw-highlight .hll a .linenos { /* highlighted line number */
body.wgl-theme-dark .wikiEditor-toolbar-dialog .ui-dialog-buttonpane {
color: #ccc;
border-top: 1px solid var(--ooui-border) !important;
}
}
/* Code editor highlight */
/* Changes colors of the bottom buttons */
body.wgl-theme-dark .ace_marker-layer .ace_selected-word {
body.wgl-theme-dark .ui-dialog .ui-dialog-buttonpane button {
background: #333;
background: var(--ooui-enabled) !important;
border-color: #666;
color: var(--ooui-color);
border: 1px solid var(--ooui-border) !important;
}
}
body.wgl-theme-dark .ace-tm .ace_marker-layer .ace_selection {
body.wgl-theme-dark .ui-dialog .ui-dialog-buttonpane button:is(:hover, :focus-within) {
background: #246;
background: var(--ooui-enabled-hover) !important;
border: 1px solid #7a8191 !important;
}
}
/* Diff overview */
 
body.wgl-theme-dark td.diff-context {
/* Fixing indent on CodeEditor */
background-color: #232324;
body.wgl-theme-dark .ace-tm .ace_indent-guide {
border-color: #313233;
    filter: brightness(0.5);
color: #BFBFBF;
}
 
/* Improvements for colors on Search & Replace */
body.wgl-theme-dark #wikieditor-toolbar-replace-nomatch {
background-color: #794c4c;
}
}
body.wgl-theme-dark td.diff-addedline {
body.wgl-theme-dark #wikieditor-toolbar-replace-emptysearch {
background-color: #494a4b;
background-color: #6f6d48;
border-color: #686869;
border-left-color: #005e20;
color: #fff;
}
}
body.wgl-theme-dark td.diff-deletedline {
body.wgl-theme-dark #wikieditor-toolbar-replace-success {
background-color: #494a4b;
background-color: #44694b;
border-color: #686869;
border-left-color: #9f0000;
color: #fff;
}
}
body.wgl-theme-dark .diff-addedline .diffchange {
body.wgl-theme-dark #wikieditor-toolbar-replace-invalidregex {
background-color: #005e20;
background-color: #6e4b71;
}
}


body.wgl-theme-dark .diff-deletedline .diffchange {
/* CodeEditor search color fixes for dark theme */
background-color: #9f0000;
body.wgl-theme-dark .ace_search {
background-color: #353535;
border: 1px solid var(--ooui-border);
border-top: 0;
border-right: 0;
color: #e6e6e6;
}
}


/* Revision slider */
/* CodeEditor search input field color fixes for dark theme */
body.wgl-theme-dark .mw-revslider-pointer-line .mw-revslider-lower-color {
body.wgl-theme-dark .ace_search_field {
border-color: #ffa1a1;
border-radius: 3px 0 0 3px;
background-color: #414141;
color: #e6e6e6;
border: 1px solid var(--ooui-border);
border-right: 0;
}
}
body.wgl-theme-dark .mw-revslider-pointer-line .mw-revslider-upper-color {
 
border-color: #00e04c;
/* CodeEditor search button color fixes for dark theme */
body.wgl-theme-dark .ace_searchbtn {
border: 1px solid var(--ooui-border);
background: #414141;
color: #e6e6e6;
border-right: 0;
border-left: 1px solid var(--ooui-border);
}
}
body.wgl-theme-dark .mw-revslider-pointer-container-older .mw-revslider-slider-line {
body.wgl-theme-dark .ace_button {
border-color: rgba(255, 161, 161, 0.5)
border: 1px solid var(--ooui-border);
color: #e6e6e6;
}
}
body.wgl-theme-dark .mw-revslider-pointer-container-older:hover .mw-revslider-slider-line {
 
border-color: rgba(255, 161, 161, 0.8)
/* Text selection fixes for dark theme */
body.wgl-theme-dark .cm-mw-doubleUnderscore,
body.wgl-theme-dark .cm-mw-signature,
body.wgl-theme-dark .cm-mw-hr {
background-color: #1e1e1e;
}
}
body.wgl-theme-dark .mw-revslider-pointer-container-newer .mw-revslider-slider-line {
 
border-color: rgba(0, 224, 76, 0.5)
/* Dark theme fixes for VisualEditor's save UI */
body.wgl-theme-dark a.extiw {
    color: #90c0fe;
}
}
body.wgl-theme-dark .mw-revslider-pointer-container-newer:hover .mw-revslider-slider-line {
body.wgl-theme-dark a.extiw:visited {
border-color: rgba(0, 224, 76, 0.8)
    color: #9495f4;
}
}
body.wgl-theme-dark .mw-revslider-pointer.mw-revslider-pointer-newer {
body.wgl-theme-dark #editpage-copywarn a {
border-color: #00e04c;
color: #90c0fe;
background-color: #00e04c;
}
background-image: linear-gradient(to bottom,#76ffa5 0,#00e04c 100%);
body.wgl-theme-dark #editpage-copywarn a:visited {
    color: #9495f4;
}
}
body.wgl-theme-dark .mw-revslider-pointer.mw-revslider-pointer-older {
body.wgl-theme-dark .ve-ui-mwSaveDialog-license,
border-color: #ffa1a1;
body.wgl-theme-dark .ve-ui-diffElement-attributeChange {
background-color: #ffa1a1;
    color: #bfbfbf;
background-image: linear-gradient(to bottom,#ffdada 0,#ffa1a1 100%);
}
}
 
body.wgl-theme-dark .ve-ui-changeDescriptionsSelectWidget > .oo-ui-optionWidget-highlighted {
/* CodeMirror */
    background: #57759c;
body.wgl-theme-dark .CodeMirror {
background-color: #1e1e1e;
color: #fff;
}
}


/* CodeMirror selection */
.wgl-theme-dark .CodeMirror-line::selection,
.wgl-theme-dark .CodeMirror-line > span::selection,
.wgl-theme-dark .CodeMirror-line > span > span::selection {
background: #246;
}


/* CodeMirror comments */
body.wgl-theme-dark .cm-mw-comment {
color: #afafaf;
}


/* CodeMirror links */
body.wgl-theme-dark .cm-mw-link-pagename,
body.wgl-theme-dark .cm-mw-link-bracket,
body.wgl-theme-dark .cm-mw-link-delimiter,
body.wgl-theme-dark .cm-mw-extlink,
body.wgl-theme-dark .cm-mw-free-extlink,
body.wgl-theme-dark .cm-mw-extlink-protocol,
body.wgl-theme-dark .cm-mw-free-extlink-protocol,
body.wgl-theme-dark .cm-mw-extlink-bracket {
color: #8bb2ff;
}


/* CodeMirror Parser function */
/**********
body.wgl-theme-dark .cm-mw-parserfunction-name,
CodeEditor (also called AceEditor) colors
body.wgl-theme-dark .cm-mw-parserfunction-bracket,
Consistency between light and dark themes
body.wgl-theme-dark .cm-mw-parserfunction-delimiter {
**********/
color: #ffa0a0;
body.wgl-theme-dark .ace-tm .ace_comment {
color: #b5b9c5;
}
}
 
body.wgl-theme-dark .ace-tm .ace_support.ace_function {
/* CodeMirror table color */
color: #fff;
body.wgl-theme-dark .cm-mw-table-bracket,
body.wgl-theme-dark .cm-mw-table-delimiter,
body.wgl-theme-dark .cm-mw-table-definition {
color: #ff40af;
}
}
 
body.wgl-theme-dark .ace-tm .ace_constant,
/* CodeMirror template color */
body.wgl-theme-dark .ace-tm .ace_string {
body.wgl-theme-dark .cm-mw-template,
color: #ffa4a7;
body.wgl-theme-dark .cm-mw-template-name,
body.wgl-theme-dark .cm-mw-template-argument-name,
body.wgl-theme-dark .cm-mw-template-delimiter,
body.wgl-theme-dark .cm-mw-template-bracket {
color: #c44eff;
}
}
 
body.wgl-theme-dark .ace-tm .ace_variable {
/* CodeMirror template variable variable */
color: #90c8d9;
body.wgl-theme-dark .cm-mw-templatevariable,
body.wgl-theme-dark .cm-mw-templatevariable-bracket,
body.wgl-theme-dark .cm-mw-templatevariable-name,
body.wgl-theme-dark .cm-mw-templatevariable-delimiter {
color: #ffa826;
}
}
 
body.wgl-theme-dark .ace-tm .ace_support.ace_type,
/* CodeMirror wikitext formatting */
body.wgl-theme-dark .ace-tm .ace_support.ace_class,
body.wgl-theme-dark .cm-mw-list,
body.wgl-theme-dark .ace-tm .ace_constant.ace_language,
body.wgl-theme-dark .cm-mw-indenting,
body.wgl-theme-dark .ace-tm .ace_constant.ace_library {
body.wgl-theme-dark .cm-mw-doubleUnderscore,
color: #1fe326;
body.wgl-theme-dark .cm-mw-signature,
body.wgl-theme-dark .cm-mw-hr,
body.wgl-theme-dark .cm-mw-apostrophes-bold,
body.wgl-theme-dark .cm-mw-apostrophes-italic,
body.wgl-theme-dark .cm-mw-link,
body.wgl-theme-dark .cm-mw-link-tosection,
body.wgl-theme-dark .cm-mw-section-header {
color: #57b1ff;
}
}
 
body.wgl-theme-dark .ace-tm .ace_constant.ace_numeric,
/* CodeMirror xml tag */
body.wgl-theme-dark .ace-tm .ace_storage,
body.wgl-theme-dark .cm-mw-mnemonic,
body.wgl-theme-dark .ace-tm .ace_keyword {
body.wgl-theme-dark .cm-mw-exttag-name,
color: #9bbdff;
body.wgl-theme-dark .cm-mw-htmltag-name,
body.wgl-theme-dark .cm-mw-exttag-bracket,
body.wgl-theme-dark .cm-mw-exttag-attribute,
body.wgl-theme-dark .cm-mw-htmltag-bracket,
body.wgl-theme-dark .cm-mw-htmltag-attribute {
color: #00cf00;
}
}
 
body.wgl-theme-dark .ace-tm .ace_keyword.ace_operator {
/* Tabs */
color: #a9a9a9;
body.wgl-theme-dark #p-namespaces a,
body.wgl-theme-dark #p-views a,
body.wgl-theme-dark #p-sharing span,
body.wgl-theme-dark #p-cactions-label span,
body.wgl-theme-dark div#mw-head div.vectorMenu h4 {
color: #fff;
}
}
 
body.wgl-theme-dark .ace-tm .ace_support.ace_constant {
body.wgl-theme-dark #p-namespaces .new a,
color: #f9b77d;
body.wgl-theme-dark #p-views .new a {
}
color: #ffa4a4;
body.wgl-theme-dark .ace-tm .ace_entity.ace_name.ace_function {
color: #28ccff;
}
body.wgl-theme-dark .ace-tm .ace_comment.ace_doc {
color: #9faad3;
}
}


/* Invert dark icons */
body.wgl-theme-dark .magnify a,
body.wgl-theme-dark .ve-ce-mwBlockImageNode-type-thumb > a::after, /* visual editor thumbnail magnify */
body.wgl-theme-dark .mwe-popups-settings-icon,
body.wgl-theme-dark .vector-menu-dropdown .vector-menu-heading:after,
body.wgl-theme-dark #footer-icons,
body.wgl-theme-dark .mw-icon-arrow-collapsed :not(p),
body.wgl-theme-dark .mw-collapsible-arrow.mw-collapsible-toggle-collapsed,
body.wgl-theme-dark .mw-mmv-filepage-buttons .mw-ui-icon:before,
body.wgl-theme-dark .redirectText li:first-child, /* redirect icon; inverts the text next to the icon as well */
body.wgl-theme-dark .redirectText li:first-child > a, /* invert text next to the redirect icon back */
body.wgl-theme-dark .darkmode-invert {
filter: invert(1);
}


/* OOUI buttons */
 
:root body.wgl-theme-dark {
 
--ooui-color: #fff;
/**********
--ooui-progressive: #6f9fff;
CodeMirror (WikiEditor syntax highlighting) colors
--ooui-progressive-hover: #447ff5;
Consistency between light and dark themes
--ooui-destructive: #ff6767;
**********/
--ooui-destructive-hover: #ff4242;
/* Parser functions */
--ooui-enabled: #373f50;
body.wgl-theme-dark .cm-mw-parserfunction-name,
--ooui-enabled-hover: #4f596d;
body.wgl-theme-dark .cm-mw-parserfunction-bracket,
--ooui-border: #5a5d64;
body.wgl-theme-dark .cm-mw-parserfunction-delimiter {
--ooui-border-disabled: #494c52;
color: #ffa3a3;
--ooui-disabled: #191d25;
--ooui-text-disabled: #72777d;
}
}
/* overwriting styles from here:
/* Templates */
* https://gerrit.wikimedia.org/r/plugins/gitiles/oojs/ui/+/refs/heads/master/src/styles/elements/ButtonElement.less
body.wgl-theme-dark .cm-mw-template,
* https://gerrit.wikimedia.org/r/plugins/gitiles/oojs/ui/+/refs/heads/master/src/themes/wikimediaui/elements.less */
body.wgl-theme-dark .cm-mw-template-name,
body.wgl-theme-dark .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button {
body.wgl-theme-dark .cm-mw-template-argument-name,
color: var(--ooui-color);
body.wgl-theme-dark .cm-mw-template-delimiter,
body.wgl-theme-dark .cm-mw-template-bracket {
color: #d7a9ff;
}
}
body.wgl-theme-dark .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover {
/* Page links */
background-color: unset;
body.wgl-theme-dark .cm-mw-link-pagename,
color: #d9d9d9;
body.wgl-theme-dark .cm-mw-link-bracket,
body.wgl-theme-dark .cm-mw-link-delimiter,
body.wgl-theme-dark .cm-mw-extlink,
body.wgl-theme-dark .cm-mw-free-extlink,
body.wgl-theme-dark .cm-mw-extlink-protocol,
body.wgl-theme-dark .cm-mw-free-extlink-protocol,
body.wgl-theme-dark .cm-mw-extlink-bracket {
color: #9fbfff;
}
}
body.wgl-theme-dark .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button:focus {
/* Tags */
border-color: var(--ooui-border);
body.wgl-theme-dark .cm-mw-mnemonic,
box-shadow: var(--ooui-border);
body.wgl-theme-dark .cm-mw-exttag-name,
body.wgl-theme-dark .cm-mw-htmltag-name,
body.wgl-theme-dark .cm-mw-exttag-bracket,
body.wgl-theme-dark .cm-mw-exttag-attribute,
body.wgl-theme-dark .cm-mw-htmltag-bracket,
body.wgl-theme-dark .cm-mw-htmltag-attribute {
color: #0be10b;
}
}
body.wgl-theme-dark .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-buttonElement-pressed > input.oo-ui-buttonElement-button,
/* Comments */
body.wgl-theme-dark .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button:active {
body.wgl-theme-dark .cm-mw-comment {
background-color: unset;
color: #bbbbbb;
color: var(--ooui-color);
border-color: var(--ooui-border);
}
}
body.wgl-theme-dark .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button {
/* Template variables */
color: var(--ooui-progressive);
body.wgl-theme-dark .cm-mw-templatevariable,
body.wgl-theme-dark .cm-mw-templatevariable-bracket,
body.wgl-theme-dark .cm-mw-templatevariable-name,
body.wgl-theme-dark .cm-mw-templatevariable-delimiter {
color: #e9b15c;
}
}
body.wgl-theme-dark .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover {
/* Links to sections and other formatting */
color: var(--ooui-progressive-hover);
body.wgl-theme-dark .cm-mw-list,
body.wgl-theme-dark .cm-mw-indenting,
body.wgl-theme-dark .cm-mw-doubleUnderscore,
body.wgl-theme-dark .cm-mw-signature,
body.wgl-theme-dark .cm-mw-hr,
body.wgl-theme-dark .cm-mw-apostrophes-bold,
body.wgl-theme-dark .cm-mw-apostrophes-italic,
body.wgl-theme-dark .cm-mw-link,
body.wgl-theme-dark .cm-mw-link-tosection,
body.wgl-theme-dark .cm-mw-section-header {
color: #66d3ff;
}
}
body.wgl-theme-dark .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:active,
/* Tables */
body.wgl-theme-dark .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive.oo-ui-buttonElement-pressed > .oo-ui-buttonElement-button {
body.wgl-theme-dark .cm-mw-table-bracket,
color: var(--ooui-progressive);
body.wgl-theme-dark .cm-mw-table-delimiter,
border-color: var(--ooui-progressive);
body.wgl-theme-dark .cm-mw-table-definition {
    color: #ff9ed6;
}
}
body.wgl-theme-dark .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button {
/* Matching brackets */
color: var(--ooui-destructive);
body.wgl-theme-dark .cm-mw-matchingbracket {
background-color: #7d7d38;
}
}
body.wgl-theme-dark .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button:hover {
 
color: var(--ooui-destructive-hover);
/* Scribunto debug console */
body.wgl-theme-dark .mw-scribunto-console-fieldset {
  background: var(--archive-box-background-color);
  color: var(--content-text-color);
}
}
body.wgl-theme-dark .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button:active,
body.wgl-theme-dark #mw-scribunto-input {
body.wgl-theme-dark .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive.oo-ui-buttonElement-pressed > .oo-ui-buttonElement-button {
  background: var(--base-background-color);
color: var(--ooui-destructive);
  color: #88f;
border-color: var(--ooui-destructive);
}
}
body.wgl-theme-dark .oo-ui-buttonElement-frameless.oo-ui-widget-disabled > .oo-ui-buttonElement-button {
body.wgl-theme-dark .mw-scribunto-input {
color: var(--ooui-text-disabled);
  color: #88f;
}
}
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-disabled > .oo-ui-buttonElement-button {
body.wgl-theme-dark .mw-scribunto-normalOutput {
background: var(--ooui-disabled);
  color: var(--content-text-color);
color: var(--ooui-text-disabled);
  background: var(--archive-box-background-color);
border-color: var(--ooui-border-disabled);
}
}
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button {
body.wgl-theme-dark .mw-scribunto-print {
background: var(--ooui-enabled);
  color: #da8;
color: var(--ooui-color);
  background: var(--archive-box-background-color);
border-color: var(--ooui-border);
box-shadow: var(--ooui-color);
}
}
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover,
body.wgl-theme-dark .mw-scribunto-error {
body.wgl-theme-dark .oo-ui-popupToolGroup.oo-ui-widget-enabled > .oo-ui-popupToolGroup-handle:hover {
  color: #f88;
background: var(--ooui-enabled-hover);
  background: var(--archive-box-background-color)
color: var(--ooui-color);
border-color: var(--ooui-border);
}
}
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:focus {
body.wgl-theme-dark .mw-scribunto-propList {
border-color: var(--ooui-border);
  color: #8f8;
box-shadow: var(--ooui-color), var(--ooui-color);
  background: var(--archive-box-background-color)
}
}
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-buttonElement-active > .oo-ui-buttonElement-button {
body.wgl-theme-dark .mw-scribunto-message {
background: var(--ooui-enabled-hover);
  color: #8f8;
color: var(--ooui-color);
  background: var(--archive-box-background-color)
border-color: var(--ooui-border);
}
}
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-buttonElement-active > .oo-ui-buttonElement-button:focus {
body.wgl-theme-dark .mw-scribunto-tabcomplete {
border-color: var(--ooui-border);
  color: #f8f;
box-shadow: var(--ooui-color), var(--ooui-color);
  background: var(--archive-box-background-color)
}
}
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:active,
body.wgl-theme-dark .mw-scribunto-clear {
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-buttonElement-pressed > .oo-ui-buttonElement-button {
  color: #f88;
background: var(--ooui-enabled);
  border-bottom-color: #f88
color: var(--ooui-color);
border-color: var(--ooui-border);
}
}
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button {
 
color: var(--ooui-progressive);
body.wgl-theme-dark .mw-prefs-tabs.mw-prefs-tabs-searching .oo-ui-tabPanelLayout.mw-prefs-search-matched > fieldset > legend {
    background-color: #373f50;
}
}
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover {
 
color: var(--ooui-progressive-hover);
body.wgl-theme-dark .mw-prefs-search-highlight,
background: var(--ooui-enabled);
body.wgl-theme-dark .mw-prefs-tabs:not(.mw-prefs-tabs-searching) .oo-ui-fieldsetLayout:target > .oo-ui-fieldsetLayout-header > .oo-ui-labelElement-label {
border-color: var(--ooui-progressive-hover);
    background: #0b1e39 !important;
    outline: 3px solid #0b1e39 !important;
}
}
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:focus {
 
border-color: var(--ooui--button-border-top);
body.wgl-theme-dark .smw-column-header {
box-shadow: var(--ooui-color), var(--ooui-color);
color: #fff;
}
}
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:active,
 
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive.oo-ui-buttonElement-pressed > .oo-ui-buttonElement-button,
/* AdvancedSearch */
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive.oo-ui-buttonElement-active > .oo-ui-buttonElement-button,
body.wgl-theme-dark .mw-advancedSearch-fieldContainer,
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive.oo-ui-popupToolGroup-active > .oo-ui-buttonElement-button {
body.wgl-theme-dark .mw-advancedSearch-namespace-selection {
background: var(--ooui-enabled);
    background: #282828;
color: var(--ooui-progressive-hover);
    border-color: #444;
border-color: var(--ooui-progressive-hover);
}
}
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button {
 
color: var(--ooui-destructive);
body.wgl-theme-dark .mw-advancedSearch-fieldContainer .oo-ui-labelElement > .oo-ui-fieldsetLayout-header > .oo-ui-labelElement-label {
background: #282828;
    color: #fff;
}
}
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button:hover {
 
color: var(--ooui-destructive-hover);
body.wgl-theme-dark .mw-advancedSearch-namespace-border {
background: var(--ooui-enabled);
    border-color: #444;
border-color: var(--ooui-destructive-hover);
}
}
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button:focus {
 
border-color: var(--ooui-destructive-hover);
/* Inline diff */
box-shadow: var(--ooui-destructive-hover), var(--ooui-destructive-hover);
body.wgl-theme-dark .ve-ui-diffElement-attributeChange ins,
body.wgl-theme-dark .ve-ui-diffElement-attributeChange del,
body.wgl-theme-dark .mw-diff-inline-legend,
body.wgl-theme-dark .mw-diff-inline-added ins,
body.wgl-theme-dark .mw-diff-inline-changed ins,
body.wgl-theme-dark .mw-diff-inline-moved ins,
body.wgl-theme-dark .mw-diff-inline-deleted ins,
body.wgl-theme-dark .mw-diff-inline-added del,
body.wgl-theme-dark .mw-diff-inline-changed del,
body.wgl-theme-dark .mw-diff-inline-moved del,
body.wgl-theme-dark .mw-diff-inline-deleted del {
color: #000;
}
}
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button:active,
 
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive.oo-ui-buttonElement-pressed > .oo-ui-buttonElement-button,
/**
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive.oo-ui-buttonElement-active > .oo-ui-buttonElement-button,
* See [[MediaWiki:Common.css]] for desktop and mobile styles, e.g. templates.
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive.oo-ui-popupToolGroup-active > .oo-ui-buttonElement-button {
*
background: var(--ooui-enabled);
* See [[MediaWiki:Vector-theme-dark.css]] for desktop dark theme related styles.
color: var(--ooui-destructive-hover);
*
border-color: var(--ooui-destructive-hover);
* See [[MediaWiki:Minerva.css]] for mobile theme related styles.
* See [[MediaWiki:Minerva-theme-dark.css]] for mobile dark theme related styles.
*/
body {
    transition: background-color 0.3s ease, color 0.3s ease;
    /* Add transitions for other properties as needed */
}
}
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button {
 
color: var(--ooui-color);
a {
background: var(--ooui-progressive);
    transition: color 0.3s ease;
border-color: var(--ooui-progressive);
}
}
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover {
/* Default styles:
color: var(--ooui-color);
* [[File:Wiki.png]] [[File:Background.png]] [[File:Header-background.png]]
background: var(--ooui-progressive-hover);
* [[File:Vector-tabs.png]] [[File:Vector-tabs-first.png]] [[File:Wiki@2x.png]]
border-color: var(--ooui-progressive-hover);
* [[File:Background-HiDPI.png]] [[File:Header-background-HiDPI.png]]
}
* [[File:Vector-tabs-HiDPI.png]] [[File:Vector-tabs-first-HiDPI.png]]
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:focus {
*/
border-color: var(--ooui-border);
:root {
box-shadow: var(--ooui-border), var(--ooui-border);
--wiki-logo: url('/images/Wiki.png');
}
--base-background: url('filepath:///resources/assets/mc/Background.png');
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:active,
--header-background: url('filepath:///resources/assets/mc/Header-background.png');
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive.oo-ui-buttonElement-pressed > .oo-ui-buttonElement-button,
--vector-tabs: url('filepath:///resources/assets/mc/Vector-tabs.png');
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive.oo-ui-buttonElement-active > .oo-ui-buttonElement-button,
--vector-tabs-first: url('filepath:///resources/assets/mc/Vector-tabs-first.png');
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive.oo-ui-popupToolGroup-active > .oo-ui-buttonElement-button {
color: var(--ooui-color);
--wiki-logo-hidpi: url('/images/Wiki@2x.png');
background: var(--ooui-progressive);
--base-background-hidpi: url('filepath:///resources/assets/mc/Background-HiDPI.png');
border-color: var(--ooui-progressive);
--header-background-hidpi: url('filepath:///resources/assets/mc/filepath:///resources/assets/mc/Header-background-HiDPI.png');
--vector-tabs-hidpi: url('filepath:///resources/assets/mc/Vector-tabs-HiDPI.png');
--vector-tabs-first-hidpi: url('filepath:///resources/assets/mc/Vector-tabs-first-HiDPI.png');
--list-bullet: url('filepath:///resources/assets/mc/List_bullet.svg');
--content-text-color: #202122;
--content-secondary-text-color: #555555;
--base-background-color: #303030;
--content-background-color: #E6EFF4;
--content-border-top-color: #B4BEC3;
--content-border-top-right-color: #784c2a;
--simplesearch-top-border-color: #FFFFFF;
--simplesearch-left-border-color: #888888;
--simplesearch-topright-grass-color: #6BA41E;
--searchinput-placeholder-color: #72777D;
--sidebar-display-minecraft: initial;
--sidebar-display-dungeons: none;
--sidebar-display-earth: none;
--sidebar-display-legends: none;
--sidebar-display-story-mode: none;
--sidebar-display-tutorial: none;
--sidebar-display-movie: none;
}
}
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button {
 
color: var(--ooui-color);
body {
background: var(--ooui-destructive);
    font-family: 'IBM Plex Sans', 'Helvetica Neue', 'Arial', sans-serif;
border-color: var(--ooui-destructive);
}
}
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button:hover {
 
color: var(--ooui-color);
/* Dungeons styles:
background: var(--ooui-destructive-hover);
* [[File:Dungeons Wiki.png]] [[File:Header-background-dungeons.png]]
border-color: var(--ooui-destructive-hover);
* [[File:Vector-tabs-dungeons.png]] [[File:Vector-tabs-first-dungeons.png]]
* [[File:Dungeons Wiki HiDPI.png]] [[File:Header-background-dungeons-HiDPI.png]]
* [[File:Vector-tabs-dungeons-HiDPI.png]] [[File:Vector-tabs-first-dungeons-HiDPI.png]]
*/
body.rootpage-Minecraft_Dungeons,
body.rootpage-Talk_Minecraft_Dungeons,
body.ns-10000,
body.ns-10001 {
/* Overwrite theme gadget styles */
--base-background: url('filepath://Background.png');
--base-background-hidpi: url('filepath://Background-HiDPI.png');
/*--wiki-logo: url('filepath://Dungeons_Wiki.png');*/
--header-background: url('filepath://Header-background-dungeons.png');
--vector-tabs: url('filepath://Vector-tabs-dungeons.png');
--vector-tabs-first: url('filepath://Vector-tabs-first-dungeons.png');
/*--wiki-logo-hidpi: url('filepath://Dungeons_Wiki_HiDPI.png');*/
--header-background-hidpi: url('filepath://Header-background-dungeons-HiDPI.png');
--vector-tabs-hidpi: url('filepath://Vector-tabs-dungeons-HiDPI.png');
--vector-tabs-first-hidpi: url('filepath://Vector-tabs-first-dungeons-HiDPI.png');
--content-background-color: #F2EEE7;
--content-border-top-color: #C5B494;
--content-border-top-right-color: #595959;
--simplesearch-before-border-left-color: #3A3B3A;
--simplesearch-topright-grass-color: #F26417;
--search-form-after-border-top-color: #F27633;
--sidebar-display-minecraft: none;
--sidebar-display-dungeons: initial;
--sidebar-display-earth: none;
--sidebar-display-legends: none;
--sidebar-display-story-mode: none;
--sidebar-display-tutorial: none;
--sidebar-display-movie: none;
}
}
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button:focus {
 
border-color: var(--ooui-border);
/* Earth styles:
box-shadow: var(--ooui-destructive-hover), var(--ooui-destructive-hover);
* [[File:Earth Wiki.png]] [[File:Header-background-earth.png]]
* [[File:Vector-tabs-earth.png]] [[File:Vector-tabs-first-earth.png]]
* [[File:Earth Wiki HiDPI.png]] [[File:Header-background-earth-HiDPI.png]]
* [[File:Vector-tabs-earth-HiDPI.png]] [[File:Vector-tabs-first-earth-HiDPI.png]]
*/
body.rootpage-Minecraft_Earth,
body.rootpage-Talk_Minecraft_Earth,
body.ns-10002,
body.ns-10003 {
/* Overwrite theme gadget styles */
--base-background: url('filepath://Background.png');
--base-background-hidpi: url('filepath://Background-HiDPI.png');
/*--wiki-logo: url('filepath://Earth_Wiki.png');*/
--header-background: url('filepath://Header-background-earth.png');
--vector-tabs: url('filepath://Vector-tabs-earth.png');
--vector-tabs-first: url('filepath://Vector-tabs-first-earth.png');
/*--wiki-logo-hidpi: url('filepath://Earth_Wiki_HiDPI.png');*/
--header-background-hidpi: url('filepath://Header-background-earth-HiDPI.png');
--vector-tabs-hidpi: url('filepath://Vector-tabs-earth-HiDPI.png');
--vector-tabs-first-hidpi: url('filepath://Vector-tabs-first-earth-HiDPI.png');
--content-background-color: #E5EDFF;
--content-border-top-color: #B7BDCC;
--content-border-top-right-color: #406b7f;
--simplesearch-before-border-left-color: #284350;
--simplesearch-topright-grass-color: #0FD36D;
--search-form-after-border-top-color: #2DDA81;
--sidebar-display-minecraft: none;
--sidebar-display-dungeons: none;
--sidebar-display-earth: initial;
--sidebar-display-legends: none;
--sidebar-display-story-mode: none;
--sidebar-display-tutorial: none;
--sidebar-display-movie: none;
}
}
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button:active,
 
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-destructive.oo-ui-buttonElement-pressed > .oo-ui-buttonElement-button,
/* Legends styles:
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-destructive.oo-ui-buttonElement-active > .oo-ui-buttonElement-button,
* [[File:Header-background-legends.png]] [[File:Vector-tabs-legends.png]]
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-destructive.oo-ui-popupToolGroup-active > .oo-ui-buttonElement-button {
* [[File:Vector-tabs-first-legends.png]] [[File:Header-background-legends-HiDPI.png]]
color: var(--ooui-color);
* [[File:Vector-tabs-legends-HiDPI.png]] [[File:Vector-tabs-first-legends-HiDPI.png]]
background: var(--ooui-destructive);
*/
border-color: var(--ooui-destructive);
body.rootpage-Minecraft_Legends,
body.rootpage-Talk_Minecraft_Legends,
body.ns-10006,
body.ns-10007 {
/* Overwrite theme gadget styles */
--base-background: url('filepath://Background.png');
--base-background-hidpi: url('filepath://Background-HiDPI.png');
/*--wiki-logo: url('filepath://Legends_Wiki.png');*/
--header-background: url('filepath://Header-background-legends.png');
--vector-tabs: url('filepath://Vector-tabs-legends.png');
--vector-tabs-first: url('filepath://Vector-tabs-first-legends.png');
/*--wiki-logo-hidpi: url('filepath://Legends_Wiki_HiDPI.png');*/
--header-background-hidpi: url('filepath://Header-background-legends-HiDPI.png');
--vector-tabs-hidpi: url('filepath://Vector-tabs-legends-HiDPI.png');
--vector-tabs-first-hidpi: url('filepath://Vector-tabs-first-legends-HiDPI.png');
--content-background-color: #DAEAE9;
--content-border-top-color: #9FA2A2;
--content-border-top-right-color: #34538c;
--simplesearch-before-border-left-color: #203559;
--simplesearch-topright-grass-color: #08F9E2;
--search-form-after-border-top-color: #2AFDE9;
--sidebar-display-minecraft: none;
--sidebar-display-dungeons: none;
--sidebar-display-earth: none;
--sidebar-display-legends: initial;
--sidebar-display-story-mode: none;
--sidebar-display-tutorial: none;
--sidebar-display-movie: none;
}
}


/* OOUI Dropdown, Input */
/* Story Mode styles:
body.wgl-theme-dark .oo-ui-tabSelectWidget-framed {
* [[File:Header-background-storymode.png]] [[File:Vector-tabs-storymode.png]]
background-color: #232324;
* [[File:Vector-tabs-first-storymode.png]] [[File:Header-background-storymode-HiDPI.png]]
* [[File:Vector-tabs-storymode-HiDPI.png]] [[File:Vector-tabs-first-storymode-HiDPI.png]]
*/
body.rootpage-Minecraft_Story_Mode,
body.rootpage-Talk_Minecraft_Story_Mode,
body.rootpage-Minecraft_Story_Mode_-_Season_Two,
body.rootpage-Talk_Minecraft_Story_Mode_-_Season_Two,
body.ns-10004,
body.ns-10005 {
/* Overwrite theme gadget styles */
--base-background: url('filepath://Background.png');
--base-background-hidpi: url('filepath://Background-HiDPI.png');
/*--wiki-logo: url('filepath://Story_Mode_Wiki.png');*/
--header-background: url('filepath://Header-background-storymode.png');
--vector-tabs: url('filepath://Vector-tabs-storymode.png');
--vector-tabs-first: url('filepath://Vector-tabs-first-storymode.png');
/*--wiki-logo-hidpi: url('filepath://Story_Mode_Wiki_HiDPI.png');*/
--header-background-hidpi: url('filepath://Header-background-storymode-HiDPI.png');
--vector-tabs-hidpi: url('filepath://Vector-tabs-storymode-HiDPI.png');
--vector-tabs-first-hidpi: url('filepath://Vector-tabs-first-storymode-HiDPI.png');
--content-background-color: #f9eddc;
--content-border-top-color: #d5c090;
--content-border-top-right-color: #503767;
--simplesearch-before-border-left-color: #352343;
--simplesearch-topright-grass-color: #d2a734;
--search-form-after-border-top-color: #d2a734;
--sidebar-display-minecraft: none;
--sidebar-display-dungeons: none;
--sidebar-display-earth: none;
--sidebar-display-legends: none;
--sidebar-display-story-mode: initial;
--sidebar-display-tutorial: none;
--sidebar-display-movie: none;
}
}


body.wgl-theme-dark .oo-ui-tabOptionWidget > .oo-ui-labelElement-label {
/* Tutorial styles
color: #fff;
*/
body.rootpage-Tutorials,
body.rootpage-Talk_Tutorials,
body.ns-10010,
body.ns-10011 {
--sidebar-display-minecraft: none;
--sidebar-display-dungeons: none;
--sidebar-display-earth: none;
--sidebar-display-legends: none;
--sidebar-display-story-mode: none;
--sidebar-display-tutorial: initial;
--sidebar-display-movie: none;
}
}


body.wgl-theme-dark .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected {
/* Movie styles:
background-color: #494a4b;
* [[File:Background-movie.png]] [[File:Background-movie-HiDPI.png]]
}
* [[File:Header-background-movie.png]] [[File:Vector-tabs-movie.png]]
body.wgl-theme-dark .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-widget-enabled.oo-ui-optionWidget-selected:hover {
* [[File:Vector-tabs-first-movie.png]] [[File:Header-background-movie-HiDPI.png]]
background-color: #686869
* [[File:Vector-tabs-movie-HiDPI.png]] [[File:Vector-tabs-first-movie-HiDPI.png]]
}
*/
body.wgl-theme-dark .oo-ui-dropdownInputWidget.oo-ui-widget-enabled:hover,
html body.rootpage-A_Minecraft_Movie,
body.wgl-theme-dark .oo-ui-dropdownInputWidget.oo-ui-widget-enabled {
html body.rootpage-Talk_A_Minecraft_Movie,
background: transparent;
html body.ns-10012,
}
html body.ns-10013 {
--base-background: url('filepath://Background-movie.png');
--base-background-hidpi: url('filepath://Background-movie-HiDPI.png');
 
--header-background: url('filepath://Header-background-movie.png');
--vector-tabs: url('filepath://Vector-tabs-movie.png');
--vector-tabs-first: url('filepath://Vector-tabs-first-movie.png');


body.wgl-theme-dark .oo-ui-dropdownInputWidget.oo-ui-widget-enabled select {
--header-background-hidpi: url('filepath://Header-background-movie-HiDPI.png');
color: #d0d1d2;
--vector-tabs-hidpi: url('filepath://Vector-tabs-movie-HiDPI.png');
}
--vector-tabs-first-hidpi: url('filepath://Vector-tabs-first-movie-HiDPI.png');
body.wgl-theme-dark .oo-ui-dropdownInputWidget.oo-ui-widget-enabled select:hover {
 
color: #f0f2f4;
--content-background-color: #E8E3E1;
    --content-border-top-color: #BDB5AF;
 
--sidebar-display-minecraft: none;
--sidebar-display-dungeons: none;
--sidebar-display-earth: none;
--sidebar-display-legends: none;
--sidebar-display-story-mode: none;
--sidebar-display-tutorial: none;
--sidebar-display-movie: initial;
}
}
body.wgl-theme-dark .oo-ui-dropdownInputWidget.oo-ui-widget-enabled option,
 
body.wgl-theme-dark .oo-ui-dropdownInputWidget.oo-ui-widget-enabled optgroup {
/* Give the background the initial stone texture */
  color: black;
body {
background-color: var(--base-background-color);
    background-image: var(--header-background), var(--base-background);
    background-repeat: repeat-x, repeat;
    background-position: top left, top left;
    background-size: auto 234px, 468px;
}
}


body.wgl-theme-dark .oo-ui-checkboxInputWidget [type='checkbox'] + span,
/* Logo */
body.wgl-theme-dark .oo-ui-radioInputWidget [type='radio'] + span,
.mw-wiki-logo {
body.wgl-theme-dark .oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle,
background-image: var(--wiki-logo);
body.wgl-theme-dark .oo-ui-textInputWidget .oo-ui-inputWidget-input,
background-size: cover;
body.wgl-theme-dark .wikiEditor-ui,
body.wgl-theme-dark .CodeMirror,
body.wgl-theme-dark .mw-editform #wpTextbox1,
body.wgl-theme-dark .ace-tm,
body.wgl-theme-dark .wikiEditor-ui textarea,
body.wgl-theme-dark .cdx-text-input__input:enabled,
body.wgl-theme-dark textarea {
    background-color: #1e1e1e;
    color: #fff;
    border-color: #686869;
}
}
body.wgl-theme-dark .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined .oo-ui-tagItemWidget.oo-ui-widget-enabled {
 
background-color: inherit;
#mw-page-base {
background: none;
height: 85px;
}
}
body.wgl-theme-dark .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined,
 
body.wgl-theme-dark .oo-ui-dropdownWidget.oo-ui-widget-enabled.oo-ui-dropdownWidget-open .oo-ui-dropdownWidget-handle,
/* Remove excess spacing between the sidebar and the logo */
body.wgl-theme-dark .oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle:hover,
div#mw-panel {
body.wgl-theme-dark .oo-ui-textInputWidget.oo-ui-widget-enabled .oo-ui-inputWidget-input[readonly],
padding-top: 0;
body.wgl-theme-dark .oo-ui-tagMultiselectWidget,
padding-bottom: 10px;
body.wgl-theme-dark .oo-ui-tagItemWidget.oo-ui-widget-enabled:not(.oo-ui-tagItemWidget-fixed) {
    background-color: #1e1e1e;
    color: #fff;
    border-color: #686869;
}
}
body.wgl-theme-dark .oo-ui-optionWidget.oo-ui-widget-disabled {
 
    color: #aaa;
#p-logo,
#p-logo a {
height: 8.75em; /* 140px */
}
}
body.wgl-theme-dark .oo-ui-selectFileWidget-dropTarget {
 
background-color: #878787 !important;
/* Set the outer content link colours to light gray and white */
#mw-panel *:not(h3) > a:not(:hover):not(:focus),
#footer a:not(:hover):not(:focus),
.mw-notification a:not(:hover):not(:focus) {
color: #BFBFBF !important;
}
}
body.wgl-theme-dark.oo-ui-labelWidget.oo-ui-inline-help {
 
    color: #a8b2bb;
#mw-panel h3,
#mw-panel a,
#footer li,
#footer a,
.mw-notification a {
color: #FFF !important;
}
}
body.wgl-theme-dark .oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle:focus {
 
border-color: #8d8d8d;
#mw-panel h3 {
box-shadow: inset 0 0 0 1px #8d8d8d;
text-decoration: none !important;
cursor: pointer;
}
}
body.wgl-theme-dark .ve-ui-mwReferenceContextItem-muted, /* VE reference tooltip */
 
body.wgl-theme-dark .mw-widget-titleWidget-menu .oo-ui-optionWidget-highlighted .mw-widget-titleOptionWidget-description /* VE template search - result item description */  {
/* Set the tab link colours to black and bold */
  color: #a2a7ad;
#p-namespaces a,
#p-views a,
#p-cactions-label span,
div#mw-head div.vectorMenu h4,
div#p-variants.vectorMenu #mw-vector-current-variant {
font-weight: bold;
text-decoration: none;
}
}
body.wgl-theme-dark .oo-ui-indicatorElement-indicator,
 
body.wgl-theme-dark .oo-ui-iconElement-icon:not(.oo-ui-image-invert):not(.oo-ui-image-destructive):not(.oo-ui-image-warning):not(.oo-ui-image-progressive):not(.oo-ui-image-error):not(.oo-ui-image-success):not(.oo-ui-checkboxInputWidget-checkIcon):not(.oo-ui-icon-page-existing):not(.oo-ui-icon-article.mw-widget-titleOptionWidget-hasImage) {
/* Use black links */
filter: invert(1);
#p-namespaces a,
}
#p-views a,
body.wgl-theme-dark .oo-ui-iconElement-icon.oo-ui-icon-stop.oo-ui-image-invert {
#p-sharing span,
filter: none !important;
#p-cactions-label span,
}
div#mw-head div.vectorMenu h4 {
body.wgl-theme-dark .oo-ui-pendingElement-pending {
color: #000;
background-image: url(data:image/gif;base64,R0lGODlhGAAYAKECADhHZhchNgAruwAruyH/C05FVFNDQVBFMi4wAwEAAAAh+QQFAQACACwAAAAAGAAYAAACNYwDqcvnyKJ6R1pqrMRQL955AChOXJmQqFqyouvBmnydq93irx7zs1/DoFLCITD4GI6KN0MBACH5BAUBAAMALAAAAAAYABgAAAI0jB+gy43YIntHWmqsxEk77H1UOIGkwnVkegLs+a5cG4e1d2v5NcO9bAKOfEHbz1hEPlquAgAh+QQFAQADACwAAAAAGAAYAAACM4x/oMuN2CJ7SUpq7MU64tA5XLh8ZDme5gl8oLqSLjvDaVjLMb53OX/z9TQ/YZA4tBQ1BQAh+QQFAQADACwAAAAAGAAYAAACNISDmcbtCp1kUM1Z15U5bJ59TyhSZAl06HGW6vqisTt/nSfX2w3rF59r2XwYIki4M46QjgIAIfkEBQEAAwAsAAAAABgAGAAAAjWEHal67bjWmyBK6izDTSfeeWBojYdoVlqqlilqwqMM0pyNecGLTzq/ivUeP2FwNswkSa5JAQAh+QQFAQADACwAAAAAGAAYAAACNIRvobvozuKbIDL6bMNIK9554OEFYyKe5YlabKW9qRqz83iDObdjPbWi1XC/TBFyDA11uwIAIfkEBQEAAwAsAAAAABgAGAAAAjWEj6G76M7imyAy+mzDSQfeaeDhfWPlnah4lqr7sq08prGlrtK9zzh/AW58v5rNSOPAkEVAAQAh+QQFAQADACwAAAAAGAAYAAACNISPF8ucr1qDUE6arMNIL955YKSNhheYAKqypjvCoMzRddnirx7zs3+zqFZAjCgnRCZ7pQIAIfkEBQEAAwAsAAAAABgAGAAAAjSEjxnLnH+ahFA2+qzDSC/eeWAkjoAXmGc5oqprwi0LyjXN2belrvyr6eFyQeAvVkQeZ5YCACH5BAEBAAMALAAAAAAYABgAAAI1jIGpa90LlXOxzlfhxTnt03lfKG4k8gUnkK7t+ZJxOHd1dlsjvMs9/QNeViyTy8gbHpVJQwEAOw==);
}
}


body.wgl-theme-dark .oo-ui-popupWidget-popup {
#p-namespaces .new a,
background: #323232;
#p-views .new a {
border-color: var(--ooui-border);
color: #BA0000;
}
}


/* Editing: From https://en.wikipedia.org/wiki/MediaWiki:Gadget-Blackskin.css */
/* Add some margin to help with the 3D effect */
body.wgl-theme-dark .mw-message-box-success,
#right-navigation,
body.wgl-theme-dark .successbox {
#content {
    background-color: #2e5e05;
margin-right: 10px;
    border-color: #3c780a;
}
}
body.wgl-theme-dark .oo-ui-messageWidget.oo-ui-messageWidget-block.oo-ui-flaggedElement-warning {
#footer {
    background-color: #fef6e766;
margin-right: 8px;
    border-color: #fc3;
}
}
body.wgl-theme-dark .tdg-templateDataParamWidget-param-description {
 
    color: #bdbdbd;
/* Position the tabs */
#left-navigation,
#right-navigation {
margin-top: 54px;
}
}


body.wgl-theme-dark .mw-message-box-warning,
#mw-head-base {
body.wgl-theme-dark .warningbox,
height: 80px;
body.wgl-theme-dark .usermessage {
margin-top: -80px;
    background-color: #2b2f09;
    border-color: #fc3;
}
}


body.wgl-theme-dark .mw-warning-with-logexcerpt,
/* Give the tabs the grass block styling */
body.wgl-theme-dark .mw-message-box-error,
nav.vector-menu-tabs,
body.wgl-theme-dark .errorbox {
nav.vector-menu-dropdown {
     background-color: #4d2622;
     background: none;
     border-color: #9e352e;
    padding: 0;
     height: 36px;
}
}


body.wgl-theme-dark .wikiEditor-ui,
nav.vector-menu-tabs li a {
body.wgl-theme-dark .CodeMirror-gutters {
     box-sizing: unset;
     background-color: #282828;
}
}


body.wgl-theme-dark .CodeMirror-gutters {
nav.vector-menu-tabs,
border-color: #464646;
nav.vector-menu-tabs a,
.vector-menu-portal .vector-menu-heading,
nav.vector-menu-tabs ul,
nav.vector-menu-tabs ul li.selected,
#mw-head .vector-menu-dropdown .vector-menu-heading {
    background: none;
}
}


body.wgl-theme-dark .wikiEditor-ui .wikiEditor-ui-view,
nav.vector-menu-tabs ul li,
body.wgl-theme-dark .wikiEditor-ui-toolbar .sections .section,
nav.vector-menu-tabs ul li.selected,
body.wgl-theme-dark .wikiEditor-ui-toolbar .group,
nav.vector-menu-tabs ul li:hover,
body.wgl-theme-dark .wikiEditor-ui-toolbar .section-secondary .group,
nav.vector-menu-tabs ul li:focus,
body.wgl-theme-dark .wikiEditor-ui .wikiEditor-ui-top,
nav.vector-menu-dropdown,
body.wgl-theme-dark .codeEditor-status-message,
nav.vector-menu-dropdown:hover,
body.wgl-theme-dark .ace_print-margin {
nav.vector-menu-dropdown:focus {
     border-color: #6f6f6f;
    --ca-background-image: var(--vector-tabs);
    --ca-background-color: var(--content-border-top-color);
    background: var(--ca-background-image) no-repeat right 8px top,
                linear-gradient(to right, var(--ca-background-color) calc(100% - 14px), transparent 0) no-repeat left 6px top 6px;
     position: relative;
}
}


body.wgl-theme-dark .wikiEditor-ui-toolbar,
nav.vector-menu-tabs ul li.selected,
body.wgl-theme-dark .wikiEditor-ui-toolbar .sections .section {
nav.vector-menu-tabs ul li:hover,
background-image: none;
nav.vector-menu-tabs ul li:focus,
background-color: inherit;
nav.vector-menu-dropdown:hover,
nav.vector-menu-dropdown:focus {
    --ca-background-color: var(--content-background-color);
    background-position-y: bottom, 6px;
}
}


body.wgl-theme-dark .tool-button.tool-active,
nav.vector-menu-tabs ul li:before,
body.wgl-theme-dark .tool.tool-active.oo-ui-buttonElement-frameless.oo-ui-iconElement {
nav.vector-menu-dropdown:before {
background-color: inherit;
    content: "";
    position: absolute;
    left: 0;
    background: var(--ca-background-image) var(--content-border-top-color) no-repeat left top;
    width: 6px;
    height: 100%;
    pointer-events: none;
}
}


body.wgl-theme-dark .wikiEditor-ui-toolbar .tabs span.tab a.current,
#left-navigation nav.vector-menu-tabs li:first-child:before {
body.wgl-theme-dark .wikiEditor-ui-toolbar .tabs span.tab a.current:visited {
    background: var(--vector-tabs-first) no-repeat left top;
color: inherit;
    height: 93px
}
}


body.wgl-theme-dark .editOptions {
nav.vector-menu-tabs li a {
     background-color: #282828;
     padding: 15px 14px 0 20px;
     border-color: #1f2528;
     height: 21px;
     color: #ccc;
     margin-right: 8px;
}
}


body.wgl-theme-dark div#editpage-specialchars a {
.vector-menu-tabs .mw-watchlink.icon {
    background-color: #000000;
/* Force font-size when using the icon */
     border-color: #1f2528;
     font-size: 16px !important;
}
}


body.wgl-theme-dark .mw-editform-legacy input#wpSummary {
.vector-menu-tabs .mw-watchlink.icon a {
  background-color: #000000;
    width: 45px;
  color: #90ff90;
    margin-right: 3px;
    margin-bottom: -4px;
}
}


/* Search */
.vector-menu-tabs .mw-watchlink.icon a:before {
body.wgl-theme-dark #simpleSearch {
left: 1.17em;
    background: #5e5e5e;
    background-image: unset;
}
}
body.wgl-theme-dark #searchInput {
 
background: none;
nav.vector-menu-dropdown label {
color: #fff;
padding: 15px 14px 0 20px !important;
}
}


/* Search */
nav.vector-menu-dropdown .vector-menu-content {
body.wgl-theme-dark #p-search #searchform .cdx-search-input__input-wrapper {
transition: none;
    background: #5e5e5e;
margin-left: 6px;
    background-image: unset;
min-width: calc(100% - 14px); /* Subtract 14px from the minimum width so that it doesn't cross the grass border */
}
}
body.wgl-theme-dark #p-search #searchform .cdx-text-input__input {
 
background: none;
.vector-menu-dropdown:focus-within .vector-menu-content,
color: #fff;
.vector-menu-dropdown:hover .vector-menu-content {
    opacity: 1;
    visibility: visible;
    height: auto;
}
}
body.wgl-theme-dark #p-search #searchform .cdx-search-input__end-button {
 
filter: invert(1);
nav.vector-menu {
    margin: 0 8px 0 6px;
}
}
 
#p-views,
body.wgl-theme-dark .mw-search-profile-tabs,
#p-cactions {
body.wgl-theme-dark #mw-searchoptions {
margin: 0;
background-color: #282828;
    border-color: #1f2528;
    color: #ccc;
}
}
 
#p-cactions {
/* The suggestions shown under the search bar */
padding-right: 8px;
body.wgl-theme-dark #p-search #searchform .cdx-menu {
background-color: #282828;
    border-color: #464646;
}
}


body.wgl-theme-dark #p-search #searchform .cdx-menu--has-footer .cdx-menu-item:last-of-type:not(:first-of-type) {
#left-navigation nav.vector-menu {
    border-color: #464646;
margin-left: 0;
}
}


body.wgl-theme-dark #p-search #searchform .cdx-menu-item .cdx-typeahead-search__search-footer__icon,
nav.vector-menu h3 span {
body.wgl-theme-dark #p-search #searchform .cdx-menu-item .cdx-menu-item__text__supporting-text,
    font-weight: bold;
body.wgl-theme-dark #p-search #searchform .cdx-menu-item .cdx-menu-item__text__description,
body.wgl-theme-dark #p-search #searchform .cdx-menu-item .cdx-menu-item__content,
body.wgl-theme-dark #p-search #searchform .cdx-menu-item {
color: #fff;
}
}


body.wgl-theme-dark #p-search #searchform .cdx-thumbnail__placeholder,
nav.vector-menu h3 a {
body.wgl-theme-dark #p-search #searchform .cdx-thumbnail__image {
    height: 36px;
background-color: #282828;
    margin-right: 8px;
border-color: #444;
}
}


/* Reference */
nav.vector-menu div.vector-menu-content {
body.wgl-theme-dark ol.references li:target,
    top: 35px;
body.wgl-theme-dark sup.reference:target,
body.wgl-theme-dark span.citation:target {
background-color: #435d77;
}
}


/* Image preview screen */
.vector-menu-portal .vector-menu-content,
body.wgl-theme-dark .mw-mmv-post-image {
#p-personal .vector-menu-content-list,
background: #323232;
#footer {
color: #ddd;
    background-color: #232324;
    border: 2px #313233 solid;
}
}
 
nav.vector-menu-portal,
body.wgl-theme-dark .mw-mmv-image-metadata {
#p-personal {
background: #323232;
    background-color: #232324;
border-color: #222;
    border: 2px black solid;
}
}


/* VisualEditor */
#mw-panel nav.vector-menu-portal.collapsed h3:before {
body.wgl-theme-dark .oo-ui-toolbar-bar {
    -webkit-transform: rotate(-90deg);
background: #282828;
    transform: rotate(-90deg);
color: #fff;
}
}


body.wgl-theme-dark .oo-ui-toolbar-bar,
.vector-legacy-sidebar .vector-menu-portal {
body.wgl-theme-dark .oo-ui-menuToolGroup {
display: var(--sidebar-display, block);
border-color: #464646;
    margin: 0.5em 8px 2px 6px;
    padding: 0;
}
}


/* Notification */
.vector-legacy-sidebar .vector-menu-portal .vector-menu-content {
.wgl-theme-dark .mw-htmlform-ooui .mw-htmlform-matrix tbody tr:nth-child(even) td {
     margin-left: 0;
    background-color: #19222c;
     padding: 0;
}
.wgl-theme-dark .mw-htmlform-ooui .mw-htmlform-matrix tbody tr:hover td {
    background-color: #404754;
}
.wgl-theme-dark .mw-echo-ui-pageNotificationsOptionWidget.oo-ui-optionWidget-selected {
     background-color: #2d405b;
     color: #90c0fe;
}
.wgl-theme-dark div.mw-echo-ui-notificationsInboxWidget-toolbarWrapper,
.wgl-theme-dark div.mw-echo-ui-crossWikiNotificationItemWidget-group,
.wgl-theme-dark div.mw-echo-ui-bundleNotificationItemWidget-group {
    background: inherit;
}
.wgl-theme-dark .mw-echo-ui-notificationOptionWidget,
.wgl-theme-dark .mw-echo-ui-notificationGroupItemWidget-group {
background: none;
}
}


.wgl-theme-dark .oo-ui-menuSelectWidget {
.vector-legacy-sidebar .vector-menu-portal .vector-menu-content-list {
z-index: 1002;
    padding: 0.3em 0.5em;
}
}


.wgl-theme-dark .mw-echo-ui-notificationOptionWidget:hover,
div#mw-panel nav.vector-menu-portal h3 {
.wgl-theme-dark .mw-echo-ui-notificationGroupItemWidget-group:hover,
    background: conic-gradient(from 180deg at 2px calc(100% - 2px), #6a6b6c 90deg, transparent 0),
.wgl-theme-dark .oo-ui-menuSelectWidget {
                conic-gradient(from 0 at calc(100% - 2px) 2px, #6a6b6c 90deg, transparent 0),
background: #1a1a1a;
                linear-gradient(to top, #464747 2px, transparent 0px),
color: #545454;
                linear-gradient(to bottom, #5a5b5c 2px, transparent 0px),
                linear-gradient(to left, #464747 2px, transparent 0px),
                linear-gradient(to right, #5a5b5c 2px, transparent 0px);
    background-color: #313233;
    padding: calc(0.5em + 2px);
    border-bottom: 2px solid black;
}
}


.wgl-theme-dark .oo-ui-menuOptionWidget.oo-ui-widget-enabled.oo-ui-optionWidget {
@media screen and (min-width: 720px) {
color: var(--content-text-color);
div#mw-panel nav.vector-menu-portal.collapsed h3 {
    background: conic-gradient(from 180deg at 2px calc(100% - 2px), #7c7c7d 90deg, transparent 0),
                conic-gradient(from 0 at calc(100% - 2px) 2px, #7c7c7d 90deg, transparent 0),
                linear-gradient(to top, #5a5b5c 2px, transparent 0),
                linear-gradient(to bottom, #6d6d6e 2px, transparent 0),
                linear-gradient(to left, #5a5b5c 2px, transparent 0),
                linear-gradient(to right, #6d6d6e 2px, transparent 0);
    background-color: #48494a;
    padding: 0.5em calc(0.5em + 2px);
    border-bottom: 5px solid #313233;
}
}
}


.wgl-theme-dark .oo-ui-dropdownWidget.oo-ui-widget-disabled .oo-ui-dropdownWidget-handle,
.vector-legacy-sidebar .vector-menu-portal .vector-menu-heading {
.wgl-theme-dark .oo-ui-dropdownInputWidget.oo-ui-widget-disabled {
    margin: 0;
background: black;
text-shadow: none;
}
}


.wgl-theme-dark .oo-ui-menuOptionWidget.oo-ui-optionWidget-highlighted {
nav.mw-portlet.emptyPortlet {
background-color: #111;
display: none;
color: #fff;
}
}


.wgl-theme-dark .oo-ui-widget.oo-ui-menuOptionWidget.oo-ui-optionWidget-selected {
/* Uncomment this to unhide the "Navigation" header of the first sidebar box */
background-color: #222222;
/* #p-logo + .mw-portlet .vector-menu-heading {
     color: #E0E0E0;
     display: block;
}
} */
.wgl-theme-dark .mw-echo-ui-menuItemWidget > .oo-ui-buttonElement-button >.oo-ui-labelElement-label {
 
color: var(--content-text-color);
/*#mw-panel nav.vector-menu-portal.collapsed .vector-menu-content {
    display: none;
}*/
 
/* Style the personal links */
#p-personal {
    right: 10px;
    top: 5px;
    margin-right: 0;
    margin-left: 10px;
}
}


.wgl-theme-dark .oo-ui-widget.oo-ui-menuOptionWidget.oo-ui-optionWidget-selected.oo-ui-menuOptionWidget.oo-ui-optionWidget-highlighted,
#p-personal a {
.wgl-theme-dark .oo-ui-widget.oo-ui-menuOptionWidget.oo-ui-optionWidget-pressed.oo-ui-menuOptionWidget.oo-ui-optionWidget-highlighted {
     color: white;
     background-color: #000000;
    color: #FFFFFF;
}
}


.wgl-theme-dark .mw-echo-title,
.mw-echo-alert {
.wgl-theme-dark .mw-echo-notification-footer {
    background-color: #8e721c;
/*color: #fff !important;*/
    border: 1px solid #fff;
    border-radius: 4px;
    font-weight: bold;
}
}


.wgl-theme-dark .oo-ui-popupWidget .oo-ui-popupWidget-popup {
#p-personal .vector-menu-content-list {
background: #000;
padding: 1px 0.5em 1px 0;
color: #fff;
border: 1px solid #545454;
}
}


.wgl-theme-dark .oo-ui-popupWidget .oo-ui-popupWidget-popup .oo-ui-buttonWidget,
.vector-user-menu-legacy li {
.wgl-theme-dark .oo-ui-buttonElement-framed .oo-ui-widget-enabled > .oo-ui-buttonElement-button
    padding-top: 0.3em;
{
    padding-bottom: 0.3em;
border: 0;
background: transparent;
}
}


.wgl-theme-dark .oo-ui-popupWidget-body,
#p-personal .oo-ui-icon-bell, #p-personal .mw-ui-icon-bell::before,
.wgl-theme-dark .oo-ui-popupWidget-footer,
#p-personal .oo-ui-icon-tray, #p-personal .mw-ui-icon-tray::before {
.wgl-theme-dark .oo-ui-popupWidget-header,
    filter: invert(1);
.wgl-theme-dark .mw-echo-ui-notificationBadgeButtonPopupWidget-popup > .oo-ui-popupWidget-popup > .oo-ui-popupWidget-footer,
}
.wgl-theme-dark .mw-echo-ui-notificationItemWidget,
.vector-user-menu-legacy #pt-anonuserpage,
.wgl-theme-dark .mw-echo-ui-notificationItemWidget-unread,
.vector-user-menu-legacy #pt-tmpuserpage,
.wgl-theme-dark .mw-echo-ui-notificationBadgeButtonPopupWidget > .oo-ui-popupWidget > .oo-ui-popupWidget-popup > .oo-ui-popupWidget-head,
.vector-user-menu-legacy #pt-userpage a {
.wgl-theme-dark .mw-echo-ui-notificationBadgeButtonPopupWidget-popup > .oo-ui-popupWidget-popup > .oo-ui-popupWidget-footer .oo-ui-buttonElement:last-child,
    filter: invert(1);
.wgl-theme-dark .mw-echo-ui-notificationGroupItemWidget-separator {
    padding-top: 0;
border-color: #545454 !important;
    background-size: 14px;
    background-position: unset;
}
}


@-webkit-keyframes unseen-fadeout-to-unread {
.vector-user-menu-legacy #pt-anonuserpage span,
from {
.vector-user-menu-legacy #pt-tmpuserpage span {
background-color: #27113f;
    color: lightgrey;
}
    filter: invert(1);
to {
background-color: #545454;
}
}
}


@keyframes unseen-fadeout-to-unread {
.vector-user-menu-legacy #pt-userpage a span {
from {
    color: white;
background-color: #27113f;
    filter: invert(1);
}
to {
background-color: #545454
}
}
}


@-webkit-keyframes unseen-fadeout-to-read {
.skin-vector-legacy #p-personal #pt-notifications-notice,
from {
.skin-vector-legacy #p-personal #pt-notifications-alert {
background-color: #27113f;
margin-right: 0;
}
to {
background-color: #1f1f1f;
}
}
}


@keyframes unseen-fadeout-to-read {
.skin-vector-legacy #pt-notifications-notice .mw-echo-notifications-badge,
from {
.skin-vector-legacy #pt-notifications-alert .mw-echo-notifications-badge {
background-color: #545454;
    top: 0;
}
    width: 14px;
to {
    height: 14px;
background-color: #1f1f1f;
    background-size: 14px 14px;
}
    margin-right: 8px;
}
}


.wgl-theme-dark .mw-echo-ui-notificationItemWidget-content-actions-timestamp {
.skin-vector-legacy #pt-notifications-notice .mw-echo-notifications-badge.mw-echo-notifications-badge-all-read,
color: #fff;
.skin-vector-legacy #pt-notifications-alert .mw-echo-notifications-badge.mw-echo-notifications-badge-all-read {
    margin-right: 2px;
}
}


.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button {
.skin-vector-legacy #pt-notifications-notice .mw-echo-notifications-badge:after,
background: #000;
.skin-vector-legacy #pt-notifications-alert .mw-echo-notifications-badge:after {
    top: 4px;
    filter: invert(1);
}
}


.wgl-theme-dark .oo-ui-popupWidget .oo-ui-popupWidget-popup .oo-ui-buttonWidget:hover,
/* Style the simple search */
.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover {
#p-search {
background: #1f1f1f;
margin-left: 0;
}
}


.wgl-theme-dark .oo-ui-widget-footer {
#p-search form {
margin: 0px !important;
position: relative;
margin-top: 6px;
padding: 0 4px 0 5px;
height: 27px;
}
}


.wgl-theme-dark div#netbar .mw-echo-alert,
#simpleSearch {
.wgl-theme-dark div#netbar .mw-echo-alert a {
top: -3px;
    color: #000;
border: 0;
border-top: 3px solid var(--simplesearch-top-border-color);
border-left: 3px solid var(--simplesearch-left-border-color);
background-color: #D0CFCF;
background-image: -webkit-linear-gradient(#C3C3C3, #DBDBDB);
background-image: linear-gradient(#C3C3C3, #DBDBDB);
-webkit-transition: none !important;
-moz-transition: none !important;
transition: none !important;
}
}


/* invert the icon colors */
#simpleSearch:before {
.wgl-theme-dark .mw-echo-ui-overlay .oo-ui-iconElement-icon,
content: "";
.wgl-theme-dark .msgbox-text > img[alt="Signature-icon.svg"] {
position: absolute;
  filter: invert(100%);
bottom: 0;
  -webkit-filter: invert(100%);
left: -3px;
  -moz-filter: invert(100%);
border-top: 3px solid var(--simplesearch-left-border-color);
  -o-filter: invert(100%);
border-left: 3px solid var(--content-border-top-color);
  -ms-filter: invert(100%);
z-index: 1;
}
/* Special:CreateAccount */
body.wgl-theme-light .mw-number-text.icon-contributors {
  filter: invert(0.25);
}
}


body.wgl-theme-dark .mw-number-text.icon-contributors {
#simpleSearch:after {
  filter: invert(0.675);
content: "";
}
position: absolute;
 
top: -3px;
/* Both light and dark theme */
right: 0;
.mw-number-text.icon-pages,
border-top: 3px solid var(--simplesearch-topright-grass-color);
.mw-number-text.icon-edits,
border-left: 3px solid var(--simplesearch-top-border-color);
.mw-body-content .mw-number-text > h3,
.mw-body-content .mw-number-text > p {
  filter: invert(0.5);
}
}


.wgl-theme-dark .mw-echo-ui-notificationItemWidget {
/* Remove border of search bar */
background-color: #1f1f1f;
#simpleSearch .vector-search-box-input {
    border: none;
    border-radius: 0;
    outline: none;
    box-shadow: none;
    height: 27px;
}
}


.wgl-theme-dark .mw-echo-ui-menuItemWidget-content {
.vector-search-box-input::placeholder {
color: #ddd !important;
color: var(--searchinput-placeholder-color);
}
}


.wgl-theme-dark .mw-echo-ui-notificationItemWidget-content-message-header {
/* Style the simple search */
color: #fff;
#p-search {
margin-left: 0;
width: unset;
min-width: unset;
}
}


.wgl-theme-dark .mw-echo-ui-notificationItemWidget.oo-ui-optionWidget-selected,
#p-search #searchform {
.wgl-theme-dark .mw-echo-ui-notificationItemWidget.oo-ui-optionWidget-highlighted {
position: relative;
background-color: #3f3f3f;
margin-top: 6px;
padding: 0 4px 0 5px;
}
}


.wgl-theme-dark div#netbar #pt-notifications-alert > .oo-ui-widget a,
/* Unstyle codex search */
.wgl-theme-dark div#netbar #pt-notifications-message > .oo-ui-widget a {
#p-search #searchform .cdx-text-input__input,
color: #5a93cc;
#p-search #searchform .cdx-search-input,
#p-search #searchform {
background: none;
display: block;
    border: none;
    border-radius: 0;
    outline: none;
    box-shadow: none;
    height: 27px;
}
}


.wgl-theme-dark div#netbar #pt-notifications-alert > .oo-ui-widget .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button,
/* Keep old vector default styles */
.wgl-theme-dark div#netbar #pt-notifications-message > .oo-ui-widget .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button {
#p-search #searchform .cdx-search-input__input-wrapper {
color: #ddd;
    height: 100%;
}
    min-width: 6.5em;
.wgl-theme-dark .mw-echo-ui-placeholderItemWidget {
    width: 20vw;
background-color: inherit;
    max-width: 26em;
    margin: 0;
}
}


.wgl-theme-dark .mw-echo-ui-notificationItemWidget:hover {
#p-search #searchform .cdx-search-input__input-wrapper {
background-color: inherit;
position: relative;
top: -3px;
border: 0;
border-top: 3px solid var(--simplesearch-top-border-color);
border-left: 3px solid var(--simplesearch-left-border-color);
background-color: #D0CFCF;
background-image: -webkit-linear-gradient(#C3C3C3, #DBDBDB);
background-image: linear-gradient(#C3C3C3, #DBDBDB);
-webkit-transition: none !important;
-moz-transition: none !important;
transition: none !important;
}
}


.wgl-theme-dark #mw-mwoauth-authorize-form {
#p-search #searchform .cdx-search-input__input-wrapper:before {
color: #ddd;
content: "";
}
position: absolute;
 
bottom: 0;
.wgl-theme-dark .vector-menu-dropdown .mw-list-item.selected a,
left: -3px;
.wgl-theme-dark .vector-menu-dropdown .mw-list-item.selected a:visited {
border-top: 3px solid var(--simplesearch-left-border-color);
color: var(--content-text-color);
border-left: 3px solid var(--content-border-top-color);
z-index: 1;
}
}


/* SMW - Special:Browse */
#p-search #searchform .cdx-search-input__input-wrapper:after {
body.wgl-theme-dark .smwb-theme-light .smwb-title,
content: "";
body.wgl-theme-dark .smwb-theme-light .smwb-center,
position: absolute;
body.wgl-theme-dark .smwb-theme-light .smwb-actions,
top: -3px;
body.wgl-theme-dark .smwb-theme-light .smwb-prophead,
right: 0;
body.wgl-theme-dark .smwb-theme-light .smwb-propval,
border-top: 3px solid var(--simplesearch-topright-grass-color);
body.wgl-theme-dark .smwb-propvalue,
border-left: 3px solid var(--simplesearch-top-border-color);
body.wgl-theme-dark .smwb-ipropvalue {
background-color: unset;
}
}


body.wgl-theme-dark .smwb-theme-light .smwb-factbox {
#p-search #searchform .cdx-text-input__input {
border-left: unset;
    background-color: rgba(255, 255, 255, 0.5);
    color: #000;
    min-height: unset;
    padding: 5px 2.15384615em 5px 0.4em;
}
}


body.wgl-theme-dark .smwb-bottom {
#p-search #searchform .cdx-text-input__input::placeholder {
border-bottom: 1px solid var(--ooui-border);
color: var(--searchinput-placeholder-color);
}
}


body.wgl-theme-dark .smw-table-cell.smwb-cell.smwb-prophead {
#p-search #searchform .cdx-search-input__end-button {
border-top: 1px solid var(--ooui-border);
display: block;
background-color: var(--ooui-enabled);
    position: absolute;
}
    top: 1px;
    bottom: 1px;
    right: 1px;
    min-width: 28px;
    width: 2.15384615em;
    border: 0;
    padding: 0;
    cursor: pointer;
    direction: ltr;
    text-indent: -99999px;
    white-space: nowrap;
    overflow: hidden;
    z-index: 1;
    background: no-repeat center / 1.23076923em url(/skins/Vector/resources/skins.vector.styles.legacy/images/search.svg?ac00d);
    opacity: 0.67;
    margin: 0;
    min-height: unset;
}


body.wgl-theme-dark .smwb-ifactbox .smwb-cell,
#p-search #searchform > .cdx-search-input__end-button {
body.wgl-theme-dark .smwb-factbox .smwb-cell {
right: 5px;
border-top: 1px solid var(--ooui-border);
}
}


body.wgl-theme-dark .smwb-theme-light .smwb-ifactbox {
/* The suggestions shown under the search bar */
border-right: unset;
#p-search #searchform .cdx-menu {
background-color: #DBDADA;
    border-color: #3C3B3B;
    box-shadow: none;
}
}


body.wgl-theme-dark .mw-ui-button:not(:disabled),
#p-search #searchform .cdx-menu--has-footer .cdx-menu-item:last-of-type:not(:first-of-type) {
body.wgl-theme-dark .mw-ui-input:not(:disabled),
    border-color: #3C3B3B;
body.wgl-theme-dark .cdx-button:not(:disabled) {
border-color: var(--ooui-border);
}
}


body.wgl-theme-dark .mw-ui-button:disabled,
#p-search #searchform .cdx-menu-item--highlighted {
body.wgl-theme-dark .mw-ui-input:disabled,
background-color: #0078D7;
body.wgl-theme-dark .cdx-button:disabled {
color: var(--searchinput-placeholder-color);
border-color: var(--ooui-border-disabled);
background-color: var(--ooui-disabled);
}
}


body.wgl-theme-dark .mw-ui-button:not(:disabled):hover,
#p-search #searchform .cdx-menu-item--highlighted .cdx-typeahead-search__search-footer__icon,
body.wgl-theme-dark .mw-ui-button:not(:disabled):active,
#p-search #searchform .cdx-menu-item--highlighted .cdx-menu-item__text__supporting-text,
body.wgl-theme-dark .cdx-button:not(:disabled):hover,
#p-search #searchform .cdx-menu-item--highlighted .cdx-menu-item__text__description,
body.wgl-theme-dark .cdx-button:not(:disabled):active {
#p-search #searchform .cdx-menu-item--highlighted .cdx-menu-item__content,
color: var(--ooui-color);
#p-search #searchform .cdx-menu-item--highlighted {
border-color: var(--smw-border-hover);
color: #fff;
background-color: var(--ooui-enabled);
}
}


body.wgl-theme-dark .mw-ui-button:not(:disabled):enabled,
#p-search #searchform .cdx-thumbnail__placeholder,
body.wgl-theme-dark .cdx-button:not(:disabled):enabled {
#p-search #searchform .cdx-thumbnail__image {
color: var(--ooui-color);
background-color: #f8f9fa;
}
}


body.wgl-theme-dark .mw-ui-input:not(:disabled):hover,
/* Fix placeholder text being too light in chrome */
body.wgl-theme-dark .mw-ui-input:not(:disabled):active {
::-webkit-input-placeholder {
border-color: var(--smw-border-hover);
color: inherit;
opacity: 0.54;
}
}


body.wgl-theme-dark .mw-ui-input:not(:disabled):focus,
/* The suggestions shown under the search bar */
body.wgl-theme-dark .mw-ui-button:not(:disabled):focus,
.suggestions.searchbar {
body.wgl-theme-dark .cdx-button:not(:disabled):focus {
margin-right: -1px;
border-color: var(--ooui-progressive-hover);
box-shadow: inset 0 0 0 1px var(--ooui-progressive-hover);
}
}


body.wgl-theme-dark div:not(.autocomplete-selected).autocomplete-suggestions {
.suggestions.searchbar > .suggestions-results,
color: var(--searchinput-placeholder-color);
.suggestions.searchbar > .mw-searchSuggest-link {
background-color: var(--ooui-enabled);
display: block;
border-color: var(--ooui-border);
margin-left: 1px;
}
}


body.wgl-theme-dark .autocomplete-suggestion {
.suggestions.searchbar .suggestions-results,
border-color: var(--ooui-border);
.suggestions.searchbar .suggestions-special,
background-color: var(--content-background-color);
.suggestions .suggestions-results,
.suggestions .suggestions-special {
background-color: #DBDADA !important;
border-color: #3C3B3B !important;
}
}


body.wgl-theme-dark .autocomplete-selected {
.suggestions.searchbar .suggestions-result-current,
color: var(--ooui-color);
.suggestions .suggestions-result-current {
border: solid 1px var(--smw-border-hover);
background-color: #0078D7 !important;
background-color: var(--ooui-enabled);
padding: 4px 9px 5px 9px;
}
}


body.wgl-theme-dark .tippy-header {
/* Give the main content area its healthy blue glow and add a border */
background-color: var(--base-background-color);
.mw-body, .parsoid-body,
border-color: var(--smw-border-hover);
div#content {
color: var(--ooui-color);
position: relative;
background-color: var(--content-background-color);
border-top: 6px solid var(--content-border-top-color);
border-bottom: 0;
border-left: 6px solid #171717;
word-wrap: break-word;
}
}


body.wgl-theme-dark .tippy-tooltip.light-border-theme {
.oo-ui-windowManager-modal > .oo-ui-dialog > .oo-ui-window-frame {
background-color: unset;
background-color: var(--content-background-color);
}
}


body.wgl-theme-dark .tippy-content-container {
/* Add the 3D corners to the main content */
background-color: var(--ooui-disabled);
#mw-page-base::after {
color: var(--content-text-color)
content: "";
}
position: absolute;
 
border-top: 6px solid var(--content-border-top-right-color);
/* SMW - Property: */
border-left: 6px solid var(--content-border-top-color);
body.wgl-theme-dark .smw-property-page-results .header-row > .header-title {
z-index: 1;
background-color: var(--ooui-enabled);
top: 84px;
border-bottom-color: var(--ooui-border);
right: 10px;
color: var(--ooui-color);
}
}


body.wgl-theme-dark .smw-property-page-results .value-row:hover {
#content:after {
background-color: var(--smw-table-hover);
content: "";
position: absolute;
border-top: 6px solid transparent;
border-left: 6px solid var(--base-background-color);
    left: -6px;
    bottom: 0;
}
}


body.wgl-theme-dark .smw-ui-pagination .page-link {
#footer {
background-color: var(--content-background-color);
    outline: 2px black solid;
border: 1px solid var(--ooui-border);
    border-width: 4px;
color: var(--ooui-color);
    outline-offset: -2px;
text-decoration: none;
    margin-left: calc(10em + 4px);
margin-left: 0;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 0.5em 0.75em;
}
}


body.wgl-theme-dark .smw-ui-pagination .page-link:hover {
#footer:after {
background-color: var(--ooui-enabled);
    content: '';
border: 1px solid var(--smw-border-hover);
    clear: both;
    display: block;
}
}


body.wgl-theme-dark .smw-ui-pagination .page-link.link-disabled {
@media screen and (min-width: 982px) {
color: var(--searchinput-placeholder-color);
/* Position the footer */
border-color: var(--ooui-border-disabled);
#footer {
background-color: var(--ooui-disabled);
    margin-left: calc(11em + 4px);
}
}
}


body.wgl-theme-dark .smw-ui-pagination .page-link.link-active {
/* Fix positioning for small screens when the sidebar moves below the content */
border-color: var(--ooui-progressive-hover);
@media screen and (max-width: 720px) {
}
/* Add some margin to help with the 3D effect */
 
#left-navigation,
body.wgl-theme-dark .smw-tabs section, .smw-tabs .subtab-content {
#content {
border-top: 1px solid var(--smw-border-hover);
margin-left: 10px;
}
}
 
#footer {
body.wgl-theme-dark .smw-tabs input.nav-tab:checked + label.nav-label {
margin-left: 8px;
border: 1px solid var(--smw-border-hover);
}
border-top: 2px solid #337ab7;
#footer:before {
}
    content: none;
 
}
body.wgl-theme-dark .smw-tabs label.nav-label,
/* Position the tabs */
body.wgl-theme-dark .smw-tabs,
#left-navigation,
body.wgl-theme-dark .smw-tabs input.nav-tab:checked + label.nav-label,
#right-navigation {
body.wgl-theme-dark #tab-smw-property-value:checked + label.nav-label .usage-count,
margin-top: 40px;
body.wgl-theme-dark #tab-smw-concept-list:checked + label.nav-label .usage-count,
}
body.wgl-theme-dark #tab-smw-property-subp:checked + label.nav-label .item-count,
/* Position the personal links */
body.wgl-theme-dark #tab-smw-property-errp:checked + label.nav-label .item-count,
#p-personal {
body.wgl-theme-dark #tab-smw-property-redi:checked + label.nav-label .item-count,
    top: -8px;
body.wgl-theme-dark #tab-smw-type-list:checked + label.nav-label .item-count,
}
body.wgl-theme-dark #tab-smw-property-spec:checked + label.nav-label .item-count {
/* Position the sidebar sections */
color: var(--ooui-color);
div#mw-navigation div#mw-panel {
display: flex;
flex-wrap: wrap;
justify-content: space-evenly;
width: 100%;
}
.vector-legacy-sidebar .vector-menu-portal {
width: 142px;
flex-shrink: 0;
display: var(--sidebar-display, flex);
    flex-direction: column;
}
.vector-legacy-sidebar .vector-menu-portal .vector-menu-content {
flex-grow: 1;
display: block !important;
}
#mw-panel nav.vector-menu-portal.collapsed h3:before {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
}
}
}


body.wgl-theme-dark #tab-smw-property-value:checked + label.nav-label .usage-count.moderate,
.mw-dismissable-notice-close .dismiss-icon svg {
body.wgl-theme-dark #tab-smw-concept-list:checked + label.nav-label .usage-count.moderate {
fill: var(--content-text-color);
background-color: rgba(43, 157, 239, 0.64);
}
}


body.wgl-theme-dark #tab-smw-property-value:checked + label.nav-label .usage-count.high,
/* Use black bullet points, instead of blue circles: [[File:List bullet.svg]] */
body.wgl-theme-dark #tab-smw-concept-list:checked + label.nav-label .usage-count.high {
ul {
background-color: rgba(222, 0, 0, 0.50);
list-style-image: var(--list-bullet);
}
}


body.wgl-theme-dark .smw-ui-input-filter {
/* Various styling for message boxes, based on colours/styling from [[Template:Msgbox]] */
color: var(--content-text-color);
div.mw-warning-with-logexcerpt,
border: solid 1px var(--ooui-border);
.errorbox,
background-color: var(--ooui-enabled);
.warningbox,
.successbox {
    padding: .4em .8em;
    margin-bottom: 1em;
    border: 1px solid #CCC;
}
}


body.wgl-theme-dark .smw-ui-input-filter:hover {
div.mw-warning-with-logexcerpt,
border-color: var(--smw-border-hover);
.errorbox {
    background: #FDD;
    border-left: 4px solid #FAA;
}
}


body.wgl-theme-dark .smw-ui-input-filter input {
.warningbox {
color: var(--content-text-color) !important;
    background: #FFC;
border-color: var(--ooui-border) !important;
    border-left: 4px solid #DD8;
}
}


/**********
.successbox {
Add WikiEditor parity with VisualEditor
    background: #DFD;
And fixes for dark theme, VisualEditor and CodeEditor
    border-left: 4px solid #9C9;
**********/
 
/* Changes colors of the WikiEditor and VisualEditor toolbars */
body.wgl-theme-dark .wikiEditor-ui-toolbar,
body.wgl-theme-dark .oo-ui-toolbar-bar,
body.wgl-theme-dark .wikiEditor-ui-toolbar .sections .section,
body.wgl-theme-dark .ve-init-mw-desktopArticleTarget-toolbarPlaceholder-floating .ve-init-mw-desktopArticleTarget-toolbarPlaceholder-bar {
background-color: #353535;
color: #e6e6e6;
border-top: 1px solid #595959;
border-bottom: 1px solid #595959;
}
}


/* VE template editor */
.successbox strong p {
body.wgl-theme-dark .oo-ui-messageWidget.oo-ui-messageWidget-block.oo-ui-flaggedElement-notice {
     margin: 0;
     background-color: #39393b;
}
}


body.wgl-theme-dark .ve-ui-mwTemplatePage-description,
/* Add white background to some areas */
body.wgl-theme-dark .oo-ui-labelWidget.oo-ui-inline-help,
#asirra_ChallengeTableDiv {
body.wgl-theme-dark .ve-ui-mwParameterPage-undocumentedLabel,
background-color: #FFF;
body.wgl-theme-dark .ve-ui-mwTransclusionOutlineTemplateWidget-no-template-parameters {
    color: #b0bac3;
}
}


body.wgl-theme-dark .ve-ui-mwParameterPage-doc-required,
/* Fix diff area styling */
body.wgl-theme-dark .ve-ui-mwParameterPage-doc-deprecated,
table.diff {
body.wgl-theme-dark .ve-ui-mwParameterPage-inlineDescription .ve-ui-mwParameterPage-doc-example {
background-color: transparent;
color: #aaa;
}
}


body.wgl-theme-dark .ve-ui-mwTransclusionOutlineTemplateWidget-sticky {
td.diff-addedline,
    background-color: #333d51;
td.diff-deletedline {
background-color: #F9F9F9;
}
}


/* Changes buttons of WikiEditor to match VisualEditor's behavior */
td.diff-context {
body.wgl-theme-dark .wikiEditor-ui-toolbar .sections .section .group .tool .tool-select > .label a {
background-color: #F3F3F3;
color: #e6e6e6;
}
body.wgl-theme-dark .wikiEditor-ui-toolbar .tabs span.tab a:before {
filter: invert(1);
}
body.wgl-theme-dark .wikiEditor-ui-toolbar .tabs span.tab a {
color: #e6e6e6;
}
}


/* Changes colors of the VisualEditor placeholder toolbar */
td.diff-addedline,
body.wgl-theme-dark .ve-init-mw-desktopArticleTarget-toolbarPlaceholder-bar {
td.diff-deletedline,
border-bottom: 1px solid #595959;
td.diff-context,
td.diff-addedline .diffchange,
td.diff-deletedline .diffchange {
border-radius: 0;
}
}


/* Changes border color for separator lines on both editors */
/* Fix side-by-side editor background colour */
body.wgl-theme-dark .oo-ui-toolbar-bar,
.wikiEditor-ui-controls {
body.wgl-theme-dark .oo-ui-menuToolGroup,
background-color: #E6EFF4;
body.wgl-theme-dark .wikiEditor-ui .wikiEditor-ui-view,
border-right: 1px solid #E6EFF4;
body.wgl-theme-dark .wikiEditor-ui-toolbar .sections .section,
body.wgl-theme-dark .wikiEditor-ui-toolbar .group,
body.wgl-theme-dark .wikiEditor-ui-toolbar .section-secondary .group,
body.wgl-theme-dark .wikiEditor-ui .wikiEditor-ui-top,
body.wgl-theme-dark .codeEditor-status-message,
body.wgl-theme-dark .ace_print-margin {
    border-color: #595959;
}
body.wgl-theme-dark .ace_print-margin {
    background-color: #595959;
}
}


/* Inverts a bit the color of some blue icons on dark theme */
/* Style notifications to look like achievements: [[File:Achievement background.png]] */
body.wgl-theme-dark #p-lang-btn .oo-ui-icon-translation,
body .mw-notification-area-layout {
body.wgl-theme-dark .ve-ui-toolbar .oo-ui-image-progressive,
top: 80px;
body.wgl-theme-dark .wikiEditor-ui-toolbar .oo-ui-image-progressive {
    filter: contrast(0.7) brightness(1.8);
}
}


/* Fixes a border-like shadow under link insertion tool on VisualEditor on dark theme */
body .mw-notification.mw-notification-type-success,
body.wgl-theme-dark .oo-ui-tabSelectWidget-frameless {
body .mw-notification.mw-notification-type-error,
    box-shadow: inset 0 -1px 0 0 #595959;
body .mw-notification.mw-notification-type-warn,
body .mw-notification {
border: 8px solid #555;
border-radius: 0;
-webkit-border-image: url('filepath://Achievement_background.png') 8 repeat;
-moz-border-image: url('filepath://Achievement_background.png') 8 repeat;
-o-border-image: url('filepath://Achievement_background.png') 8 repeat;
border-image: url('filepath://Achievement_background.png') 8 fill repeat;
box-shadow: none;
background-color: #212121;
background-clip: padding-box;
color: #FFF;
padding: 0.2em 0.4em;
}
}


/* Visual Editor: Link edit popup display text */
body .mw-notification.mw-notification-type-success {
body.wgl-theme-dark .ve-ui-desktopContext .ve-ui-linkContextItem .ve-ui-linkContextItem-label .ve-ui-linkContextItem-label-preview {
    color: #2d6;
color: #aaa;
}
}
 
body .mw-notification.mw-notification-type-error {
/* Visual Editor: Template editing popup left-hand-side parameter selection input */
    color: #d33;
body.wgl-theme-dark .oo-ui-selectWidget .oo-ui-optionWidget-highlighted {
color: white;
background: #333;
}
}
 
body .mw-notification.mw-notification-type-warn {
body.wgl-theme-dark .ve-ui-mwTransclusionOutlineTemplateWidget .ve-ui-mwTransclusionOutlineParameterWidget.ve-ui-mwTransclusionOutlineParameterWidget-activePage,
    color: #fc3;
body.wgl-theme-dark .ve-ui-mwTransclusionOutlineTemplateWidget .ve-ui-mwTransclusionOutlineParameterWidget.ve-ui-mwTransclusionOutlineParameterWidget-activePage:hover,
body.wgl-theme-dark .ve-ui-mwTransclusionOutlineTemplateWidget .ve-ui-mwTransclusionOutlineParameterWidget.ve-ui-mwTransclusionOutlineParameterWidget-activePage.oo-ui-optionWidget-highlighted {
color: #fff;
background: #467c;
}
}


/* Visual Editor: Template editing popup bottom left controls */
/* HiDPI images */
body.wgl-theme-dark .ve-ui-mwTransclusionOutlineControlsWidget {
@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 1.5dppx) {
background-color: black;
body {
border-top-color: #888;
    background-image: var(--header-background-hidpi), var(--base-background-hidpi);
}
}
 
/* Fixes some colors on various zones on VisualEditor on dark theme */
.mw-wiki-logo {
body.wgl-theme-dark .oo-ui-toolbar-position-top .ve-ui-toolbarDialog-position-above,
background-image: var(--wiki-logo-hidpi);
body.wgl-theme-dark .ve-ui-mwNoticesPopupTool-items > div:not(:first-child),
background-size: 8.4375em auto; /* 135px */
body.wgl-theme-dark .ve-ui-mwHelpPopupTool-item:not(:first-child) {
}
    border-top: 1px solid #6f6f6f;
}
nav.vector-menu-tabs ul li,
body.wgl-theme-dark .ve-ui-mwHelpPopupTool-version-label,
nav.vector-menu-tabs ul li.selected,
body.wgl-theme-dark .ve-ui-mwHelpPopupTool-version-link,
nav.vector-menu-tabs ul li:hover,
body.wgl-theme-dark .ve-ui-mwHelpPopupTool-version-date {
nav.vector-menu-tabs ul li:focus,
    color: #cebfd3;
nav.vector-menu-dropdown,
nav.vector-menu-dropdown:hover,
nav.vector-menu-dropdown:focus {
--ca-background-image: var(--vector-tabs-hidpi);
background-size: 262px auto, auto;
}
nav.vector-menu-tabs ul li:before,
nav.vector-menu-dropdown:before {
background-size: 262px auto;
}
#left-navigation nav.vector-menu-tabs li:first-child:before {
background-image: var(--vector-tabs-first-hidpi);
background-size: 6px auto;
}
}
}
body.wgl-theme-dark .oo-ui-listToolGroup-tools .oo-ui-tool.oo-ui-widget-disabled .oo-ui-tool-title,
 
body.wgl-theme-dark .oo-ui-popupToolGroup-tools .oo-ui-tool-link .oo-ui-tool-accel {
.wikiEditor-ui .oo-ui-toolbar-popups {
     color: #9ea0a1;
     right: 0;
}
}
body.wgl-theme-dark .ve-ce-languageAnnotation {
.wikiEditor-ui .ve-init-mw-switchPopupWidget,
     background-color: #141921;
.wikiEditor-ui .oo-ui-popupToolGroup-tools {
     right: 0 !important;
    left: unset !important;
}
}
body.wgl-theme-dark .ve-ce-linkAnnotation.ve-ce-annotation-active {
.wikiEditor-ui .ve-init-mw-switchPopupWidget .oo-ui-popupWidget-anchor {
    box-shadow: 0 0 0 1px #141921;
margin-left: calc(100% - 1.25em);
     background-color: #141921;
     left: unset !important;
}
}
body.wgl-theme-dark .oo-ui-bookletLayout > .oo-ui-menuLayout-menu,
.wikiEditor-ui .ext-WikiEditor-realtimepreview-button > a.oo-ui-buttonElement-button {
body.wgl-theme-dark .ve-ui-mwTwoPaneTransclusionDialogLayout > .oo-ui-menuLayout-menu,
display: flex;
body.wgl-theme-dark .ve-ui-mwGalleryDialog-menuLayout-desktop > .oo-ui-menuLayout-menu,
align-items: center;
body.wgl-theme-dark .ve-ui-diffElement-hasDescriptions .ve-ui-diffElement-content {
    border-right: 1px solid #6f6f6f;
}
}
body.wgl-theme-dark .ve-ui-specialCharacterPage-character {
 
border: 1px solid #6f6f6f;
body.rootpage-Minecraft_Wiki #firstHeading,
body.rootpage-Movie_Wiki #firstHeading,
body.rootpage-Dungeons_Wiki #firstHeading,
body.rootpage-Legends_Wiki #firstHeading,
body.rootpage-Story_Mode_Wiki #firstHeading,
body.rootpage-Earth_Wiki #firstHeading {
display: none;
}
}
body.wgl-theme-dark .oo-ui-outlineOptionWidget.oo-ui-optionWidget-highlighted,
 
body.wgl-theme-dark .oo-ui-menuOptionWidget.oo-ui-optionWidget-highlighted {
body.rootpage-Minecraft_Wiki #bodyContent,
    background-color: #535a69;
body.rootpage-Movie_Wiki #bodyContent,
    color: #9ed2ff;
body.rootpage-Dungeons_Wiki #bodyContent,
body.rootpage-Legends_Wiki #bodyContent,
body.rootpage-Story_Mode_Wiki #bodyContent,
body.rootpage-Earth_Wiki #bodyContent {
clear: both;
}
}
body.wgl-theme-dark .oo-ui-processDialog-actions-safe .oo-ui-widget-enabled.oo-ui-iconElement:not(.oo-ui-labelElement) > .oo-ui-buttonElement-button:active {
 
    background-color: #535a69;
body.rootpage-Minecraft_Wiki .mw-indicators,
    border-right-color: #6f6f6f;
body.rootpage-Movie_Wiki .mw-indicators,
body.rootpage-Dungeons_Wiki .mw-indicators,
body.rootpage-Legends_Wiki .mw-indicators,
body.rootpage-Story_Mode_Wiki .mw-indicators,
body.rootpage-Earth_Wiki .mw-indicators {
height: 0;
top: -15px;
}
}
body.wgl-theme-dark .oo-ui-toggleSwitchWidget {
 
     background-color: #46494d;
/* [[File:Wiki Discord.svg]] */
div#mw-panel nav.portal li a[href="https://discord.gg/fGdE5ZE"] {
    display: inline-block;
    position: relative;
    height: 20px;
    width: 119px;
    margin: 0.25em;
     max-width: 100%;
}
}
body.wgl-theme-dark .oo-ui-toggleSwitchWidget.oo-ui-widget-disabled {
div#mw-panel nav.portal li a[href="https://discord.gg/fGdE5ZE"]::before {
     background-color: #6f6f6f;
    position: absolute;
     border-color: #6f6f6f;
    width: 100%;
    height: 100%;
    top: 0;
    left: -0.25em;
    content: "";
     background: url('filepath://Wiki_Discord.svg') no-repeat;
     background-size: contain;
}
}
body.wgl-theme-dark .ve-ui-contextItem + .ve-ui-contextItem {
 
    border-top: 1px solid var(--ooui-border);
#n-in-Minecraft,
#n-in-Dungeons,
#n-in-Earth,
#n-in-Legends,
#n-in-Story-Mode,
#n-in-Tutorial,
#n-in-Movie,
#p-Recent_versions li {
margin-left: 10px;
display: var(--sidebar-display, list-item);
}
}
body.wgl-theme-dark .ve-ui-mwAceEditorWidget .ace_editor {
 
    border: 1px solid #6f6f6f;
.ns-0 #n-randompage, .ns-1 #n-randompage,
}
.ns-10000 #n-randompage, .ns-10001 #n-randompage,
body.wgl-theme-dark .ve-ui-desktopContext .ve-ui-linkContextItem .ve-ui-linkContextItem-label {
.ns-10002 #n-randompage, .ns-10003 #n-randompage,
border-top: 1px solid #6f6f6f;
.ns-10004 #n-randompage, .ns-10005 #n-randompage,
.ns-10006 #n-randompage, .ns-10007 #n-randompage,
.ns-10010 #n-randompage, .ns-10011 #n-randompage,
.ns-10012 #n-randompage, .ns-10013 #n-randompage,
#p-Recent_versions #n-Bedrock-Edition,
#p-Recent_versions #n-Java-Edition {
margin-left: 0;
font-weight: bold;
}
}
body.wgl-theme-dark .oo-ui-menuSelectWidget {
 
    background-color: #333;
body.rootpage-Minecraft_Wiki #n-randompage {
    border: 1px solid #6f6f6f;
font-weight: normal;
}
}
body.wgl-theme-dark .oo-ui-menuOptionWidget.oo-ui-widget-enabled.oo-ui-optionWidget {
 
color: #e6e6e6;
body.rootpage-Minecraft_Wiki #n-in-Minecraft,
#n-in-Minecraft {
--sidebar-display: none;
}
}
body.wgl-theme-dark .ve-ui-mwAceEditorWidget .ace_focus {
.ns-0 #n-in-Minecraft,
border-color: #90c0fe;
.ns-1 #n-in-Minecraft,
#p-Recent_versions,
#p-useful-pages {
--sidebar-display: var(--sidebar-display-minecraft);
}
}
body.wgl-theme-dark .ve-ui-mwLanguagesPage-languages-table th,
 
body.wgl-theme-dark .ve-ui-mwLanguagesPage-languages-table td {
#n-in-Dungeons,
  border-bottom:1px solid #000;
#p-useful-pages-dungeons {
--sidebar-display: var(--sidebar-display-dungeons);
}
}
body.wgl-theme-dark .ve-ui-mwLanguagesPage-languages-table tr:nth-child(odd) td {
 
  background:#535353;
#n-in-Earth,
#p-useful-pages-earth {
--sidebar-display: var(--sidebar-display-earth);
}
}
body.wgl-theme-dark .ve-ui-mwLanguagesPage-languages-table tr:nth-child(even) td {
 
  background:#636363;
#n-in-Legends,
#p-useful-pages-legends {
--sidebar-display: var(--sidebar-display-legends);
}
}
body.wgl-theme-dark .ve-ui-mwLatexDialog-menuLayout > .oo-ui-menuLayout-content {
 
border-bottom: 1px solid #6f6f6f;
#n-in-Story-Mode,
#p-useful-pages-story-mode {
--sidebar-display: var(--sidebar-display-story-mode);
}
}
body.wgl-theme-dark .ve-ui-mwLatexPage-symbol {
 
border: 1px solid #898989;
#n-in-Tutorial,
#p-useful-pages-tutorial {
--sidebar-display: var(--sidebar-display-tutorial);
}
}
body.wgl-theme-dark .ve-ui-mwLatexPage-symbol-largeLayout.ve-ui-mwLatexPage-symbol-wide,
 
body.wgl-theme-dark .ve-ui-mwLatexPage-symbol {
#n-in-Movie,
    filter: invert(1);
#p-useful-pages-movie {
--sidebar-display: var(--sidebar-display-movie);
}
}
body.wgl-theme-dark .ve-ui-mwLatexPage-symbol:is(:hover, :focus-within, :active) {
 
    border-color: #555;
/* Hide mobile-only things */
.mobileonly {
display: none;
}
}
body.wgl-theme-dark .ve-ui-targetWidget:not(.oo-ui-pendingElement-pending) {
 
    background: #292929;
 
 
/**********
Add WikiEditor parity with VisualEditor
And fixes for dark theme, VisualEditor and CodeEditor
**********/
 
/* Space that the whole editor takes */
.wikiEditor-ui .wikiEditor-ui-view {
margin-left: -1.7em;
margin-right: -1.7em;
border: 0;
}
}
body.wgl-theme-dark .ve-ui-targetWidget {
.client-js #editform > .wikiEditor-ui .wikiEditor-ui-view {
    border: 1px solid #6f6f6f;
margin-left: 0;
margin-right: 0;
}
}
body.wgl-theme-dark .ve-ce-branchNode-blockSlug,
.client-js #editform {
body.wgl-theme-dark .ve-ce-branchNode-newSlug {
margin-left: -1.7em;
    outline: 1px dashed #6f6f6f;
margin-right: -1.7em;
    background-color: rgb(57 57 57 / 75%);
}
}
body.wgl-theme-dark .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover {
 
    color: #d9d9d9;
/* Removes border from the toolbar */
.wikiEditor-ui .wikiEditor-ui-top {
border-bottom: 0;
}
}
body.wgl-theme-dark .oo-ui-barToolGroup-tools.oo-ui-toolGroup-enabled-tools .oo-ui-tool.oo-ui-widget-disabled.oo-ui-flaggedElement-primary > .oo-ui-tool-link,
 
body.wgl-theme-dark .oo-ui-barToolGroup-tools.oo-ui-toolGroup-disabled-tools .oo-ui-tool.oo-ui-flaggedElement-primary > .oo-ui-tool-link {
/* Changes colors of the WikiEditor and VisualEditor toolbars */
     background-color: #6f6f6f;
.wikiEditor-ui-toolbar,
     border-color: #6f6f6f;
.oo-ui-toolbar-bar,
.wikiEditor-ui-toolbar .sections .section,
.ve-init-mw-desktopArticleTarget-toolbarPlaceholder-floating .ve-init-mw-desktopArticleTarget-toolbarPlaceholder-bar {
    background-color: #dddddd;
    color: #202122;
    box-shadow: 0px 3px 7px 0px rgba(163,159,159,0.15);
     border-top: 1px solid #cbcbcb;
     border-bottom: 1px solid #cbcbcb;
}
}
body.wgl-theme-dark .oo-ui-barToolGroup-tools.oo-ui-toolGroup-enabled-tools .oo-ui-tool.oo-ui-widget-disabled.oo-ui-flaggedElement-primary > .oo-ui-tool-link .oo-ui-tool-title,
 
body.wgl-theme-dark .oo-ui-barToolGroup-tools.oo-ui-toolGroup-disabled-tools .oo-ui-tool.oo-ui-flaggedElement-primary > .oo-ui-tool-link .oo-ui-tool-title {
.wikiEditor-ui-toolbar .sections .section .section-advanced .section-visible {
    color: #c9c9c9;
border-bottom: 0;
}
body.wgl-theme-dark .oo-ui-processDialog-actions-safe .oo-ui-widget-enabled.oo-ui-iconElement:not(.oo-ui-labelElement) > .oo-ui-buttonElement-button:hover {
    background-color: #434f5b;
    border-right-color: #6f6f6f;
}
}


/* Improves a bit text on the exit without saving changes menu on VisualEditor */
.oo-ui-toolbar-bar .oo-ui-toolbar-actions .oo-ui-toolbar .oo-ui-toolbar-bar {
body.wgl-theme-dark .oo-ui-messageDialog-title {
border-bottom: 0;
    color: #e6e6e6;
box-shadow: none;
}
}


/* Improves labels on the character insertion menu on VisualEditor */
/* Changes buttons of WikiEditor to match VisualEditor's behavior */
body.wgl-theme-dark .ve-ui-specialCharacterPage h3,
.wikiEditor-ui-toolbar .oo-ui-buttonElement-frameless.oo-ui-iconElement > .oo-ui-buttonElement-button > .oo-ui-iconElement-icon {
body.wgl-theme-dark .ve-ui-mwLatexDialog-content .oo-ui-bookletLayout-stackLayout h3 {
    left: 10px;
     color: #d7d7d7;
}
.wikiEditor-ui-toolbar .oo-ui-buttonElement-frameless.oo-ui-iconElement > .oo-ui-buttonElement-button {
     min-width: 42px;
    min-height: 42px;
    text-align: center;
}
}
 
.wikiEditor-ui-toolbar .group .tool-select,
/* Improves border colors around popups of the VisualEditor on dark theme */
.wikiEditor-ui-toolbar .group .tool-select .label:after {
/* Borders */
height: 42px;
body.wgl-theme-dark .oo-ui-processDialog-content .oo-ui-window-head,
body.wgl-theme-dark .oo-ui-processDialog-content .oo-ui-window-foot {
    outline: 1px solid #6f6f6f;
}
}
body.wgl-theme-dark .oo-ui-searchWidget-query {
.wikiEditor-ui-toolbar .group .label {
     border-bottom: 1px solid #6f6f6f;
     line-height: 39px;
color: #202122;
}
}
body.wgl-theme-dark .mw-widget-mediaResultWidget-overlay {
.wikiEditor-ui-toolbar .group .tool-select .label {
     box-shadow: inset 0 0 0 1px #6f6f6f;
     line-height: 42px;
    height: 42px;
}
}
body.wgl-theme-dark .mw-widget-mediaResultWidget.oo-ui-optionWidget-highlighted,
.wikiEditor-ui-toolbar .tabs span.tab {
body.wgl-theme-dark .mw-widget-mediaResultWidget.oo-ui-optionWidget-selected {
    line-height: 42px;
box-shadow: 0 0 2px #90c0fe;
}
}
/* Input labels */
.wikiEditor-ui-toolbar .tabs span.tab a:before {
body.wgl-theme-dark .oo-ui-textInputWidget.oo-ui-widget-enabled .oo-ui-inputWidget-input:is(:hover, :focus, :focus-within, :active),
filter: invert(0);
body.wgl-theme-dark .ve-ui-targetWidget-focused {
height: 42px;
border-color: #90c0fe;
left: 6px;
     box-shadow: inset 0 0 0 1px #90c0fe;
}
.wikiEditor-ui-toolbar .tabs span.tab a {
height: 42px;
color: #202122;
padding-left: 22px;
}
.wikiEditor-ui-toolbar .tabs {
margin: 0;
}
.ve-init-mw-editSwitch .oo-ui-popupToolGroup {
height: 42px;
}
.ve-init-mw-editSwitch .oo-ui-popupToolGroup.oo-ui-iconElement .oo-ui-popupToolGroup-handle {
     padding-top: 42px;
}
}


/* VisualEditor: Style included images like images on the regular page */
/* Changes colors of the VisualEditor placeholder toolbar */
.wgl-theme-dark figure[typeof~="mw:File/Thumb"] > a:first-child > :first-child:not(.mw-broken-media),
.ve-init-mw-desktopArticleTarget-toolbarPlaceholder-bar {
.wgl-theme-dark figure[typeof~="mw:File/Frame"] > a:first-child > :first-child:not(.mw-broken-media),
border-bottom: 1px solid #eaecf0;
.wgl-theme-dark figure[typeof~="mw:Image/Thumb"] > a:first-child > :first-child:not(.mw-broken-media),
    box-shadow: 0 2px 4px 0 rgba(0,0,0,0.2);
.wgl-theme-dark figure[typeof~="mw:Video/Thumb"] > a:first-child > :first-child:not(.mw-broken-media),
.wgl-theme-dark figure[typeof~="mw:Audio/Thumb"] > a:first-child > :first-child:not(.mw-broken-media),
.wgl-theme-dark figure[typeof~="mw:Image/Frame"] > a:first-child > :first-child:not(.mw-broken-media),
.wgl-theme-dark figure[typeof~="mw:Video/Frame"] > a:first-child > :first-child:not(.mw-broken-media),
.wgl-theme-dark figure[typeof~="mw:Audio/Frame"] > a:first-child > :first-child:not(.mw-broken-media),
.wgl-theme-dark figure[typeof~="mw:File/Thumb"] > span:first-child > :first-child:not(.mw-broken-media),
.wgl-theme-dark figure[typeof~="mw:File/Frame"] > span:first-child > :first-child:not(.mw-broken-media),
.wgl-theme-dark figure[typeof~="mw:Image/Thumb"] > span:first-child > :first-child:not(.mw-broken-media),
.wgl-theme-dark figure[typeof~="mw:Video/Thumb"] > span:first-child > :first-child:not(.mw-broken-media),
.wgl-theme-dark figure[typeof~="mw:Audio/Thumb"] > span:first-child > :first-child:not(.mw-broken-media),
.wgl-theme-dark figure[typeof~="mw:Image/Frame"] > span:first-child > :first-child:not(.mw-broken-media),
.wgl-theme-dark figure[typeof~="mw:Video/Frame"] > span:first-child > :first-child:not(.mw-broken-media),
.wgl-theme-dark figure[typeof~="mw:Audio/Frame"] > span:first-child > :first-child:not(.mw-broken-media) {
    background-color: #282828;
    border-color: #444;
}
}


/* Changes the color of the highlighting icons' background */
/* Changes border color for separator lines on both editors */
/* Hovering */
.oo-ui-toolbar-bar,
body.wgl-theme-dark .tool.oo-ui-buttonElement-frameless.oo-ui-iconElement > .oo-ui-buttonElement-button:is(:hover, :focus-within),
.oo-ui-menuToolGroup,
body.wgl-theme-dark .wikiEditor-ui-toolbar .group .tool-select .menu .options .option:is(:hover, :focus-within),
.wikiEditor-ui .wikiEditor-ui-view,
body.wgl-theme-dark .wikiEditor-ui-toolbar .tabs span.tab a:is(:hover, :focus-within),
.wikiEditor-ui-toolbar .sections .section,
body.wgl-theme-dark .wikiEditor-ui-toolbar .group div.tool.tool-select a.label:is(:hover, :focus-within),
.wikiEditor-ui-toolbar .group,
body.wgl-theme-dark .wikiEditor-ui-toolbar .page-characters div span:hover,
.wikiEditor-ui-toolbar .section-secondary .group,
body.wgl-theme-dark .wikiEditor-ui-toolbar .booklet > .index > :hover,
.wikiEditor-ui .wikiEditor-ui-top,
body.wgl-theme-dark .wikiEditor-ui-toolbar .page-characters div .wikiEditor-character-highlighted,
.codeEditor-status-message,
body.wgl-theme-dark .oo-ui-tool.oo-ui-widget-enabled > .oo-ui-tool-link:hover,
.ace_print-margin {
body.wgl-theme-dark .oo-ui-listToolGroup-tools .oo-ui-tool.oo-ui-widget-enabled:hover {
    border-color: #cbcbcb;
background-color: #4b4c4f;
color: var(--ooui-color);
}
}
/* Active */
.ace_print-margin {
body.wgl-theme-dark .oo-ui-toggleButtonWidget.oo-ui-widget-enabled.oo-ui-buttonElement-frameless.oo-ui-toggleWidget-on .oo-ui-buttonElement-button,
    background-color: #eaecf0;
body.wgl-theme-dark .wikiEditor-ui-toolbar .tabs span.tab a.current,
body.wgl-theme-dark .wikiEditor-ui-toolbar .group div.tool.tool-select.options-shown > a.label,
body.wgl-theme-dark .oo-ui-popupToolGroup.oo-ui-popupToolGroup-active > .oo-ui-popupToolGroup-handle,
body.wgl-theme-dark .oo-ui-listToolGroup-tools .oo-ui-tool.oo-ui-widget-enabled:active,
body.wgl-theme-dark .oo-ui-outlineOptionWidget.oo-ui-optionWidget-selected,
body.wgl-theme-dark .oo-ui-tool.oo-ui-widget-enabled > .oo-ui-tool-link:active,
body.wgl-theme-dark .oo-ui-tool.oo-ui-widget-enabled.oo-ui-tool-active > .oo-ui-tool-link,
body.wgl-theme-dark .wikiEditor-ui-toolbar .booklet > .index > .current {
background-color: #454e61;
color: #90c0fe;
}
}


/* Fixes Heading insert icon on dark theme */
/* Removes a shadow under page tabs on VisualEditor */
body.wgl-theme-dark .wikiEditor-ui-toolbar .group .tool-select .label:after {
.ve-activated .vector-menu-tabs .selected {
filter: invert(1);
    box-shadow: none;
}
}


/* Fixes Heading insert options background on dark theme */
/* Improves a bit text on the exit without saving changes menu on VisualEditor */
body.wgl-theme-dark .wikiEditor-ui-toolbar .group .tool-select .options {
.oo-ui-messageDialog-title {
border: 1px solid var(--ooui-border);
    color: #1e1e1e;
background-color: #353535;
    font-weight: bold;
}
}


/* Fixes Heading insert options text color on dark theme */
/* Improves labels on the character insertion menu on VisualEditor */
body.wgl-theme-dark .wikiEditor-ui-toolbar .group .tool-select .options .option {
.ve-ui-specialCharacterPage h3,
color: #e6e6e6;
.ve-ui-mwLatexDialog-content .oo-ui-bookletLayout-stackLayout h3 {
    font-weight: bold;
}
}


/* Fixes text colors on some menus on dark theme */
/* Changes the color of the highlighting icons' background */
body.wgl-theme-dark .oo-ui-popupToolGroup-tools .oo-ui-tool-active.oo-ui-widget-enabled .oo-ui-tool-link .oo-ui-tool-title {
/* Hovering */
    color: #90c0fe;
.tool.oo-ui-buttonElement-frameless.oo-ui-iconElement > .oo-ui-buttonElement-button:is(:hover, :focus-within),
.wikiEditor-ui-toolbar .group .tool-select .menu .options .option:is(:hover, :focus-within),
.wikiEditor-ui-toolbar .tabs span.tab a:is(:hover, :focus-within),
.wikiEditor-ui-toolbar .group div.tool.tool-select a.label:is(:hover, :focus-within),
.wikiEditor-ui-toolbar .page-characters div span:hover,
.wikiEditor-ui-toolbar .booklet > .index > :hover,
.wikiEditor-ui-toolbar .page-characters div .wikiEditor-character-highlighted,
.oo-ui-tool.oo-ui-widget-enabled > .oo-ui-tool-link:hover {
background-color: #ebebeb;
color: #202122;
text-decoration: none;
}
}
 
/* Active */
/* Fixes Special characters and Help menus buttons and labels */
.oo-ui-toggleButtonWidget.oo-ui-widget-enabled.oo-ui-buttonElement-frameless.oo-ui-toggleWidget-on .oo-ui-buttonElement-button,
/* Normal */
.wikiEditor-ui-toolbar .tabs span.tab a.current,
body.wgl-theme-dark .wikiEditor-ui-toolbar .page-characters div span {
.wikiEditor-ui-toolbar .group div.tool.tool-select.options-shown > a.label,
border: 1px solid #6f6f6f;
.oo-ui-popupToolGroup.oo-ui-popupToolGroup-active > .oo-ui-popupToolGroup-handle,
color: #e6e6e6;
.oo-ui-listToolGroup-tools .oo-ui-tool.oo-ui-widget-enabled:active,
.oo-ui-outlineOptionWidget.oo-ui-optionWidget-selected,
.oo-ui-tool.oo-ui-widget-enabled > .oo-ui-tool-link:active,
.oo-ui-tool.oo-ui-widget-enabled.oo-ui-tool-active > .oo-ui-tool-link,
.wikiEditor-ui-toolbar .booklet > .index > .current {
background-color: #dee6f3;
color: #0645ad;
}
 
/* Fixes Special characters and Help menus buttons and labels */
/* Normal */
.wikiEditor-ui-toolbar .page-characters div span {
border: 1px solid #cbcbcb;
}
 
/* Fixes Help menu padding */
.wikiEditor-ui-toolbar .page-table th,
.wikiEditor-ui-toolbar .page-table td {
padding: 4px;
}
}


/* Fixes Help menu colors */
/* Fixes Help menu colors */
body.wgl-theme-dark .wikiEditor-ui-toolbar .page-table th {
.wikiEditor-ui-toolbar .page-table td {
color: #e6e6e6;
border-top: 1px solid #cbcbcb;
}
body.wgl-theme-dark .wikiEditor-ui-toolbar .page-table td {
color: #e6e6e6;
border-top: 1px solid #595959;
}
}


/* Makes a border color a bit consistent on the notice popup on VisualEditor */
/* Makes a border color a bit consistent on the notice popup on VisualEditor */
body.wgl-theme-dark .oo-ui-popupWidget-popup {
.oo-ui-popupWidget-popup {
     border: 1px solid #6f6f6f;
     border: 1px solid #c8ccd1;
}
}
body.wgl-theme-dark .oo-ui-popupWidget-anchored-top .oo-ui-popupWidget-anchor:after {
 
    border-bottom-color: #323232;
/* Adds some padding at the left of the text editing section */
}
.mw-editform #wpTextbox1 {
body.wgl-theme-dark .oo-ui-popupWidget-anchored-top .oo-ui-popupWidget-anchor:before {
padding-left: 0.8em;
    border-bottom-color: #6f6f6f;
}
}


/* Fixes dark theme for the editor toggle */
/* Makes the text editing section a certain color on all cases */
/* General background of the options menu */
.wikiEditor-ui,
body.wgl-theme-dark .oo-ui-popupToolGroup-tools,
.CodeMirror,
.wgl-theme-dark .oo-ui-popupWidget .oo-ui-popupWidget-popup {
.mw-editform #wpTextbox1,
background-color: #353535;
.ace-tm,
border: 1px solid #6f6f6f;
.wikiEditor-ui textarea {
background: #fbfbfb;
box-shadow: inset 1px -4px 12px 0px rgba(0,0,0,0.15);
}
}


/* Color of the active selected option */
/* Makes the syntax highlighting number line more readable
body.wgl-theme-dark .oo-ui-listToolGroup-tools .oo-ui-tool-active.oo-ui-widget-enabled .oo-ui-tool-link .oo-ui-tool-title {
.CodeMirror-linenumbers,
color: #90c0fe;
.ace-tm .ace_gutter {
background: #efefef;
border-right: 1px solid #c8ccd1;
} */
 
/* Adds more padding to these notices */
.mw-editTools,
.templatesUsed,
.hiddencats,
.limitreport {
padding-left: 1.5em;
padding-right: 1.5em;
}
}


/* Visual Editor link popup article preview image background */
/* Changes colors of the save section */
body.wgl-theme-dark .ve-ui-mwInternalLinkContextItem-withImage > .oo-ui-iconElement.oo-ui-iconElement-icon {
.editOptions {
background-color: transparent;
background-color: #dddddd;
    border: 0;
    padding: 1.5em;
    border-top: 1px solid #cbcbcb;
    border-bottom: 1px solid #cbcbcb;
}
}


/* Makes the text editing section a certain color on all cases */
/* Modifies layout of some elements of the save section */
body.wgl-theme-dark .wikiEditor-ui,
/* Summary section */
body.wgl-theme-dark .CodeMirror,
.mw-editform #wpSummaryLabel {
body.wgl-theme-dark .mw-editform #wpTextbox1,
margin: 0 1em;
body.wgl-theme-dark .ace-tm,
body.wgl-theme-dark .wikiEditor-ui textarea {
background-color: #1e1e1e;
}
}
 
.editOptions > #wpSummaryLabel {
/* Makes the syntax highlighting number line more readable */
margin: 0;
body.wgl-theme-dark .CodeMirror-gutter,
body.wgl-theme-dark CodeMirror-linenumbers,
body.wgl-theme-dark .ace-tm .ace_gutter {
background: #333333;
border-right: 1px solid #6f6f6f;
color: #fff;
}
}
body.wgl-theme-dark .ace-tm .ace_gutter-active-line {
/* Summary preview section */
background-color: #5f5f5f;
.mw-summary-preview {
color: #e6e6e6;
margin: 0 1em;
}
}
 
.editOptions > .mw-summary-preview {
/* Adds more padding to these notices */
margin: 0;
body.wgl-theme-dark .codeEditor-status {
border-top: 1px solid #6f6f6f;
}
}
 
/* Copyright notice section */
/* Changes colors of the save section */
.mw-editform #editpage-copywarn {
body.wgl-theme-dark .editOptions {
line-height: 1.4;
background-color: #353535;
margin-top: 5px;
border-top: 1px solid #595959;
border-bottom: 1px solid #595959;
}
}


/* Changes the edit save popup */
/* Changes the edit save popup */
/* Popup background */
/* Background transparency */
body.wgl-theme-dark .oo-ui-windowManager-modal > .oo-ui-dialog {
.oo-ui-windowManager-modal > .oo-ui-dialog {
  background-color: #0008;
background-color: rgb(255 255 255 / 20%);
}
}
/* Actual background colors */
/* Actual background colors */
body.wgl-theme-dark .oo-ui-windowManager-modal.oo-ui-windowManager-floating > .oo-ui-dialog > .oo-ui-window-frame {
.oo-ui-windowManager-modal.oo-ui-windowManager-floating > .oo-ui-dialog > .oo-ui-window-frame {
background-color: #414141;
border: 0;
}
background-color: #fff;
/* Text color on dark theme */
body.wgl-theme-dark .oo-ui-messageDialog-message {
color: #fff;
}
}
/* Separator line colors */
/* Separator line colors */
body.wgl-theme-dark .oo-ui-messageDialog-content > .oo-ui-window-foot {
.oo-ui-messageDialog-content > .oo-ui-window-foot {
outline: 1px solid var(--ooui-border);
outline: 1px solid #c8ccd1;
}
}
body.wgl-theme-dark .oo-ui-messageDialog-actions-horizontal .oo-ui-actionWidget {
.oo-ui-messageDialog-actions-horizontal .oo-ui-actionWidget {
border-right: 1px solid var(--ooui-border);
border-right: 1px solid #c8ccd1;
}
}
/* Cancel button colors */
/* Cancel button colors */
body.wgl-theme-dark .oo-ui-messageDialog-actions-horizontal .oo-ui-actionWidget:first-child > .oo-ui-buttonElement-button {
.oo-ui-messageDialog-actions-horizontal .oo-ui-actionWidget:first-child > .oo-ui-buttonElement-button {
background-color: #414141;
background-color: #fff;
color: var(--ooui-destructive);
color: #d33;
}
}
body.wgl-theme-dark .oo-ui-messageDialog-actions-horizontal .oo-ui-actionWidget:first-child > .oo-ui-buttonElement-button:is(:hover, :focus-within) {
.oo-ui-messageDialog-actions-horizontal .oo-ui-actionWidget:first-child > .oo-ui-buttonElement-button:is(:hover, :focus-within) {
background-color: #615858;
background-color: #f7e7e7;
}
}
/* Accept button colors */
/* Accept button colors */
body.wgl-theme-dark .oo-ui-messageDialog-actions-horizontal .oo-ui-actionWidget:last-child > .oo-ui-buttonElement-button {
.oo-ui-messageDialog-actions-horizontal .oo-ui-actionWidget:last-child > .oo-ui-buttonElement-button {
background-color: #36c;
background-color: #36c;
color: #fff;
color: #fff;
}
}
body.wgl-theme-dark .oo-ui-messageDialog-actions-horizontal .oo-ui-actionWidget:last-child > .oo-ui-buttonElement-button:is(:hover, :focus-within) {
.oo-ui-messageDialog-actions-horizontal .oo-ui-actionWidget:last-child > .oo-ui-buttonElement-button:is(:hover, :focus-within) {
background-color: #447ff5;
background-color: #447ff5;
}
}


/* Other popups */
/* Other popups */
/* Background transparency */
.ui-widget-overlay {
background: rgb(255 255 255 / 20%);
}
/* Actual background colors */
/* Actual background colors */
body.wgl-theme-dark .ui-widget-content {
.ui-widget-content {
border: 0;
border: 0;
background: #414141;
background: #fff;
color: var(--ooui-color);
color: #323437;
}
}
/* Input fields */
/* Input fields */
body.wgl-theme-dark #wikieditor-toolbar-file-target,
.ui-widget select {
body.wgl-theme-dark #wikieditor-toolbar-file-caption,
cursor: pointer;
body.wgl-theme-dark #wikieditor-toolbar-file-alt,
}
body.wgl-theme-dark .ui-widget input,
#wikieditor-toolbar-file-target,
body.wgl-theme-dark .ui-widget select,
#wikieditor-toolbar-file-caption,
body.wgl-theme-dark .ui-widget textarea,
#wikieditor-toolbar-file-alt,
body.wgl-theme-dark .ui-widget button {
.ui-widget input,
border: 1px solid #595959;
.ui-widget select,
color: var(--ooui-color);
.ui-widget textarea,
.ui-widget button {
border: 1px solid #c0c2c5;
    padding: 0.3em;
    border-radius: 3px;
}
}
/* Header colors */
/* Header colors */
body.wgl-theme-dark .ui-dialog .ui-widget-header {
body .ui-dialog .ui-widget-header {
background: #5a5a5b !important;
background: #ebe9e9 !important;
color: var(--ooui-color);
border: 0;
font-size: 120%;
padding: 0.6em 1.4em 0.6em !important;
margin: 0.5em 0.5em 0;
}
}
/* Inverts the closing button color */
/* Turns the wrapper of the options into flex */
body.wgl-theme-dark .ui-dialog .ui-icon-closethick {
.wikieditor-toolbar-field-wrapper {
filter: invert(1);
display: flex;
gap: 6px;
align-items: center;
flex-wrap: wrap;
}
}
/* Turns the Show help text of inserting images into a button */
/* Turns the Show help text of inserting images into a button */
body.wgl-theme-dark .wikieditor-toolbar-file-alt-help {
.wikieditor-toolbar-file-alt-help {
background: var(--ooui-enabled);
background: #f7f7f7;
border: 1px solid var(--ooui-border);
border: 1px solid #c3c3c3;
font-size: 110%;
padding: 0.4em 1em 0.4em;
border-radius: 2px;
cursor: pointer;
}
}
body.wgl-theme-dark .wikieditor-toolbar-file-alt-help:is(:hover, :focus-within) {
.wikieditor-toolbar-file-alt-help:is(:hover, :focus-within) {
background: var(--ooui-enabled-hover) !important;
background: #eef4ff !important;
border: 1px solid #7a8191 !important;
border-color: #afc4db !important;
}
/* Changes colors of the separator line */
body.wgl-theme-dark .wikiEditor-toolbar-dialog .ui-dialog-buttonpane {
border-top: 1px solid var(--ooui-border) !important;
}
}
/* Changes colors of the bottom buttons */
/* Changes colors of the bottom buttons */
body.wgl-theme-dark .ui-dialog .ui-dialog-buttonpane button {
.ui-dialog .ui-dialog-buttonpane button {
background: var(--ooui-enabled) !important;
background: #f7f7f7 !important;
color: var(--ooui-color);
border-color: #c3c3c3 !important;
border: 1px solid var(--ooui-border) !important;
font-weight: bold;
font-size: 110%;
color: #222222;
padding: 0.3em;
border-radius: 2px;
box-shadow: none;
}
}
body.wgl-theme-dark .ui-dialog .ui-dialog-buttonpane button:is(:hover, :focus-within) {
.ui-dialog .ui-dialog-buttonpane button:is(:hover, :focus-within) {
background: var(--ooui-enabled-hover) !important;
background: #eef4ff !important;
border: 1px solid #7a8191 !important;
border-color: #afc4db !important;
}
 
/* Fixing indent on CodeEditor */
body.wgl-theme-dark .ace-tm .ace_indent-guide {
    filter: brightness(0.5);
}
}


/* Improvements for colors on Search & Replace */
/* Improvements for colors on Search & Replace */
body.wgl-theme-dark #wikieditor-toolbar-replace-nomatch {
#wikieditor-toolbar-replace-nomatch {
background-color: #794c4c;
background-color: #f3cece;
border-radius: 4px;
padding: 10px;
margin-bottom: 16px;
}
}
body.wgl-theme-dark #wikieditor-toolbar-replace-emptysearch {
#wikieditor-toolbar-replace-emptysearch {
background-color: #6f6d48;
background-color: #e5e7bf;
border-radius: 4px;
padding: 10px;
margin-bottom: 16px;
}
}
body.wgl-theme-dark #wikieditor-toolbar-replace-success {
#wikieditor-toolbar-replace-success {
background-color: #44694b;
background-color: #d6ebd2;
border-radius: 4px;
padding: 10px;
margin-bottom: 16px;
}
}
body.wgl-theme-dark #wikieditor-toolbar-replace-invalidregex {
#wikieditor-toolbar-replace-invalidregex {
background-color: #6e4b71;
background-color: #efd6f1;
border-radius: 4px;
padding: 10px;
margin-bottom: 16px;
}
}


/* CodeEditor search color fixes for dark theme */
/* Changes for VisualEditor's save UI */
body.wgl-theme-dark .ace_search {
.ve-ui-mwSaveDialog-options {
background-color: #353535;
    background-color: transparent;
border: 1px solid var(--ooui-border);
    border: 0;
border-top: 0;
}
border-right: 0;
.ve-ui-mwSaveDialog-summary {
color: #e6e6e6;
    background-color: transparent;
}
}
 
.ve-ui-changeDescriptionsSelectWidget > .oo-ui-optionWidget {
/* CodeEditor search input field color fixes for dark theme */
    padding: 0.3em 0.6em;
body.wgl-theme-dark .ace_search_field {
    border-radius: 3px;
border-radius: 3px 0 0 3px;
background-color: #414141;
color: #e6e6e6;
border: 1px solid var(--ooui-border);
border-right: 0;
}
}


/* CodeEditor search button color fixes for dark theme */
body.wgl-theme-dark .ace_searchbtn {
border: 1px solid var(--ooui-border);
background: #414141;
color: #e6e6e6;
border-right: 0;
border-left: 1px solid var(--ooui-border);
}
body.wgl-theme-dark .ace_button {
border: 1px solid var(--ooui-border);
color: #e6e6e6;
}


/* Text selection fixes for dark theme */
body.wgl-theme-dark .cm-mw-doubleUnderscore,
body.wgl-theme-dark .cm-mw-signature,
body.wgl-theme-dark .cm-mw-hr {
background-color: #1e1e1e;
}


/* Dark theme fixes for VisualEditor's save UI */
 
body.wgl-theme-dark a.extiw {
/**********
    color: #90c0fe;
CodeEditor (also called AceEditor) colors
Consistency between light and dark themes
**********/
.ace-tm .ace_comment {
color: #4a5651;
}
}
body.wgl-theme-dark a.extiw:visited {
.ace-tm .ace_constant,
    color: #9495f4;
.ace-tm .ace_string {
color: #b30106;
}
}
body.wgl-theme-dark #editpage-copywarn a {
.ace-tm .ace_variable {
color: #90c0fe;
color: #005671;
}
.ace-tm .ace_support.ace_type,
.ace-tm .ace_support.ace_class,
.ace-tm .ace_constant.ace_language,
.ace-tm .ace_constant.ace_library {
color: #006612;
}
.ace-tm .ace_constant.ace_numeric,
.ace-tm .ace_storage,
.ace-tm .ace_keyword {
color: #132be5;
}
}
body.wgl-theme-dark #editpage-copywarn a:visited {
.ace-tm .ace_support.ace_constant {
    color: #9495f4;
color: #8c4100;
}
}
body.wgl-theme-dark .ve-ui-mwSaveDialog-license,
.ace-tm .ace_entity.ace_name.ace_function {
body.wgl-theme-dark .ve-ui-diffElement-attributeChange {
color: #0070a7;
    color: #bfbfbf;
}
}
body.wgl-theme-dark .ve-ui-changeDescriptionsSelectWidget > .oo-ui-optionWidget-highlighted {
.ace-tm .ace_comment.ace_doc {
    background: #57759c;
color: #4863c1;
}
}


4 245 eilutė: 4 310 eilutė:


/**********
/**********
CodeEditor (also called AceEditor) colors
CodeMirror (WikiEditor syntax highlighting) colors
Consistency between light and dark themes
Consistency between light and dark themes
**********/
**********/
body.wgl-theme-dark .ace-tm .ace_comment {
/* Parser functions */
color: #b5b9c5;
.cm-mw-parserfunction-name,
.cm-mw-parserfunction-bracket,
.cm-mw-parserfunction-delimiter {
color: #c50000;
}
}
body.wgl-theme-dark .ace-tm .ace_support.ace_function {
/* Templates */
color: #fff;
.cm-mw-template,
}
.cm-mw-template-name,
body.wgl-theme-dark .ace-tm .ace_constant,
.cm-mw-template-argument-name,
body.wgl-theme-dark .ace-tm .ace_string {
.cm-mw-template-delimiter,
color: #ffa4a7;
.cm-mw-template-bracket {
color: #7500af;
}
}
body.wgl-theme-dark .ace-tm .ace_variable {
/* Page links */
color: #90c8d9;
.cm-mw-link-pagename,
.cm-mw-link-bracket,
.cm-mw-link-delimiter,
.cm-mw-extlink,
.cm-mw-free-extlink,
.cm-mw-extlink-protocol,
.cm-mw-free-extlink-protocol,
.cm-mw-extlink-bracket {
color: #1318d5;
}
}
body.wgl-theme-dark .ace-tm .ace_support.ace_type,
/* Tags */
body.wgl-theme-dark .ace-tm .ace_support.ace_class,
.cm-mw-mnemonic,
body.wgl-theme-dark .ace-tm .ace_constant.ace_language,
.cm-mw-exttag-name,
body.wgl-theme-dark .ace-tm .ace_constant.ace_library {
.cm-mw-htmltag-name,
color: #1fe326;
.cm-mw-exttag-bracket,
.cm-mw-exttag-attribute,
.cm-mw-htmltag-bracket,
.cm-mw-htmltag-attribute {
color: #095c00;
}
}
body.wgl-theme-dark .ace-tm .ace_constant.ace_numeric,
/* Comments */
body.wgl-theme-dark .ace-tm .ace_storage,
.cm-mw-comment {
body.wgl-theme-dark .ace-tm .ace_keyword {
color: #59718d;
color: #9bbdff;
}
}
body.wgl-theme-dark .ace-tm .ace_keyword.ace_operator {
/* Template variables */
color: #a9a9a9;
.cm-mw-templatevariable,
.cm-mw-templatevariable-bracket,
.cm-mw-templatevariable-name,
.cm-mw-templatevariable-delimiter {
color: #95580a;
}
}
body.wgl-theme-dark .ace-tm .ace_support.ace_constant {
/* Links to sections and other formatting */
color: #f9b77d;
.cm-mw-list,
.cm-mw-indenting,
.cm-mw-doubleUnderscore,
.cm-mw-signature,
.cm-mw-hr,
.cm-mw-apostrophes-bold,
.cm-mw-apostrophes-italic,
.cm-mw-link,
.cm-mw-link-tosection,
.cm-mw-section-header {
color: #0066be;
}
}
body.wgl-theme-dark .ace-tm .ace_entity.ace_name.ace_function {
/* Tables */
color: #28ccff;
.cm-mw-table-bracket,
.cm-mw-table-delimiter,
.cm-mw-table-definition {
    color: #ce007f;
}
}
body.wgl-theme-dark .ace-tm .ace_comment.ace_doc {
/* Matching brackets */
color: #9faad3;
.cm-mw-matchingbracket {
background-color: #c5c54b;
}
}


#preferences .mw-htmlform-submit-buttons {
background-color: var(--content-background-color);
}


/* DiscussionTools */
.ext-discussiontools-ui-replyWidget-footer,
.ext-discussiontools-init-timestamplink,
.ext-discussiontools-init-timestamplink:visited,
.ext-discussiontools-init-timestamplink:active,
.ext-discussiontools-init-pageframe-latestcomment,
.ext-discussiontools-visualenhancements-enabled .ext-discussiontools-init-section-metaitem {
color: var(--content-secondary-text-color);
}


 
.mcwiki-header-grass .ext-discussiontools-init-section-subscribe > * {
/**********
color: inherit !important;
CodeMirror (WikiEditor syntax highlighting) colors
Consistency between light and dark themes
**********/
/* Parser functions */
body.wgl-theme-dark .cm-mw-parserfunction-name,
body.wgl-theme-dark .cm-mw-parserfunction-bracket,
body.wgl-theme-dark .cm-mw-parserfunction-delimiter {
color: #ffa3a3;
}
}
/* Templates */
 
body.wgl-theme-dark .cm-mw-template,
.ext-discussiontools-replytool-enabled:not(.ns-4) dl,
body.wgl-theme-dark .cm-mw-template-name,
.rootpage-Minecraft_Wiki_Admin_noticeboard dl,
body.wgl-theme-dark .cm-mw-template-argument-name,
.ns-10008 dl,
body.wgl-theme-dark .cm-mw-template-delimiter,
.ns-talk dl {
body.wgl-theme-dark .cm-mw-template-bracket {
border-left: 1px dotted #a2a9b1;
color: #d7a9ff;
}
}
/* Page links */
 
body.wgl-theme-dark .cm-mw-link-pagename,
.ext-discussiontools-replytool-enabled:not(.ns-4) dl:has(+ dl),
body.wgl-theme-dark .cm-mw-link-bracket,
.ext-discussiontools-replytool-enabled:not(.ns-4) dl dl,
body.wgl-theme-dark .cm-mw-link-delimiter,
.rootpage-Minecraft_Wiki_Admin_noticeboard dl:has(+ dl),
body.wgl-theme-dark .cm-mw-extlink,
.rootpage-Minecraft_Wiki_Admin_noticeboard dl dl,
body.wgl-theme-dark .cm-mw-free-extlink,
.ns-10008 dl:has(+ dl),
body.wgl-theme-dark .cm-mw-extlink-protocol,
.ns-10008 dl dl,
body.wgl-theme-dark .cm-mw-free-extlink-protocol,
.ns-talk dl:has(+ dl),
body.wgl-theme-dark .cm-mw-extlink-bracket {
.ns-talk dl dl {
color: #9fbfff;
margin-bottom: -0.5em;
padding-bottom: 0.5em;
}
}
/* Tags */
 
body.wgl-theme-dark .cm-mw-mnemonic,
body:is(
body.wgl-theme-dark .cm-mw-exttag-name,
.ext-discussiontools-replytool-enabled:not(.ns-4),
body.wgl-theme-dark .cm-mw-htmltag-name,
.rootpage-Minecraft_Wiki_Admin_noticeboard,
body.wgl-theme-dark .cm-mw-exttag-bracket,
.ns-10008,
body.wgl-theme-dark .cm-mw-exttag-attribute,
.ns-talk
body.wgl-theme-dark .cm-mw-htmltag-bracket,
) :is(dl:has(+ dl), dd) dd:last-child {
body.wgl-theme-dark .cm-mw-htmltag-attribute {
margin-bottom: 0;
color: #0be10b;
}
}
/* Comments */
 
body.wgl-theme-dark .cm-mw-comment {
body:is(
color: #bbbbbb;
.ext-discussiontools-replytool-enabled:not(.ns-4),
.rootpage-Minecraft_Wiki_Admin_noticeboard,
.ns-10008,
.ns-talk
) dd:first-child:not(:has(> dl:first-child)) {
margin-top: 0.5em;
padding-top: 0.5em;
border-top: 1px dotted #a2a9b1;
}
}
/* Template variables */
 
body.wgl-theme-dark .cm-mw-templatevariable,
body:is(
body.wgl-theme-dark .cm-mw-templatevariable-bracket,
.ext-discussiontools-replytool-enabled:not(.ns-4),
body.wgl-theme-dark .cm-mw-templatevariable-name,
.rootpage-Minecraft_Wiki_Admin_noticeboard,
body.wgl-theme-dark .cm-mw-templatevariable-delimiter {
.ns-10008,
color: #e9b15c;
.ns-talk
}
) dd:not(:last-child):has([data-mw-comment-end]) {
/* Links to sections and other formatting */
margin-bottom: 0.5em;
body.wgl-theme-dark .cm-mw-list,
padding-bottom: 0.5em;
body.wgl-theme-dark .cm-mw-indenting,
border-bottom: 1px dotted #a2a9b1;
body.wgl-theme-dark .cm-mw-doubleUnderscore,
body.wgl-theme-dark .cm-mw-signature,
body.wgl-theme-dark .cm-mw-hr,
body.wgl-theme-dark .cm-mw-apostrophes-bold,
body.wgl-theme-dark .cm-mw-apostrophes-italic,
body.wgl-theme-dark .cm-mw-link,
body.wgl-theme-dark .cm-mw-link-tosection,
body.wgl-theme-dark .cm-mw-section-header {
color: #66d3ff;
}
/* Tables */
body.wgl-theme-dark .cm-mw-table-bracket,
body.wgl-theme-dark .cm-mw-table-delimiter,
body.wgl-theme-dark .cm-mw-table-definition {
    color: #ff9ed6;
}
/* Matching brackets */
body.wgl-theme-dark .cm-mw-matchingbracket {
background-color: #7d7d38;
}
}


/* Scribunto debug console */
.vector-body blockquote {
body.wgl-theme-dark .mw-scribunto-console-fieldset {
     border-color: #00bb35;
  background: var(--archive-box-background-color);
     margin-left: 6px;
  color: var(--content-text-color);
}
body.wgl-theme-dark #mw-scribunto-input {
  background: var(--base-background-color);
  color: #88f;
}
body.wgl-theme-dark .mw-scribunto-input {
  color: #88f;
}
body.wgl-theme-dark .mw-scribunto-normalOutput {
  color: var(--content-text-color);
  background: var(--archive-box-background-color);
}
body.wgl-theme-dark .mw-scribunto-print {
  color: #da8;
  background: var(--archive-box-background-color);
}
body.wgl-theme-dark .mw-scribunto-error {
  color: #f88;
  background: var(--archive-box-background-color)
}
body.wgl-theme-dark .mw-scribunto-propList {
  color: #8f8;
  background: var(--archive-box-background-color)
}
body.wgl-theme-dark .mw-scribunto-message {
  color: #8f8;
  background: var(--archive-box-background-color)
}
body.wgl-theme-dark .mw-scribunto-tabcomplete {
  color: #f8f;
  background: var(--archive-box-background-color)
}
body.wgl-theme-dark .mw-scribunto-clear {
  color: #f88;
  border-bottom-color: #f88
}
 
body.wgl-theme-dark .mw-prefs-tabs.mw-prefs-tabs-searching .oo-ui-tabPanelLayout.mw-prefs-search-matched > fieldset > legend {
    background-color: #373f50;
}
 
body.wgl-theme-dark .mw-prefs-search-highlight,
body.wgl-theme-dark .mw-prefs-tabs:not(.mw-prefs-tabs-searching) .oo-ui-fieldsetLayout:target > .oo-ui-fieldsetLayout-header > .oo-ui-labelElement-label {
    background: #0b1e39 !important;
    outline: 3px solid #0b1e39 !important;
}
 
body.wgl-theme-dark .smw-column-header {
color: #fff;
}
 
/* AdvancedSearch */
body.wgl-theme-dark .mw-advancedSearch-fieldContainer,
body.wgl-theme-dark .mw-advancedSearch-namespace-selection {
    background: #282828;
     border-color: #444;
}
 
body.wgl-theme-dark .mw-advancedSearch-fieldContainer .oo-ui-labelElement > .oo-ui-fieldsetLayout-header > .oo-ui-labelElement-label {
background: #282828;
     color: #fff;
}
 
body.wgl-theme-dark .mw-advancedSearch-namespace-border {
    border-color: #444;
}
 
/* Inline diff */
body.wgl-theme-dark .ve-ui-diffElement-attributeChange ins,
body.wgl-theme-dark .ve-ui-diffElement-attributeChange del,
body.wgl-theme-dark .mw-diff-inline-legend,
body.wgl-theme-dark .mw-diff-inline-added ins,
body.wgl-theme-dark .mw-diff-inline-changed ins,
body.wgl-theme-dark .mw-diff-inline-moved ins,
body.wgl-theme-dark .mw-diff-inline-deleted ins,
body.wgl-theme-dark .mw-diff-inline-added del,
body.wgl-theme-dark .mw-diff-inline-changed del,
body.wgl-theme-dark .mw-diff-inline-moved del,
body.wgl-theme-dark .mw-diff-inline-deleted del {
color: #000;
}
}

Dabartinė 09:43, 14 balandžio 2025 versija

/* All CSS here will be loaded for users of the Vector skin */


/* All CSS here will be loaded for users of the dark Vector skin */
/**
 * See [[MediaWiki:Common.css]] for desktop and mobile styles, e.g. templates.
 *
 * See [[MediaWiki:Vector.css]] for desktop theme related styles.
 *
 * See [[MediaWiki:Minerva.css]] for mobile theme related styles.
 * See [[MediaWiki:Minerva-theme-dark.css]] for mobile dark theme related styles.
 */

html:has(body.wgl-theme-dark) {
	color-scheme: dark;
}

/* Default styles:
 * [[File:Dark-background.png]] [[File:Dark-header-background.png]]
 * [[File:Dark-vector-tabs.png]] [[File:Dark-vector-tabs-first.png]]
 * [[File:Dark-background-HiDPI.png]] [[File:Dark-header-background-HiDPI.png]]
 * [[File:Dark-vector-tabs-HiDPI.png]] [[File:Dark-vector-tabs-first-HiDPI.png]]
 */
body.wgl-theme-dark {
	--base-background: url('filepath:///resources/assets/mc/Dark-background.png');
	--header-background: url('filepath:///resources/assets/mc/Dark-header-background.png');
	--vector-tabs: url('filepath:///resources/assets/mc/Dark-vector-tabs.png');
	--vector-tabs-first: url('filepath:///resources/assets/mc/Dark-vector-tabs-first.png');

	--base-background-hidpi: url('filepath:///resources/assets/mc/Dark-background-HiDPI.png');
	--header-background-hidpi: url('filepath:///resources/assets/mc/Dark-header-background-HiDPI.png');
	--vector-tabs-hidpi: url('filepath:///resources/assets/mc/Dark-vector-tabs-HiDPI.png');
	--vector-tabs-first-hidpi: url('filepath:///resources/assets/mc/Dark-vector-tabs-first-HiDPI.png');

	--list-bullet: url('filepath:///resources/assets/mc/List_bullet_dark.svg');

	--content-text-color: #e6e6e6;
	--content-secondary-text-color: #aaaaaa;
	--base-background-color: #13191c;
	--content-background-color: #2b2f39;
	--content-border-top-color: #1f2528;
	--content-border-top-right-color: #4e362b;

	--simplesearch-top-border-color: #959595;
	--simplesearch-left-border-color: #6f6f6f;
	--simplesearch-topright-grass-color: #0e6a3b;
	--searchinput-placeholder-color: #bfc1c5;

	--archive-box-background-color: #282828;
	--archive-box-border-color: #444;

	--table-header-color: #222;
	--table-border-color: #444;

	--smw-border-hover: #a2a9b1;
	--smw-table-hover: #313848;
}
/* Dungeons styles:
 * [[File:Dark-header-background-dungeons.png]]
 * [[File:Dark-vector-tabs-dungeons.png]] [[File:Dark-vector-tabs-first-dungeons.png]]
 * [[File:Dark-header-background-dungeons-HiDPI.png]] [[File:Dark-vector-tabs-dungeons-HiDPI.png]]
 * [[File:Dark-vector-tabs-first-dungeons-HiDPI.png]]
 */
body.wgl-theme-dark.rootpage-Minecraft_Dungeons,
body.wgl-theme-dark.rootpage-Talk_Minecraft_Dungeons,
body.wgl-theme-dark.ns-10000,
body.wgl-theme-dark.ns-10001 {
	/* Overwrite theme gadget styles */
	--base-background: url('filepath://Dark-background.png');
	--base-background-hidpi: url('filepath://Dark-background-HiDPI.png');
	
	--header-background: url('filepath://Dark-header-background-dungeons.png');
	--vector-tabs: url('filepath://Dark-vector-tabs-dungeons.png');
	--vector-tabs-first: url('filepath://Dark-vector-tabs-first-dungeons.png');

	--header-background-hidpi: url('filepath://Dark-header-background-dungeons-HiDPI.png');
	--vector-tabs-hidpi: url('filepath://Dark-vector-tabs-dungeons-HiDPI.png');
	--vector-tabs-first-hidpi: url('filepath://Dark-vector-tabs-first-dungeons-HiDPI.png');

	--content-background-color: #433d3d;
	--content-border-top-color: #201c10;
	--content-border-top-right-color: #303d46;

	--simplesearch-topright-grass-color: #8b4322;
}
/* Earth styles:
 * [[File:Dark-header-background-earth.png]]
 * [[File:Dark-vector-tabs-earth.png]] [[File:Dark-vector-tabs-first-earth.png]]
 * [[File:Dark-header-background-earth-HiDPI.png]] [[File:Dark-vector-tabs-earth-HiDPI.png]]
 * [[File:Dark-vector-tabs-first-earth-HiDPI.png]]
 */
body.wgl-theme-dark.rootpage-Minecraft_Earth,
body.wgl-theme-dark.rootpage-Talk_Minecraft_Earth,
body.wgl-theme-dark.ns-10002,
body.wgl-theme-dark.ns-10003 {
	/* Overwrite theme gadget styles */
	--base-background: url('filepath://Dark-background.png');
	--base-background-hidpi: url('filepath://Dark-background-HiDPI.png');
	
	--header-background: url('filepath://Dark-header-background-earth.png');
	--vector-tabs: url('filepath://Dark-vector-tabs-earth.png');
	--vector-tabs-first: url('filepath://Dark-vector-tabs-first-earth.png');

	--header-background-hidpi: url('filepath://Dark-header-background-earth-HiDPI.png');
	--vector-tabs-hidpi: url('filepath://Dark-vector-tabs-earth-HiDPI.png');
	--vector-tabs-first-hidpi: url('filepath://Dark-vector-tabs-first-earth-HiDPI.png');

	--content-background-color: #252b3c;
	--content-border-top-color: #182028;
	--content-border-top-right-color: #25404b;

	--simplesearch-topright-grass-color: #0b7940;
}
/* Legends styles:
 * [[File:Dark-header-background-legends.png]]
 * [[File:Dark-vector-tabs-legends.png]] [[File:Dark-vector-tabs-first-legends.png]]
 * [[File:Dark-header-background-legends-HiDPI.png]] [[File:Dark-vector-tabs-legends-HiDPI.png]]
 * [[File:Dark-vector-tabs-first-legends-HiDPI.png]]
 */
body.wgl-theme-dark.rootpage-Minecraft_Legends,
body.wgl-theme-dark.rootpage-Talk_Minecraft_Legends,
body.wgl-theme-dark.ns-10006,
body.wgl-theme-dark.ns-10007 {
	/* Overwrite theme gadget styles */
	--base-background: url('filepath://Dark-background.png');
	--base-background-hidpi: url('filepath://Dark-background-HiDPI.png');
	
	--header-background: url('filepath://Dark-header-background-legends.png');
	--vector-tabs: url('filepath://Dark-vector-tabs-legends.png');
	--vector-tabs-first: url('filepath://Dark-vector-tabs-first-legends.png');

	--header-background-hidpi: url('filepath://Dark-header-background-legends-HiDPI.png');
	--vector-tabs-hidpi: url('filepath://Dark-vector-tabs-legends-HiDPI.png');
	--vector-tabs-first-hidpi: url('filepath://Dark-vector-tabs-first-legends-HiDPI.png');

	--content-background-color: #293344;
	--content-border-top-color: #202426;
	--content-border-top-right-color: #21334e;

	--simplesearch-topright-grass-color: #006c60;
}
/* Story Mode styles:
 * [[File:Dark-header-background-storymode.png]]
 * [[File:Dark-vector-tabs-storymode.png]] [[File:Dark-vector-tabs-first-storymode.png]]
 * [[File:Dark-header-background-storymode-HiDPI.png]] [[File:Dark-vector-tabs-storymode-HiDPI.png]]
 * [[File:Dark-vector-tabs-first-storymode-HiDPI.png]]
 */
body.wgl-theme-dark.rootpage-Minecraft_Story_Mode,
body.wgl-theme-dark.rootpage-Talk_Minecraft_Story_Mode,
body.wgl-theme-dark.rootpage-Minecraft_Story_Mode_-_Season_Two,
body.wgl-theme-dark.rootpage-Talk_Minecraft_Story_Mode_-_Season_Two,
body.wgl-theme-dark.ns-10004,
body.wgl-theme-dark.ns-10005 {
	/* Overwrite theme gadget styles */
	--base-background: url('filepath://Dark-background.png');
	--base-background-hidpi: url('filepath://Dark-background-HiDPI.png');
	
	--header-background: url('filepath://Dark-header-background-storymode.png');
	--vector-tabs: url('filepath://Dark-vector-tabs-storymode.png');
	--vector-tabs-first: url('filepath://Dark-vector-tabs-first-storymode.png');

	--header-background-hidpi: url('filepath://Dark-header-background-storymode-HiDPI.png');
	--vector-tabs-hidpi: url('filepath://Dark-vector-tabs-storymode-HiDPI.png');
	--vector-tabs-first-hidpi: url('filepath://Dark-vector-tabs-first-storymode-HiDPI.png');

	--content-background-color: #39342c;
	--content-border-top-color: #2d2411;
	--content-border-top-right-color: #302441;

	--simplesearch-topright-grass-color: #967735;
}

/* Movie styles:
 * [[File:Dark-background-movie.png]] [[File:Dark-background-movie-HiDPI.png]]
 * [[File:Dark-header-background-movie.png]]
 * [[File:Dark-vector-tabs-movie.png]] [[File:Dark-vector-tabs-first-movie.png]]
 * [[File:Dark-header-background-movie-HiDPI.png]] [[File:Dark-vector-tabs-movie-HiDPI.png]]
 * [[File:Dark-vector-tabs-first-movie-HiDPI.png]]
 */
body.wgl-theme-dark.rootpage-A_Minecraft_Movie,
body.wgl-theme-dark.rootpage-Talk_A_Minecraft_Movie,
body.wgl-theme-dark.ns-10012,
body.wgl-theme-dark.ns-10013 {
	--base-background: url('filepath://Dark-background-movie.png');
	--base-background-hidpi: url('filepath://Dark-background-movie-HiDPI.png');
	
	--header-background: url('filepath://Dark-header-background-movie.png');
	--vector-tabs: url('filepath://Dark-vector-tabs-movie.png');
	--vector-tabs-first: url('filepath://Dark-vector-tabs-first-movie.png');

	--header-background-hidpi: url('filepath://Dark-header-background-movie-HiDPI.png');
	--vector-tabs-hidpi: url('filepath://Dark-vector-tabs-movie-HiDPI.png');
	--vector-tabs-first-hidpi: url('filepath://Dark-vector-tabs-first-movie-HiDPI.png');

	--content-background-color: #36322E;
    --content-border-top-color: #2A2724;
}

/* [[File:HelpNotice.svg]] */
body.wgl-theme-dark #mw-indicator-mw-helplink a {
	background-image: url('filepath://HelpNotice.svg');
}

.mw-message-box,
.mw-body,
h1, h2, h3, h4, h5, h6,
.mw-ui-input,
.search-types .current a {
	color: var(--content-text-color);
}
body.wgl-theme-dark #mw-content-subtitle,
body.wgl-theme-dark #contentSub,
body.wgl-theme-dark #contentSub2,
body.wgl-theme-dark .results-info,
body.wgl-theme-dark .mw-search-result-data,
body.wgl-theme-dark .wikiEditor-ui-toolbar .group .label {
	color: #9f9f9f;
}

/* FP */
body.wgl-theme-dark .fp-section {
	background-color: #2f2f2f;
    border-color: #202125;
}

body.wgl-theme-dark .mcwiki-header {
    border-color: #202125;
}
body.wgl-theme-dark .mcwiki-header a {
    color: #0645ad;
}
body.wgl-theme-dark .mcwiki-header a:visited {
    color: #0b0080;
}

/* Discord widget */
body.wgl-theme-dark .discord-widget-dark {
	color-scheme: auto;
}

/* <blockquote> */
.vector-body blockquote {
	border-left-color: var(--infobox-header-background-color);
}


/* Recent Changes */

body.wgl-theme-dark label.mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-savedQueryTitle.oo-ui-widget.oo-ui-widget-enabled.oo-ui-labelElement-label.oo-ui-labelWidget.oo-ui-labelElement {
    color: #fff;
}
body.wgl-theme-dark .mw-changeslist-legend,
body.wgl-theme-dark .mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle,
body.wgl-theme-dark .vector-menu-dropdown .vector-menu-content{
	background-color: #1e1e1e;
    color: #fff;
    border-color: #686869;
}
body.wgl-theme-dark .mw-ui-input {
    background-color: inherit;
    color: inherit;
}
body.wgl-theme-dark .mw-ui-button,
body.wgl-theme-dark .cdx-button {
	background-color: #373f50;
    color: #f8f9fa;
}
body.wgl-theme-dark .mw-ui-button:visited {
	color: #d8d9da;
}
body.wgl-theme-dark .mw-plusminus-neg {
	color: #ffa1b3;
}
body.wgl-theme-dark .mw-plusminus-pos {
	color: #00e04c;
}
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c1,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c1 tr:first-child,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
    background-color: #c2d1f066
}

.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c2,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c2 tr:first-child,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c2.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c2.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
    background-color: #b3e7dc66
}

.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c3,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c3 tr:first-child,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c3.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c3.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
    background-color: #fff0c266
}

.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c4,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c4 tr:first-child,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c4.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c4.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
    background-color: #ffd3bd66
}

.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c5,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c5 tr:first-child,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
    background-color: #f5c2c266
}

.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2 tr:first-child,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
    background-color: #8cc5d566
}

.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c3,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c3 tr:first-child,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c3.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c3.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
    background-color: #ccdecc66
}

.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c4,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c4 tr:first-child,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c4.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c4.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
    background-color: #ccb4bb66
}

.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c5,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c5 tr:first-child,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
    background-color: #c4a6bf66
}

.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3 tr:first-child,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
    background-color: #bfdeaf66
}

.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c4,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c4 tr:first-child,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c4.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c4.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
    background-color: #bfc7aa66
}

.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c5,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c5 tr:first-child,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
    background-color: #b7b8af66
}

.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4 tr:first-child,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
    background-color: #ffce9566
}

.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c5,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c5 tr:first-child,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
    background-color: #f7bf9966
}

.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5 tr:first-child,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
    background-color: #f7a89566
}

.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3 tr:first-child,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
    background-color: #94bda866
}

.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c5,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c5 tr:first-child,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
    background-color: #8c99a866
}

.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c4,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c4 tr:first-child,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c4.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c4.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
    background-color: #94a7a466
}

.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4 tr:first-child,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
    background-color: #d0ad9066
}

.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c5,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c5 tr:first-child,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
    background-color: #c8a09466
}

.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5 tr:first-child,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
    background-color: #c88a9066
}

.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4 tr:first-child,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
    background-color: #c4be8066
}

.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c5,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c5 tr:first-child,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
    background-color: #bcb18466
}

.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5 tr:first-child,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
    background-color: #bc9a8066
}

.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5 tr:first-child,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
    background-color: #f7a16c66
}

.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4 tr:first-child,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
    background-color: #b5ae8b66
}

.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c5,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c5 tr:first-child,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
    background-color: #aea18f66
}

.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5 tr:first-child,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
    background-color: #ae8d8b66
}

.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5 tr:first-child,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
    background-color: #d2917f66
}

.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5 tr:first-child,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
    background-color: #c89f7366
}

.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5 tr:first-child,
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
    background-color: #b2887466
}

.wgl-theme-dark .mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey td:not(:nth-child(-n+2)) {
    background-color: #dee0e366
}

.wgl-theme-dark .autocomment,
.wgl-theme-dark .autocomment a,
.wgl-theme-dark .autocomment a:visited {
    color: #a1a8b1;
}

.wgl-theme-dark .mw-rcfilters-ui-tagItemWidget.oo-ui-flaggedElement-muted.oo-ui-tagItemWidget.oo-ui-widget-enabled .oo-ui-labelElement-label {
    color: #9dafc4;
}

.wgl-theme-dark .mw-rcfilters-ui-itemMenuOptionWidget-label-title {
    color: #c8cbcf;
}

.wgl-theme-dark .mw-rcfilters-ui-itemMenuOptionWidget:not(:last-child):not(.mw-rcfilters-ui-itemMenuOptionWidget-identifier-talk) {
    border-bottom: 1px solid #505154;
}

.wgl-theme-dark .mw-rcfilters-ui-itemMenuOptionWidget-view-namespaces {
    border-top: 4px solid #505154;
}

.wgl-theme-dark .mw-rcfilters-ui-filterMenuHeaderWidget-header {
    border-bottom: 1px solid #76797d;
    background-color: #4e4f50;
}

.wgl-theme-dark .mw-rcfilters-ui-filterMenuHeaderWidget-title {
    color: #ffffff;
}

.wgl-theme-dark .mw-rcfilters-ui-filterMenuOptionWidget.oo-ui-flaggedElement-muted:not(.oo-ui-optionWidget-selected) {
    background-color: #292929;
}

.wgl-theme-dark .mw-rcfilters-ui-filterMenuSectionOptionWidget {
    background-color: #6e6e6f;
}

.wgl-theme-dark .mw-rcfilters-ui-filterMenuSectionOptionWidget-header-title.oo-ui-labelElement-label {
    color: #dedede;
}

.wgl-theme-dark .mw-rcfilters-ui-itemMenuOptionWidget-label-desc {
    color: #a1a8ae;
}

.wgl-theme-dark .mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-title {
    color: #e2e6e9;
}


/* Links */
body.wgl-theme-dark .mw-collapsible-text,
:where(body.wgl-theme-dark) .toctogglelabel,
:where(body.wgl-theme-dark) .jslink,
:where(body.wgl-theme-dark) .vector-menu-dropdown .mw-list-item a,
:where(body.wgl-theme-dark) .mw-body a.external,
:where(body.wgl-theme-dark) .mw-body a.extiw,
:where(body.wgl-theme-dark) a {
	color: #0097ff;
}
:where(body.wgl-theme-dark) .ext-discussiontools-init-replylink-reply:visited,
:where(body.wgl-theme-dark) .ext-discussiontools-init-section-subscribe-link:visited,
:where(body.wgl-theme-dark) .mw-body a.external:visited,
:where(body.wgl-theme-dark) .mw-body a.extiw:visited,
:where(body.wgl-theme-dark) a:visited {
	color: #9495f4;
}
:where(body.wgl-theme-dark) a.new,
:where(body.wgl-theme-dark) a.mw-usertoollinks-contribs-no-edits {
	color: #ffa4a4;
}
:where(body.wgl-theme-dark) a.new:visited,
:where(body.wgl-theme-dark) a.mw-usertoollinks-contribs-no-edits:visited {
	color: #fb7a7a;
}
:where(body.wgl-theme-dark) .mw-body a.external:hover,
:where(body.wgl-theme-dark) .mw-body a.extiw:hover,
:where(body.wgl-theme-dark) a:hover {
	color: #7e8eff;
}
:where(body.wgl-theme-dark) a.new:hover,
:where(body.wgl-theme-dark) a.mw-usertoollinks-contribs-no-edits:hover {
	color: #ff8484;
}
:where(body.wgl-theme-dark) .mw-body a.external:active,
:where(body.wgl-theme-dark) .mw-body a.extiw:active,
:where(body.wgl-theme-dark) a.new:active,
:where(body.wgl-theme-dark) a.mw-usertoollinks-contribs-no-edits:active,
:where(body.wgl-theme-dark) a:active {
	color: #faa700;
}
/* [[File:Link-external-small-ltr-progressive.svg]] */
:where(body.wgl-theme-dark) .mw-parser-output a.external {
	background-image: url('filepath:///resources/assets/mc/Link-external-small-ltr-progressive.svg');
}

:where(body.wgl-theme-dark) .ext-discussiontools-init-replylink-buttons.ext-discussiontools-init-replylink-active > .ext-discussiontools-init-replylink-reply,
body a.mw-selflink:hover {
	color: inherit;
}

/* tables */
body.wgl-theme-dark .mw-datatable,
body.wgl-theme-dark table.mw_metadata,
body.wgl-theme-dark .wikitable,
body.wgl-theme-dark table.mw-abuselog-details,
body.wgl-theme-dark table.mw-interwikitable.body td.mw-interwikitable-local-yes {
	color: inherit;
}
body.wgl-theme-dark .mw-datatable,
body.wgl-theme-dark table.mw_metadata,
body.wgl-theme-dark .mw-datatable th,
body.wgl-theme-dark table.mw_metadata th,
body.wgl-theme-dark .mw-datatable td,
body.wgl-theme-dark table.mw_metadata td,
body.wgl-theme-dark .wikitable,
body.wgl-theme-dark .wikitable > tr > th,
body.wgl-theme-dark .wikitable > tr > td,
body.wgl-theme-dark .wikitable > * > tr > th,
body.wgl-theme-dark .wikitable > * > tr > td,
body.wgl-theme-dark table.mw-abuselog-details,
body.wgl-theme-dark table.mw-abuselog-details td,
body.wgl-theme-dark table.mw-abuselog-details th {
	border-color: #444;
}

body.wgl-theme-dark table.mw-abuselog-details th,
body.wgl-theme-dark .mw-datatable th,
body.wgl-theme-dark table.mw_metadata th,
body.wgl-theme-dark .wikitable > tr > th,
body.wgl-theme-dark .wikitable > * > tr > th {
	background-color: #222;
}
body.wgl-theme-dark table.mw-abuselog-details,
body.wgl-theme-dark .mw-datatable,
body.wgl-theme-dark table.mw_metadata,
body.wgl-theme-dark .mw-datatable td,
body.wgl-theme-dark table.mw_metadata td,
body.wgl-theme-dark .wikitable {
	background-color: #2f2f2f;
}
body.wgl-theme-dark #mw-allmessagestable tbody:hover td,
body.wgl-theme-dark .mw-datatable tr:hover td {
	background-color: #222;
}
/* [[File:Sort_both.svg]], [[File:Sort_down.svg]], [[File:Sort_up.svg]] */
body.wgl-theme-dark .client-js .sortable:not(.jquery-tablesorter) > * > tr:first-child > th:not(.unsortable),
body.wgl-theme-dark .jquery-tablesorter th.headerSort {
	background-image: url('filepath://Sort_both.svg');
}
body.wgl-theme-dark .jquery-tablesorter th.headerSortDown {
	background-image: url('filepath://Sort_down.svg');
}
body.wgl-theme-dark .jquery-tablesorter th.headerSortUp {
	background-image: url('filepath://Sort_up.svg');
}

body.wgl-theme-dark .mw-json tr,
body.wgl-theme-dark .mw-json td {
  background-color: var(--content-background-color);
}

body.wgl-theme-dark td.mw-json-value,
body.wgl-theme-dark td.mw-json-single-value {
  background-color: var(--ooui-enabled);
}

body.wgl-theme-dark .mw-json th {
  background-color: #26282d;
}

/* Code, Pre */
@media screen {
	body.wgl-theme-dark pre,
	body.wgl-theme-dark code,
	body.wgl-theme-dark .mw-code {
		background-color: #444444;
		color: #fff;
		border: 1px solid #6f6f6f;
	}
}

body.wgl-theme-dark .mw-content-ltr.mw-highlight-lines pre,
body.wgl-theme-dark .mw-content-ltr.content .mw-highlight-lines pre {
    box-shadow: none;
}

/* Miscellaneous */
body.wgl-theme-dark .notaninfobox,
body.wgl-theme-dark .gallerybox .thumb,
body.wgl-theme-dark .thumbimage,
body.wgl-theme-dark figure[typeof~='mw:File/Thumb'],
body.wgl-theme-dark figure[typeof~='mw:File/Thumb'] > figcaption,
body.wgl-theme-dark figure[typeof~='mw:File/Frame'],
body.wgl-theme-dark figure[typeof~='mw:File/Frame'] > figcaption,
body.wgl-theme-dark .thumbinner,
body.wgl-theme-dark .ve-ce-mwBlockImageNode-type-thumb, /* thumb images in visual editor */
body.wgl-theme-dark .ve-ce-mwBlockImageNode-type-thumb > figcaption,
body.wgl-theme-dark #catlinks,
body.wgl-theme-dark #toc,
body.wgl-theme-dark .toc,
body.wgl-theme-dark .toccolours,
body.wgl-theme-dark .mw-warning,
body.wgl-theme-dark .navpopup,
body.wgl-theme-dark .ref-tooltip-text,
body.wgl-theme-dark #filetoc,
body.wgl-theme-dark .directorstable {
	background-color: #282828;
	border-color: #444;
}

body.wgl-theme-dark .mwe-popups,
body.wgl-theme-dark .mwe-popups-container,
body.wgl-theme-dark .mwe-popups .mwe-popups-extract {
	color: #fff;
	background-color: #282828;
}

body.wgl-theme-dark .mwe-popups .mwe-popups-extract[dir='ltr']:after {
	display: none;
}

body.wgl-theme-dark #mw-content-text .hlist li:not(:last-child)::after {
	background-color: #fff;
}

body.wgl-theme-dark .tocnumber {
	color: #E0E0EC;
}

body.wgl-theme-dark #pagehistory li.selected {
	background-color: #444;
	color: #e6e6e6;
}

body.wgl-theme-dark #pagehistory .updatedmarker {
  background-color: #608000;
  color: white;
}

/* smw cache warning on category pages */
body.wgl-theme-dark .smw-callout-warning {
  background-color: hsl(60,25%,8%);
  border-left-color: hsl(60,15%,36%);
}

/* error message box in Special:BatchUpload */
body.wgl-theme-dark .fileupload-results .ful-error {
	background-color: maroon;
}

/* Syntax highlight, CodeEditor */
/* https://github.com/pygments/pygments/blob/master/pygments/token.py#L123 */
body.wgl-theme-dark .ace-tm .ace_cursor,
body.wgl-theme-dark .ace-tm .ace_support.ace_function {
	color: #fff;
}
body.wgl-theme-dark .ace-tm,
body.wgl-theme-dark .ace-tm .ace_gutter,
body.wgl-theme-dark .codeEditor-status,
body.wgl-theme-dark .mw-highlight pre {
	background-color: #282828;
	color: #fff;
}

body.wgl-theme-dark .ace-tm .ace_gutter {
	border-right: 1px solid #232324;
}

body.wgl-theme-dark .ace-tm .ace_comment,
body.wgl-theme-dark .mw-highlight .c, /* comment */
body.wgl-theme-dark .mw-highlight .c1, /* single comment */
body.wgl-theme-dark .mw-highlight .cm { /* multiline comment */
	color: #afafaf;
}
body.wgl-theme-dark .ace-tm .ace_keyword.ace_operator,
body.wgl-theme-dark .mw-highlight .o { /* operator */
	color: #a9a9a9;
}
body.wgl-theme-dark .mw-highlight .cp { /* preproc */
	color: #ea9800;
}
body.wgl-theme-dark .ace-tm .ace_storage,
body.wgl-theme-dark .ace-tm .ace_keyword,
body.wgl-theme-dark .ace-tm .ace_constant,
body.wgl-theme-dark .ace-tm .ace_constant.ace_language,
body.wgl-theme-dark .ace-tm .ace_support.ace_type,
body.wgl-theme-dark .mw-highlight .bp, /* pseudo buildin */
body.wgl-theme-dark .mw-highlight .nt, /* tag name */
body.wgl-theme-dark .mw-highlight .k, /* keyword */
body.wgl-theme-dark .mw-highlight .kr, /* reserved keyword */
body.wgl-theme-dark .mw-highlight .kd, /* declaration keyword */
body.wgl-theme-dark .mw-highlight .kp, /* pseudo keyword */
body.wgl-theme-dark .mw-highlight .kc { /* constant keyword */
	color: #00cf00;
}
body.wgl-theme-dark .mw-highlight .kt { /* type keyword */
	color: #ff90b8;
}
body.wgl-theme-dark .mw-highlight .nb { /* buildin name */
	color: #01cd01;
}
body.wgl-theme-dark .ace-tm .ace_variable,
body.wgl-theme-dark .mw-highlight .nc { /* class name */
	color: #8bb2ff;
}
body.wgl-theme-dark .mw-highlight .nd { /* decorator name */
	color: #d592ff;
}
body.wgl-theme-dark .mw-highlight .nf { /* function name */
	color: #AAAAFF;
}
body.wgl-theme-dark .mw-highlight .nn { /* namespace name */
	color: #a0a0ff;
}
body.wgl-theme-dark .mw-highlight .nv { /* variable name */
	color: #9cdcfe;
}
body.wgl-theme-dark .mw-highlight .w { /* whitespace */
	color: #bbbbbb;
}
body.wgl-theme-dark .mw-highlight .mi, /* integer number */
body.wgl-theme-dark .mw-highlight .mf { /* float number */
	color: #b2b2b2;
}
body.wgl-theme-dark .ace-tm .ace_constant.ace_numeric,
body.wgl-theme-dark .mw-highlight .mh { /* hex number */
	color: #a9a9a9;
}
body.wgl-theme-dark .ace-tm .ace_string,
body.wgl-theme-dark .mw-highlight .s, /* string */
body.wgl-theme-dark .mw-highlight .s1, /* single string */
body.wgl-theme-dark .mw-highlight .s2 { /* double string */
	color: #ff8b8b;
}
body.wgl-theme-dark .mw-highlight .ow { /* operator word */
	color: #bc52ff;
}
body.wgl-theme-dark .mw-highlight .hll { /* highlighted line */
	background-color: #330;
}
body.wgl-theme-dark .mw-highlight a:hover .linenos, /* hovered line number */
body.wgl-theme-dark .mw-highlight .hll a .linenos { /* highlighted line number */
	color: #ccc;
}
/* Code editor highlight */
body.wgl-theme-dark .ace_marker-layer .ace_selected-word {
	background: #333;
	border-color: #666;
}
body.wgl-theme-dark .ace-tm .ace_marker-layer .ace_selection {
	background: #246;
}
/* Diff overview */
body.wgl-theme-dark td.diff-context {
	background-color: #232324;
	border-color: #313233;
	color: #BFBFBF;
}
body.wgl-theme-dark td.diff-addedline {
	background-color: #494a4b;
	border-color: #686869;
	border-left-color: #005e20;
	color: #fff;
}
body.wgl-theme-dark td.diff-deletedline {
	background-color: #494a4b;
	border-color: #686869;
	border-left-color: #9f0000;
	color: #fff;
}
body.wgl-theme-dark .diff-addedline .diffchange {
	background-color: #005e20;
}

body.wgl-theme-dark .diff-deletedline .diffchange {
	background-color: #9f0000;
}

/* Revision slider */
body.wgl-theme-dark .mw-revslider-pointer-line .mw-revslider-lower-color {
	border-color: #ffa1a1;
}
body.wgl-theme-dark .mw-revslider-pointer-line .mw-revslider-upper-color {
	border-color: #00e04c;
}
body.wgl-theme-dark .mw-revslider-pointer-container-older .mw-revslider-slider-line {
	border-color: rgba(255, 161, 161, 0.5)
}
body.wgl-theme-dark .mw-revslider-pointer-container-older:hover .mw-revslider-slider-line {
	border-color: rgba(255, 161, 161, 0.8)
}
body.wgl-theme-dark .mw-revslider-pointer-container-newer .mw-revslider-slider-line {
	border-color: rgba(0, 224, 76, 0.5)
}
body.wgl-theme-dark .mw-revslider-pointer-container-newer:hover .mw-revslider-slider-line {
	border-color: rgba(0, 224, 76, 0.8)
}
body.wgl-theme-dark .mw-revslider-pointer.mw-revslider-pointer-newer {
	border-color: #00e04c;
	background-color: #00e04c;
	background-image: linear-gradient(to bottom,#76ffa5 0,#00e04c 100%);
}
body.wgl-theme-dark .mw-revslider-pointer.mw-revslider-pointer-older {
	border-color: #ffa1a1;
	background-color: #ffa1a1;
	background-image: linear-gradient(to bottom,#ffdada 0,#ffa1a1 100%);
}

/* CodeMirror */
body.wgl-theme-dark .CodeMirror {
	background-color: #1e1e1e;
	color: #fff;
}

/* CodeMirror selection */
.wgl-theme-dark .CodeMirror-line::selection,
.wgl-theme-dark .CodeMirror-line > span::selection,
.wgl-theme-dark .CodeMirror-line > span > span::selection {
	background: #246;
}

/* CodeMirror comments */
body.wgl-theme-dark .cm-mw-comment {
	color: #afafaf;
}

/* CodeMirror links */
body.wgl-theme-dark .cm-mw-link-pagename,
body.wgl-theme-dark .cm-mw-link-bracket,
body.wgl-theme-dark .cm-mw-link-delimiter,
body.wgl-theme-dark .cm-mw-extlink,
body.wgl-theme-dark .cm-mw-free-extlink,
body.wgl-theme-dark .cm-mw-extlink-protocol,
body.wgl-theme-dark .cm-mw-free-extlink-protocol,
body.wgl-theme-dark .cm-mw-extlink-bracket {
	color: #8bb2ff;
}

/* CodeMirror Parser function */
body.wgl-theme-dark .cm-mw-parserfunction-name,
body.wgl-theme-dark .cm-mw-parserfunction-bracket,
body.wgl-theme-dark .cm-mw-parserfunction-delimiter {
	color: #ffa0a0;
}

/* CodeMirror table color */
body.wgl-theme-dark .cm-mw-table-bracket,
body.wgl-theme-dark .cm-mw-table-delimiter,
body.wgl-theme-dark .cm-mw-table-definition {
	color: #ff40af;
}

/* CodeMirror template color */
body.wgl-theme-dark .cm-mw-template,
body.wgl-theme-dark .cm-mw-template-name,
body.wgl-theme-dark .cm-mw-template-argument-name,
body.wgl-theme-dark .cm-mw-template-delimiter,
body.wgl-theme-dark .cm-mw-template-bracket {
	color: #c44eff;
}

/* CodeMirror template variable variable */
body.wgl-theme-dark .cm-mw-templatevariable,
body.wgl-theme-dark .cm-mw-templatevariable-bracket,
body.wgl-theme-dark .cm-mw-templatevariable-name,
body.wgl-theme-dark .cm-mw-templatevariable-delimiter {
	color: #ffa826;
}

/* CodeMirror wikitext formatting */
body.wgl-theme-dark .cm-mw-list,
body.wgl-theme-dark .cm-mw-indenting,
body.wgl-theme-dark .cm-mw-doubleUnderscore,
body.wgl-theme-dark .cm-mw-signature,
body.wgl-theme-dark .cm-mw-hr,
body.wgl-theme-dark .cm-mw-apostrophes-bold,
body.wgl-theme-dark .cm-mw-apostrophes-italic,
body.wgl-theme-dark .cm-mw-link,
body.wgl-theme-dark .cm-mw-link-tosection,
body.wgl-theme-dark .cm-mw-section-header {
	color: #57b1ff;
}

/* CodeMirror xml tag */
body.wgl-theme-dark .cm-mw-mnemonic,
body.wgl-theme-dark .cm-mw-exttag-name,
body.wgl-theme-dark .cm-mw-htmltag-name,
body.wgl-theme-dark .cm-mw-exttag-bracket,
body.wgl-theme-dark .cm-mw-exttag-attribute,
body.wgl-theme-dark .cm-mw-htmltag-bracket,
body.wgl-theme-dark .cm-mw-htmltag-attribute {
	color: #00cf00;
}

/* Tabs */
body.wgl-theme-dark #p-namespaces a,
body.wgl-theme-dark #p-views a,
body.wgl-theme-dark #p-sharing span,
body.wgl-theme-dark #p-cactions-label span,
body.wgl-theme-dark div#mw-head div.vectorMenu h4 {
	color: #fff;
}

body.wgl-theme-dark #p-namespaces .new a,
body.wgl-theme-dark #p-views .new a {
	color: #ffa4a4;
}

/* Invert dark icons */
body.wgl-theme-dark .magnify a,
body.wgl-theme-dark .ve-ce-mwBlockImageNode-type-thumb > a::after, /* visual editor thumbnail magnify */
body.wgl-theme-dark .mwe-popups-settings-icon,
body.wgl-theme-dark .vector-menu-dropdown .vector-menu-heading:after,
body.wgl-theme-dark #footer-icons,
body.wgl-theme-dark .mw-icon-arrow-collapsed :not(p),
body.wgl-theme-dark .mw-collapsible-arrow.mw-collapsible-toggle-collapsed,
body.wgl-theme-dark .mw-mmv-filepage-buttons .mw-ui-icon:before,
body.wgl-theme-dark .redirectText li:first-child, /* redirect icon; inverts the text next to the icon as well */
body.wgl-theme-dark .redirectText li:first-child > a, /* invert text next to the redirect icon back */
body.wgl-theme-dark .darkmode-invert {
	filter: invert(1);
}

/* OOUI buttons */
:root body.wgl-theme-dark {
	--ooui-color: #fff;
	--ooui-progressive: #6f9fff;
	--ooui-progressive-hover: #447ff5;
	--ooui-destructive: #ff6767;
	--ooui-destructive-hover: #ff4242;
	--ooui-enabled: #373f50;
	--ooui-enabled-hover: #4f596d;
	--ooui-border: #5a5d64;
	--ooui-border-disabled: #494c52;
	--ooui-disabled: #191d25;
	--ooui-text-disabled: #72777d;
}
/* overwriting styles from here:
 * https://gerrit.wikimedia.org/r/plugins/gitiles/oojs/ui/+/refs/heads/master/src/styles/elements/ButtonElement.less
 * https://gerrit.wikimedia.org/r/plugins/gitiles/oojs/ui/+/refs/heads/master/src/themes/wikimediaui/elements.less */
body.wgl-theme-dark .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button {
	color: var(--ooui-color);
}
body.wgl-theme-dark .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover {
	background-color: unset;
	color: #d9d9d9;
}
body.wgl-theme-dark .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button:focus {
	border-color: var(--ooui-border);
	box-shadow: var(--ooui-border);
}
body.wgl-theme-dark .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-buttonElement-pressed > input.oo-ui-buttonElement-button,
body.wgl-theme-dark .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button:active {
	background-color: unset;
	color: var(--ooui-color);
	border-color: var(--ooui-border);
}
body.wgl-theme-dark .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button {
	color: var(--ooui-progressive);
}
body.wgl-theme-dark .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover {
	color: var(--ooui-progressive-hover);
}
body.wgl-theme-dark .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:active,
body.wgl-theme-dark .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive.oo-ui-buttonElement-pressed > .oo-ui-buttonElement-button {
	color: var(--ooui-progressive);
	border-color: var(--ooui-progressive);
}
body.wgl-theme-dark .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button {
	color: var(--ooui-destructive);
}
body.wgl-theme-dark .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button:hover {
	color: var(--ooui-destructive-hover);
}
body.wgl-theme-dark .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button:active,
body.wgl-theme-dark .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive.oo-ui-buttonElement-pressed > .oo-ui-buttonElement-button {
	color: var(--ooui-destructive);
	border-color: var(--ooui-destructive);
}
body.wgl-theme-dark .oo-ui-buttonElement-frameless.oo-ui-widget-disabled > .oo-ui-buttonElement-button {
	color: var(--ooui-text-disabled);
}
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-disabled > .oo-ui-buttonElement-button {
	background: var(--ooui-disabled);
	color: var(--ooui-text-disabled);
	border-color: var(--ooui-border-disabled);
}
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button {
	background: var(--ooui-enabled);
	color: var(--ooui-color);
	border-color: var(--ooui-border);
	box-shadow: var(--ooui-color);
}
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover,
body.wgl-theme-dark .oo-ui-popupToolGroup.oo-ui-widget-enabled > .oo-ui-popupToolGroup-handle:hover {
	background: var(--ooui-enabled-hover);
	color: var(--ooui-color);
	border-color: var(--ooui-border);
}
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:focus {
	border-color: var(--ooui-border);
	box-shadow: var(--ooui-color), var(--ooui-color);
}
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-buttonElement-active > .oo-ui-buttonElement-button {
	background: var(--ooui-enabled-hover);
	color: var(--ooui-color);
	border-color: var(--ooui-border);
}
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-buttonElement-active > .oo-ui-buttonElement-button:focus {
	border-color: var(--ooui-border);
	box-shadow: var(--ooui-color), var(--ooui-color);
}
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:active,
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-buttonElement-pressed > .oo-ui-buttonElement-button {
	background: var(--ooui-enabled);
	color: var(--ooui-color);
	border-color: var(--ooui-border);
}
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button {
	color: var(--ooui-progressive);
}
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover {
	color: var(--ooui-progressive-hover);
	background: var(--ooui-enabled);
	border-color: var(--ooui-progressive-hover);
}
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:focus {
	border-color: var(--ooui--button-border-top);
	box-shadow: var(--ooui-color), var(--ooui-color);
}
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:active,
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive.oo-ui-buttonElement-pressed > .oo-ui-buttonElement-button,
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive.oo-ui-buttonElement-active > .oo-ui-buttonElement-button,
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive.oo-ui-popupToolGroup-active > .oo-ui-buttonElement-button {
	background: var(--ooui-enabled);
	color: var(--ooui-progressive-hover);
	border-color: var(--ooui-progressive-hover);
}
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button {
	color: var(--ooui-destructive);
}
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button:hover {
	color: var(--ooui-destructive-hover);
	background: var(--ooui-enabled);
	border-color: var(--ooui-destructive-hover);
}
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button:focus {
	border-color: var(--ooui-destructive-hover);
	box-shadow: var(--ooui-destructive-hover), var(--ooui-destructive-hover);
}
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button:active,
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive.oo-ui-buttonElement-pressed > .oo-ui-buttonElement-button,
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive.oo-ui-buttonElement-active > .oo-ui-buttonElement-button,
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive.oo-ui-popupToolGroup-active > .oo-ui-buttonElement-button {
	background: var(--ooui-enabled);
	color: var(--ooui-destructive-hover);
	border-color: var(--ooui-destructive-hover);
}
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button {
	color: var(--ooui-color);
	background: var(--ooui-progressive);
	border-color: var(--ooui-progressive);
}
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover {
	color: var(--ooui-color);
	background: var(--ooui-progressive-hover);
	border-color: var(--ooui-progressive-hover);
}
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:focus {
	border-color: var(--ooui-border);
	box-shadow: var(--ooui-border), var(--ooui-border);
}
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:active,
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive.oo-ui-buttonElement-pressed > .oo-ui-buttonElement-button,
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive.oo-ui-buttonElement-active > .oo-ui-buttonElement-button,
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive.oo-ui-popupToolGroup-active > .oo-ui-buttonElement-button {
	color: var(--ooui-color);
	background: var(--ooui-progressive);
	border-color: var(--ooui-progressive);
}
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button {
	color: var(--ooui-color);
	background: var(--ooui-destructive);
	border-color: var(--ooui-destructive);
}
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button:hover {
	color: var(--ooui-color);
	background: var(--ooui-destructive-hover);
	border-color: var(--ooui-destructive-hover);
}
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button:focus {
	border-color: var(--ooui-border);
	box-shadow: var(--ooui-destructive-hover), var(--ooui-destructive-hover);
}
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button:active,
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-destructive.oo-ui-buttonElement-pressed > .oo-ui-buttonElement-button,
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-destructive.oo-ui-buttonElement-active > .oo-ui-buttonElement-button,
body.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-destructive.oo-ui-popupToolGroup-active > .oo-ui-buttonElement-button {
	color: var(--ooui-color);
	background: var(--ooui-destructive);
	border-color: var(--ooui-destructive);
}

/* OOUI Dropdown, Input */
body.wgl-theme-dark .oo-ui-tabSelectWidget-framed {
	background-color: #232324;
}

body.wgl-theme-dark .oo-ui-tabOptionWidget > .oo-ui-labelElement-label {
	color: #fff;
}

body.wgl-theme-dark .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-optionWidget-selected {
	background-color: #494a4b;
}
body.wgl-theme-dark .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget.oo-ui-widget-enabled.oo-ui-optionWidget-selected:hover {
	background-color: #686869
}
body.wgl-theme-dark .oo-ui-dropdownInputWidget.oo-ui-widget-enabled:hover,
body.wgl-theme-dark .oo-ui-dropdownInputWidget.oo-ui-widget-enabled {
	background: transparent;
}

body.wgl-theme-dark .oo-ui-dropdownInputWidget.oo-ui-widget-enabled select {
	color: #d0d1d2;
}
body.wgl-theme-dark .oo-ui-dropdownInputWidget.oo-ui-widget-enabled select:hover {
	color: #f0f2f4;
}
body.wgl-theme-dark .oo-ui-dropdownInputWidget.oo-ui-widget-enabled option,
body.wgl-theme-dark .oo-ui-dropdownInputWidget.oo-ui-widget-enabled optgroup {
  color: black;
}

body.wgl-theme-dark .oo-ui-checkboxInputWidget [type='checkbox'] + span,
body.wgl-theme-dark .oo-ui-radioInputWidget [type='radio'] + span,
body.wgl-theme-dark .oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle,
body.wgl-theme-dark .oo-ui-textInputWidget .oo-ui-inputWidget-input,
body.wgl-theme-dark .wikiEditor-ui,
body.wgl-theme-dark .CodeMirror,
body.wgl-theme-dark .mw-editform #wpTextbox1,
body.wgl-theme-dark .ace-tm,
body.wgl-theme-dark .wikiEditor-ui textarea,
body.wgl-theme-dark .cdx-text-input__input:enabled,
body.wgl-theme-dark textarea {
    background-color: #1e1e1e;
    color: #fff;
    border-color: #686869;
}
body.wgl-theme-dark .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined .oo-ui-tagItemWidget.oo-ui-widget-enabled {
	background-color: inherit;
}
body.wgl-theme-dark .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined,
body.wgl-theme-dark .oo-ui-dropdownWidget.oo-ui-widget-enabled.oo-ui-dropdownWidget-open .oo-ui-dropdownWidget-handle,
body.wgl-theme-dark .oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle:hover,
body.wgl-theme-dark .oo-ui-textInputWidget.oo-ui-widget-enabled .oo-ui-inputWidget-input[readonly],
body.wgl-theme-dark .oo-ui-tagMultiselectWidget,
body.wgl-theme-dark .oo-ui-tagItemWidget.oo-ui-widget-enabled:not(.oo-ui-tagItemWidget-fixed) {
    background-color: #1e1e1e;
    color: #fff;
    border-color: #686869;
}
body.wgl-theme-dark .oo-ui-optionWidget.oo-ui-widget-disabled {
    color: #aaa;
}
body.wgl-theme-dark .oo-ui-selectFileWidget-dropTarget {
	background-color: #878787 !important;
}
body.wgl-theme-dark.oo-ui-labelWidget.oo-ui-inline-help {
    color: #a8b2bb;
}
body.wgl-theme-dark .oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle:focus {
	border-color: #8d8d8d;
	box-shadow: inset 0 0 0 1px #8d8d8d;
}
body.wgl-theme-dark .ve-ui-mwReferenceContextItem-muted, /* VE reference tooltip */
body.wgl-theme-dark .mw-widget-titleWidget-menu .oo-ui-optionWidget-highlighted .mw-widget-titleOptionWidget-description /* VE template search - result item description */  {
  color: #a2a7ad;
}
body.wgl-theme-dark .oo-ui-indicatorElement-indicator,
body.wgl-theme-dark .oo-ui-iconElement-icon:not(.oo-ui-image-invert):not(.oo-ui-image-destructive):not(.oo-ui-image-warning):not(.oo-ui-image-progressive):not(.oo-ui-image-error):not(.oo-ui-image-success):not(.oo-ui-checkboxInputWidget-checkIcon):not(.oo-ui-icon-page-existing):not(.oo-ui-icon-article.mw-widget-titleOptionWidget-hasImage) {
	filter: invert(1);
}
body.wgl-theme-dark .oo-ui-iconElement-icon.oo-ui-icon-stop.oo-ui-image-invert {
	filter: none !important;
}
body.wgl-theme-dark .oo-ui-pendingElement-pending {
	background-image: url(data:image/gif;base64,R0lGODlhGAAYAKECADhHZhchNgAruwAruyH/C05FVFNDQVBFMi4wAwEAAAAh+QQFAQACACwAAAAAGAAYAAACNYwDqcvnyKJ6R1pqrMRQL955AChOXJmQqFqyouvBmnydq93irx7zs1/DoFLCITD4GI6KN0MBACH5BAUBAAMALAAAAAAYABgAAAI0jB+gy43YIntHWmqsxEk77H1UOIGkwnVkegLs+a5cG4e1d2v5NcO9bAKOfEHbz1hEPlquAgAh+QQFAQADACwAAAAAGAAYAAACM4x/oMuN2CJ7SUpq7MU64tA5XLh8ZDme5gl8oLqSLjvDaVjLMb53OX/z9TQ/YZA4tBQ1BQAh+QQFAQADACwAAAAAGAAYAAACNISDmcbtCp1kUM1Z15U5bJ59TyhSZAl06HGW6vqisTt/nSfX2w3rF59r2XwYIki4M46QjgIAIfkEBQEAAwAsAAAAABgAGAAAAjWEHal67bjWmyBK6izDTSfeeWBojYdoVlqqlilqwqMM0pyNecGLTzq/ivUeP2FwNswkSa5JAQAh+QQFAQADACwAAAAAGAAYAAACNIRvobvozuKbIDL6bMNIK9554OEFYyKe5YlabKW9qRqz83iDObdjPbWi1XC/TBFyDA11uwIAIfkEBQEAAwAsAAAAABgAGAAAAjWEj6G76M7imyAy+mzDSQfeaeDhfWPlnah4lqr7sq08prGlrtK9zzh/AW58v5rNSOPAkEVAAQAh+QQFAQADACwAAAAAGAAYAAACNISPF8ucr1qDUE6arMNIL955YKSNhheYAKqypjvCoMzRddnirx7zs3+zqFZAjCgnRCZ7pQIAIfkEBQEAAwAsAAAAABgAGAAAAjSEjxnLnH+ahFA2+qzDSC/eeWAkjoAXmGc5oqprwi0LyjXN2belrvyr6eFyQeAvVkQeZ5YCACH5BAEBAAMALAAAAAAYABgAAAI1jIGpa90LlXOxzlfhxTnt03lfKG4k8gUnkK7t+ZJxOHd1dlsjvMs9/QNeViyTy8gbHpVJQwEAOw==);
}

body.wgl-theme-dark .oo-ui-popupWidget-popup {
	background: #323232;
	border-color: var(--ooui-border);
}

/* Editing: From https://en.wikipedia.org/wiki/MediaWiki:Gadget-Blackskin.css */
body.wgl-theme-dark .mw-message-box-success,
body.wgl-theme-dark .successbox {
    background-color: #2e5e05;
    border-color: #3c780a;
}
body.wgl-theme-dark .oo-ui-messageWidget.oo-ui-messageWidget-block.oo-ui-flaggedElement-warning {
    background-color: #fef6e766;
    border-color: #fc3;
}
body.wgl-theme-dark .tdg-templateDataParamWidget-param-description {
    color: #bdbdbd;
}

body.wgl-theme-dark .mw-message-box-warning,
body.wgl-theme-dark .warningbox,
body.wgl-theme-dark .usermessage {
    background-color: #2b2f09;
    border-color: #fc3;
}

body.wgl-theme-dark .mw-warning-with-logexcerpt,
body.wgl-theme-dark .mw-message-box-error,
body.wgl-theme-dark .errorbox {
    background-color: #4d2622;
    border-color: #9e352e;
}

body.wgl-theme-dark .wikiEditor-ui,
body.wgl-theme-dark .CodeMirror-gutters {
    background-color: #282828;
}

body.wgl-theme-dark .CodeMirror-gutters {
	border-color: #464646;
}

body.wgl-theme-dark .wikiEditor-ui .wikiEditor-ui-view,
body.wgl-theme-dark .wikiEditor-ui-toolbar .sections .section,
body.wgl-theme-dark .wikiEditor-ui-toolbar .group,
body.wgl-theme-dark .wikiEditor-ui-toolbar .section-secondary .group,
body.wgl-theme-dark .wikiEditor-ui .wikiEditor-ui-top,
body.wgl-theme-dark .codeEditor-status-message,
body.wgl-theme-dark .ace_print-margin {
    border-color: #6f6f6f;
}

body.wgl-theme-dark .wikiEditor-ui-toolbar,
body.wgl-theme-dark .wikiEditor-ui-toolbar .sections .section {
	background-image: none;
	background-color: inherit;
}

body.wgl-theme-dark .tool-button.tool-active,
body.wgl-theme-dark .tool.tool-active.oo-ui-buttonElement-frameless.oo-ui-iconElement {
	background-color: inherit;
}

body.wgl-theme-dark .wikiEditor-ui-toolbar .tabs span.tab a.current,
body.wgl-theme-dark .wikiEditor-ui-toolbar .tabs span.tab a.current:visited {
	color: inherit;
}

body.wgl-theme-dark .editOptions {
    background-color: #282828;
    border-color: #1f2528;
    color: #ccc;
}

body.wgl-theme-dark div#editpage-specialchars a {
    background-color: #000000;
    border-color: #1f2528;
}

body.wgl-theme-dark .mw-editform-legacy input#wpSummary {
  background-color: #000000;
  color: #90ff90;
}

/* Search */
body.wgl-theme-dark #simpleSearch {
    background: #5e5e5e;
    background-image: unset;
}
body.wgl-theme-dark #searchInput {
	background: none;
	color: #fff;
}

/* Search */
body.wgl-theme-dark #p-search #searchform .cdx-search-input__input-wrapper {
    background: #5e5e5e;
    background-image: unset;
}
body.wgl-theme-dark #p-search #searchform .cdx-text-input__input {
	background: none;
	color: #fff;
}
body.wgl-theme-dark #p-search #searchform .cdx-search-input__end-button {
	filter: invert(1);
}

body.wgl-theme-dark .mw-search-profile-tabs,
body.wgl-theme-dark #mw-searchoptions {
	background-color: #282828;
    border-color: #1f2528;
    color: #ccc;
}

/* The suggestions shown under the search bar */
body.wgl-theme-dark #p-search #searchform .cdx-menu {
	background-color: #282828;
    border-color: #464646;
}

body.wgl-theme-dark #p-search #searchform .cdx-menu--has-footer .cdx-menu-item:last-of-type:not(:first-of-type) {
    border-color: #464646;
}

body.wgl-theme-dark #p-search #searchform .cdx-menu-item .cdx-typeahead-search__search-footer__icon,
body.wgl-theme-dark #p-search #searchform .cdx-menu-item .cdx-menu-item__text__supporting-text,
body.wgl-theme-dark #p-search #searchform .cdx-menu-item .cdx-menu-item__text__description,
body.wgl-theme-dark #p-search #searchform .cdx-menu-item .cdx-menu-item__content,
body.wgl-theme-dark #p-search #searchform .cdx-menu-item {
	color: #fff;
}

body.wgl-theme-dark #p-search #searchform .cdx-thumbnail__placeholder,
body.wgl-theme-dark #p-search #searchform .cdx-thumbnail__image {
	background-color: #282828;
	border-color: #444;
}

/* Reference */
body.wgl-theme-dark ol.references li:target,
body.wgl-theme-dark sup.reference:target,
body.wgl-theme-dark span.citation:target {
	background-color: #435d77;
}

/* Image preview screen */
body.wgl-theme-dark .mw-mmv-post-image {
	background: #323232;
	color: #ddd;
}

body.wgl-theme-dark .mw-mmv-image-metadata {
	background: #323232;
	border-color: #222;
}

/* VisualEditor */
body.wgl-theme-dark .oo-ui-toolbar-bar {
	background: #282828;
	color: #fff;
}

body.wgl-theme-dark .oo-ui-toolbar-bar,
body.wgl-theme-dark .oo-ui-menuToolGroup {
	border-color: #464646;
}

/* Notification */
.wgl-theme-dark .mw-htmlform-ooui .mw-htmlform-matrix tbody tr:nth-child(even) td {
    background-color: #19222c;
}
.wgl-theme-dark .mw-htmlform-ooui .mw-htmlform-matrix tbody tr:hover td {
    background-color: #404754;
}
.wgl-theme-dark .mw-echo-ui-pageNotificationsOptionWidget.oo-ui-optionWidget-selected {
    background-color: #2d405b;
    color: #90c0fe;
}
.wgl-theme-dark div.mw-echo-ui-notificationsInboxWidget-toolbarWrapper,
.wgl-theme-dark div.mw-echo-ui-crossWikiNotificationItemWidget-group,
.wgl-theme-dark div.mw-echo-ui-bundleNotificationItemWidget-group {
    background: inherit;
}
.wgl-theme-dark .mw-echo-ui-notificationOptionWidget,
.wgl-theme-dark .mw-echo-ui-notificationGroupItemWidget-group {
	background: none;
}

.wgl-theme-dark .oo-ui-menuSelectWidget {
	z-index: 1002;
}

.wgl-theme-dark .mw-echo-ui-notificationOptionWidget:hover,
.wgl-theme-dark .mw-echo-ui-notificationGroupItemWidget-group:hover,
.wgl-theme-dark .oo-ui-menuSelectWidget {
	background: #1a1a1a;
	color: #545454;
}

.wgl-theme-dark .oo-ui-menuOptionWidget.oo-ui-widget-enabled.oo-ui-optionWidget {
	color: var(--content-text-color);
}

.wgl-theme-dark .oo-ui-dropdownWidget.oo-ui-widget-disabled .oo-ui-dropdownWidget-handle,
.wgl-theme-dark .oo-ui-dropdownInputWidget.oo-ui-widget-disabled {
	background: black;
	text-shadow: none;
}

.wgl-theme-dark .oo-ui-menuOptionWidget.oo-ui-optionWidget-highlighted {
	background-color: #111;
	color: #fff;
}

.wgl-theme-dark .oo-ui-widget.oo-ui-menuOptionWidget.oo-ui-optionWidget-selected {
	background-color: #222222;
    color: #E0E0E0;
}
.wgl-theme-dark .mw-echo-ui-menuItemWidget > .oo-ui-buttonElement-button >.oo-ui-labelElement-label {
	color: var(--content-text-color);
}

.wgl-theme-dark .oo-ui-widget.oo-ui-menuOptionWidget.oo-ui-optionWidget-selected.oo-ui-menuOptionWidget.oo-ui-optionWidget-highlighted,
.wgl-theme-dark .oo-ui-widget.oo-ui-menuOptionWidget.oo-ui-optionWidget-pressed.oo-ui-menuOptionWidget.oo-ui-optionWidget-highlighted {
    background-color: #000000;
    color: #FFFFFF;
}

.wgl-theme-dark .mw-echo-title,
.wgl-theme-dark .mw-echo-notification-footer {
	/*color: #fff !important;*/
}

.wgl-theme-dark .oo-ui-popupWidget .oo-ui-popupWidget-popup {
	background: #000;
	color: #fff;
	border: 1px solid #545454;
}

.wgl-theme-dark .oo-ui-popupWidget .oo-ui-popupWidget-popup .oo-ui-buttonWidget,
.wgl-theme-dark .oo-ui-buttonElement-framed .oo-ui-widget-enabled > .oo-ui-buttonElement-button
 {
	border: 0;
	background: transparent;
}

.wgl-theme-dark .oo-ui-popupWidget-body,
.wgl-theme-dark .oo-ui-popupWidget-footer,
.wgl-theme-dark .oo-ui-popupWidget-header,
.wgl-theme-dark .mw-echo-ui-notificationBadgeButtonPopupWidget-popup > .oo-ui-popupWidget-popup > .oo-ui-popupWidget-footer,
.wgl-theme-dark .mw-echo-ui-notificationItemWidget,
.wgl-theme-dark .mw-echo-ui-notificationItemWidget-unread,
.wgl-theme-dark .mw-echo-ui-notificationBadgeButtonPopupWidget > .oo-ui-popupWidget > .oo-ui-popupWidget-popup > .oo-ui-popupWidget-head,
.wgl-theme-dark .mw-echo-ui-notificationBadgeButtonPopupWidget-popup > .oo-ui-popupWidget-popup > .oo-ui-popupWidget-footer .oo-ui-buttonElement:last-child,
.wgl-theme-dark .mw-echo-ui-notificationGroupItemWidget-separator {
	border-color: #545454 !important;
}

@-webkit-keyframes unseen-fadeout-to-unread {
	from {
		background-color: #27113f;
	}
	to {
		background-color: #545454;
	}
}

@keyframes unseen-fadeout-to-unread {
	from {
		background-color: #27113f;
	}
	to {
		background-color: #545454
	}
}

@-webkit-keyframes unseen-fadeout-to-read {
	from {
		background-color: #27113f;
	}
	to {
		background-color: #1f1f1f;
	}
}

@keyframes unseen-fadeout-to-read {
	from {
		background-color: #545454;
	}
	to {
		background-color: #1f1f1f;
	}
}

.wgl-theme-dark .mw-echo-ui-notificationItemWidget-content-actions-timestamp {
	color: #fff;
}

.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button {
	background: #000;
}

.wgl-theme-dark .oo-ui-popupWidget .oo-ui-popupWidget-popup .oo-ui-buttonWidget:hover,
.wgl-theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover {
	background: #1f1f1f;
}

.wgl-theme-dark .oo-ui-widget-footer {
	margin: 0px !important;
}

.wgl-theme-dark div#netbar .mw-echo-alert,
.wgl-theme-dark div#netbar .mw-echo-alert a {
    color: #000;
}

/* invert the icon colors */
.wgl-theme-dark .mw-echo-ui-overlay .oo-ui-iconElement-icon,
.wgl-theme-dark .msgbox-text > img[alt="Signature-icon.svg"] {
  filter: invert(100%);
  -webkit-filter: invert(100%);
  -moz-filter: invert(100%);
  -o-filter: invert(100%);
  -ms-filter: invert(100%);
}
/* Special:CreateAccount */
body.wgl-theme-light .mw-number-text.icon-contributors {
  filter: invert(0.25);
}

body.wgl-theme-dark .mw-number-text.icon-contributors {
  filter: invert(0.675);
}

/* Both light and dark theme */
.mw-number-text.icon-pages,
.mw-number-text.icon-edits,
.mw-body-content .mw-number-text > h3,
.mw-body-content .mw-number-text > p {
  filter: invert(0.5);
}

.wgl-theme-dark .mw-echo-ui-notificationItemWidget {
	background-color: #1f1f1f;
}

.wgl-theme-dark .mw-echo-ui-menuItemWidget-content {
	color: #ddd !important;
}

.wgl-theme-dark .mw-echo-ui-notificationItemWidget-content-message-header {
	color: #fff;
}

.wgl-theme-dark .mw-echo-ui-notificationItemWidget.oo-ui-optionWidget-selected,
.wgl-theme-dark .mw-echo-ui-notificationItemWidget.oo-ui-optionWidget-highlighted {
	background-color: #3f3f3f;
}

.wgl-theme-dark div#netbar #pt-notifications-alert > .oo-ui-widget a,
.wgl-theme-dark div#netbar #pt-notifications-message > .oo-ui-widget a {
	color: #5a93cc;
}

.wgl-theme-dark div#netbar #pt-notifications-alert > .oo-ui-widget .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button,
.wgl-theme-dark div#netbar #pt-notifications-message > .oo-ui-widget .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button {
	color: #ddd;
}
.wgl-theme-dark .mw-echo-ui-placeholderItemWidget {
	background-color: inherit;
}

.wgl-theme-dark .mw-echo-ui-notificationItemWidget:hover {
	background-color: inherit;
}

.wgl-theme-dark #mw-mwoauth-authorize-form {
	color: #ddd;
}

.wgl-theme-dark .vector-menu-dropdown .mw-list-item.selected a,
.wgl-theme-dark .vector-menu-dropdown .mw-list-item.selected a:visited {
	color: var(--content-text-color);
}

/* SMW - Special:Browse */
body.wgl-theme-dark .smwb-theme-light .smwb-title,
body.wgl-theme-dark .smwb-theme-light .smwb-center,
body.wgl-theme-dark .smwb-theme-light .smwb-actions,
body.wgl-theme-dark .smwb-theme-light .smwb-prophead,
body.wgl-theme-dark .smwb-theme-light .smwb-propval,
body.wgl-theme-dark .smwb-propvalue,
body.wgl-theme-dark .smwb-ipropvalue {
	background-color: unset;
}

body.wgl-theme-dark .smwb-theme-light .smwb-factbox {
	border-left: unset;
}

body.wgl-theme-dark .smwb-bottom {
	border-bottom: 1px solid var(--ooui-border);
}

body.wgl-theme-dark .smw-table-cell.smwb-cell.smwb-prophead {
	border-top: 1px solid var(--ooui-border);
	background-color: var(--ooui-enabled);
}

body.wgl-theme-dark .smwb-ifactbox .smwb-cell,
body.wgl-theme-dark .smwb-factbox .smwb-cell {
	border-top: 1px solid var(--ooui-border);
}

body.wgl-theme-dark .smwb-theme-light .smwb-ifactbox {
	border-right: unset;
}

body.wgl-theme-dark .mw-ui-button:not(:disabled),
body.wgl-theme-dark .mw-ui-input:not(:disabled),
body.wgl-theme-dark .cdx-button:not(:disabled) {
	border-color: var(--ooui-border);
}

body.wgl-theme-dark .mw-ui-button:disabled,
body.wgl-theme-dark .mw-ui-input:disabled,
body.wgl-theme-dark .cdx-button:disabled {
	color: var(--searchinput-placeholder-color);
	border-color: var(--ooui-border-disabled);
	background-color: var(--ooui-disabled);
}

body.wgl-theme-dark .mw-ui-button:not(:disabled):hover,
body.wgl-theme-dark .mw-ui-button:not(:disabled):active,
body.wgl-theme-dark .cdx-button:not(:disabled):hover,
body.wgl-theme-dark .cdx-button:not(:disabled):active {
	color: var(--ooui-color);
	border-color: var(--smw-border-hover);
	background-color: var(--ooui-enabled);
}

body.wgl-theme-dark .mw-ui-button:not(:disabled):enabled,
body.wgl-theme-dark .cdx-button:not(:disabled):enabled {
	color: var(--ooui-color);
}

body.wgl-theme-dark .mw-ui-input:not(:disabled):hover,
body.wgl-theme-dark .mw-ui-input:not(:disabled):active {
	border-color: var(--smw-border-hover);
}

body.wgl-theme-dark .mw-ui-input:not(:disabled):focus,
body.wgl-theme-dark .mw-ui-button:not(:disabled):focus,
body.wgl-theme-dark .cdx-button:not(:disabled):focus {
	border-color: var(--ooui-progressive-hover);
	box-shadow: inset 0 0 0 1px var(--ooui-progressive-hover);
}

body.wgl-theme-dark div:not(.autocomplete-selected).autocomplete-suggestions {
	color: var(--searchinput-placeholder-color);
	background-color: var(--ooui-enabled);
	border-color: var(--ooui-border);
}

body.wgl-theme-dark .autocomplete-suggestion {
	border-color: var(--ooui-border);
	background-color: var(--content-background-color);
}

body.wgl-theme-dark .autocomplete-selected {
	color: var(--ooui-color);
	border: solid 1px var(--smw-border-hover);
	background-color: var(--ooui-enabled);
	padding: 4px 9px 5px 9px;
}

body.wgl-theme-dark .tippy-header {
	background-color: var(--base-background-color);
	border-color: var(--smw-border-hover);
	color: var(--ooui-color);
}

body.wgl-theme-dark .tippy-tooltip.light-border-theme {
	background-color: unset;
}

body.wgl-theme-dark .tippy-content-container {
	background-color: var(--ooui-disabled);
	color: var(--content-text-color)
}

/* SMW - Property: */
body.wgl-theme-dark .smw-property-page-results .header-row > .header-title {
	background-color: var(--ooui-enabled);
	border-bottom-color: var(--ooui-border);
	color: var(--ooui-color);
}

body.wgl-theme-dark .smw-property-page-results .value-row:hover {
	background-color: var(--smw-table-hover);
}

body.wgl-theme-dark .smw-ui-pagination .page-link {
	background-color: var(--content-background-color);
	border: 1px solid var(--ooui-border);
	color: var(--ooui-color);
	text-decoration: none;
	margin-left: 0;
}

body.wgl-theme-dark .smw-ui-pagination .page-link:hover {
	background-color: var(--ooui-enabled);
	border: 1px solid var(--smw-border-hover);
}

body.wgl-theme-dark .smw-ui-pagination .page-link.link-disabled {
	color: var(--searchinput-placeholder-color);
	border-color: var(--ooui-border-disabled);
	background-color: var(--ooui-disabled);
}

body.wgl-theme-dark .smw-ui-pagination .page-link.link-active {
	border-color: var(--ooui-progressive-hover);
}

body.wgl-theme-dark .smw-tabs section, .smw-tabs .subtab-content {
	border-top: 1px solid var(--smw-border-hover);
}

body.wgl-theme-dark .smw-tabs input.nav-tab:checked + label.nav-label {
	border: 1px solid var(--smw-border-hover);
	border-top: 2px solid #337ab7;
}

body.wgl-theme-dark .smw-tabs label.nav-label,
body.wgl-theme-dark .smw-tabs,
body.wgl-theme-dark .smw-tabs input.nav-tab:checked + label.nav-label,
body.wgl-theme-dark #tab-smw-property-value:checked + label.nav-label .usage-count,
body.wgl-theme-dark #tab-smw-concept-list:checked + label.nav-label .usage-count,
body.wgl-theme-dark #tab-smw-property-subp:checked + label.nav-label .item-count,
body.wgl-theme-dark #tab-smw-property-errp:checked + label.nav-label .item-count,
body.wgl-theme-dark #tab-smw-property-redi:checked + label.nav-label .item-count,
body.wgl-theme-dark #tab-smw-type-list:checked + label.nav-label .item-count,
body.wgl-theme-dark #tab-smw-property-spec:checked + label.nav-label .item-count {
	color: var(--ooui-color);
}

body.wgl-theme-dark #tab-smw-property-value:checked + label.nav-label .usage-count.moderate,
body.wgl-theme-dark #tab-smw-concept-list:checked + label.nav-label .usage-count.moderate {
	background-color: rgba(43, 157, 239, 0.64);
}

body.wgl-theme-dark #tab-smw-property-value:checked + label.nav-label .usage-count.high,
body.wgl-theme-dark #tab-smw-concept-list:checked + label.nav-label .usage-count.high {
	background-color: rgba(222, 0, 0, 0.50);
}

body.wgl-theme-dark .smw-ui-input-filter {
	color: var(--content-text-color);
	border: solid 1px var(--ooui-border);
	background-color: var(--ooui-enabled);
}

body.wgl-theme-dark .smw-ui-input-filter:hover {
	border-color: var(--smw-border-hover);
}

body.wgl-theme-dark .smw-ui-input-filter input {
	color: var(--content-text-color) !important;
	border-color: var(--ooui-border) !important;
}

/**********
		Add WikiEditor parity with VisualEditor
		And fixes for dark theme, VisualEditor and CodeEditor
**********/

/* Changes colors of the WikiEditor and VisualEditor toolbars */
body.wgl-theme-dark .wikiEditor-ui-toolbar,
body.wgl-theme-dark .oo-ui-toolbar-bar,
body.wgl-theme-dark .wikiEditor-ui-toolbar .sections .section,
body.wgl-theme-dark .ve-init-mw-desktopArticleTarget-toolbarPlaceholder-floating .ve-init-mw-desktopArticleTarget-toolbarPlaceholder-bar {
	background-color: #353535;
	color: #e6e6e6;
	border-top: 1px solid #595959;
	border-bottom: 1px solid #595959;
}

/* VE template editor */
body.wgl-theme-dark .oo-ui-messageWidget.oo-ui-messageWidget-block.oo-ui-flaggedElement-notice {
    background-color: #39393b;
}

body.wgl-theme-dark .ve-ui-mwTemplatePage-description,
body.wgl-theme-dark .oo-ui-labelWidget.oo-ui-inline-help,
body.wgl-theme-dark .ve-ui-mwParameterPage-undocumentedLabel,
body.wgl-theme-dark .ve-ui-mwTransclusionOutlineTemplateWidget-no-template-parameters {
    color: #b0bac3;
}

body.wgl-theme-dark .ve-ui-mwParameterPage-doc-required,
body.wgl-theme-dark .ve-ui-mwParameterPage-doc-deprecated,
body.wgl-theme-dark .ve-ui-mwParameterPage-inlineDescription .ve-ui-mwParameterPage-doc-example {
	color: #aaa;
}

body.wgl-theme-dark .ve-ui-mwTransclusionOutlineTemplateWidget-sticky {
    background-color: #333d51;
}

/* Changes buttons of WikiEditor to match VisualEditor's behavior */
body.wgl-theme-dark .wikiEditor-ui-toolbar .sections .section .group .tool .tool-select > .label a {
	color: #e6e6e6;
}
body.wgl-theme-dark .wikiEditor-ui-toolbar .tabs span.tab a:before {
	filter: invert(1);
}
body.wgl-theme-dark .wikiEditor-ui-toolbar .tabs span.tab a {
	color: #e6e6e6;
}

/* Changes colors of the VisualEditor placeholder toolbar */
body.wgl-theme-dark .ve-init-mw-desktopArticleTarget-toolbarPlaceholder-bar {
	border-bottom: 1px solid #595959;
}

/* Changes border color for separator lines on both editors */
body.wgl-theme-dark .oo-ui-toolbar-bar,
body.wgl-theme-dark .oo-ui-menuToolGroup,
body.wgl-theme-dark .wikiEditor-ui .wikiEditor-ui-view,
body.wgl-theme-dark .wikiEditor-ui-toolbar .sections .section,
body.wgl-theme-dark .wikiEditor-ui-toolbar .group,
body.wgl-theme-dark .wikiEditor-ui-toolbar .section-secondary .group,
body.wgl-theme-dark .wikiEditor-ui .wikiEditor-ui-top,
body.wgl-theme-dark .codeEditor-status-message,
body.wgl-theme-dark .ace_print-margin {
    border-color: #595959;
}
body.wgl-theme-dark .ace_print-margin {
    background-color: #595959;
}

/* Inverts a bit the color of some blue icons on dark theme */
body.wgl-theme-dark #p-lang-btn .oo-ui-icon-translation,
body.wgl-theme-dark .ve-ui-toolbar .oo-ui-image-progressive,
body.wgl-theme-dark .wikiEditor-ui-toolbar .oo-ui-image-progressive {
    filter: contrast(0.7) brightness(1.8);
}

/* Fixes a border-like shadow under link insertion tool on VisualEditor on dark theme */
body.wgl-theme-dark .oo-ui-tabSelectWidget-frameless {
    box-shadow: inset 0 -1px 0 0 #595959;
}

/* Visual Editor: Link edit popup display text */
body.wgl-theme-dark .ve-ui-desktopContext .ve-ui-linkContextItem .ve-ui-linkContextItem-label .ve-ui-linkContextItem-label-preview {
	color: #aaa;
}

/* Visual Editor: Template editing popup left-hand-side parameter selection input */
body.wgl-theme-dark .oo-ui-selectWidget .oo-ui-optionWidget-highlighted {
	color: white;
	background: #333;
}

body.wgl-theme-dark .ve-ui-mwTransclusionOutlineTemplateWidget .ve-ui-mwTransclusionOutlineParameterWidget.ve-ui-mwTransclusionOutlineParameterWidget-activePage,
body.wgl-theme-dark .ve-ui-mwTransclusionOutlineTemplateWidget .ve-ui-mwTransclusionOutlineParameterWidget.ve-ui-mwTransclusionOutlineParameterWidget-activePage:hover,
body.wgl-theme-dark .ve-ui-mwTransclusionOutlineTemplateWidget .ve-ui-mwTransclusionOutlineParameterWidget.ve-ui-mwTransclusionOutlineParameterWidget-activePage.oo-ui-optionWidget-highlighted {
	color: #fff;
	background: #467c;
}

/* Visual Editor: Template editing popup bottom left controls */
body.wgl-theme-dark .ve-ui-mwTransclusionOutlineControlsWidget {
	background-color: black;
	border-top-color: #888;
}

/* Fixes some colors on various zones on VisualEditor on dark theme */
body.wgl-theme-dark .oo-ui-toolbar-position-top .ve-ui-toolbarDialog-position-above,
body.wgl-theme-dark .ve-ui-mwNoticesPopupTool-items > div:not(:first-child),
body.wgl-theme-dark .ve-ui-mwHelpPopupTool-item:not(:first-child) {
    border-top: 1px solid #6f6f6f;
}
body.wgl-theme-dark .ve-ui-mwHelpPopupTool-version-label,
body.wgl-theme-dark .ve-ui-mwHelpPopupTool-version-link,
body.wgl-theme-dark .ve-ui-mwHelpPopupTool-version-date {
    color: #cebfd3;
}
body.wgl-theme-dark .oo-ui-listToolGroup-tools .oo-ui-tool.oo-ui-widget-disabled .oo-ui-tool-title,
body.wgl-theme-dark .oo-ui-popupToolGroup-tools .oo-ui-tool-link .oo-ui-tool-accel {
    color: #9ea0a1;
}
body.wgl-theme-dark .ve-ce-languageAnnotation {
    background-color: #141921;
}
body.wgl-theme-dark .ve-ce-linkAnnotation.ve-ce-annotation-active {
    box-shadow: 0 0 0 1px #141921;
    background-color: #141921;
}
body.wgl-theme-dark .oo-ui-bookletLayout > .oo-ui-menuLayout-menu,
body.wgl-theme-dark .ve-ui-mwTwoPaneTransclusionDialogLayout > .oo-ui-menuLayout-menu,
body.wgl-theme-dark .ve-ui-mwGalleryDialog-menuLayout-desktop > .oo-ui-menuLayout-menu,
body.wgl-theme-dark .ve-ui-diffElement-hasDescriptions .ve-ui-diffElement-content {
    border-right: 1px solid #6f6f6f;
}
body.wgl-theme-dark .ve-ui-specialCharacterPage-character {
	border: 1px solid #6f6f6f;
}
body.wgl-theme-dark .oo-ui-outlineOptionWidget.oo-ui-optionWidget-highlighted,
body.wgl-theme-dark .oo-ui-menuOptionWidget.oo-ui-optionWidget-highlighted {
    background-color: #535a69;
    color: #9ed2ff;
}
body.wgl-theme-dark .oo-ui-processDialog-actions-safe .oo-ui-widget-enabled.oo-ui-iconElement:not(.oo-ui-labelElement) > .oo-ui-buttonElement-button:active {
    background-color: #535a69;
    border-right-color: #6f6f6f;
}
body.wgl-theme-dark .oo-ui-toggleSwitchWidget {
    background-color: #46494d;
}
body.wgl-theme-dark .oo-ui-toggleSwitchWidget.oo-ui-widget-disabled {
    background-color: #6f6f6f;
    border-color: #6f6f6f;
}
body.wgl-theme-dark .ve-ui-contextItem + .ve-ui-contextItem {
    border-top: 1px solid var(--ooui-border);
}
body.wgl-theme-dark .ve-ui-mwAceEditorWidget .ace_editor {
    border: 1px solid #6f6f6f;
}
body.wgl-theme-dark .ve-ui-desktopContext .ve-ui-linkContextItem .ve-ui-linkContextItem-label {
	border-top: 1px solid #6f6f6f;
}
body.wgl-theme-dark .oo-ui-menuSelectWidget {
    background-color: #333;
    border: 1px solid #6f6f6f;
}
body.wgl-theme-dark .oo-ui-menuOptionWidget.oo-ui-widget-enabled.oo-ui-optionWidget {
	color: #e6e6e6;
}
body.wgl-theme-dark .ve-ui-mwAceEditorWidget .ace_focus {
	border-color: #90c0fe;
}
body.wgl-theme-dark .ve-ui-mwLanguagesPage-languages-table th,
body.wgl-theme-dark .ve-ui-mwLanguagesPage-languages-table td {
  border-bottom:1px solid #000;
}
body.wgl-theme-dark .ve-ui-mwLanguagesPage-languages-table tr:nth-child(odd) td {
  background:#535353;
}
body.wgl-theme-dark .ve-ui-mwLanguagesPage-languages-table tr:nth-child(even) td {
  background:#636363;
}
body.wgl-theme-dark .ve-ui-mwLatexDialog-menuLayout > .oo-ui-menuLayout-content {
	border-bottom: 1px solid #6f6f6f;
}
body.wgl-theme-dark .ve-ui-mwLatexPage-symbol {
	border: 1px solid #898989;
}
body.wgl-theme-dark .ve-ui-mwLatexPage-symbol-largeLayout.ve-ui-mwLatexPage-symbol-wide,
body.wgl-theme-dark .ve-ui-mwLatexPage-symbol {
    filter: invert(1);
}
body.wgl-theme-dark .ve-ui-mwLatexPage-symbol:is(:hover, :focus-within, :active) {
    border-color: #555;
}
body.wgl-theme-dark .ve-ui-targetWidget:not(.oo-ui-pendingElement-pending) {
    background: #292929;
}
body.wgl-theme-dark .ve-ui-targetWidget {
    border: 1px solid #6f6f6f;
}
body.wgl-theme-dark .ve-ce-branchNode-blockSlug,
body.wgl-theme-dark .ve-ce-branchNode-newSlug {
    outline: 1px dashed #6f6f6f;
    background-color: rgb(57 57 57 / 75%);
}
body.wgl-theme-dark .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover {
    color: #d9d9d9;
}
body.wgl-theme-dark .oo-ui-barToolGroup-tools.oo-ui-toolGroup-enabled-tools .oo-ui-tool.oo-ui-widget-disabled.oo-ui-flaggedElement-primary > .oo-ui-tool-link,
body.wgl-theme-dark .oo-ui-barToolGroup-tools.oo-ui-toolGroup-disabled-tools .oo-ui-tool.oo-ui-flaggedElement-primary > .oo-ui-tool-link {
    background-color: #6f6f6f;
    border-color: #6f6f6f;
}
body.wgl-theme-dark .oo-ui-barToolGroup-tools.oo-ui-toolGroup-enabled-tools .oo-ui-tool.oo-ui-widget-disabled.oo-ui-flaggedElement-primary > .oo-ui-tool-link .oo-ui-tool-title,
body.wgl-theme-dark .oo-ui-barToolGroup-tools.oo-ui-toolGroup-disabled-tools .oo-ui-tool.oo-ui-flaggedElement-primary > .oo-ui-tool-link .oo-ui-tool-title {
    color: #c9c9c9;
}
body.wgl-theme-dark .oo-ui-processDialog-actions-safe .oo-ui-widget-enabled.oo-ui-iconElement:not(.oo-ui-labelElement) > .oo-ui-buttonElement-button:hover {
    background-color: #434f5b;
    border-right-color: #6f6f6f;
}

/* Improves a bit text on the exit without saving changes menu on VisualEditor */
body.wgl-theme-dark .oo-ui-messageDialog-title {
    color: #e6e6e6;
}

/* Improves labels on the character insertion menu on VisualEditor */
body.wgl-theme-dark .ve-ui-specialCharacterPage h3,
body.wgl-theme-dark .ve-ui-mwLatexDialog-content .oo-ui-bookletLayout-stackLayout h3 {
    color: #d7d7d7;
}

/* Improves border colors around popups of the VisualEditor on dark theme */
	/* Borders */
body.wgl-theme-dark .oo-ui-processDialog-content .oo-ui-window-head,
body.wgl-theme-dark .oo-ui-processDialog-content .oo-ui-window-foot {
    outline: 1px solid #6f6f6f;
}
body.wgl-theme-dark .oo-ui-searchWidget-query {
    border-bottom: 1px solid #6f6f6f;
}
body.wgl-theme-dark .mw-widget-mediaResultWidget-overlay {
    box-shadow: inset 0 0 0 1px #6f6f6f;
}
body.wgl-theme-dark .mw-widget-mediaResultWidget.oo-ui-optionWidget-highlighted,
body.wgl-theme-dark .mw-widget-mediaResultWidget.oo-ui-optionWidget-selected {
	box-shadow: 0 0 2px #90c0fe;
}
	/* Input labels */
body.wgl-theme-dark .oo-ui-textInputWidget.oo-ui-widget-enabled .oo-ui-inputWidget-input:is(:hover, :focus, :focus-within, :active),
body.wgl-theme-dark .ve-ui-targetWidget-focused {
	border-color: #90c0fe;
    box-shadow: inset 0 0 0 1px #90c0fe;
}

/* VisualEditor: Style included images like images on the regular page */
.wgl-theme-dark figure[typeof~="mw:File/Thumb"] > a:first-child > :first-child:not(.mw-broken-media),
.wgl-theme-dark figure[typeof~="mw:File/Frame"] > a:first-child > :first-child:not(.mw-broken-media),
.wgl-theme-dark figure[typeof~="mw:Image/Thumb"] > a:first-child > :first-child:not(.mw-broken-media),
.wgl-theme-dark figure[typeof~="mw:Video/Thumb"] > a:first-child > :first-child:not(.mw-broken-media),
.wgl-theme-dark figure[typeof~="mw:Audio/Thumb"] > a:first-child > :first-child:not(.mw-broken-media),
.wgl-theme-dark figure[typeof~="mw:Image/Frame"] > a:first-child > :first-child:not(.mw-broken-media),
.wgl-theme-dark figure[typeof~="mw:Video/Frame"] > a:first-child > :first-child:not(.mw-broken-media),
.wgl-theme-dark figure[typeof~="mw:Audio/Frame"] > a:first-child > :first-child:not(.mw-broken-media),
.wgl-theme-dark figure[typeof~="mw:File/Thumb"] > span:first-child > :first-child:not(.mw-broken-media),
.wgl-theme-dark figure[typeof~="mw:File/Frame"] > span:first-child > :first-child:not(.mw-broken-media),
.wgl-theme-dark figure[typeof~="mw:Image/Thumb"] > span:first-child > :first-child:not(.mw-broken-media),
.wgl-theme-dark figure[typeof~="mw:Video/Thumb"] > span:first-child > :first-child:not(.mw-broken-media),
.wgl-theme-dark figure[typeof~="mw:Audio/Thumb"] > span:first-child > :first-child:not(.mw-broken-media),
.wgl-theme-dark figure[typeof~="mw:Image/Frame"] > span:first-child > :first-child:not(.mw-broken-media),
.wgl-theme-dark figure[typeof~="mw:Video/Frame"] > span:first-child > :first-child:not(.mw-broken-media),
.wgl-theme-dark figure[typeof~="mw:Audio/Frame"] > span:first-child > :first-child:not(.mw-broken-media) {
    background-color: #282828;
    border-color: #444;
}

/* Changes the color of the highlighting icons' background */
	/* Hovering */
body.wgl-theme-dark .tool.oo-ui-buttonElement-frameless.oo-ui-iconElement > .oo-ui-buttonElement-button:is(:hover, :focus-within),
body.wgl-theme-dark .wikiEditor-ui-toolbar .group .tool-select .menu .options .option:is(:hover, :focus-within),
body.wgl-theme-dark .wikiEditor-ui-toolbar .tabs span.tab a:is(:hover, :focus-within),
body.wgl-theme-dark .wikiEditor-ui-toolbar .group div.tool.tool-select a.label:is(:hover, :focus-within),
body.wgl-theme-dark .wikiEditor-ui-toolbar .page-characters div span:hover,
body.wgl-theme-dark .wikiEditor-ui-toolbar .booklet > .index > :hover,
body.wgl-theme-dark .wikiEditor-ui-toolbar .page-characters div .wikiEditor-character-highlighted,
body.wgl-theme-dark .oo-ui-tool.oo-ui-widget-enabled > .oo-ui-tool-link:hover,
body.wgl-theme-dark .oo-ui-listToolGroup-tools .oo-ui-tool.oo-ui-widget-enabled:hover {
	background-color: #4b4c4f;
	color: var(--ooui-color);
}
	/* Active */
body.wgl-theme-dark .oo-ui-toggleButtonWidget.oo-ui-widget-enabled.oo-ui-buttonElement-frameless.oo-ui-toggleWidget-on .oo-ui-buttonElement-button,
body.wgl-theme-dark .wikiEditor-ui-toolbar .tabs span.tab a.current,
body.wgl-theme-dark .wikiEditor-ui-toolbar .group div.tool.tool-select.options-shown > a.label,
body.wgl-theme-dark .oo-ui-popupToolGroup.oo-ui-popupToolGroup-active > .oo-ui-popupToolGroup-handle,
body.wgl-theme-dark .oo-ui-listToolGroup-tools .oo-ui-tool.oo-ui-widget-enabled:active,
body.wgl-theme-dark .oo-ui-outlineOptionWidget.oo-ui-optionWidget-selected,
body.wgl-theme-dark .oo-ui-tool.oo-ui-widget-enabled > .oo-ui-tool-link:active,
body.wgl-theme-dark .oo-ui-tool.oo-ui-widget-enabled.oo-ui-tool-active > .oo-ui-tool-link,
body.wgl-theme-dark .wikiEditor-ui-toolbar .booklet > .index > .current {
	background-color: #454e61;
	color: #90c0fe;
}

/* Fixes Heading insert icon on dark theme */
body.wgl-theme-dark .wikiEditor-ui-toolbar .group .tool-select .label:after {
	filter: invert(1);
}

/* Fixes Heading insert options background on dark theme */
body.wgl-theme-dark .wikiEditor-ui-toolbar .group .tool-select .options {
	border: 1px solid var(--ooui-border);
	background-color: #353535;
}

/* Fixes Heading insert options text color on dark theme */
body.wgl-theme-dark .wikiEditor-ui-toolbar .group .tool-select .options .option {
	color: #e6e6e6;
}

/* Fixes text colors on some menus on dark theme */
body.wgl-theme-dark .oo-ui-popupToolGroup-tools .oo-ui-tool-active.oo-ui-widget-enabled .oo-ui-tool-link .oo-ui-tool-title {
    color: #90c0fe;
}

/* Fixes Special characters and Help menus buttons and labels */
	/* Normal */
body.wgl-theme-dark .wikiEditor-ui-toolbar .page-characters div span {
	border: 1px solid #6f6f6f;
	color: #e6e6e6;
}

/* Fixes Help menu colors */
body.wgl-theme-dark .wikiEditor-ui-toolbar .page-table th {
	color: #e6e6e6;
}
body.wgl-theme-dark .wikiEditor-ui-toolbar .page-table td {
	color: #e6e6e6;
	border-top: 1px solid #595959;
}

/* Makes a border color a bit consistent on the notice popup on VisualEditor */
body.wgl-theme-dark .oo-ui-popupWidget-popup {
    border: 1px solid #6f6f6f;
}
body.wgl-theme-dark .oo-ui-popupWidget-anchored-top .oo-ui-popupWidget-anchor:after {
    border-bottom-color: #323232;
}
body.wgl-theme-dark .oo-ui-popupWidget-anchored-top .oo-ui-popupWidget-anchor:before {
    border-bottom-color: #6f6f6f;
}

/* Fixes dark theme for the editor toggle */
/* General background of the options menu */
body.wgl-theme-dark .oo-ui-popupToolGroup-tools,
.wgl-theme-dark .oo-ui-popupWidget .oo-ui-popupWidget-popup {
	background-color: #353535;
	border: 1px solid #6f6f6f;
}

/* Color of the active selected option */
body.wgl-theme-dark .oo-ui-listToolGroup-tools .oo-ui-tool-active.oo-ui-widget-enabled .oo-ui-tool-link .oo-ui-tool-title {
	color: #90c0fe;
}

/* Visual Editor link popup article preview image background */
body.wgl-theme-dark .ve-ui-mwInternalLinkContextItem-withImage > .oo-ui-iconElement.oo-ui-iconElement-icon {
	background-color: transparent;
}

/* Makes the text editing section a certain color on all cases */
body.wgl-theme-dark .wikiEditor-ui,
body.wgl-theme-dark .CodeMirror,
body.wgl-theme-dark .mw-editform #wpTextbox1,
body.wgl-theme-dark .ace-tm,
body.wgl-theme-dark .wikiEditor-ui textarea {
	background-color: #1e1e1e;
}

/* Makes the syntax highlighting number line more readable */
body.wgl-theme-dark .CodeMirror-gutter,
body.wgl-theme-dark CodeMirror-linenumbers,
body.wgl-theme-dark .ace-tm .ace_gutter {
	background: #333333;
	border-right: 1px solid #6f6f6f;
	color: #fff;
}
body.wgl-theme-dark .ace-tm .ace_gutter-active-line {
	background-color: #5f5f5f;
	color: #e6e6e6;
}

/* Adds more padding to these notices */
body.wgl-theme-dark .codeEditor-status {
	border-top: 1px solid #6f6f6f;
}

/* Changes colors of the save section */
body.wgl-theme-dark .editOptions {
	background-color: #353535;
	border-top: 1px solid #595959;
	border-bottom: 1px solid #595959;
}

/* Changes the edit save popup */
	/* Popup background */
body.wgl-theme-dark .oo-ui-windowManager-modal > .oo-ui-dialog {
  background-color: #0008;
}

	/* Actual background colors */
body.wgl-theme-dark .oo-ui-windowManager-modal.oo-ui-windowManager-floating > .oo-ui-dialog > .oo-ui-window-frame {
	background-color: #414141;
}
	/* Text color on dark theme */
body.wgl-theme-dark .oo-ui-messageDialog-message {
	color: #fff;
}
	/* Separator line colors */
body.wgl-theme-dark .oo-ui-messageDialog-content > .oo-ui-window-foot {
	outline: 1px solid var(--ooui-border);
}
body.wgl-theme-dark .oo-ui-messageDialog-actions-horizontal .oo-ui-actionWidget {
	border-right: 1px solid var(--ooui-border);
}
	/* Cancel button colors */
body.wgl-theme-dark .oo-ui-messageDialog-actions-horizontal .oo-ui-actionWidget:first-child > .oo-ui-buttonElement-button {
	background-color: #414141;
	color: var(--ooui-destructive);
}
body.wgl-theme-dark .oo-ui-messageDialog-actions-horizontal .oo-ui-actionWidget:first-child > .oo-ui-buttonElement-button:is(:hover, :focus-within) {
	background-color: #615858;
}
	/* Accept button colors */
body.wgl-theme-dark .oo-ui-messageDialog-actions-horizontal .oo-ui-actionWidget:last-child > .oo-ui-buttonElement-button {
	background-color: #36c;
	color: #fff;
}
body.wgl-theme-dark .oo-ui-messageDialog-actions-horizontal .oo-ui-actionWidget:last-child > .oo-ui-buttonElement-button:is(:hover, :focus-within) {
	background-color: #447ff5;
}

/* Other popups */
	/* Actual background colors */
body.wgl-theme-dark .ui-widget-content {
	border: 0;
	background: #414141;
	color: var(--ooui-color);
}
	/* Input fields */
body.wgl-theme-dark #wikieditor-toolbar-file-target,
body.wgl-theme-dark #wikieditor-toolbar-file-caption,
body.wgl-theme-dark #wikieditor-toolbar-file-alt,
body.wgl-theme-dark .ui-widget input,
body.wgl-theme-dark .ui-widget select,
body.wgl-theme-dark .ui-widget textarea,
body.wgl-theme-dark .ui-widget button {
	border: 1px solid #595959;
	color: var(--ooui-color);
}
	/* Header colors */
body.wgl-theme-dark .ui-dialog .ui-widget-header {
	background: #5a5a5b !important;
	color: var(--ooui-color);
}
	/* Inverts the closing button color */
body.wgl-theme-dark .ui-dialog .ui-icon-closethick {
	filter: invert(1);
}
	/* Turns the Show help text of inserting images into a button */
body.wgl-theme-dark .wikieditor-toolbar-file-alt-help {
	background: var(--ooui-enabled);
	border: 1px solid var(--ooui-border);
}
body.wgl-theme-dark .wikieditor-toolbar-file-alt-help:is(:hover, :focus-within) {
	background: var(--ooui-enabled-hover) !important;
	border: 1px solid #7a8191 !important;
}
	/* Changes colors of the separator line */
body.wgl-theme-dark .wikiEditor-toolbar-dialog .ui-dialog-buttonpane {
	border-top: 1px solid var(--ooui-border) !important;
}
	/* Changes colors of the bottom buttons */
body.wgl-theme-dark .ui-dialog .ui-dialog-buttonpane button {
	background: var(--ooui-enabled) !important;
	color: var(--ooui-color);
	border: 1px solid var(--ooui-border) !important;
}
body.wgl-theme-dark .ui-dialog .ui-dialog-buttonpane button:is(:hover, :focus-within) {
	background: var(--ooui-enabled-hover) !important;
	border: 1px solid #7a8191 !important;
}

/* Fixing indent on CodeEditor */
body.wgl-theme-dark .ace-tm .ace_indent-guide {
    filter: brightness(0.5);
}

/* Improvements for colors on Search & Replace */
body.wgl-theme-dark #wikieditor-toolbar-replace-nomatch {
	background-color: #794c4c;
}
body.wgl-theme-dark #wikieditor-toolbar-replace-emptysearch {
	background-color: #6f6d48;
}
body.wgl-theme-dark #wikieditor-toolbar-replace-success {
	background-color: #44694b;
}
body.wgl-theme-dark #wikieditor-toolbar-replace-invalidregex {
	background-color: #6e4b71;
}

/* CodeEditor search color fixes for dark theme */
body.wgl-theme-dark .ace_search {
	background-color: #353535;
	border: 1px solid var(--ooui-border);
	border-top: 0;
	border-right: 0;
	color: #e6e6e6;
}

/* CodeEditor search input field color fixes for dark theme */
body.wgl-theme-dark .ace_search_field {
	border-radius: 3px 0 0 3px;
	background-color: #414141;
	color: #e6e6e6;
	border: 1px solid var(--ooui-border);
	border-right: 0;
}

/* CodeEditor search button color fixes for dark theme */
body.wgl-theme-dark .ace_searchbtn {
	border: 1px solid var(--ooui-border);
	background: #414141;
	color: #e6e6e6;
	border-right: 0;
	border-left: 1px solid var(--ooui-border);
}
body.wgl-theme-dark .ace_button {
	border: 1px solid var(--ooui-border);
	color: #e6e6e6;
}

/* Text selection fixes for dark theme */
body.wgl-theme-dark .cm-mw-doubleUnderscore,
body.wgl-theme-dark .cm-mw-signature,
body.wgl-theme-dark .cm-mw-hr {
	background-color: #1e1e1e;
}

/* Dark theme fixes for VisualEditor's save UI */
body.wgl-theme-dark a.extiw {
    color: #90c0fe;
}
body.wgl-theme-dark a.extiw:visited {
    color: #9495f4;
}
body.wgl-theme-dark #editpage-copywarn a {
	color: #90c0fe;
}
body.wgl-theme-dark #editpage-copywarn a:visited {
    color: #9495f4;
}
body.wgl-theme-dark .ve-ui-mwSaveDialog-license,
body.wgl-theme-dark .ve-ui-diffElement-attributeChange {
    color: #bfbfbf;
}
body.wgl-theme-dark .ve-ui-changeDescriptionsSelectWidget > .oo-ui-optionWidget-highlighted {
    background: #57759c;
}




/**********
		CodeEditor (also called AceEditor) colors
		Consistency between light and dark themes
**********/
body.wgl-theme-dark .ace-tm .ace_comment {
	color: #b5b9c5;
}
body.wgl-theme-dark .ace-tm .ace_support.ace_function {
	color: #fff;
}
body.wgl-theme-dark .ace-tm .ace_constant,
body.wgl-theme-dark .ace-tm .ace_string {
	color: #ffa4a7;
}
body.wgl-theme-dark .ace-tm .ace_variable {
	color: #90c8d9;
}
body.wgl-theme-dark .ace-tm .ace_support.ace_type,
body.wgl-theme-dark .ace-tm .ace_support.ace_class,
body.wgl-theme-dark .ace-tm .ace_constant.ace_language,
body.wgl-theme-dark .ace-tm .ace_constant.ace_library {
	color: #1fe326;
}
body.wgl-theme-dark .ace-tm .ace_constant.ace_numeric,
body.wgl-theme-dark .ace-tm .ace_storage,
body.wgl-theme-dark .ace-tm .ace_keyword {
	color: #9bbdff;
}
body.wgl-theme-dark .ace-tm .ace_keyword.ace_operator {
	color: #a9a9a9;
}
body.wgl-theme-dark .ace-tm .ace_support.ace_constant {
	color: #f9b77d;
}
body.wgl-theme-dark .ace-tm .ace_entity.ace_name.ace_function {
	color: #28ccff;
}
body.wgl-theme-dark .ace-tm .ace_comment.ace_doc {
	color: #9faad3;
}




/**********
		CodeMirror (WikiEditor syntax highlighting) colors
		Consistency between light and dark themes
**********/
	/* Parser functions */
body.wgl-theme-dark .cm-mw-parserfunction-name,
body.wgl-theme-dark .cm-mw-parserfunction-bracket,
body.wgl-theme-dark .cm-mw-parserfunction-delimiter {
	color: #ffa3a3;
}
	/* Templates */
body.wgl-theme-dark .cm-mw-template,
body.wgl-theme-dark .cm-mw-template-name,
body.wgl-theme-dark .cm-mw-template-argument-name,
body.wgl-theme-dark .cm-mw-template-delimiter,
body.wgl-theme-dark .cm-mw-template-bracket {
	color: #d7a9ff;
}
	/* Page links */
body.wgl-theme-dark .cm-mw-link-pagename,
body.wgl-theme-dark .cm-mw-link-bracket,
body.wgl-theme-dark .cm-mw-link-delimiter,
body.wgl-theme-dark .cm-mw-extlink,
body.wgl-theme-dark .cm-mw-free-extlink,
body.wgl-theme-dark .cm-mw-extlink-protocol,
body.wgl-theme-dark .cm-mw-free-extlink-protocol,
body.wgl-theme-dark .cm-mw-extlink-bracket {
	color: #9fbfff;
}
	/* Tags */
body.wgl-theme-dark .cm-mw-mnemonic,
body.wgl-theme-dark .cm-mw-exttag-name,
body.wgl-theme-dark .cm-mw-htmltag-name,
body.wgl-theme-dark .cm-mw-exttag-bracket,
body.wgl-theme-dark .cm-mw-exttag-attribute,
body.wgl-theme-dark .cm-mw-htmltag-bracket,
body.wgl-theme-dark .cm-mw-htmltag-attribute {
	color: #0be10b;
}
	/* Comments */
body.wgl-theme-dark .cm-mw-comment {
	color: #bbbbbb;
}
	/* Template variables */
body.wgl-theme-dark .cm-mw-templatevariable,
body.wgl-theme-dark .cm-mw-templatevariable-bracket,
body.wgl-theme-dark .cm-mw-templatevariable-name,
body.wgl-theme-dark .cm-mw-templatevariable-delimiter {
	color: #e9b15c;
}
	/* Links to sections and other formatting */
body.wgl-theme-dark .cm-mw-list,
body.wgl-theme-dark .cm-mw-indenting,
body.wgl-theme-dark .cm-mw-doubleUnderscore,
body.wgl-theme-dark .cm-mw-signature,
body.wgl-theme-dark .cm-mw-hr,
body.wgl-theme-dark .cm-mw-apostrophes-bold,
body.wgl-theme-dark .cm-mw-apostrophes-italic,
body.wgl-theme-dark .cm-mw-link,
body.wgl-theme-dark .cm-mw-link-tosection,
body.wgl-theme-dark .cm-mw-section-header {
	color: #66d3ff;
}
	/* Tables */
body.wgl-theme-dark .cm-mw-table-bracket,
body.wgl-theme-dark .cm-mw-table-delimiter,
body.wgl-theme-dark .cm-mw-table-definition {
    color: #ff9ed6;
}
	/* Matching brackets */
body.wgl-theme-dark .cm-mw-matchingbracket {
	background-color: #7d7d38;
}

/* Scribunto debug console */
body.wgl-theme-dark .mw-scribunto-console-fieldset {
  background: var(--archive-box-background-color);
  color: var(--content-text-color);
}
body.wgl-theme-dark #mw-scribunto-input {
  background: var(--base-background-color);
  color: #88f;
}
body.wgl-theme-dark .mw-scribunto-input {
  color: #88f;
}
body.wgl-theme-dark .mw-scribunto-normalOutput {
  color: var(--content-text-color);
  background: var(--archive-box-background-color);
}
body.wgl-theme-dark .mw-scribunto-print {
  color: #da8;
  background: var(--archive-box-background-color);
}
body.wgl-theme-dark .mw-scribunto-error {
  color: #f88;
  background: var(--archive-box-background-color)
}
body.wgl-theme-dark .mw-scribunto-propList {
  color: #8f8;
  background: var(--archive-box-background-color)
}
body.wgl-theme-dark .mw-scribunto-message {
  color: #8f8;
  background: var(--archive-box-background-color)
}
body.wgl-theme-dark .mw-scribunto-tabcomplete {
  color: #f8f;
  background: var(--archive-box-background-color)
}
body.wgl-theme-dark .mw-scribunto-clear {
  color: #f88;
  border-bottom-color: #f88
}

body.wgl-theme-dark .mw-prefs-tabs.mw-prefs-tabs-searching .oo-ui-tabPanelLayout.mw-prefs-search-matched > fieldset > legend {
    background-color: #373f50;
}

body.wgl-theme-dark .mw-prefs-search-highlight,
body.wgl-theme-dark .mw-prefs-tabs:not(.mw-prefs-tabs-searching) .oo-ui-fieldsetLayout:target > .oo-ui-fieldsetLayout-header > .oo-ui-labelElement-label {
    background: #0b1e39 !important;
    outline: 3px solid #0b1e39 !important;
}

body.wgl-theme-dark .smw-column-header {
	color: #fff;
}

/* AdvancedSearch */
body.wgl-theme-dark .mw-advancedSearch-fieldContainer,
body.wgl-theme-dark .mw-advancedSearch-namespace-selection {
    background: #282828;
    border-color: #444;
}

body.wgl-theme-dark .mw-advancedSearch-fieldContainer .oo-ui-labelElement > .oo-ui-fieldsetLayout-header > .oo-ui-labelElement-label {
	background: #282828;
    color: #fff;
}

body.wgl-theme-dark .mw-advancedSearch-namespace-border {
    border-color: #444;
}

/* Inline diff */
body.wgl-theme-dark .ve-ui-diffElement-attributeChange ins,
body.wgl-theme-dark .ve-ui-diffElement-attributeChange del,
body.wgl-theme-dark .mw-diff-inline-legend,
body.wgl-theme-dark .mw-diff-inline-added ins,
body.wgl-theme-dark .mw-diff-inline-changed ins,
body.wgl-theme-dark .mw-diff-inline-moved ins,
body.wgl-theme-dark .mw-diff-inline-deleted ins,
body.wgl-theme-dark .mw-diff-inline-added del,
body.wgl-theme-dark .mw-diff-inline-changed del,
body.wgl-theme-dark .mw-diff-inline-moved del,
body.wgl-theme-dark .mw-diff-inline-deleted del {
	color: #000;
}

/**
 * See [[MediaWiki:Common.css]] for desktop and mobile styles, e.g. templates.
 *
 * See [[MediaWiki:Vector-theme-dark.css]] for desktop dark theme related styles.
 *
 * See [[MediaWiki:Minerva.css]] for mobile theme related styles.
 * See [[MediaWiki:Minerva-theme-dark.css]] for mobile dark theme related styles.
 */
 body {
    transition: background-color 0.3s ease, color 0.3s ease;
    /* Add transitions for other properties as needed */
}

a {
    transition: color 0.3s ease;
}
/* Default styles:
 * [[File:Wiki.png]] [[File:Background.png]] [[File:Header-background.png]]
 * [[File:Vector-tabs.png]] [[File:Vector-tabs-first.png]] [[File:Wiki@2x.png]]
 * [[File:Background-HiDPI.png]] [[File:Header-background-HiDPI.png]]
 * [[File:Vector-tabs-HiDPI.png]] [[File:Vector-tabs-first-HiDPI.png]]
 */
:root {
	--wiki-logo: url('/images/Wiki.png');
	--base-background: url('filepath:///resources/assets/mc/Background.png');
	--header-background: url('filepath:///resources/assets/mc/Header-background.png');
	--vector-tabs: url('filepath:///resources/assets/mc/Vector-tabs.png');
	--vector-tabs-first: url('filepath:///resources/assets/mc/Vector-tabs-first.png');
	
	--wiki-logo-hidpi: url('/images/Wiki@2x.png');
	--base-background-hidpi: url('filepath:///resources/assets/mc/Background-HiDPI.png');
	--header-background-hidpi: url('filepath:///resources/assets/mc/filepath:///resources/assets/mc/Header-background-HiDPI.png');
	--vector-tabs-hidpi: url('filepath:///resources/assets/mc/Vector-tabs-HiDPI.png');
	--vector-tabs-first-hidpi: url('filepath:///resources/assets/mc/Vector-tabs-first-HiDPI.png');
	
	--list-bullet: url('filepath:///resources/assets/mc/List_bullet.svg');
	
	--content-text-color: #202122;
	--content-secondary-text-color: #555555;
	--base-background-color: #303030;
	--content-background-color: #E6EFF4;
	--content-border-top-color: #B4BEC3;
	--content-border-top-right-color: #784c2a;
	--simplesearch-top-border-color: #FFFFFF;
	--simplesearch-left-border-color: #888888;
	--simplesearch-topright-grass-color: #6BA41E;
	--searchinput-placeholder-color: #72777D;
	
	--sidebar-display-minecraft: initial;
	--sidebar-display-dungeons: none;
	--sidebar-display-earth: none;
	--sidebar-display-legends: none;
	--sidebar-display-story-mode: none;
	--sidebar-display-tutorial: none;
	--sidebar-display-movie: none;
}

body {
    font-family: 'IBM Plex Sans', 'Helvetica Neue', 'Arial', sans-serif;
}

/* Dungeons styles:
 * [[File:Dungeons Wiki.png]] [[File:Header-background-dungeons.png]]
 * [[File:Vector-tabs-dungeons.png]] [[File:Vector-tabs-first-dungeons.png]]
 * [[File:Dungeons Wiki HiDPI.png]] [[File:Header-background-dungeons-HiDPI.png]]
 * [[File:Vector-tabs-dungeons-HiDPI.png]] [[File:Vector-tabs-first-dungeons-HiDPI.png]]
 */
body.rootpage-Minecraft_Dungeons,
body.rootpage-Talk_Minecraft_Dungeons,
body.ns-10000,
body.ns-10001 {
	/* Overwrite theme gadget styles */
	--base-background: url('filepath://Background.png');
	--base-background-hidpi: url('filepath://Background-HiDPI.png');
	
	/*--wiki-logo: url('filepath://Dungeons_Wiki.png');*/
	--header-background: url('filepath://Header-background-dungeons.png');
	--vector-tabs: url('filepath://Vector-tabs-dungeons.png');
	--vector-tabs-first: url('filepath://Vector-tabs-first-dungeons.png');
	
	/*--wiki-logo-hidpi: url('filepath://Dungeons_Wiki_HiDPI.png');*/
	--header-background-hidpi: url('filepath://Header-background-dungeons-HiDPI.png');
	--vector-tabs-hidpi: url('filepath://Vector-tabs-dungeons-HiDPI.png');
	--vector-tabs-first-hidpi: url('filepath://Vector-tabs-first-dungeons-HiDPI.png');
	
	--content-background-color: #F2EEE7;
	--content-border-top-color: #C5B494;
	--content-border-top-right-color: #595959;
	--simplesearch-before-border-left-color: #3A3B3A;
	--simplesearch-topright-grass-color: #F26417;
	--search-form-after-border-top-color: #F27633;
	
	--sidebar-display-minecraft: none;
	--sidebar-display-dungeons: initial;
	--sidebar-display-earth: none;
	--sidebar-display-legends: none;
	--sidebar-display-story-mode: none;
	--sidebar-display-tutorial: none;
	--sidebar-display-movie: none;
}

/* Earth styles:
 * [[File:Earth Wiki.png]] [[File:Header-background-earth.png]]
 * [[File:Vector-tabs-earth.png]] [[File:Vector-tabs-first-earth.png]]
 * [[File:Earth Wiki HiDPI.png]] [[File:Header-background-earth-HiDPI.png]]
 * [[File:Vector-tabs-earth-HiDPI.png]] [[File:Vector-tabs-first-earth-HiDPI.png]]
 */
body.rootpage-Minecraft_Earth,
body.rootpage-Talk_Minecraft_Earth,
body.ns-10002,
body.ns-10003 {
	/* Overwrite theme gadget styles */
	--base-background: url('filepath://Background.png');
	--base-background-hidpi: url('filepath://Background-HiDPI.png');
	
	/*--wiki-logo: url('filepath://Earth_Wiki.png');*/
	--header-background: url('filepath://Header-background-earth.png');
	--vector-tabs: url('filepath://Vector-tabs-earth.png');
	--vector-tabs-first: url('filepath://Vector-tabs-first-earth.png');
	
	/*--wiki-logo-hidpi: url('filepath://Earth_Wiki_HiDPI.png');*/
	--header-background-hidpi: url('filepath://Header-background-earth-HiDPI.png');
	--vector-tabs-hidpi: url('filepath://Vector-tabs-earth-HiDPI.png');
	--vector-tabs-first-hidpi: url('filepath://Vector-tabs-first-earth-HiDPI.png');
	
	--content-background-color: #E5EDFF;
	--content-border-top-color: #B7BDCC;
	--content-border-top-right-color: #406b7f;
	--simplesearch-before-border-left-color: #284350;
	--simplesearch-topright-grass-color: #0FD36D;
	--search-form-after-border-top-color: #2DDA81;
	
	--sidebar-display-minecraft: none;
	--sidebar-display-dungeons: none;
	--sidebar-display-earth: initial;
	--sidebar-display-legends: none;
	--sidebar-display-story-mode: none;
	--sidebar-display-tutorial: none;
	--sidebar-display-movie: none;
}

/* Legends styles:
 * [[File:Header-background-legends.png]] [[File:Vector-tabs-legends.png]]
 * [[File:Vector-tabs-first-legends.png]] [[File:Header-background-legends-HiDPI.png]]
 * [[File:Vector-tabs-legends-HiDPI.png]] [[File:Vector-tabs-first-legends-HiDPI.png]]
 */
body.rootpage-Minecraft_Legends,
body.rootpage-Talk_Minecraft_Legends,
body.ns-10006,
body.ns-10007 {
	/* Overwrite theme gadget styles */
	--base-background: url('filepath://Background.png');
	--base-background-hidpi: url('filepath://Background-HiDPI.png');
	
	/*--wiki-logo: url('filepath://Legends_Wiki.png');*/
	--header-background: url('filepath://Header-background-legends.png');
	--vector-tabs: url('filepath://Vector-tabs-legends.png');
	--vector-tabs-first: url('filepath://Vector-tabs-first-legends.png');
	
	/*--wiki-logo-hidpi: url('filepath://Legends_Wiki_HiDPI.png');*/
	--header-background-hidpi: url('filepath://Header-background-legends-HiDPI.png');
	--vector-tabs-hidpi: url('filepath://Vector-tabs-legends-HiDPI.png');
	--vector-tabs-first-hidpi: url('filepath://Vector-tabs-first-legends-HiDPI.png');
	
	--content-background-color: #DAEAE9;
	--content-border-top-color: #9FA2A2;
	--content-border-top-right-color: #34538c;
	--simplesearch-before-border-left-color: #203559;
	--simplesearch-topright-grass-color: #08F9E2;
	--search-form-after-border-top-color: #2AFDE9;
	
	--sidebar-display-minecraft: none;
	--sidebar-display-dungeons: none;
	--sidebar-display-earth: none;
	--sidebar-display-legends: initial;
	--sidebar-display-story-mode: none;
	--sidebar-display-tutorial: none;
	--sidebar-display-movie: none;
}

/* Story Mode styles:
 * [[File:Header-background-storymode.png]] [[File:Vector-tabs-storymode.png]]
 * [[File:Vector-tabs-first-storymode.png]] [[File:Header-background-storymode-HiDPI.png]]
 * [[File:Vector-tabs-storymode-HiDPI.png]] [[File:Vector-tabs-first-storymode-HiDPI.png]]
 */
body.rootpage-Minecraft_Story_Mode,
body.rootpage-Talk_Minecraft_Story_Mode,
body.rootpage-Minecraft_Story_Mode_-_Season_Two,
body.rootpage-Talk_Minecraft_Story_Mode_-_Season_Two,
body.ns-10004,
body.ns-10005 {
	/* Overwrite theme gadget styles */
	--base-background: url('filepath://Background.png');
	--base-background-hidpi: url('filepath://Background-HiDPI.png');
	
	/*--wiki-logo: url('filepath://Story_Mode_Wiki.png');*/
	--header-background: url('filepath://Header-background-storymode.png');
	--vector-tabs: url('filepath://Vector-tabs-storymode.png');
	--vector-tabs-first: url('filepath://Vector-tabs-first-storymode.png');
	
	/*--wiki-logo-hidpi: url('filepath://Story_Mode_Wiki_HiDPI.png');*/
	--header-background-hidpi: url('filepath://Header-background-storymode-HiDPI.png');
	--vector-tabs-hidpi: url('filepath://Vector-tabs-storymode-HiDPI.png');
	--vector-tabs-first-hidpi: url('filepath://Vector-tabs-first-storymode-HiDPI.png');
	
	--content-background-color: #f9eddc;
	--content-border-top-color: #d5c090;
	--content-border-top-right-color: #503767;
	--simplesearch-before-border-left-color: #352343;
	--simplesearch-topright-grass-color: #d2a734;
	--search-form-after-border-top-color: #d2a734;
	
	--sidebar-display-minecraft: none;
	--sidebar-display-dungeons: none;
	--sidebar-display-earth: none;
	--sidebar-display-legends: none;
	--sidebar-display-story-mode: initial;
	--sidebar-display-tutorial: none;
	--sidebar-display-movie: none;
}

/* Tutorial styles
 */
body.rootpage-Tutorials,
body.rootpage-Talk_Tutorials,
body.ns-10010,
body.ns-10011 {
	--sidebar-display-minecraft: none;
	--sidebar-display-dungeons: none;
	--sidebar-display-earth: none;
	--sidebar-display-legends: none;
	--sidebar-display-story-mode: none;
	--sidebar-display-tutorial: initial;
	--sidebar-display-movie: none;
}

/* Movie styles:
 * [[File:Background-movie.png]] [[File:Background-movie-HiDPI.png]]
 * [[File:Header-background-movie.png]] [[File:Vector-tabs-movie.png]]
 * [[File:Vector-tabs-first-movie.png]] [[File:Header-background-movie-HiDPI.png]]
 * [[File:Vector-tabs-movie-HiDPI.png]] [[File:Vector-tabs-first-movie-HiDPI.png]]
 */
html body.rootpage-A_Minecraft_Movie,
html body.rootpage-Talk_A_Minecraft_Movie,
html body.ns-10012,
html body.ns-10013 {
	--base-background: url('filepath://Background-movie.png');
	--base-background-hidpi: url('filepath://Background-movie-HiDPI.png');

	--header-background: url('filepath://Header-background-movie.png');
	--vector-tabs: url('filepath://Vector-tabs-movie.png');
	--vector-tabs-first: url('filepath://Vector-tabs-first-movie.png');

	--header-background-hidpi: url('filepath://Header-background-movie-HiDPI.png');
	--vector-tabs-hidpi: url('filepath://Vector-tabs-movie-HiDPI.png');
	--vector-tabs-first-hidpi: url('filepath://Vector-tabs-first-movie-HiDPI.png');

	--content-background-color: #E8E3E1;
    --content-border-top-color: #BDB5AF;

	--sidebar-display-minecraft: none;
	--sidebar-display-dungeons: none;
	--sidebar-display-earth: none;
	--sidebar-display-legends: none;
	--sidebar-display-story-mode: none;
	--sidebar-display-tutorial: none;
	--sidebar-display-movie: initial;
}

/* Give the background the initial stone texture */
body {
	background-color: var(--base-background-color);
    background-image: var(--header-background), var(--base-background);
    background-repeat: repeat-x, repeat;
    background-position: top left, top left;
    background-size: auto 234px, 468px;
}

/* Logo */
.mw-wiki-logo {
	background-image: var(--wiki-logo);
	background-size: cover;
}

#mw-page-base {
	background: none;
	height: 85px;
}

/* Remove excess spacing between the sidebar and the logo */
div#mw-panel {
	padding-top: 0;
	padding-bottom: 10px;
}

#p-logo,
#p-logo a {
	height: 8.75em; /* 140px */
}

/* Set the outer content link colours to light gray and white */
#mw-panel *:not(h3) > a:not(:hover):not(:focus),
#footer a:not(:hover):not(:focus),
.mw-notification a:not(:hover):not(:focus) {
	color: #BFBFBF !important;
}

#mw-panel h3,
#mw-panel a,
#footer li,
#footer a,
.mw-notification a {
	color: #FFF !important;
}

#mw-panel h3 {
	text-decoration: none !important;
	cursor: pointer;
}

/* Set the tab link colours to black and bold */
#p-namespaces a,
#p-views a,
#p-cactions-label span,
div#mw-head div.vectorMenu h4,
div#p-variants.vectorMenu #mw-vector-current-variant {
	font-weight: bold;
	text-decoration: none;
}

/* Use black links */
#p-namespaces a,
#p-views a,
#p-sharing span,
#p-cactions-label span,
div#mw-head div.vectorMenu h4 {
	color: #000;
}

#p-namespaces .new a,
#p-views .new a {
	color: #BA0000;
}

/* Add some margin to help with the 3D effect */
#right-navigation,
#content {
	margin-right: 10px;
}
#footer {
	margin-right: 8px;
}

/* Position the tabs */
#left-navigation,
#right-navigation {
	margin-top: 54px;
}

#mw-head-base {
	height: 80px;
	margin-top: -80px;
}

/* Give the tabs the grass block styling */
nav.vector-menu-tabs,
nav.vector-menu-dropdown {
    background: none;
    padding: 0;
    height: 36px;
}

nav.vector-menu-tabs li a {
    box-sizing: unset;
}

nav.vector-menu-tabs,
nav.vector-menu-tabs a,
.vector-menu-portal .vector-menu-heading,
nav.vector-menu-tabs ul,
nav.vector-menu-tabs ul li.selected,
#mw-head .vector-menu-dropdown .vector-menu-heading {
    background: none;
}

nav.vector-menu-tabs ul li,
nav.vector-menu-tabs ul li.selected,
nav.vector-menu-tabs ul li:hover,
nav.vector-menu-tabs ul li:focus,
nav.vector-menu-dropdown,
nav.vector-menu-dropdown:hover,
nav.vector-menu-dropdown:focus {
    --ca-background-image: var(--vector-tabs);
    --ca-background-color: var(--content-border-top-color);
    background: var(--ca-background-image) no-repeat right 8px top,
                linear-gradient(to right, var(--ca-background-color) calc(100% - 14px), transparent 0) no-repeat left 6px top 6px;
    position: relative;
}

nav.vector-menu-tabs ul li.selected,
nav.vector-menu-tabs ul li:hover,
nav.vector-menu-tabs ul li:focus,
nav.vector-menu-dropdown:hover,
nav.vector-menu-dropdown:focus {
    --ca-background-color: var(--content-background-color);
    background-position-y: bottom, 6px;
}

nav.vector-menu-tabs ul li:before,
nav.vector-menu-dropdown:before {
    content: "";
    position: absolute;
    left: 0;
    background: var(--ca-background-image) var(--content-border-top-color) no-repeat left top;
    width: 6px;
    height: 100%;
    pointer-events: none;
}

#left-navigation nav.vector-menu-tabs li:first-child:before {
    background: var(--vector-tabs-first) no-repeat left top;
    height: 93px
}

nav.vector-menu-tabs li a {
    padding: 15px 14px 0 20px;
    height: 21px;
    margin-right: 8px;
}

.vector-menu-tabs .mw-watchlink.icon {
	/* Force font-size when using the icon */
    font-size: 16px !important;
}

.vector-menu-tabs .mw-watchlink.icon a {
    width: 45px;
    margin-right: 3px;
    margin-bottom: -4px;
}

.vector-menu-tabs .mw-watchlink.icon a:before {
	left: 1.17em;
}

nav.vector-menu-dropdown label {
	padding: 15px 14px 0 20px !important;
}

nav.vector-menu-dropdown .vector-menu-content {
	transition: none;
	margin-left: 6px;
	min-width: calc(100% - 14px); /* Subtract 14px from the minimum width so that it doesn't cross the grass border */
}

.vector-menu-dropdown:focus-within .vector-menu-content,
.vector-menu-dropdown:hover .vector-menu-content {
    opacity: 1;
    visibility: visible;
    height: auto;
}

nav.vector-menu {
    margin: 0 8px 0 6px;
}
#p-views,
#p-cactions {
	margin: 0;
}
#p-cactions {
	padding-right: 8px;
}

#left-navigation nav.vector-menu {
	margin-left: 0;
}

nav.vector-menu h3 span {
    font-weight: bold;
}

nav.vector-menu h3 a {
    height: 36px;
    margin-right: 8px;
}

nav.vector-menu div.vector-menu-content {
    top: 35px;
}

.vector-menu-portal .vector-menu-content,
#p-personal .vector-menu-content-list,
#footer {
    background-color: #232324;
    border: 2px #313233 solid;
}
nav.vector-menu-portal,
#p-personal {
    background-color: #232324;
    border: 2px black solid;
}

#mw-panel nav.vector-menu-portal.collapsed h3:before {
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
}

.vector-legacy-sidebar .vector-menu-portal {
	display: var(--sidebar-display, block);
    margin: 0.5em 8px 2px 6px;
    padding: 0;
}

.vector-legacy-sidebar .vector-menu-portal .vector-menu-content {
    margin-left: 0;
    padding: 0;
}

.vector-legacy-sidebar .vector-menu-portal .vector-menu-content-list {
    padding: 0.3em 0.5em;
}

div#mw-panel nav.vector-menu-portal h3 {
    background: conic-gradient(from 180deg at 2px calc(100% - 2px), #6a6b6c 90deg, transparent 0),
                conic-gradient(from 0 at calc(100% - 2px) 2px, #6a6b6c 90deg, transparent 0),
                linear-gradient(to top, #464747 2px, transparent 0px),
                linear-gradient(to bottom, #5a5b5c 2px, transparent 0px),
                linear-gradient(to left, #464747 2px, transparent 0px),
                linear-gradient(to right, #5a5b5c 2px, transparent 0px);
    background-color: #313233;
    padding: calc(0.5em + 2px);
    border-bottom: 2px solid black;
}

@media screen and (min-width: 720px) {
	div#mw-panel nav.vector-menu-portal.collapsed h3 {
	    background: conic-gradient(from 180deg at 2px calc(100% - 2px), #7c7c7d 90deg, transparent 0),
	                conic-gradient(from 0 at calc(100% - 2px) 2px, #7c7c7d 90deg, transparent 0),
	                linear-gradient(to top, #5a5b5c 2px, transparent 0),
	                linear-gradient(to bottom, #6d6d6e 2px, transparent 0),
	                linear-gradient(to left, #5a5b5c 2px, transparent 0),
	                linear-gradient(to right, #6d6d6e 2px, transparent 0);
	    background-color: #48494a;
	    padding: 0.5em calc(0.5em + 2px);
	    border-bottom: 5px solid #313233;
	}
}

.vector-legacy-sidebar .vector-menu-portal .vector-menu-heading {
    margin: 0;
}

nav.mw-portlet.emptyPortlet {
	display: none;
}

/* Uncomment this to unhide the "Navigation" header of the first sidebar box */
/* #p-logo + .mw-portlet .vector-menu-heading {
    display: block;
} */

/*#mw-panel nav.vector-menu-portal.collapsed .vector-menu-content {
    display: none;
}*/

/* Style the personal links */
#p-personal {
    right: 10px;
    top: 5px;
    margin-right: 0;
    margin-left: 10px;
}

#p-personal a {
    color: white;
}

.mw-echo-alert {
    background-color: #8e721c;
    border: 1px solid #fff;
    border-radius: 4px;
    font-weight: bold;
}

#p-personal .vector-menu-content-list {
	padding: 1px 0.5em 1px 0;
}

.vector-user-menu-legacy li {
    padding-top: 0.3em;
    padding-bottom: 0.3em;
}

#p-personal .oo-ui-icon-bell, #p-personal .mw-ui-icon-bell::before,
#p-personal .oo-ui-icon-tray, #p-personal .mw-ui-icon-tray::before {
    filter: invert(1);
}
.vector-user-menu-legacy #pt-anonuserpage,
.vector-user-menu-legacy #pt-tmpuserpage,
.vector-user-menu-legacy #pt-userpage a {
    filter: invert(1);
    padding-top: 0;
    background-size: 14px;
    background-position: unset;
}

.vector-user-menu-legacy #pt-anonuserpage span,
.vector-user-menu-legacy #pt-tmpuserpage span {
    color: lightgrey;
    filter: invert(1);
}

.vector-user-menu-legacy #pt-userpage a span {
    color: white;
    filter: invert(1);
}

.skin-vector-legacy #p-personal #pt-notifications-notice,
.skin-vector-legacy #p-personal #pt-notifications-alert {
	margin-right: 0;
}

.skin-vector-legacy #pt-notifications-notice .mw-echo-notifications-badge,
.skin-vector-legacy #pt-notifications-alert .mw-echo-notifications-badge {
    top: 0;
    width: 14px;
    height: 14px;
    background-size: 14px 14px;
    margin-right: 8px;
}

.skin-vector-legacy #pt-notifications-notice .mw-echo-notifications-badge.mw-echo-notifications-badge-all-read,
.skin-vector-legacy #pt-notifications-alert .mw-echo-notifications-badge.mw-echo-notifications-badge-all-read {
    margin-right: 2px;
}

.skin-vector-legacy #pt-notifications-notice .mw-echo-notifications-badge:after,
.skin-vector-legacy #pt-notifications-alert .mw-echo-notifications-badge:after {
    top: 4px;
    filter: invert(1);
}

/* Style the simple search */
#p-search {
	margin-left: 0;
}

#p-search form {
	position: relative;
	margin-top: 6px;
	padding: 0 4px 0 5px;
	height: 27px;
}

#simpleSearch {
	top: -3px;
	border: 0;
	border-top: 3px solid var(--simplesearch-top-border-color);
	border-left: 3px solid var(--simplesearch-left-border-color);
	background-color: #D0CFCF;
	background-image: -webkit-linear-gradient(#C3C3C3, #DBDBDB);
	background-image: linear-gradient(#C3C3C3, #DBDBDB);
	-webkit-transition: none !important;
	-moz-transition: none !important;
	transition: none !important;
}

#simpleSearch:before {
	content: "";
	position: absolute;
	bottom: 0;
	left: -3px;
	border-top: 3px solid var(--simplesearch-left-border-color);
	border-left: 3px solid var(--content-border-top-color);
	z-index: 1;
}

#simpleSearch:after {
	content: "";
	position: absolute;
	top: -3px;
	right: 0;
	border-top: 3px solid var(--simplesearch-topright-grass-color);
	border-left: 3px solid var(--simplesearch-top-border-color);
}

/* Remove border of search bar */
#simpleSearch .vector-search-box-input {
    border: none;
    border-radius: 0;
    outline: none;
    box-shadow: none;
    height: 27px;
}

.vector-search-box-input::placeholder {
	color: var(--searchinput-placeholder-color);
}

/* Style the simple search */
#p-search {
	margin-left: 0;
	width: unset;
	min-width: unset;
}

#p-search #searchform {
	position: relative;
	margin-top: 6px;
	padding: 0 4px 0 5px;
}

/* Unstyle codex search */
#p-search #searchform .cdx-text-input__input,
#p-search #searchform .cdx-search-input,
#p-search #searchform {
	background: none;
	display: block;
    border: none;
    border-radius: 0;
    outline: none;
    box-shadow: none;
    height: 27px;
}

/* Keep old vector default styles */
#p-search #searchform .cdx-search-input__input-wrapper {
    height: 100%;
    min-width: 6.5em;
    width: 20vw;
    max-width: 26em;
    margin: 0;
}

#p-search #searchform .cdx-search-input__input-wrapper {
	position: relative;
	top: -3px;
	border: 0;
	border-top: 3px solid var(--simplesearch-top-border-color);
	border-left: 3px solid var(--simplesearch-left-border-color);
	background-color: #D0CFCF;
	background-image: -webkit-linear-gradient(#C3C3C3, #DBDBDB);
	background-image: linear-gradient(#C3C3C3, #DBDBDB);
	-webkit-transition: none !important;
	-moz-transition: none !important;
	transition: none !important;
}

#p-search #searchform .cdx-search-input__input-wrapper:before {
	content: "";
	position: absolute;
	bottom: 0;
	left: -3px;
	border-top: 3px solid var(--simplesearch-left-border-color);
	border-left: 3px solid var(--content-border-top-color);
	z-index: 1;
}

#p-search #searchform .cdx-search-input__input-wrapper:after {
	content: "";
	position: absolute;
	top: -3px;
	right: 0;
	border-top: 3px solid var(--simplesearch-topright-grass-color);
	border-left: 3px solid var(--simplesearch-top-border-color);
}

#p-search #searchform .cdx-text-input__input {
    background-color: rgba(255, 255, 255, 0.5);
    color: #000;
    min-height: unset;
    padding: 5px 2.15384615em 5px 0.4em;
}

#p-search #searchform .cdx-text-input__input::placeholder {
	color: var(--searchinput-placeholder-color);
}

#p-search #searchform .cdx-search-input__end-button {
	display: block;
    position: absolute;
    top: 1px;
    bottom: 1px;
    right: 1px;
    min-width: 28px;
    width: 2.15384615em;
    border: 0;
    padding: 0;
    cursor: pointer;
    direction: ltr;
    text-indent: -99999px;
    white-space: nowrap;
    overflow: hidden;
    z-index: 1;
    background: no-repeat center / 1.23076923em url(/skins/Vector/resources/skins.vector.styles.legacy/images/search.svg?ac00d);
    opacity: 0.67;
    margin: 0;
    min-height: unset;
}

#p-search #searchform > .cdx-search-input__end-button {
	right: 5px;
}

/* The suggestions shown under the search bar */
#p-search #searchform .cdx-menu {
	background-color: #DBDADA;
    border-color: #3C3B3B;
    box-shadow: none;
}

#p-search #searchform .cdx-menu--has-footer .cdx-menu-item:last-of-type:not(:first-of-type) {
    border-color: #3C3B3B;
}

#p-search #searchform .cdx-menu-item--highlighted {
	background-color: #0078D7;
}

#p-search #searchform .cdx-menu-item--highlighted .cdx-typeahead-search__search-footer__icon,
#p-search #searchform .cdx-menu-item--highlighted .cdx-menu-item__text__supporting-text,
#p-search #searchform .cdx-menu-item--highlighted .cdx-menu-item__text__description,
#p-search #searchform .cdx-menu-item--highlighted .cdx-menu-item__content,
#p-search #searchform .cdx-menu-item--highlighted {
	color: #fff;
}

#p-search #searchform .cdx-thumbnail__placeholder,
#p-search #searchform .cdx-thumbnail__image {
	background-color: #f8f9fa;
}

/* Fix placeholder text being too light in chrome */
::-webkit-input-placeholder {
	color: inherit;
	opacity: 0.54;
}

/* The suggestions shown under the search bar */
.suggestions.searchbar {
	margin-right: -1px;
}

.suggestions.searchbar > .suggestions-results,
.suggestions.searchbar > .mw-searchSuggest-link {
	display: block;
	margin-left: 1px;
}

.suggestions.searchbar .suggestions-results,
.suggestions.searchbar .suggestions-special,
.suggestions .suggestions-results,
.suggestions .suggestions-special {
	background-color: #DBDADA !important;
	border-color: #3C3B3B !important;
}

.suggestions.searchbar .suggestions-result-current,
.suggestions .suggestions-result-current {
	background-color: #0078D7 !important;
}

/* Give the main content area its healthy blue glow and add a border */
.mw-body, .parsoid-body,
div#content {
	position: relative;
	background-color: var(--content-background-color);
	border-top: 6px solid var(--content-border-top-color);
	border-bottom: 0;
	border-left: 6px solid #171717;
	word-wrap: break-word;
}

.oo-ui-windowManager-modal > .oo-ui-dialog > .oo-ui-window-frame {
	background-color: var(--content-background-color);
}

/* Add the 3D corners to the main content */
#mw-page-base::after {
	content: "";
	position: absolute;
	border-top: 6px solid var(--content-border-top-right-color);
	border-left: 6px solid var(--content-border-top-color);
	z-index: 1;
	top: 84px;
	right: 10px;
}

#content:after {
	content: "";
	position: absolute;
	border-top: 6px solid transparent;
	border-left: 6px solid var(--base-background-color);
    left: -6px;
    bottom: 0;
}

#footer {
    outline: 2px black solid;
    border-width: 4px;
    outline-offset: -2px;
    margin-left: calc(10em + 4px);
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 0.5em 0.75em;
}

#footer:after {
    content: '';
    clear: both;
    display: block;
}

@media screen and (min-width: 982px) {
	/* Position the footer */
	#footer {
	    margin-left: calc(11em + 4px);
	}
}

/* Fix positioning for small screens when the sidebar moves below the content */
@media screen and (max-width: 720px) {
	/* Add some margin to help with the 3D effect */
	#left-navigation,
	#content {
		margin-left: 10px;
	}
	#footer {
		margin-left: 8px;
	}
	#footer:before {
	    content: none;
	}
	/* Position the tabs */
	#left-navigation,
	#right-navigation {
		margin-top: 40px;
	}
	/* Position the personal links */
	#p-personal {
	    top: -8px;
	}
	/* Position the sidebar sections */
	div#mw-navigation div#mw-panel {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-evenly;
		width: 100%;
	}
	.vector-legacy-sidebar .vector-menu-portal {
		width: 142px;
		flex-shrink: 0;
		display: var(--sidebar-display, flex);
	    flex-direction: column;
	}
	.vector-legacy-sidebar .vector-menu-portal .vector-menu-content {
		flex-grow: 1;
		display: block !important;
	}
	#mw-panel nav.vector-menu-portal.collapsed h3:before {
	    -webkit-transform: rotate(0deg);
	    transform: rotate(0deg);
	}
}

.mw-dismissable-notice-close .dismiss-icon svg {
	fill: var(--content-text-color);
}

/* Use black bullet points, instead of blue circles: [[File:List bullet.svg]] */
ul {
	list-style-image: var(--list-bullet);
}

/* Various styling for message boxes, based on colours/styling from [[Template:Msgbox]] */
div.mw-warning-with-logexcerpt,
.errorbox,
.warningbox,
.successbox {
    padding: .4em .8em;
    margin-bottom: 1em;
    border: 1px solid #CCC;
}

div.mw-warning-with-logexcerpt,
.errorbox {
    background: #FDD;
    border-left: 4px solid #FAA;
}

.warningbox {
    background: #FFC;
    border-left: 4px solid #DD8;
}

.successbox {
    background: #DFD;
    border-left: 4px solid #9C9;
}

.successbox strong p {
    margin: 0;
}

/* Add white background to some areas */
#asirra_ChallengeTableDiv {
	background-color: #FFF;
}

/* Fix diff area styling */
table.diff {
	background-color: transparent;
}

td.diff-addedline,
td.diff-deletedline {
	background-color: #F9F9F9;
}

td.diff-context {
	background-color: #F3F3F3;
}

td.diff-addedline,
td.diff-deletedline,
td.diff-context,
td.diff-addedline .diffchange,
td.diff-deletedline .diffchange {
	border-radius: 0;
}

/* Fix side-by-side editor background colour */
.wikiEditor-ui-controls {
	background-color: #E6EFF4;
	border-right: 1px solid #E6EFF4;
}

/* Style notifications to look like achievements: [[File:Achievement background.png]] */
body .mw-notification-area-layout {
	top: 80px;
}

body .mw-notification.mw-notification-type-success,
body .mw-notification.mw-notification-type-error,
body .mw-notification.mw-notification-type-warn,
body .mw-notification {
	border: 8px solid #555;
	border-radius: 0;
	-webkit-border-image: url('filepath://Achievement_background.png') 8 repeat;
	-moz-border-image: url('filepath://Achievement_background.png') 8 repeat;
	-o-border-image: url('filepath://Achievement_background.png') 8 repeat;
	border-image: url('filepath://Achievement_background.png') 8 fill repeat;
	box-shadow: none;
	background-color: #212121;
	background-clip: padding-box;
	color: #FFF;
	padding: 0.2em 0.4em;
}

body .mw-notification.mw-notification-type-success {
    color: #2d6;
}
body .mw-notification.mw-notification-type-error {
    color: #d33;
}
body .mw-notification.mw-notification-type-warn {
    color: #fc3;
}

/* HiDPI images */
@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 1.5dppx) {
	body {
    	background-image: var(--header-background-hidpi), var(--base-background-hidpi);
	}
	
	.mw-wiki-logo {
		background-image: var(--wiki-logo-hidpi);
		background-size: 8.4375em auto; /* 135px */
	}
	
	nav.vector-menu-tabs ul li,
	nav.vector-menu-tabs ul li.selected,
	nav.vector-menu-tabs ul li:hover,
	nav.vector-menu-tabs ul li:focus,
	nav.vector-menu-dropdown,
	nav.vector-menu-dropdown:hover,
	nav.vector-menu-dropdown:focus {
		--ca-background-image: var(--vector-tabs-hidpi);
		background-size: 262px auto, auto;
	}
	
	nav.vector-menu-tabs ul li:before,
	nav.vector-menu-dropdown:before {
		background-size: 262px auto;
	}
	
	#left-navigation nav.vector-menu-tabs li:first-child:before {
		background-image: var(--vector-tabs-first-hidpi);
		background-size: 6px auto;
	}
}

.wikiEditor-ui .oo-ui-toolbar-popups {
    right: 0;
}
.wikiEditor-ui .ve-init-mw-switchPopupWidget,
.wikiEditor-ui .oo-ui-popupToolGroup-tools {
    right: 0 !important;
    left: unset !important;
}
.wikiEditor-ui .ve-init-mw-switchPopupWidget .oo-ui-popupWidget-anchor {
	margin-left: calc(100% - 1.25em);
    left: unset !important;
}
.wikiEditor-ui .ext-WikiEditor-realtimepreview-button > a.oo-ui-buttonElement-button {
	display: flex;
	align-items: center;
}

body.rootpage-Minecraft_Wiki #firstHeading,
body.rootpage-Movie_Wiki #firstHeading,
body.rootpage-Dungeons_Wiki #firstHeading,
body.rootpage-Legends_Wiki #firstHeading,
body.rootpage-Story_Mode_Wiki #firstHeading,
body.rootpage-Earth_Wiki #firstHeading {
	display: none;
}

body.rootpage-Minecraft_Wiki #bodyContent,
body.rootpage-Movie_Wiki #bodyContent,
body.rootpage-Dungeons_Wiki #bodyContent,
body.rootpage-Legends_Wiki #bodyContent,
body.rootpage-Story_Mode_Wiki #bodyContent,
body.rootpage-Earth_Wiki #bodyContent {
	clear: both;
}

body.rootpage-Minecraft_Wiki .mw-indicators,
body.rootpage-Movie_Wiki .mw-indicators,
body.rootpage-Dungeons_Wiki .mw-indicators,
body.rootpage-Legends_Wiki .mw-indicators,
body.rootpage-Story_Mode_Wiki .mw-indicators,
body.rootpage-Earth_Wiki .mw-indicators {
	height: 0;
	top: -15px;
}

/* [[File:Wiki Discord.svg]] */
div#mw-panel nav.portal li a[href="https://discord.gg/fGdE5ZE"] {
    display: inline-block;
    position: relative;
    height: 20px;
    width: 119px;
    margin: 0.25em;
    max-width: 100%;
}
div#mw-panel nav.portal li a[href="https://discord.gg/fGdE5ZE"]::before {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: -0.25em;
    content: "";
    background: url('filepath://Wiki_Discord.svg') no-repeat;
    background-size: contain;
}

#n-in-Minecraft,
#n-in-Dungeons,
#n-in-Earth,
#n-in-Legends,
#n-in-Story-Mode,
#n-in-Tutorial,
#n-in-Movie,
#p-Recent_versions li {
	margin-left: 10px;
	display: var(--sidebar-display, list-item);
}

.ns-0 #n-randompage, .ns-1 #n-randompage,
.ns-10000 #n-randompage, .ns-10001 #n-randompage,
.ns-10002 #n-randompage, .ns-10003 #n-randompage,
.ns-10004 #n-randompage, .ns-10005 #n-randompage,
.ns-10006 #n-randompage, .ns-10007 #n-randompage,
.ns-10010 #n-randompage, .ns-10011 #n-randompage,
.ns-10012 #n-randompage, .ns-10013 #n-randompage,
#p-Recent_versions #n-Bedrock-Edition,
#p-Recent_versions #n-Java-Edition {
	margin-left: 0;
	font-weight: bold;
}

body.rootpage-Minecraft_Wiki #n-randompage {
	font-weight: normal;
}

body.rootpage-Minecraft_Wiki #n-in-Minecraft,
#n-in-Minecraft {
	--sidebar-display: none;
}
.ns-0 #n-in-Minecraft,
.ns-1 #n-in-Minecraft,
#p-Recent_versions,
#p-useful-pages {
	--sidebar-display: var(--sidebar-display-minecraft);
}

#n-in-Dungeons,
#p-useful-pages-dungeons {
	--sidebar-display: var(--sidebar-display-dungeons);
}

#n-in-Earth,
#p-useful-pages-earth {
	--sidebar-display: var(--sidebar-display-earth);
}

#n-in-Legends,
#p-useful-pages-legends {
	--sidebar-display: var(--sidebar-display-legends);
}

#n-in-Story-Mode,
#p-useful-pages-story-mode {
	--sidebar-display: var(--sidebar-display-story-mode);
}

#n-in-Tutorial,
#p-useful-pages-tutorial {
	--sidebar-display: var(--sidebar-display-tutorial);
}

#n-in-Movie,
#p-useful-pages-movie {
	--sidebar-display: var(--sidebar-display-movie);
}

/* Hide mobile-only things */
.mobileonly {
	display: none;
}



/**********
		Add WikiEditor parity with VisualEditor
		And fixes for dark theme, VisualEditor and CodeEditor
**********/

/* Space that the whole editor takes */
.wikiEditor-ui .wikiEditor-ui-view {
	margin-left: -1.7em;
	margin-right: -1.7em;
	border: 0;
}
.client-js #editform > .wikiEditor-ui .wikiEditor-ui-view {
	margin-left: 0;
	margin-right: 0;
}
.client-js #editform {
	margin-left: -1.7em;
	margin-right: -1.7em;
}

/* Removes border from the toolbar */
.wikiEditor-ui .wikiEditor-ui-top {
	border-bottom: 0;
}

/* Changes colors of the WikiEditor and VisualEditor toolbars */
.wikiEditor-ui-toolbar,
.oo-ui-toolbar-bar,
.wikiEditor-ui-toolbar .sections .section,
.ve-init-mw-desktopArticleTarget-toolbarPlaceholder-floating .ve-init-mw-desktopArticleTarget-toolbarPlaceholder-bar {
    background-color: #dddddd;
    color: #202122;
    box-shadow: 0px 3px 7px 0px rgba(163,159,159,0.15);
    border-top: 1px solid #cbcbcb;
    border-bottom: 1px solid #cbcbcb;
}

.wikiEditor-ui-toolbar .sections .section .section-advanced .section-visible {
	border-bottom: 0;
}

.oo-ui-toolbar-bar .oo-ui-toolbar-actions .oo-ui-toolbar .oo-ui-toolbar-bar {
	border-bottom: 0;
	box-shadow: none;
}

/* Changes buttons of WikiEditor to match VisualEditor's behavior */
.wikiEditor-ui-toolbar .oo-ui-buttonElement-frameless.oo-ui-iconElement > .oo-ui-buttonElement-button > .oo-ui-iconElement-icon {
    left: 10px;
}
.wikiEditor-ui-toolbar .oo-ui-buttonElement-frameless.oo-ui-iconElement > .oo-ui-buttonElement-button {
    min-width: 42px;
    min-height: 42px;
    text-align: center;
}
.wikiEditor-ui-toolbar .group .tool-select,
.wikiEditor-ui-toolbar .group .tool-select .label:after {
	height: 42px;
}
.wikiEditor-ui-toolbar .group .label {
    line-height: 39px;
	color: #202122;
}
.wikiEditor-ui-toolbar .group .tool-select .label {
    line-height: 42px;
    height: 42px;
}
.wikiEditor-ui-toolbar .tabs span.tab {
    line-height: 42px;
}
.wikiEditor-ui-toolbar .tabs span.tab a:before {
	filter: invert(0);
	height: 42px;
	left: 6px;
}
.wikiEditor-ui-toolbar .tabs span.tab a {
	height: 42px;
	color: #202122;
	padding-left: 22px;
}
.wikiEditor-ui-toolbar .tabs {
	margin: 0;
}
.ve-init-mw-editSwitch .oo-ui-popupToolGroup {
	height: 42px;
}
.ve-init-mw-editSwitch .oo-ui-popupToolGroup.oo-ui-iconElement .oo-ui-popupToolGroup-handle {
    padding-top: 42px;
}

/* Changes colors of the VisualEditor placeholder toolbar */
.ve-init-mw-desktopArticleTarget-toolbarPlaceholder-bar {
	border-bottom: 1px solid #eaecf0;
    box-shadow: 0 2px 4px 0 rgba(0,0,0,0.2);
}

/* Changes border color for separator lines on both editors */
.oo-ui-toolbar-bar,
.oo-ui-menuToolGroup,
.wikiEditor-ui .wikiEditor-ui-view,
.wikiEditor-ui-toolbar .sections .section,
.wikiEditor-ui-toolbar .group,
.wikiEditor-ui-toolbar .section-secondary .group,
.wikiEditor-ui .wikiEditor-ui-top,
.codeEditor-status-message,
.ace_print-margin {
    border-color: #cbcbcb;
}
.ace_print-margin {
    background-color: #eaecf0;
}

/* Removes a shadow under page tabs on VisualEditor */
.ve-activated .vector-menu-tabs .selected {
    box-shadow: none;
}

/* Improves a bit text on the exit without saving changes menu on VisualEditor */
.oo-ui-messageDialog-title {
    color: #1e1e1e;
    font-weight: bold;
}

/* Improves labels on the character insertion menu on VisualEditor */
.ve-ui-specialCharacterPage h3,
.ve-ui-mwLatexDialog-content .oo-ui-bookletLayout-stackLayout h3 {
    font-weight: bold;
}

/* Changes the color of the highlighting icons' background */
	/* Hovering */
.tool.oo-ui-buttonElement-frameless.oo-ui-iconElement > .oo-ui-buttonElement-button:is(:hover, :focus-within),
.wikiEditor-ui-toolbar .group .tool-select .menu .options .option:is(:hover, :focus-within),
.wikiEditor-ui-toolbar .tabs span.tab a:is(:hover, :focus-within),
.wikiEditor-ui-toolbar .group div.tool.tool-select a.label:is(:hover, :focus-within),
.wikiEditor-ui-toolbar .page-characters div span:hover,
.wikiEditor-ui-toolbar .booklet > .index > :hover,
.wikiEditor-ui-toolbar .page-characters div .wikiEditor-character-highlighted,
.oo-ui-tool.oo-ui-widget-enabled > .oo-ui-tool-link:hover {
	background-color: #ebebeb;
	color: #202122;
	text-decoration: none;
}
	/* Active */
.oo-ui-toggleButtonWidget.oo-ui-widget-enabled.oo-ui-buttonElement-frameless.oo-ui-toggleWidget-on .oo-ui-buttonElement-button,
.wikiEditor-ui-toolbar .tabs span.tab a.current,
.wikiEditor-ui-toolbar .group div.tool.tool-select.options-shown > a.label,
.oo-ui-popupToolGroup.oo-ui-popupToolGroup-active > .oo-ui-popupToolGroup-handle,
.oo-ui-listToolGroup-tools .oo-ui-tool.oo-ui-widget-enabled:active,
.oo-ui-outlineOptionWidget.oo-ui-optionWidget-selected,
.oo-ui-tool.oo-ui-widget-enabled > .oo-ui-tool-link:active,
.oo-ui-tool.oo-ui-widget-enabled.oo-ui-tool-active > .oo-ui-tool-link,
.wikiEditor-ui-toolbar .booklet > .index > .current {
	background-color: #dee6f3;
	color: #0645ad;
}

/* Fixes Special characters and Help menus buttons and labels */
	/* Normal */
.wikiEditor-ui-toolbar .page-characters div span {
	border: 1px solid #cbcbcb;
}

/* Fixes Help menu padding */
.wikiEditor-ui-toolbar .page-table th,
.wikiEditor-ui-toolbar .page-table td {
	padding: 4px;
}

/* Fixes Help menu colors */
.wikiEditor-ui-toolbar .page-table td {
	border-top: 1px solid #cbcbcb;
}

/* Makes a border color a bit consistent on the notice popup on VisualEditor */
.oo-ui-popupWidget-popup {
    border: 1px solid #c8ccd1;
}

/* Adds some padding at the left of the text editing section */
.mw-editform #wpTextbox1 {
	padding-left: 0.8em;
}

/* Makes the text editing section a certain color on all cases */
.wikiEditor-ui,
.CodeMirror,
.mw-editform #wpTextbox1,
.ace-tm,
.wikiEditor-ui textarea {
	background: #fbfbfb;
	box-shadow: inset 1px -4px 12px 0px rgba(0,0,0,0.15);
}

/* Makes the syntax highlighting number line more readable
.CodeMirror-linenumbers,
.ace-tm .ace_gutter {
	background: #efefef;
	border-right: 1px solid #c8ccd1;
} */

/* Adds more padding to these notices */
.mw-editTools,
.templatesUsed,
.hiddencats,
.limitreport {
	padding-left: 1.5em;
	padding-right: 1.5em;
}

/* Changes colors of the save section */
.editOptions {
	background-color: #dddddd;
    border: 0;
    padding: 1.5em;
    border-top: 1px solid #cbcbcb;
    border-bottom: 1px solid #cbcbcb;
}

/* Modifies layout of some elements of the save section */
	/* Summary section */
.mw-editform #wpSummaryLabel {
	margin: 0 1em;
}
.editOptions > #wpSummaryLabel {
	margin: 0;	
}
	/* Summary preview section */
.mw-summary-preview {
	margin: 0 1em;
}
.editOptions > .mw-summary-preview {
	margin: 0;
}
	/* Copyright notice section */
.mw-editform #editpage-copywarn {
	line-height: 1.4;
	margin-top: 5px;
}

/* Changes the edit save popup */
	/* Background transparency */
.oo-ui-windowManager-modal > .oo-ui-dialog {
	background-color: rgb(255 255 255 / 20%);
}
	/* Actual background colors */
.oo-ui-windowManager-modal.oo-ui-windowManager-floating > .oo-ui-dialog > .oo-ui-window-frame {
	border: 0;
	background-color: #fff;
}
	/* Separator line colors */
.oo-ui-messageDialog-content > .oo-ui-window-foot {
	outline: 1px solid #c8ccd1;
}
.oo-ui-messageDialog-actions-horizontal .oo-ui-actionWidget {
	border-right: 1px solid #c8ccd1;
}
	/* Cancel button colors */
.oo-ui-messageDialog-actions-horizontal .oo-ui-actionWidget:first-child > .oo-ui-buttonElement-button {
	background-color: #fff;
	color: #d33;
}
.oo-ui-messageDialog-actions-horizontal .oo-ui-actionWidget:first-child > .oo-ui-buttonElement-button:is(:hover, :focus-within) {
	background-color: #f7e7e7;
}
	/* Accept button colors */
.oo-ui-messageDialog-actions-horizontal .oo-ui-actionWidget:last-child > .oo-ui-buttonElement-button {
	background-color: #36c;
	color: #fff;
}
.oo-ui-messageDialog-actions-horizontal .oo-ui-actionWidget:last-child > .oo-ui-buttonElement-button:is(:hover, :focus-within) {
	background-color: #447ff5;
}

/* Other popups */
	/* Background transparency */
.ui-widget-overlay {
	background: rgb(255 255 255 / 20%);
}
	/* Actual background colors */
.ui-widget-content {
	border: 0;
	background: #fff;
	color: #323437;
}
	/* Input fields */
.ui-widget select {
	cursor: pointer;
}
#wikieditor-toolbar-file-target,
#wikieditor-toolbar-file-caption,
#wikieditor-toolbar-file-alt,
.ui-widget input,
.ui-widget select,
.ui-widget textarea,
.ui-widget button {
	border: 1px solid #c0c2c5;
    padding: 0.3em;
    border-radius: 3px;
}
	/* Header colors */
body .ui-dialog .ui-widget-header {
	background: #ebe9e9 !important;
	border: 0;
	font-size: 120%;
	padding: 0.6em 1.4em 0.6em !important;
	margin: 0.5em 0.5em 0;
}
	/* Turns the wrapper of the options into flex */
.wikieditor-toolbar-field-wrapper {
	display: flex;
	gap: 6px;
	align-items: center;
	flex-wrap: wrap;
}
	/* Turns the Show help text of inserting images into a button */
.wikieditor-toolbar-file-alt-help {
	background: #f7f7f7;
	border: 1px solid #c3c3c3;
	font-size: 110%;
	padding: 0.4em 1em 0.4em;
	border-radius: 2px;
	cursor: pointer;
}
.wikieditor-toolbar-file-alt-help:is(:hover, :focus-within) {
	background: #eef4ff !important;
	border-color: #afc4db !important;
}
	/* Changes colors of the bottom buttons */
.ui-dialog .ui-dialog-buttonpane button {
	background: #f7f7f7 !important;
	border-color: #c3c3c3 !important;
	font-weight: bold;
	font-size: 110%;
	color: #222222;
	padding: 0.3em;
	border-radius: 2px;
	box-shadow: none;
}
.ui-dialog .ui-dialog-buttonpane button:is(:hover, :focus-within) {
	background: #eef4ff !important;
	border-color: #afc4db !important;
}

/* Improvements for colors on Search & Replace */
#wikieditor-toolbar-replace-nomatch {
	background-color: #f3cece;
	border-radius: 4px;
	padding: 10px;
	margin-bottom: 16px;
}
#wikieditor-toolbar-replace-emptysearch {
	background-color: #e5e7bf;
	border-radius: 4px;
	padding: 10px;
	margin-bottom: 16px;
}
#wikieditor-toolbar-replace-success {
	background-color: #d6ebd2;
	border-radius: 4px;
	padding: 10px;
	margin-bottom: 16px;
}
#wikieditor-toolbar-replace-invalidregex {
	background-color: #efd6f1;
	border-radius: 4px;
	padding: 10px;
	margin-bottom: 16px;
}

/* Changes for VisualEditor's save UI */
.ve-ui-mwSaveDialog-options {
    background-color: transparent;
    border: 0;
}
.ve-ui-mwSaveDialog-summary {
    background-color: transparent;
}
.ve-ui-changeDescriptionsSelectWidget > .oo-ui-optionWidget {
    padding: 0.3em 0.6em;
    border-radius: 3px;
}




/**********
		CodeEditor (also called AceEditor) colors
		Consistency between light and dark themes
**********/
.ace-tm .ace_comment {
	color: #4a5651;
}
.ace-tm .ace_constant,
.ace-tm .ace_string {
	color: #b30106;
}
.ace-tm .ace_variable {
	color: #005671;
}
.ace-tm .ace_support.ace_type,
.ace-tm .ace_support.ace_class,
.ace-tm .ace_constant.ace_language,
.ace-tm .ace_constant.ace_library {
	color: #006612;
}
.ace-tm .ace_constant.ace_numeric,
.ace-tm .ace_storage,
.ace-tm .ace_keyword {
	color: #132be5;
}
.ace-tm .ace_support.ace_constant {
	color: #8c4100;
}
.ace-tm .ace_entity.ace_name.ace_function {
	color: #0070a7;
}
.ace-tm .ace_comment.ace_doc {
	color: #4863c1;
}




/**********
		CodeMirror (WikiEditor syntax highlighting) colors
		Consistency between light and dark themes
**********/
	/* Parser functions */
.cm-mw-parserfunction-name,
.cm-mw-parserfunction-bracket,
.cm-mw-parserfunction-delimiter {
	color: #c50000;
}
	/* Templates */
.cm-mw-template,
.cm-mw-template-name,
.cm-mw-template-argument-name,
.cm-mw-template-delimiter,
.cm-mw-template-bracket {
	color: #7500af;
}
	/* Page links */
.cm-mw-link-pagename,
.cm-mw-link-bracket,
.cm-mw-link-delimiter,
.cm-mw-extlink,
.cm-mw-free-extlink,
.cm-mw-extlink-protocol,
.cm-mw-free-extlink-protocol,
.cm-mw-extlink-bracket {
	color: #1318d5;
}
	/* Tags */
.cm-mw-mnemonic,
.cm-mw-exttag-name,
.cm-mw-htmltag-name,
.cm-mw-exttag-bracket,
.cm-mw-exttag-attribute,
.cm-mw-htmltag-bracket,
.cm-mw-htmltag-attribute {
	color: #095c00;
}
	/* Comments */
.cm-mw-comment {
	color: #59718d;
}
	/* Template variables */
.cm-mw-templatevariable,
.cm-mw-templatevariable-bracket,
.cm-mw-templatevariable-name,
.cm-mw-templatevariable-delimiter {
	color: #95580a;
}
	/* Links to sections and other formatting */
.cm-mw-list,
.cm-mw-indenting,
.cm-mw-doubleUnderscore,
.cm-mw-signature,
.cm-mw-hr,
.cm-mw-apostrophes-bold,
.cm-mw-apostrophes-italic,
.cm-mw-link,
.cm-mw-link-tosection,
.cm-mw-section-header {
	color: #0066be;
}
	/* Tables */
.cm-mw-table-bracket,
.cm-mw-table-delimiter,
.cm-mw-table-definition {
    color: #ce007f;
}
	/* Matching brackets */
.cm-mw-matchingbracket {
	background-color: #c5c54b;
}

#preferences .mw-htmlform-submit-buttons {
	background-color: var(--content-background-color);
}

/* DiscussionTools */
.ext-discussiontools-ui-replyWidget-footer,
.ext-discussiontools-init-timestamplink,
.ext-discussiontools-init-timestamplink:visited,
.ext-discussiontools-init-timestamplink:active,
.ext-discussiontools-init-pageframe-latestcomment,
.ext-discussiontools-visualenhancements-enabled .ext-discussiontools-init-section-metaitem {
	color: var(--content-secondary-text-color);
}

.mcwiki-header-grass .ext-discussiontools-init-section-subscribe > * {
	color: inherit !important;
}

.ext-discussiontools-replytool-enabled:not(.ns-4) dl,
.rootpage-Minecraft_Wiki_Admin_noticeboard dl,
.ns-10008 dl,
.ns-talk dl {
	border-left: 1px dotted #a2a9b1;
}

.ext-discussiontools-replytool-enabled:not(.ns-4) dl:has(+ dl),
.ext-discussiontools-replytool-enabled:not(.ns-4) dl dl,
.rootpage-Minecraft_Wiki_Admin_noticeboard dl:has(+ dl),
.rootpage-Minecraft_Wiki_Admin_noticeboard dl dl,
.ns-10008 dl:has(+ dl),
.ns-10008 dl dl,
.ns-talk dl:has(+ dl),
.ns-talk dl dl {
	margin-bottom: -0.5em;
	padding-bottom: 0.5em;
}

body:is(
	.ext-discussiontools-replytool-enabled:not(.ns-4),
	.rootpage-Minecraft_Wiki_Admin_noticeboard,
	.ns-10008,
	.ns-talk
) :is(dl:has(+ dl), dd) dd:last-child {
	margin-bottom: 0;
}

body:is(
	.ext-discussiontools-replytool-enabled:not(.ns-4),
	.rootpage-Minecraft_Wiki_Admin_noticeboard,
	.ns-10008,
	.ns-talk
) dd:first-child:not(:has(> dl:first-child)) {
	margin-top: 0.5em;
	padding-top: 0.5em;
	border-top: 1px dotted #a2a9b1;
}

body:is(
	.ext-discussiontools-replytool-enabled:not(.ns-4),
	.rootpage-Minecraft_Wiki_Admin_noticeboard,
	.ns-10008,
	.ns-talk
) dd:not(:last-child):has([data-mw-comment-end]) {
	margin-bottom: 0.5em;
	padding-bottom: 0.5em;
	border-bottom: 1px dotted #a2a9b1;
}

.vector-body blockquote {
    border-color: #00bb35;
    margin-left: 6px;
}