MediaWiki:Fandomdesktop.css

/* Replace regular logo with the custom one - removed until new custom logos are made */ /* .rootpage-Minecraft_Dungeons .fandom-community-header__image img, .ns-10000 .fandom-community-header__image img, .ns-10001 .fandom-community-header__image img, .rootpage-Minecraft_Earth .fandom-community-header__image img, .ns-10002 .fandom-community-header__image img, .ns-10003 .fandom-community-header__image img { padding: 50px 60px; } .rootpage-Minecraft_Dungeons .fandom-community-header__image, .ns-10000 .fandom-community-header__image, .ns-10001 .fandom-community-header__image, .rootpage-Minecraft_Earth .fandom-community-header__image, .ns-10002 .fandom-community-header__image, .ns-10003 .fandom-community-header__image { background-image: var(--mcw-logo); background-repeat: no-repeat; background-size: 120px; } @media screen and (max-width: 1279px) { .rootpage-Minecraft_Dungeons .fandom-community-header__image img, .ns-10000 .fandom-community-header__image img, .ns-10001 .fandom-community-header__image img, .rootpage-Minecraft_Earth .fandom-community-header__image img, .ns-10002 .fandom-community-header__image img, .ns-10003 .fandom-community-header__image img { padding: 41px 50px; }   .rootpage-Minecraft_Dungeons .fandom-community-header__image, .ns-10000 .fandom-community-header__image, .ns-10001 .fandom-community-header__image, .rootpage-Minecraft_Earth .fandom-community-header__image, .ns-10002 .fandom-community-header__image, .ns-10003 .fandom-community-header__image { background-image: var(--mcw-logo); background-repeat: no-repeat; background-size: 100px; } } .rootpage-Minecraft_Dungeons .fandom-sticky-header__logo img, .ns-10000 .fandom-sticky-header__logo img, .ns-10001 .fandom-sticky-header__logo img, .rootpage-Minecraft_Earth .fandom-sticky-header__logo img, .ns-10002 .fandom-sticky-header__logo img, .ns-10003 .fandom-sticky-header__logo img { padding: 20px 20px; } .rootpage-Minecraft_Dungeons .fandom-sticky-header__logo, .ns-10000 .fandom-sticky-header__logo, .ns-10001 .fandom-sticky-header__logo, .rootpage-Minecraft_Earth .fandom-sticky-header__logo, .ns-10002 .fandom-sticky-header__logo, .ns-10003 .fandom-sticky-header__logo { background-image: var(--mcw-logo); background-repeat: no-repeat; background-size: 40px; margin-top: 10px; position: relative; z-index: 2; }

/* Change Minecraft Wiki line to the custom one */ .rootpage-Minecraft_Dungeons .fandom-community-header__community-name, .ns-10000 .fandom-community-header__community-name, .ns-10001 .fandom-community-header__community-name, .rootpage-Minecraft_Earth .fandom-community-header__community-name, .ns-10002 .fandom-community-header__community-name, .ns-10003 .fandom-community-header__community-name, .rootpage-Minecraft_Dungeons .fandom-sticky-header__sitename, .ns-10000 .fandom-sticky-header__sitename, .ns-10001 .fandom-sticky-header__sitename, .rootpage-Minecraft_Earth .fandom-sticky-header__sitename, .ns-10002 .fandom-sticky-header__sitename, .ns-10003 .fandom-sticky-header__sitename { text-indent: -9999px; line-height: 0; /* Collapse the original line */ } .rootpage-Minecraft_Dungeons .fandom-community-header__community-name::after, .ns-10000 .fandom-community-header__community-name::after, .ns-10001 .fandom-community-header__community-name::after, .rootpage-Minecraft_Earth .fandom-community-header__community-name::after, .ns-10002 .fandom-community-header__community-name::after, .ns-10003 .fandom-community-header__community-name::after, .rootpage-Minecraft_Dungeons .fandom-sticky-header__sitename::after, .ns-10000 .fandom-sticky-header__sitename::after, .ns-10001 .fandom-sticky-header__sitename::after, .rootpage-Minecraft_Earth .fandom-sticky-header__sitename::after, .ns-10002 .fandom-sticky-header__sitename::after, .ns-10003 .fandom-sticky-header__sitename::after { display: block; text-indent: 0; line-height: 1.25; content: var(--mcw-site-name); }

/* Add different layers of background */ html body.skin-fandomdesktop { background: var(--theme-body-background-image), var(--theme-body-background-color); background-position: 66px top; background-size: 40px; position: relative; } html body.skin-fandomdesktop:after { background: var(--mcw-deepslate); background-position: 66px top; background-size: 40px; background-clip: padding-box; border-top: 40px solid #f2000000; -o-border-image: var(--mcw-deepslate-transition) 56 0 0 0 round; border-image: var(--mcw-deepslate-transition) 56 0 0 0 round; content: ""; min-width: 768px; width: 100%; height: 50%; position: absolute; bottom: 0; z-index: -3; /* Hide the background while the site is still loading */ }

/* Add sky and grass for the header */ .fandom-community-header__background { background: var(--mcw-header-background); min-width: inherit; height: 305px; position: relative; background-position: bottom left !important; /* Force background to repeat horizontally */ background-repeat: repeat-x; margin-bottom: -305px; }

body.theme-fandomdesktop-light .fandom-community-header__background { background-size: auto, 160px, auto !important; } body.theme-fandomdesktop-dark .fandom-community-header__background { background-size: 160px, auto !important; } .fandom-community-header__background.fitCenter.fullScreen:before, .fandom-community-header__background.fitTopLeft.fullScreen:before, .fandom-community-header__background.fitTopRight.fullScreen:before, .fandom-community-header__background.header:before { background: var(--mcw-sky-base) right 6px repeat-x; position: relative; } body.theme-fandomdesktop-dark .fandom-community-header__background:before { background-size: 250px; }

/* Stone background for the sticky wiki navigation */ .fandom-sticky-header { background: linear-gradient(0deg, rgba(var(--theme-accent-color--rgb), 0.1) 0%, rgba(255, 255, 255, 0) 50%), var(--theme-body-background-image) }

/* Fix hover color on the quickbar */ .WikiaBarWrapper .tools-menu > li > a:hover { color: var(--theme-sticky-nav-text-color--hover); }

/* Main page */ .fp-section { background-color: var(--custom-main-page-background); border-color: var(--custom-main-page-border); } .edition-box .edition-box-subheader { color: var(--custom-main-page-edition-subheader) !important; } .edition-box-java, .edition-box-java .edition-box-header { background-color: var(--custom-background-green) !important; border-color: var(--custom-border-green) !important; } .edition-box-bedrock, .edition-box-bedrock .edition-box-header { background-color: var(--custom-background-red) !important; border-color: var(--custom-border-red) !important; } .edition-box-dungeons, .edition-box-dungeons .edition-box-header { background-color: var(--custom-background-yellow) !important; border-color: var(--custom-border-yellow) !important; } .edition-box-launcher, .edition-box-launcher .edition-box-header { background-color: var(--custom-background-grey) !important; border-color: var(--custom-border-grey) !important; } .edition-box-education, .edition-box-education .edition-box-header { background-color: var(--custom-background-blue) !important; border-color: var(--custom-border-blue) !important; } .edition-box-china, .edition-box-china .edition-box-header { background-color: var(--custom-background-purple) !important; border-color: var(--custom-border-purple) !important; } body.theme-fandomdesktop-dark .main-page .mcwiki-header { /* */    background-image: url(https://static.wikia.nocookie.net/minecraft_gamepedia/images/0/0a/GrassBackgroundDark.png/revision/latest?cb=20210613130609&format=original) !important; border-top-color: #1c2828 !important; border-left: 1px solid #1c2828; border-right: 1px solid #1c2828; border-bottom: 1px solid #1c2828; color: #e8e8e8 !important; }

/* Message boxes */ .msgbox { border-color: var(--theme-border-color); } .msgbox.msgbox-blue { background-color: var(--custom-background-blue-highlight); border-left-color: var(--custom-border-blue-highlight); } .msgbox.msgbox-green { background-color: var(--custom-background-green-highlight); border-left-color: var(--custom-border-green-highlight); } .msgbox.msgbox-orange { background-color: var(--custom-background-orange-highlight); border-left-color: var(--custom-border-orange-highlight); } .msgbox.msgbox-purple { background-color: var(--custom-background-purple-highlight); border-left-color: var(--custom-border-purple-highlight); } .msgbox.msgbox-red { background-color: var(--custom-background-red-highlight); border-left-color: var(--custom-border-red-highlight); } .msgbox.msgbox-yellow { background-color: var(--custom-background-yellow-highlight); border-left-color: var(--custom-border-yellow-highlight); } .msgbox.msgbox-magenta { background-color: var(--custom-background-magenta-highlight); border-left-color: var(--custom-border-magenta-highlight); } .msgbox.msgbox-gray { background-color: var(--custom-background-grey); border-left-color: var(--custom-border-grey); }

/* Infoboxes */ .notaninfobox { border-color: var(--theme-border-color); background-color: var(--custom-table-background); } .notaninfobox .mcwiki-header { background-color: var(--custom-background-blue-highlight); border: 1px solid var(--theme-border-color); } .alternaterows tr:nth-child(2n), .infobox-rows tr:nth-child(2n) { background-color: var(--custom-table-alternate-background); }

/* Navboxes */ .navbox, .navbox table { background-color: var(--custom-table-background); } .navbox th, .navbox .navbox-top, background-color: var(--custom-table-header-background) !important; } .loadbox-navbox { border-color: var(--theme-border-color) !important; background-color: var(--custom-table-background) !important; }
 * 1) content .loadbox-navbox > p {

/* Other templates */ .documentation, .documentation-header, .documentation > div[style*="background-color:#EAF4F9"] { background-color: var(--custom-background-blue) !important; border-color: var(--custom-border-blue) !important; }

table.schematic td, span.schematic { border-color: var(--theme-border-color); background-color: var(--custom-table-background); } table.wikitable .schematic tr td { padding: 0; }

/* Table choice. Written by ItsPlantseed with some adjustments for contrast * issues */ body.theme-fandomdesktop-light .tc-yes { background: #c6efce !important; } body.theme-fandomdesktop-dark .tc-yes { background: #29542c !important; } body.theme-fandomdesktop-light .tc-always { background: #5dcc5d !important; } body.theme-fandomdesktop-dark .tc-always { background: #3b533c !important; } body.theme-fandomdesktop-light .tc-no { background: #ffc7ce !important; } body.theme-fandomdesktop-dark .tc-no { background: #592c2c !important; } body.theme-fandomdesktop-light .tc-never { background: #ff8787 !important; } body.theme-fandomdesktop-dark .tc-never { background: #533b3b !important; } body.theme-fandomdesktop-light .tc-rarely { background: #fdce5e !important; } body.theme-fandomdesktop-dark .tc-rarely { background: #594f1e !important; } body.theme-fandomdesktop-light .tc-neutral { background: #ffeb9c !important; } body.theme-fandomdesktop-dark .tc-neutral { background: #5b573f !important; } body.theme-fandomdesktop-light .tc-partial { background: #ffffdd !important; } body.theme-fandomdesktop-dark .tc-partial { background: #3e3d31 !important; } body.theme-fandomdesktop-light .tc-planned { background: #dfdfff !important; } body.theme-fandomdesktop-dark .tc-planned { background: #242f2e !important; } body.theme-fandomdesktop-light .tc-unknown { background: #ccc !important; } body.theme-fandomdesktop-dark .tc-unknown { background: #364148 !important; } body.theme-fandomdesktop-light .tc-in { color: #fff; background: #040 !important; } body.theme-fandomdesktop-dark .tc-in { background: #06450a !important; } body.theme-fandomdesktop-light .tc-inem { color: #fff; background: #080 !important; } body.theme-fandomdesktop-dark .tc-inem { background: #266c29 !important; } body.theme-fandomdesktop-light .tc-out { color: #fff; background: #700 !important; } body.theme-fandomdesktop-dark .tc-out { background: #4a0a0a !important; } body.theme-fandomdesktop-light .tc-outem { color: #fff; background: #c00 !important; } body.theme-fandomdesktop-dark .tc-outem { background: #742a2a !important; } body.theme-fandomdesktop-light .tc-default { color: inherit !important; background: #fff !important; } body.theme-fandomdesktop-dark .tc-default { color: inherit !important; background: #373737 !important; } body.theme-fandomdesktop-light .tc-hyphen { background: #ffc7ce !important; } body.theme-fandomdesktop-dark .tc-hyphen { background: #352929 !important; }

/* Even *more* background colors, such as for table cells. * Written by TheSuperPlayer. */ .theme-fandomdesktop-light .page-content .general-background-gray { background-color: #bdbdbd; } .theme-fandomdesktop-dark .page-content .general-background-gray { background-color: #212121; } .theme-fandomdesktop-light .page-content .general-background-lime { background-color: #c1f792; } .theme-fandomdesktop-dark .page-content .general-background-lime { background-color: #405230; } .theme-fandomdesktop-light .page-content .general-background-yellow { background-color: #fffca6; } .theme-fandomdesktop-dark .page-content .general-background-yellow { background-color: #4d4c30; } .theme-fandomdesktop-light .page-content .general-background-cyan { background-color: #97fcf9; } .theme-fandomdesktop-dark .page-content .general-background-cyan { background-color: #426665; } .theme-fandomdesktop-light .page-content .general-background-magenta { background-color: #ffbfff; } .theme-fandomdesktop-dark .page-content .general-background-magenta { background-color: #4c374d; }

/* Dark mode support for Template:Nbt_inherit */ .theme-fandomdesktop-dark .nbttree-inherited { background: #323248; }

/* Miscellaneous changes */ /* Use table colors for the TOC */ .page-content #toc .toctitle { background-color: var(--custom-table-header-background); } .page-content #toc ul { background-color: var(--custom-table-background); }

/* Make 'code' elements more visible, by Chixvv */ .page-content code { background-color: var(--theme-page-background-color--secondary); border: 1px solid var(--theme-border-color); border-radius: 2px; padding: 1px 4px; }

/* Invert black images in dark mode */ body.theme-fandomdesktop-dark .math-image, body.theme-fandomdesktop-dark img[data-image-name="Android.svg"], body.theme-fandomdesktop-dark img[data-image-name="Apple logo.svg"], body.theme-fandomdesktop-dark img[data-image-name="MacOS.svg"], body.theme-fandomdesktop-dark img[data-image-name="MacOS logo.svg"], body.theme-fandomdesktop-dark img[data-image-name="IOS.svg"], body.theme-fandomdesktop-dark img[data-image-name="IOS logo.svg"], body.theme-fandomdesktop-dark img[data-image-name="IPadOS.svg"], body.theme-fandomdesktop-dark img[data-image-name="IPadOS logo.svg"], body.theme-fandomdesktop-dark img[data-image-name="AppleTVLogo.svg"], body.theme-fandomdesktop-dark img[data-image-name="GearVR.svg"], body.theme-fandomdesktop-dark img[data-image-name="Playstation logo.svg"], body.theme-fandomdesktop-dark img[data-image-name="PS5.svg"], body.theme-fandomdesktop-dark img[data-image-name="PS4.svg"], body.theme-fandomdesktop-dark img[data-image-name="PS3.svg"], body.theme-fandomdesktop-dark img[data-image-name="PSVita.svg"], body.theme-fandomdesktop-dark img[data-image-name="Xbox Series.svg"], body.theme-fandomdesktop-dark img[data-image-name="New Nintendo 3DS.svg"] { filter: hue-rotate(180deg) invert(100%) saturate(.6) brightness(2); }

/* Add a class to force normal line wrapping when needed */ .reset-wrap, .reset-wrap .nowrap { white-space: normal; }

/* Hydra overrides. These should be addressed when FandomDesktop is fully rolled * out. */ /* Hydra overrides for Earth/Dungeons */ .rootpage-Minecraft_Dungeons #content, .rootpage-Minecraft_Earth #content, .ns-10000 #content, .ns-10001 #content, .ns-10002 #content, .ns-10003 #content { background-color: unset; } /* Fix file TOC being light-themed */ border-color: var(--theme-border-color); background-color: var(--custom-table-background); }
 * 1) filetoc {

/* Fix JS links (such as in loadboxes) being too dark */ .jslink { color: var(--theme-link-color); }

/* Fix horizontal lists on dark theme */ background-color: var(--theme-page-text-color); height: 4px; width: 4px; border-radius: 2px; }
 * 1) mw-content-text .hlist li:not(:last-child)::after {

/* Stikitable overrides. Should probably deprecate this class given this * functionality is built into FandomDesktop. */ .stikitable > * > tr:first-child > th::after { left: unset; border-bottom: unset; }

/* FandomDesktop fixes: May be useful to check from time to time if these got * any actual fixes. */ /* Restore border collapsing for tables */ .ooui-theme-fandomooui .article-table, .ooui-theme-fandomooui .wikitable { border-collapse: collapse; background-color: var(--custom-table-background); }

/* Restore pre-FD table header text centering */ .ooui-theme-fandomooui .wikitable > tr > th, .ooui-theme-fandomooui .wikitable > * > tr > th { text-align: center; background-color: var(--custom-table-header-background); }

/* Restore pre-FD Hydra/Vector table paddings. 12px on all sides feels too much * for a desktop skin. */ .ooui-theme-fandomooui .article-table tr td, .ooui-theme-fandomooui .article-table tr th, .ooui-theme-fandomooui .wikitable tr td, .ooui-theme-fandomooui .wikitable tr th { padding: 0.2em 0.4em; }

/* Fix issues with tables using rowspan / colspan */ .ooui-theme-fandomooui .article-table tr td:first-child, .ooui-theme-fandomooui .article-table tr th:first-child, .ooui-theme-fandomooui .wikitable tr td:first-child, .ooui-theme-fandomooui .wikitable tr th:first-child { border: 1px solid var(--theme-border-color); }

/* Fix FD setting box-sizing to border-box by default, and some elements assume * the other option. */	box-sizing: content-box; }
 * 1) content .invslot {

/* Fix FD collapsing navbox borders */ .navbox, .navbox table { border-collapse: separate; border-spacing: 2px; }

/* Fix some height declarations being inappropriate with FD */ .wikiEditor-ui-toolbar .page-characters div span { height: unset; }
 * 1) msupload-dropzone,

/* Fix class name overuse */ .wikiEditor-ui-toolbar .page { margin-top: 0; }

/* Fix page history headers being broken into several lines */ div.mw-history-subtitle { display: inline-block; }

/* Fix many special page forms having no styling at all */ .mw-special-MergeHistory fieldset, .mw-special-Whatlinkshere fieldset, .mw-special-Import fieldset { border: 1px solid #2a4b8d; margin: 1em 0 1em 0; padding: 0 1em 1em; } .mw-special-MergeHistory fieldset legend, .mw-special-Whatlinkshere fieldset legend, .mw-special-Import fieldset legend { padding: 0.5em; }
 * 1) mw-abusefilter-editing-form > fieldset,
 * 2) mw-upload-form > fieldset,
 * 1) mw-abusefilter-editing-form > fieldset legend,
 * 2) mw-upload-form > fieldset legend,

/* Fix cramped infoboxes */ .infobox-rows th, .infobox-rows td { padding: 4px; }

/* Fix indentation with `:` having too much padding */ .page-content dl { margin: 0; }

/* Fix the VE/Source button messing up the 2010 editor */ .wikiEditor-ui .oo-ui-toolbar-bar { padding: 0; } .wikiEditor-ui .ve-init-mw-editSwitch .oo-ui-popupToolGroup.oo-ui-iconElement .oo-ui-popupToolGroup-handle { padding: 16px 8px; }

/* Fix arrows in enhanced recent changes */ .mw-enhancedchanges-arrow-space { height: 19px; }

/* Fix broken VE popups */ .oo-ui-popupWidget-popup { padding: 0; }

/* Fix improper notification styling on dark mode */ .mw-notification { background-color: var(--custom-background-grey); border-color: var(--custom-border-grey); color: var(--theme-page-text-color); } .mw-notification.mw-notification-type-warn { background-color: var(--custom-background-yellow-highlight); border-color: var(--custom-border-yellow-highlight); } .mw-notification.mw-notification-type-error { background-color: var(--custom-background-red-highlight); border-color: var(--custom-border-red-highlight); } body.theme-fandomdesktop-dark .postedit::after { filter: invert(100%); }

/* Fix "this document contains errors" using an inappropriate color with dark * mode */ .oo-ui-messageDialog-message { color: var(--theme-page-text-color); }

/* Fix various infobox changes (by ItsPlantseed) */ .notaninfobox { box-sizing: content-box; }

.notaninfobox .infobox-rows { word-break: break-word; }

.infobox-rows li > span, .infobox-rows .hlist > span { white-space: normal !important; word-break: break-word; }

/* Fix table alignment inheritance (once again by ItsPlantseed) */ .article-table tr td, .wikitable tr td { text-align: inherit; }

/* Fix dark theme recent changes (incl. enhanced filters) */ body.theme-fandomdesktop-dark .mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey td:not(:nth-child(-n+2)) { background-color: hsl(195, 11%, 15%); }

body.theme-fandomdesktop-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c1, body.theme-fandomdesktop-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c1 tr:first-child, body.theme-fandomdesktop-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)), body.theme-fandomdesktop-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: hsl(193, 45%, 15%); }

body.theme-fandomdesktop-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c2, body.theme-fandomdesktop-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c2 tr:first-child, body.theme-fandomdesktop-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)), body.theme-fandomdesktop-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: hsl(167, 53%, 12%); }

body.theme-fandomdesktop-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c3, body.theme-fandomdesktop-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c3 tr:first-child, body.theme-fandomdesktop-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)), body.theme-fandomdesktop-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: hsl(45, 100%, 12%); }

body.theme-fandomdesktop-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c4, body.theme-fandomdesktop-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c4 tr:first-child, body.theme-fandomdesktop-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)), body.theme-fandomdesktop-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: hsl(20, 100%, 15%); }

body.theme-fandomdesktop-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c5, body.theme-fandomdesktop-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c5 tr:first-child, body.theme-fandomdesktop-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)), body.theme-fandomdesktop-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: hsl(0, 75%, 15%); }

body.theme-fandomdesktop-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c5, body.theme-fandomdesktop-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c5 tr:first-child, body.theme-fandomdesktop-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.theme-fandomdesktop-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: hsl(30, 85%, 15%); }

body.theme-fandomdesktop-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4, body.theme-fandomdesktop-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4 tr:first-child, body.theme-fandomdesktop-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.theme-fandomdesktop-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: hsl(56, 37%, 15%); }

body.theme-fandomdesktop-dark .mw-plusminus-pos { color: hsl(120, 80%, 50%); }

body.theme-fandomdesktop-dark .mw-plusminus-neg { color: hsl(0, 90%, 70%); }

/* Fix Fandom breaking enhanced RC even further, basically giving up on the dark * theme */ body.theme-fandomdesktop-dark .mw-rcfilters-highlighted { color: var(--theme-page-text-color); } body.theme-fandomdesktop-dark .mw-rcfilters-highlighted a { color: var(--theme-link-color); } body.theme-fandomdesktop-dark .mw-rcfilters-highlighted a.new { color: var(--theme-alert-color); } body.theme-fandomdesktop-dark .unpatrolled { color: var(--theme-alert-color); } body.theme-fandomdesktop-dark .autocomment, body.theme-fandomdesktop-dark .autocomment a, body.theme-fandomdesktop-dark .autocomment a:visited { color: #92999d; }

/** Portable infobox **/ .portable-infobox { border-radius: 0; background-color: transparent; padding: 0.5rem; border-width: 2px; } .portable-infobox .pi-secondary-background { color: #fff; text-align: center; } .pi-border-color { border-color: var(--custom-infobox-header-background); } /* Arrow to collapse headings */ .pi-collapse .pi-header:first-child:after { margin-top: -2px; } .pi-collapse.pi-collapse-closed .pi-header:first-child:after { margin-top: -6px; }

/* Border for headers */ .page-content .portable-infobox h2 { box-shadow: none; background-color: var(--custom-infobox-header-background); border-top: 4px solid var(--custom-infobox-header-border-top); border-bottom: 4px solid var(--custom-infobox-header-border-bottom); border-right: 4px solid var(--custom-infobox-header-border-side); border-left: 4px solid var(--custom-infobox-header-border-side); }

/* Font size */ .portable-infobox .pi-font { font-size: 13.5px; } /* Header text position */ .page-content .portable-infobox .pi-data-label { flex-basis: 130px; font-size: 13.5px; margin-bottom: 3px; padding: 0; background-color: transparent; box-shadow: none; } .page-content .portable-infobox .pi-header { font-size: 13px; padding: 8px; /*font-family: 'minecraft';*/ border: none; margin: 4px 0; border: 2px solid var(--custom-infobox-header-border-bottom); user-select: none; } .theme-fandomdesktop-dark .page-content .portable-infobox .pi-header { border-color: var(--custom-infobox-header-border-top); } .page-content .portable-infobox .pi-header:hover { border-color: white; } .page-content .portable-infobox .pi-title { font-size: 18px; /*font-family: 'minecraft';*/ margin-bottom: 4px; } /* Title shadows */ .pi-title, .pi-secondary-background { text-shadow: 2px 2px 0 #0e4e2d; }

/* Filling for stacked infobox values */ .pi-layout-stacked .pi-data-value { padding-left: 1em; }

/* General */ .portable-infobox .pi-image-collection .wds-icon-tiny { width: 24px; min-width: 24px; height: 22px; padding: 2px; background-color: var(--custom-infobox-header-background); border: none; border-radius: 3px; color: #fff; border: 2px solid var(--custom-infobox-header-border-bottom); } .theme-fandomdesktop-dark .portable-infobox .pi-image-collection .wds-icon-tiny { border-color: var(--custom-infobox-header-border-top); } .portable-infobox .pi-image-collection .wds-icon-tiny:hover { border-color: white; } .portable-infobox .pi-image-collection .wds-tabs__wrapper.both-arrows-visible .wds-tabs__arrow-left, .portable-infobox .pi-image-collection .wds-tabs__wrapper.both-arrows-visible .wds-tabs__arrow-right, .portable-infobox .pi-image-collection .wds-tabs__wrapper.right-arrow-visible .wds-tabs__arrow-right, .portable-infobox .pi-image-collection .wds-tabs__wrapper.left-arrow-visible .wds-tabs__arrow-left { margin: 4px; } .portable-infobox nav.pi-navigation.pi-item-spacing.pi-secondary-font { text-align: center; padding: 8px; } .portable-infobox .pi-image { padding: 10px 20px 10px 20px; margin-top: 6px; margin-bottom: 2px; } .portable-infobox .pi-image img { -webkit-filter: drop-shadow(0 0 5px rgba(0,0,0,.4)); filter: drop-shadow(0 0 5px rgba(0,0,0,.4)); } .theme-fandomdesktop-dark .portable-infobox .pi-image img { -webkit-filter: drop-shadow(0 0 5px rgba(195, 195, 195, 0.4)); filter: drop-shadow(0 0 5px rgba(195, 195, 195, 0.4)); } /* Invert tool required icons in dark theme */ .theme-fandomdesktop-dark .portable-infobox .slot-axe-required-sprite { filter: invert(1); }