MediaWiki:Fandomdesktop.css

/* *******<<<< FandomDesktop Customization >>>>******* */

/* Dark-Mode Infobox */ .theme-fandomdesktop-dark .pi-background { background-color: #323c3c !important; border: 2px solid #e6e6e6 !important; } /* Dark-Mode Characters List */ .theme-fandomdesktop-dark #char-name-box { background: #323c3c !important; text-shadow: 1px 1px 1px black, 2px 2px 3px white, -1px -1px 3px white !important; } /* Dark-Mode Navbox */ .row-template-box { background-color: var(--theme-page-background-color); color:var(--theme-page-text-color); } .theme-fandomdesktop-dark .navbox-head { border-color: #e6e6e6 !important; } /* Dark-Mode Twitter Extension */ .theme-fandomdesktop-dark .twitter-box { background-color:#f2f2f2 !important; } /* Auto Bottom Border for Class-less, Id-less, Single-Rowed Tables (since FandomDesktop set borderless table by Default) */ tbody:not([class]):not([id]) tr:not(:only-child) td:not([class]):not([id]):not(:only-child) { border-bottom: 1px dashed var(--theme-page-text-color); } /* Community Header Image Drop-Shadows */ .fandom-community-header__image { filter: drop-shadow(2px 4px 6px black); } /* Community Header Title (Community Name) Drop-Shadows */ .fandom-community-header__community-name { filter: drop-shadow(2px 4px 6px black); } /* Community Header Local Navigations' Drop-Shadows */ .wds-tabs__tab-label.wds-dropdown__toggle.first-level-item { filter: drop-shadow(2px 4px 6px black); } /* Community Header Buttons' Box Shadows */ .fandom-community-header__top-container .wiki-tools .wds-button.wds-is-secondary { box-shadow: 1px 1px 0px black; } /* CH Buttons' Icons Drop-Shadows */ .fandom-community-header__top-container .wds-icon.wds-icon-small { filter: drop-shadow(1px 2px 0px black); }

/* Scaling Down Main Page Slider Gallery Size to Fit the Available Space*/ .mainpage .fandom-slider { width: 590px; }

/* Dark-Mode Background Customization */ .theme-fandomdesktop-dark .fandom-community-header__background { background-size: cover; background-position: 50% 82%; }

/* Twitter Ext's Light and Dark Modes */ .theme-fandomdesktop-dark .twitter-light { display: none; } .theme-fandomdesktop-dark .twitter-dark { display: contents !important; }

/* Setting Edit Preview Text Color to Match the Theme Page Text Color */

.oo-ui-dialog-content {

color: var(--theme-page-text-color);

} /* Centers the gallery's image captions */

.gallerytext {

text-align: center !important;

}

/* Removing the extra spaces between Interwiki Templates in the Main Page */

.mainpage .mw-parser-output>.mw-parser-output>p {

display: none;

}

/* Removing the extra spaces between Local Templates in the Main Page */

.mainpage .rcs-container>p {

display: none;

}

/* Auto-Underline for bolded, italicized characters in chapter pages */

body[class*="page-Ch_"] h2~div i b,

body[class*="page-Vol_2_Ch_"] h2~div i b,

body[class*="page-Vol_3_Ch_"] h2~div i b,

body[class*="page-Vol_4_Ch_"] h2~div i b,

body[class*="page-Vol_5_Ch_"] h2~div i b { text-decoration: underline; }

/* Resizeable File Page Images */ .fullImageLink img { height: auto; max-width: 100%; }

/* Protected Page Source Code Area */ textarea { background: var(--theme-page-background-color--secondary); color: var(--theme-page-text-color); }

/*ToC Customization*/ .mw-parser-output .toc .toctitle { min-width: initial !important; } body.theme-fandomdesktop-light { --theme-community-header-color: #FFFFFF; }