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 between elements */ .page-header { margin-bottom: 7px; } .page-content p { margin-bottom: 8px; } .page-content p + p { margin-top: 8px; } .page-content .toc { margin-top: 8px; margin-bottom: 8px; } .page-content ol, .page-content ul { margin-top: 0; margin-bottom: 0; } .page-content .mw-highlight { margin-top: 5px; }

/* Syntax highlighting */ .mw-highlight pre { background-color: var(--theme-page-background-color--secondary); border: none; border-radius: 10px; } .mw-content-ltr.mw-highlight-lines pre, .mw-content-ltr.content .mw-highlight-lines pre, .mw-content-rtl.mw-highlight-lines pre, .mw-content-rtl.content .mw-highlight-lines pre { background-color: var(--theme-page-background-color--secondary); } .mw-content-ltr.mw-highlight-lines pre, .mw-content-ltr.content .mw-highlight-lines pre { box-shadow: inset 2.75em 0 0 var(--theme-page-background-color--secondary); } .mw-content-rtl.mw-highlight-lines pre, .mw-content-rtl.content .mw-highlight-lines pre { box-shadow: inset -2.75em 0 0 var(--theme-page-background-color--secondary); } .theme-fandomdesktop-dark .mw-highlight a:hover .linenos, .theme-fandomdesktop-dark .mw-highlight a:focus .linenos { color: var(--theme-page-text-color); } .mw-highlight a .linenos { transition: color .3s; }

/* Restoring external link icons */ .mw-parser-output :not(.plainlinks) a.external::after { content: ""; mask-image: url("data:image/svg+xml,%3Csvg fill='%23000000' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 72 72' width='16px' height='16px'%3E%3Cpath d='M 43 12 C 40.791 12 39 13.791 39 16 C 39 18.209 40.791 20 43 20 L 46.34375 20 L 35.171875 31.171875 C 33.609875 32.733875 33.609875 35.266125 35.171875 36.828125 C 35.951875 37.608125 36.977 38 38 38 C 39.023 38 40.048125 37.608125 40.828125 36.828125 L 52 25.65625 L 52 29 C 52 31.209 53.791 33 56 33 C 58.209 33 60 31.209 60 29 L 60 16 C 60 13.791 58.209 12 56 12 L 43 12 z M 23 14 C 18.037 14 14 18.038 14 23 L 14 49 C 14 53.962 18.037 58 23 58 L 49 58 C 53.963 58 58 53.962 58 49 L 58 41 C 58 38.791 56.209 37 54 37 C 51.791 37 50 38.791 50 41 L 50 49 C 50 49.551 49.552 50 49 50 L 23 50 C 22.448 50 22 49.551 22 49 L 22 23 C 22 22.449 22.448 22 23 22 L 31 22 C 33.209 22 35 20.209 35 18 C 35 15.791 33.209 14 31 14 L 23 14 z'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg fill='%23000000' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 72 70' width='17px' height='17px'%3E%3Cpath d='M 43 12 C 40.791 12 39 13.791 39 16 C 39 18.209 40.791 20 43 20 L 46.34375 20 L 35.171875 31.171875 C 33.609875 32.733875 33.609875 35.266125 35.171875 36.828125 C 35.951875 37.608125 36.977 38 38 38 C 39.023 38 40.048125 37.608125 40.828125 36.828125 L 52 25.65625 L 52 29 C 52 31.209 53.791 33 56 33 C 58.209 33 60 31.209 60 29 L 60 16 C 60 13.791 58.209 12 56 12 L 43 12 z M 23 14 C 18.037 14 14 18.038 14 23 L 14 49 C 14 53.962 18.037 58 23 58 L 49 58 C 53.963 58 58 53.962 58 49 L 58 41 C 58 38.791 56.209 37 54 37 C 51.791 37 50 38.791 50 41 L 50 49 C 50 49.551 49.552 50 49 50 L 23 50 C 22.448 50 22 49.551 22 49 L 22 23 C 22 22.449 22.448 22 23 22 L 31 22 C 33.209 22 35 20.209 35 18 C 35 15.791 33.209 14 31 14 L 23 14 z'/%3E%3C/svg%3E"); background-color: var(--theme-link-color); padding-right: 17px; }

/* Table of contents */ .toc { background-color: var(--theme-page-background-color--secondary); border-radius: 10px; border: none; }

/* 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, .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); }

/* ===== BEGIN USER INTERFACE CSS HERE (BETA) ===== */

/* Sitenotice settings*/ .sitenotice { border-radius: 10px; padding-left: 18px; } .sitenotice:before { width: 0; }

/* Add the logo before the Wiki's name */ .sitenotice__header { position: relative; } .sitenotice__title { padding-left: 22px; } .sitenotice__title:before { background: url('/wiki/Special:FilePath/Mickey Head Logo February 2023.svg') no-repeat; width: 16px; height: 13px; display: block; content: ""; position: absolute; left: 0; top: 0; } /* Bottom banner notifications */ .wds-banner-notification, .wds-banner-notification .wds-banner-notification__text, .wds-banner-notification .wds-banner-notification__close { border: none; } .wds-banner-notification { border-radius: 10px; } .wds-banner-notification { background-color: var(--theme-page-background-color); box-shadow: 0 3px 12px 0 rgba(0,0,0,.3); } .wds-banner-notification .wds-banner-notification__text a { color: var(--theme-link-color); } .wds-banner-notification .wds-banner-notification__text a:hover { color: var(--theme-link-color--hover); }

/* Editor notifications */ .postedit-container { right: 0; left: auto; } .postedit-container .postedit { top: 60px; color: var(--theme-success-color); background-color: var(--theme-page-background-color); border-radius: 10px; border: none; margin: 0; padding: 9px 18px; box-shadow: 0 3px 12px 0 rgba(0,0,0,.3); font-weight: normal; max-width: 672px; } .postedit-container .postedit:after { display: none; } .postedit-container .postedit .postedit-content { line-height: inherit; }

/* White text on dark theme */ .theme-fandomdesktop-dark .postedit-container .postedit { color: white; }

/* Dropdowns */ .wds-dropdown { --wds-dropdown-background-color: var(--theme-page-background-color); } .wds-dropdown__content { box-shadow: 0 3px 12px 0 rgba(0,0,0,.3); border: none; border-radius: 10px; } .wds-dropdown:before { border: none; } .wds-dropdown__content .wds-list.wds-is-linked .wds-dropdown-level-nested .wds-dropdown-level-nested__content { box-shadow: 0 3px 12px 0 rgba(0,0,0,.3); border: none; border-radius: 10px; }

/* Restore Fandom defaults, see Customization policy */ .global-navigation .wds-dropdown__content { border-radius: 3px; border: 1px solid var(--wds-dropdown-border-color); } .global-navigation .wds-dropdown:before { border-width: 9px; border-style: solid; border-color: transparent var(--wds-dropdown-border-color) transparent transparent; }

/* Make the right rail the same color as the page container */ .page__main, .page__right-rail, background-color: var(--theme-page-background-color); } .page__right-rail .rail-module { background-color: transparent; }
 * 1) mixed-content-footer {

/* Toolbar */ .WikiaBarWrapper { box-shadow: 0 3px 12px 0 rgba(0,0,0,.3); background-color: var(--theme-page-background-color); } .WikiaBarWrapper .tools .wds-dropdown__toggle > a, .WikiaBarWrapper .tools > li > a, .WikiaBarWrapper .wikia-bar .wikiabar-button, .WikiaBarWrapper .wikia-bar .message a, .WikiaBarWrapper .wds-icon { color: var(--theme-page-text-color); } .WikiaBarWrapper .arrow .close-icon { background-color: var(--theme-page-text-color); color: var(--theme-page-background-color); }

.WikiaBarCollapseWrapper .wikia-bar-collapse { box-shadow: 0 3px 12px 0 rgba(0,0,0,.3); background-color: var(--theme-page-background-color); color: var(--theme-page-text-color); }

/* Side tools */ .page-side-tools .page-side-tool { background-color: var(--theme-page-background-color); }

/* Tooltips and popovers */ .wds-tooltip { --wds-tooltip-background-color: var(--theme-page-background-color); border-radius: 6px; } .popover { border-radius: 6px; background-color: var(--theme-page-background-color); font-family: 'Rubik', 'Helvetica', 'Arial', sans-serif; } .popover-body { color: var(--theme-page-text-color); } .bs-popover-top.popover .arrow:after { border-top-color: var(--theme-page-background-color); } .bs-popover-right.popover > .arrow:after { border-right-color: var(--theme-page-background-color); } .bs-popover-bottom.popover > .arrow:after { border-bottom-color: var(--theme-page-background-color); } .bs-popover-left.popover > .arrow:after { border-left-color: var(--theme-page-background-color); }=

/* ===== END USER INTERFACE CSS HERE ===== */