MediaWiki:Fandomdesktop.css

/*************/ /* Variables */ /*************/

/* Light Mode */ body.theme-fandomdesktop-light{ --dmk-page-background-shift:#eaeaef; --dmk-page-background-shift2:#d5d6e4; --dmk-pi-tab-active:#f9f9f9; --dmk-table-background:#fff; --dmk-table-background-green:#B5D39B; --dmk-table-background-red:#D39B9B; --dmk-navbox1-background:#AFB7FF; --dmk-navbox2-background:#C5CBFF; --dmk-navbox3-background:#E0E3FF; --dmk-image-background-shadow:#444; --dmk-gallery-background:#e5e5ea; --dmk-gallery-border:#777788; } /* Dark Mode */ body.theme-fandomdesktop-dark{ --dmk-page-background-shift:#303030; --dmk-page-background-shift2:#424242; --dmk-pi-tab-active:#424242; --dmk-table-background:#303030; --dmk-table-background-green:#34562D; --dmk-table-background-red:#611717; --dmk-navbox1-background:#161616; --dmk-navbox2-background:#242424; --dmk-navbox3-background:#2B2B2B; --dmk-image-background-shadow:#ccc; --dmk-gallery-background:#2d2f34; --dmk-gallery-border:#4c4f57; }

/* Link Text */ body.theme-fandomdesktop-dark .mw-parser-output a { font-weight:400; }

/********************/ /* Main Page Slider */ /********************/ .fandom-slider { background: transparent; border:none; filter: drop-shadow(0 0 5px var(--dmk-image-background-shadow)); } .fandom-slider .gallerybox img { max-height: 360px; width: auto; } .wikia-slideshow { background: transparent; border:none; filter: drop-shadow(0 0 5px var(--dmk-image-background-shadow)); } .wikia-slideshow .image.link-internal { color: white; }

/**********/ /* Tables */ /**********/

.article-table tr th { border-top:none ; border-right:none ; border-left:none ; padding: 10px; }

.article-table tr td { border-top:none ; border-right:none ; border-left:none ; padding: 7px; background-color: var(--theme-page-background-color); }

.article-table tr td[align="center"], .article-table tr th[align="center"] { text-align: center; }

table.notice.metadata a { color: white; }

/* Land/Map Tables */ table td.locked { background-color: var(--dmk-table-background-red); } table td.optional { background-color: var(--dmk-table-background-green); }

/* Card Tables */ table.card a { color: white; } table.card.old a { color: #2c618f; }

table.card.default td { background-image: url("https://static.wikia.nocookie.net/disneymagicalkingdoms/images/5/59/Card.png/revision/latest?cb=20220309145242") !important; } table.card.old td { background-image: url("https://static.wikia.nocookie.net/disneymagicalkingdoms/images/5/57/Card-old.png/revision/latest?cb=20220227135422") !important; color: #2c618f; text-shadow: none; } table.card.ms td { background-image: url("https://static.wikia.nocookie.net/disneymagicalkingdoms/images/5/5a/Card-ms.png/revision/latest?cb=20220227135413") !important; } table.card.tsunknown td { background-image: url("https://static.wikia.nocookie.net/disneymagicalkingdoms/images/a/a1/Card-ts.png/revision/latest?cb=20220227095529") !important; } table.card.tscommon td { background-image: url("https://static.wikia.nocookie.net/disneymagicalkingdoms/images/1/13/Card-ts-common.png/revision/latest?cb=20220227095533") !important; } table.card.tsuncommon td { background-image: url("https://static.wikia.nocookie.net/disneymagicalkingdoms/images/7/72/Card-ts-uncommon.png/revision/latest?cb=20220227095551") !important; } table.card.tsrare td { background-image: url("https://static.wikia.nocookie.net/disneymagicalkingdoms/images/0/01/Card-ts-rare.png/revision/latest?cb=20220227095547") !important; } table.card.tsepic td { background-image: url("https://static.wikia.nocookie.net/disneymagicalkingdoms/images/1/1c/Card-ts-epic.png/revision/latest?cb=20220227095538") !important; } table.card.tslegendary td { background-image: url("https://static.wikia.nocookie.net/disneymagicalkingdoms/images/3/3a/Card-ts-legendary.png/revision/latest?cb=20220227095542") !important; }

table.card.ttc td { background-image: url("https://static.wikia.nocookie.net/disneymagicalkingdoms/images/1/18/Card-ttc.png/revision/latest?cb=20220127203826") !important; } table.card.ti td { background-image: url("https://static.wikia.nocookie.net/disneymagicalkingdoms/images/b/b1/Card-ti.png/revision/latest?cb=20220227095524") !important; } table.card.nbc td { background-image: url("https://static.wikia.nocookie.net/disneymagicalkingdoms/images/d/d1/Card-nbc.png/revision/latest?cb=20220227095519") !important; } table.card.frozen td { background-image: url("https://static.wikia.nocookie.net/disneymagicalkingdoms/images/f/f5/Card-frozen.png/revision/latest?cb=20220227095452") !important; } table.card.mulan td { background-image: url("https://static.wikia.nocookie.net/disneymagicalkingdoms/images/d/d1/Card-mulan.png/revision/latest?cb=20220227095518") !important; } table.card.batb td { background-image: url("https://static.wikia.nocookie.net/disneymagicalkingdoms/images/7/75/Card-batb.png/revision/latest?cb=20220227095447") !important; } table.card.tlk td { background-image: url("https://static.wikia.nocookie.net/disneymagicalkingdoms/images/8/8f/Card-tlk.png/revision/latest?cb=20220227095525") !important; } table.card.aladdin td { background-image: url("https://static.wikia.nocookie.net/disneymagicalkingdoms/images/3/3e/Card-aladdin.png/revision/latest?cb=20220227095446") !important; } table.card.aiw td { background-image: url("https://static.wikia.nocookie.net/disneymagicalkingdoms/images/2/21/Card-aiw.png/revision/latest?cb=20220227095445") !important; } table.card.swatsd td { background-image: url("https://static.wikia.nocookie.net/disneymagicalkingdoms/images/d/d5/Card-swatsd.png/revision/latest?cb=20220227095448") !important; } table.card.wtp td { background-image: url("https://static.wikia.nocookie.net/disneymagicalkingdoms/images/6/6e/Card-wtp.png/revision/latest?cb=20220227095557") !important; } table.card.l\&s td { background-image: url("https://static.wikia.nocookie.net/disneymagicalkingdoms/images/1/1d/Card-l%26s.png/revision/latest?cb=20220227095456") !important; } table.card.bh6 td { background-image: url("https://static.wikia.nocookie.net/disneymagicalkingdoms/images/d/d5/Card-swatsd.png/revision/latest?cb=20220227095448") !important; } table.card.tlm td { background-image: url("https://static.wikia.nocookie.net/disneymagicalkingdoms/images/3/3a/Card-tlm.png/revision/latest?cb=20220227095527") !important; } table.card.wir td { background-image: url("https://static.wikia.nocookie.net/disneymagicalkingdoms/images/c/c6/Card-wir.png/revision/latest?cb=20220227095557") !important; } table.card.tpatf td { background-image: url("https://static.wikia.nocookie.net/disneymagicalkingdoms/images/d/d4/Card-tpatf.png/revision/latest?cb=20220227095527") !important; } table.card.moana td { background-image: url("https://static.wikia.nocookie.net/disneymagicalkingdoms/images/2/26/Card-moana.png/revision/latest?cb=20220227095506") !important; } table.card.fn td { background-image: url("https://static.wikia.nocookie.net/disneymagicalkingdoms/images/0/09/Card-fn.png/revision/latest?cb=20220227095451") !important; } table.card.coco td { background-image: url("https://static.wikia.nocookie.net/disneymagicalkingdoms/images/f/f7/Card-coco.png/revision/latest?cb=20220227095450") !important; } table.card.frozen2 td { background-image: url("https://static.wikia.nocookie.net/disneymagicalkingdoms/images/a/a4/Card-frozen2.png/revision/latest?cb=20220227095454") !important; } table.card.sw td { background-image: url("https://static.wikia.nocookie.net/disneymagicalkingdoms/images/2/29/Card-sw.png/revision/latest?cb=20220227095522") !important; } table.card.onward td { background-image: url("https://static.wikia.nocookie.net/disneymagicalkingdoms/images/e/ed/Card-onward.png/revision/latest?cb=20220227095520") !important; } table.card.hercules td { background-image: url("https://static.wikia.nocookie.net/disneymagicalkingdoms/images/9/91/Card-hercules.png/revision/latest?cb=20220227095455") !important; } table.card.sw2 td { background-image: url("https://static.wikia.nocookie.net/disneymagicalkingdoms/images/c/c7/Card-sw2.png/revision/latest?cb=20220227095523") !important; } table.card.brave td { background-image: url("https://static.wikia.nocookie.net/disneymagicalkingdoms/images/2/22/Card-brave.png/revision/latest?cb=20220227095449") !important; } table.card.ratld td { background-image: url("https://static.wikia.nocookie.net/disneymagicalkingdoms/images/3/3b/Card-ratld.png/revision/latest?cb=20220227095521") !important; } table.card.sw3 td { background-image: url("https://static.wikia.nocookie.net/disneymagicalkingdoms/images/5/57/Card-sw3.png/revision/latest?cb=20220227095523") !important; } table.card.luca td { background-image: url("https://static.wikia.nocookie.net/disneymagicalkingdoms/images/9/94/Card-luca.png/revision/latest?cb=20220227095457") !important; } table.card.\31 01d td { background-image: url("https://static.wikia.nocookie.net/disneymagicalkingdoms/images/0/02/Card-101d.png/revision/latest?cb=20220227095444") !important; } table.card.pinocchio td { background-image: url("https://static.wikia.nocookie.net/disneymagicalkingdoms/images/9/90/Card-pinocchio.png/revision/latest?cb=20211217211632") !important; } table.card.rh td { background-image: url("https://static.wikia.nocookie.net/disneymagicalkingdoms/images/a/ae/Card-rh.png/revision/latest?cb=20220310170859") !important; } table.card.sw5 td { background-image: url("https://static.wikia.nocookie.net/disneymagicalkingdoms/images/5/5d/Card-sw5.png/revision/latest?cb=20220428153619") !important; }

/* Bundle Tables */ table.bundle-content { width: 65%; height: 330px; text-align: center; line-height: normal; display: inline-table; border-radius: 20px; box-shadow: inset 0px -4px 10px 0px #a9d3f2; } table.bundle-content tr th { background: linear-gradient(#14bfe4 5%, #2866ce 100%); border-radius: 20px 20px 0 0; height: 35px; color: white; text-shadow: 1px 2px 3px #030d9d; } table.bundle-content tr td { width: 20%; height: 140px; vertical-align: bottom; } table.bundle-content tr:nth-child(3) td { vertical-align: baseline; padding: 0 10px 0 10px; }

/* Storyline Tables */ table.storyline-black a { color: black; } table.storyline-white a { color: white; } table.storyline-black a.new, table.storyline-white a.new { text-decoration: line-through 2px; }

/* Mini Event Tables */ table.dmk-leaderboard tr td, table.dmk-leaderboard tr th, table.dmk-milestone tr td, table.dmk-milestone tr th { padding: 10px; } table.dmk-leaderboard tr td, table.dmk-milestone tr td, table.dmk-milestone tr th { text-align: center; } table.dmk-leaderboard tr td, table.dmk-milestone tr td { line-height: 1.0; } table.dmk-leaderboard tr:nth-child(2) td:not(:first-child), table.dmk-milestone tr:nth-child(2) td:not(:first-child) { width: 20%; }

/* Calendar Tables */ table.dmk-calendar tr td, table.dmk-calendar tr th { text-align: center; line-height: 1.0; } table.dmk-calendar tr td, table.dmk-calendar tr th { padding: 7px; }

/* Chests Tables */ table.dmk-chests tr td, table.dmk-chests tr th { text-align: center; line-height: 1.0; } table.dmk-chests tr td { width: 10%; border-bottom: none; padding: 5px; } table.dmk-chests tr:not(:first-child) td { height: 80px; }

/* List Tables */ table.dmk-list tr th, table.dmk-list tr td, table.dmk-list2 tr th, table.dmk-list2 tr td { line-height: 1.0; text-align: center; padding: 4px; } table.dmk-list tr th { line-height: 2.0; font-size: smaller; } table.dmk-list2 tr th { line-height: 3.5; font-size: smaller; } table.dmk-list2 tr td:nth-child(3), table.dmk-list2 tr td:nth-child(6), table.dmk-list2 tr td:nth-child(10) { border-left: 1px solid #cbcbcb; padding: 1px; } table.dmk-list2 tr td:nth-child(3), table.dmk-list2 tr td:nth-child(7), table.dmk-list2 tr td:nth-child(11) { border-right: 1px solid #cbcbcb; padding: 1px; }

/* Activity Table (Temporary) */ table.act tr td:first-child { text-align: center; height: 75px; }

/**************/ /* Color Icon */ /********** ***/

body.theme-fandomdesktop-dark img[data-image-name="M-animation.png"], body.theme-fandomdesktop-dark img[data-image-name|="Link tag"], body.theme-fandomdesktop-dark img[data-image-name|="M-arrow"] { filter: invert(1); } body.theme-fandomdesktop-light dl img[data-image-name="Q-side.png"] { filter: invert(1); }

/**********************************/ /* Character Icon w/o background */ /**********************************/ span#dmk-icon-plain img{ filter: drop-shadow(0 0 3px var(--dmk-image-background-shadow)); }

/********************/ /* Portable Infobox */ /********************/ .portable-infobox { width: 300px; border: none; border-radius: 10px !important; margin-right: 8px; box-shadow: 0 0 7px rgb(0 0 0 / 40%); } .portable-infobox .pi-header { background: linear-gradient(to bottom, #1D217A 15%, #4b43ac 100%); border-radius: 10px 10px 0 0; font-size: 17px !important; padding: 10px; font-family: inherit; } .portable-infobox .pi-border-color { border: none; } .portable-infobox.pi-background { background-color: var(--dmk-page-background-shift); } .portable-infobox,.portable-infobox.pi-background.pi-europa.pi-layout-default,.pi-item.pi-image a img { border-radius: 2pc 0pc; }

/* Horizontal Groups */ .portable-infobox .pi-horizontal-group { text-align: left; } .portable-infobox .pi-horizontal-group .pi-data-label { padding: 10px 14px 6px; } .portable-infobox .pi-horizontal-group .pi-data-value { padding: 0 4px 10px 14px; vertical-align: baseline; } .portable-infobox .pi-horizontal-group .pi-data-value:nth-child(2n){ border-radius: 0 0 10px 0; } .portable-infobox .pi-horizontal-group .pi-horizontal-group-item:nth-child(2n) { background-color: var(--dmk-page-background-shift2); border-left: none; } .portable-infobox .pi-horizontal-group-no-labels .pi-data-value { padding-top: 10px; }

/* Images with Shadow */ .pi-image img { filter: drop-shadow(0 0 5px var(--dmk-image-background-shadow)); padding: 10px 0 5px 0; }

/* Tabs */ .portable-infobox ul.wds-tabs { margin-left: 30px; margin-right: 30px; } .portable-infobox .wds-tabs__tab { box-shadow: inset 0 -1px 0 0 var(--theme-border-color); } .portable-infobox .wds-tabs__tab.wds-is-current { box-shadow: inset 1px 1px 0 0 var(--theme-border-color), inset -1px 0 0 0 var(--theme-border-color); background-color: var(--dmk-pi-tab-active); border-radius: 10px 10px 0 0; }

/* Smart Groups */ .portable-infobox .pi-smart-group { border-bottom: 0; text-align: left; } .pi-smart-group .pi-smart-data-label:first-child, .pi-smart-group .pi-smart-data-value:first-child { padding: 10px 14px; } .pi-smart-group .pi-smart-data-label:not(:first-child), .pi-smart-group .pi-smart-data-value:not(:first-child) { padding: 10px 14px; background-color: var(--dmk-page-background-shift2); border-left: none; } .portable-infobox .pi-horizontal-group-no-labels .pi-data-value { border-radius: 10px !important; } .pi-smart-group .pi-smart-data-label:not(:first-child), .pi-smart-group .pi-smart-data-value:not(:first-child) { border-radius: 10px !important; }

/***********/ /* Gallery */ /***********/

ul.mw-gallery-traditional { width: 100%; margin: 0; }

li.gallerybox { width: min-content !important; }

li.gallerybox div { width: auto !important; height: auto !important; border-radius: 7px !important; }

/* for missing images */ li.gallerybox div.thumb { min-width: 80px; min-height: 80px; }

li.gallerybox div.thumb div { margin: 5px !important; }

/* Gallery Images with No Background */ .page-Category_Character_Collections .wikia-gallery-item .thumb .gallery-image-wrapper{ background: none; border: none; }

.page-Shop ul.mw-gallery-traditional { text-align:center; } .page-Shop ul.mw-gallery-traditional li.gallerybox div.thumb { border:none; background:none; } .page-Shop ul.mw-gallery-traditional li.gallerybox div.gallerytext { text-align:center; }

/* For Media on Category Pages */ .galleryfilename-truncate { white-space: normal; }

/*********************/ /*** Gallery Old  ***/ /*********************/

.wikiaPhotoGallery-slider-body { background: none !important; }

/* Gallery Images Background */ .wikia-gallery .gallery-image-wrapper { background: none repeat scroll 0 0 var(--dmk-gallery-background); border: 1px solid var(--dmk-gallery-border); border-radius: 7px; padding: 5px; } /* round border for round stained-glass images */ .wikia-gallery div.gallery-image-wrapper[id$="-g-png"] { border-radius: 50%; } /* Caption */ .wikia-gallery-item .lightbox-caption, .wikia-gallery-captions-center .wikia-gallery-item .lightbox-caption { padding-left: 5px; padding-right: 5px; color: var(--theme-page-text-color); } /* Missing Images */ a.image-no-lightbox { color: var(--dmk-gallery-border); font-weight: 400; }

/* Gallery Images with No Background */ .page-Shop .gallery-image-wrapper { background: none; filter: drop-shadow(0 0 5px var(--dmk-image-background-shadow)) } .page-Category_Character_Collections .gallery-image-wrapper { background: none; filter: drop-shadow(0 0 5px var(--dmk-image-background-shadow)) }

/******************/ /* Navigation Box */ /******************/

/* Default style for navigation boxes */ .navbox {                    /* Navbox container style */ border: 1px solid #aaa; width: 100%; margin: auto; clear: both; font-size: 88%; text-align: center; padding: 1px; }

.navbox a { font-weight: inherit !important; }

.navbox-inner, .navbox-subgroup { width: 100%; } .navbox-group, .navbox-title, .navbox-abovebelow { padding: 0.25em 1em;     /* Title, group and above/below styles */ line-height: 1.5em; text-align: center; } th.navbox-group {            /* Group style */ white-space: nowrap; /* @noflip */ text-align: right; } .navbox, .navbox-subgroup { background: var(--dmk-table-background);     /* Background color */ } .navbox-list { line-height: 1.5em; border-color: var(--dmk-page-background-shift);   /* Must match background color */ } .navbox th, .navbox-title { background: var(--dmk-navbox1-background);     /* Level 3 color */ } .navbox-abovebelow, th.navbox-group, .navbox-subgroup .navbox-title { background: var(--dmk-navbox2-background);     /* Level 2 color */ } .navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow { background: var(--dmk-navbox3-background);     /* Level 1 color */ } .navbox-even { background: transparent;     /* Even row striping */ } .navbox-odd { background: transparent; /* Odd row striping */ } table.navbox { margin-top: 1em;         /* Prevent preceding content from clinging to navboxes */ } table.navbox table.navbox { margin-top: 0;           /* No top margin for nested navboxes */ } table.navbox + table.navbox { margin-top: -1px;        /* Single pixel border between adjacent navboxes */ } .navbox .hlist td dl, .navbox .hlist td ol, .navbox .hlist td ul, .navbox td.hlist dl, .navbox td.hlist ol, .navbox td.hlist ul { padding: 0.125em 0;      /* Adjust hlist padding in navboxes */ } /* Default styling for Navbar template */ .navbar { display: inline; font-size: 88%; font-weight: normal; } .navbar ul { display: inline; white-space: nowrap; } .mw-body-content .navbar ul { line-height: inherit; } .navbar li { word-spacing: -0.125em; } .navbar.mini li abbr[title] { font-variant: small-caps; border-bottom: none; text-decoration: none; cursor: inherit; } /* Navbar styling when nested in infobox and navbox */ .infobox .navbar { font-size: 100%; } .navbox .navbar { display: block; font-size: 100%; } .navbox-title .navbar { /* @noflip */ float: left; /* @noflip */ text-align: left; /* @noflip */ margin-right: 0.5em; width: 6.0em; } /* 'show'/'hide' buttons created dynamically by the CollapsibleTables javascript in MediaWiki:Common.js are styled here so they can be customised. */ .collapseButton { /* @noflip */ float: right; font-weight: normal; /* @noflip */ margin-left: 0.5em; /* @noflip */ text-align: right; width: auto; } /* In navboxes, the show/hide button balances the v·d·e links from Template:Navbar, so they need to be the same width. */ .navbox .collapseButton { width: 6.0em; } /* Styling for JQuery makeCollapsible, matching that of collapseButton */ .mw-collapsible-toggle { font-weight: normal; /* @noflip */ text-align: right; outline: none; } .navbox .mw-collapsible-toggle { width: 6.0em; }

/* Subpage Tabs  */ .Subpagetabs{ --spt-tab-color:rgba(var(--theme-page-text-color--rgb),0.75); --spt-tab-color--active:var(--theme-link-color); --spt-tab-color--hover:var(--theme-page-text-color); --spt-tab-border-color:rgba(var(--theme-page-dynamic-color-1--rgb),0.25); align-items:flex-end; display:flex; margin:0; padding:0; position:relative; border-bottom:1px solid var(--spt-tab-border-color); overflow:hidden; overflow-x:scroll; }

.Subpagetabs::-webkit-scrollbar{ display:none; }

.SubpagetabsTab{ color:var(--spt-tab-color); cursor:default; flex-shrink:0; line-height:14px; position:relative; align-items:center; display:inline-flex; font-size:14px; font-weight:500; height:40px; letter-spacing:.5px; margin:0 11px; text-align:center; text-decoration:none; white-space:nowrap; border: none; }

.SubpagetabsTab>a{ align-items:center; color:inherit; display:inline-flex; height:100%; text-decoration:none; } .SubpagetabsTab>a:hover,.SubpagetabsTab>a:visited{ color:inherit; text-decoration:inherit; } .SubpagetabsTab:hover{ color:var(--spt-tab-color--hover); } .SubpagetabsActive{ color:var(--spt-tab-color--active); /* background: unset; */ /* border-bottom: unset; */ box-shadow: inset 0 -2px 0 0 currentColor; } .SubpagetabsActive:hover{ color:var(--spt-tab-color--active); }

/* Scrollbar */
 * -webkit-scrollbar {

background: #1D217A !important; }
 * -webkit-scrollbar-thumb {

background: #f2faff !important; box-shadow: inset 0 0 0px 5px #1D217A; border-radius: 10px; } div::-webkit-scrollbar { background: var(--dmk-page-background-shift2) !important; border-radius: 10px; } div::-webkit-scrollbar-thumb { background: #f2faff !important; box-shadow: inset 0 0 0px 5px var(--dmk-page-background-shift2); border-radius: 10px; } .fandom-sticky-header { background: linear-gradient(to bottom, #060c60 15%, #4b43ac 100%); }

/* Sitenotice */ .sitenotice--visible color: var(--theme-page-text-color); background: var(--dmk-page-background-shift); } .sitenotice:before { background: linear-gradient(to bottom,#1D217A 15%,#4b43ac 100%); }