MediaWiki:Fandomdesktop.css

/* CSS placed here will be applied to the FandomDesktop skin */

/* Page header modifications */ .page-header__title { font-weight: 500; } /* Make the page header bold */ .page-header__bottom { border-bottom: 1px solid var(--theme-border-color); } /* Add bottom border */

/* Slightly remove spacing */ .page-header { margin-bottom: 7px; } .page-content p { margin-bottom: 12px; } .page-content p + p { margin-top: 12px; } .page-content .toc { margin-top: 12px; margin-bottom: 12px; }

/* Headings */ .page-content h1 { font-weight: 500; border-bottom: 1px solid var(--theme-border-color); padding: 6px 0; margin: 18px 0 9px; } .page-content h2 { margin: 16px 0 8px; } .page-content h3 { margin: 14px 0 7px; } .page-content h4 { margin: 12px 0 6px; } .page-content h5, .page-content h6 { margin: 10px 0 5px; }

/* Sets links weight from bold to inherit */ .page-content .mw-parser-output a { font-weight: inherit; }

/* Fix for the table styling, reducing line height */ .wikitable > tr > th, .wikitable > tr > td, .wikitable > * > tr > th, .wikitable > * > tr > td { padding: 0.2em 0.4em; }

/* Add invert classes for each light/dark theme on FandomDesktop */ .theme-fandomdesktop-light .invlight img, .theme-fandomdesktop-dark .invdark img { filter: invert(1); }

/* Dark theme fixes */ /* Navboxes */ .theme-fandomdesktop-dark .navbox { border-color: var(--theme-border-color); } .theme-fandomdesktop-dark .navbox, .theme-fandomdesktop-dark .navbox .navbox-subgroup .navbox-gutter, .theme-fandomdesktop-dark .navbox .navbox-image, .theme-fandomdesktop-dark .navbox .navbox-list { background-color: var(--theme-page-background-color); } .theme-fandomdesktop-dark .navbox .navbox-group, .theme-fandomdesktop-dark .navbox .navbox-image-left, .theme-fandomdesktop-dark .navbox .navbox-image-right { border-color: var(--theme-page-background-color); }

.theme-fandomdesktop-dark .navbox .navbox-title { background-color: rgba(0,0,255,.3); }

.theme-fandomdesktop-dark .navbox .navbox-above, .theme-fandomdesktop-dark .navbox .navbox-below, .theme-fandomdesktop-dark .navbox .navbox-group, .theme-fandomdesktop-dark .navbox .navbox-header { background-color: rgba(0,0,255,.2); }

.theme-fandomdesktop-dark .navbox .alt > .navbox-list { background: var(--theme-page-background-color--secondary); }

/* Dark theme bounce image */ .theme-fandomdesktop-dark .bounceme { background-color: transparent; }

/* Deleted page warning red instead of orange (Credits to Jpop Wiki) */ .warningbox { background-color: rgba(225,84,103,0.35); border-color: #e15467; }

/* Dark theme table coloring */ .theme-fandomdesktop-dark .table-yes { background-color: rgba(0,255,0,.3) !important; } .theme-fandomdesktop-dark .table-no { background-color: rgba(255,0,0,.3) !important; } .theme-fandomdesktop-dark .table-no2 { background-color: rgba(0,0,225,.2) !important; } .theme-fandomdesktop-dark .table-na { background-color: rgba(128,128,128,.3) !important; color: #E0E0E0 !important; }

/* Allow the 2023 Nickelodeon logo to be more visible on light theme (default) */ .theme-fandomdesktop-light .portable-infobox .pi-image img[data-image-name="Nickelodeon Logo (2023).svg"] { background-color: rgba(0,0,0,.2); }