MediaWiki:Fandomdesktop.css

/* Card Tables */ @import url("/load.php?mode=articles&only=styles&articles=MediaWiki:Cards.css|u:dev:MediaWiki:AjaxPoll.Discussions.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-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-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; } div.link { color: var(--theme-link-color); }

/********************/ /* Main Page Slider */ /********************/ .fandom-slider { background: transparent; border:none; filter: drop-shadow(0 0 3px 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 3px var(--dmk-image-background-shadow)); } .wikia-slideshow .image.link-internal { color: white; }

/********/ /* Maps */ /********/ .interactive-maps-container { border: none; } .interactive-maps-container .interactive-maps__map { background: var(--theme-body-dynamic-color-1); height: 550px; }

/**********/ /* Tables */ /**********/ .article-table { line-height: 1.4; margin: none; }

.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; }

/* Seasons Tables */ table.dmk-seasons tr td, table.dmk-seasons tr th { text-align: center; } /* Kingdom Pass Gold */ .dmk-kingdom-pass { background: gold; padding: 1px; color: #444; }

/* LTE Activities */ tr.dmk-act-available { border: 3px solid #1eb181; border-style: dashed; } tr.dmk-act-available td { background: #1eb18126 !important; } tr.dmk-act-available td b { color: #1eb181; } tr.dmk-act-unavailable { border: 3px solid #f53e3e; border-style: dashed; } tr.dmk-act-unavailable td { background: #f53e3e21!important; } tr.dmk-act-unavailable td b { color: #f53e3e; }

/* Bundle Tables */ table.bundle-content { width: 65%; text-align: center; line-height: normal; display: unset; border-radius: 20px; box-shadow: inset 0px -4px 10px 0px #a9d3f2; border-spacing: 0.1em; } table.bundle-content tr th a { color: white; } 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: 100px; vertical-align: bottom; } table.bundle-content tr:nth-child(3) td { vertical-align: baseline; }

/* Storyline Tables */ table th.storyline-black a { color: black; } table th.storyline-white a { color: white; } table th.storyline-black a.new, table th.storyline-white a.new { text-decoration: line-through 2px; } th span.arrow-left img { transform: rotate(90deg); } th span.arrow-top img { transform: rotate(180deg); } th span.arrow-right img { transform: rotate(270deg); }

/* TC Event Tables */ table.dmk-explorations tr td, table.dmk-explorations tr th { text-align: center; line-height: 1.0; } table.dmk-explorations tr td { padding: 2px !important; background-color: var(--dmk-pi-tab-active) !important; } table.dmk-explorations tr:nth-child(2) td, table.dmk-explorations tr:nth-child(4) td, table.dmk-explorations tr:nth-child(6) td, table.dmk-explorations tr:nth-child(8) td { border: none !important; background-color: var(--theme-page-background-color) !important; }

/* 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 { width: 10%; padding: 0 10px; }

/* List Tables */ table.dmk-list tr th, table.dmk-list tr td, table.dmk-list2 tr th { line-height: 1.0; text-align: center; padding: 4px 0; } table.dmk-list tr th, table.dmk-list2 tr th { line-height: 2.0; font-size: smaller; } table.dmk-list2 tr td { line-height: 1.0; text-align: center; padding: 4px 0; } 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-left: 1px solid #cbcbcb; padding: 0px; } table.dmk-list2 tr td:nth-child(4), table.dmk-list2 tr td:nth-child(8), table.dmk-list2 tr td:nth-child(12) { border-right: 1px solid #cbcbcb; padding: 0px; } table.dmk-list2 tr td:nth-child(4), table.dmk-list2 tr td:nth-child(3) { border-bottom: none; }

/* Activity Table (Temporary) */ table.act tr td { text-align: center; height: 85px; } table.act tr td:nth-child(2), table.act2 tr td:nth-child(2) { text-align: left; }

/**************/ /* Color Icon */ /********** ***/ body.theme-fandomdesktop-dark img { filter: brightness(0.9); } 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"], th.storyline-white img[data-image-name|="Link tag"] { filter: invert(1) !important; } body.theme-fandomdesktop-light img[data-image-name|="Q-side.png"], body.theme-fandomdesktop-light img[data-image-name|="Q-event.png"], body.theme-fandomdesktop-light img[data-image-name|="Q-kingdom.png"], body.theme-fandomdesktop-light img[data-image-name="M-change.png"] { filter: drop-shadow(0px 0px 2px #00f); }

/**********************************/ /* Character Icon w/o background */ /**********************************/ span#dmk-icon-plain img{ filter: drop-shadow(0 0 1px var(--dmk-image-background-shadow)); } span#dmk-icon-bg img{ background: linear-gradient(to bottom, #e8ffff 60%, #d9f1ff 75%, #b0d5f1 100%); border-radius: 23%; box-shadow: 1px 2px 3px 0.5px #6b90a7; } span#dmk-icon-token img{ background: linear-gradient(167deg,#d7f4ff 10%, #dafdff 20%, #dafdff 60%,#c1fdff 75%,#79d6fb 87%,#36afe0 93%); border-radius: 23%; padding: 0.2%; border-bottom: 0.1vw solid #95d0e9; box-shadow: 0.1vw 0.1vw 0.3vw 0vw #074e78c7; } span#dmk-icon-cat img{ background: white; border-radius: 50%; padding: 2px; border: 2px solid #0e84fb; box-shadow: 1px 1px 3px 0 #7a7a7a; }

/********************/ /* 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; color: white !important; } .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 3px var(--dmk-image-background-shadow)) !important; padding: 10px 0 5px 0; }

/* Tabs */ .portable-infobox ul.wds-tabs { max-width: 300px !important; } .portable-infobox .wds-tabs__tab { margin: auto !important; } .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_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 3px var(--dmk-image-background-shadow)) !important; } .page-Category_Collections .gallery-image-wrapper { background: linear-gradient(to bottom, #e8ffff 60%, #d9f1ff 75%, #b0d5f1 100%) !important; border-radius: 23%; box-shadow: 1px 2px 3px 0.5px #6b90a7; padding: 2%; }

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

/**************************************************/ /*** CSS for Amboxes (see Template:Ambox)  ***/ /**************************************************/ .ambox { font-size: 95%; width: 80%; margin: 0 auto 3px; background-color: #EEE; border: 1px solid #aaa; border-left: 10px solid; border-collapse: collapse; }

/* Ambox type colours */ .ambox-speedy,.ambox-delete { border-left-color: #b22222; } .ambox-content { border-left-color: #f28500; } .ambox-style { border-left-color: #228b22; /*#f4c430*/ } .ambox-move { border-left-color: #9932cc } .ambox-protection { border-left-color: #bba } .ambox-notice { border-left-color: #1e90ff }

/* Ambox alternate colours */ .ambox-blue { border-left: 10px solid #1e90ff;   /* Blue (notice) */ } .ambox-red { border-left: 10px solid #b22222;   /* Red (delete/serious) */ } .ambox-orange { border-left: 10px solid #f28500;   /* Orange (content) */ } .ambox-yellow { border-left: 10px solid #f4c430;   /* Yellow (style) */ } .ambox-purple { border-left: 10px solid #9932cc;   /* Purple (merge) */ } .ambox-gray { border-left: 10px solid #bba;       /* Gray (protection) */ } .ambox-green { border-left: 10px solid #228b22;   /* Green */ } /* Ambox small text */ .ambox-smalltext { font-size: smaller; margin-top:0.5em; margin-left:0.8em; } /* Ambox image */ .ambox-image {                   /* The left image cell */ width: 60px; padding: 2px 0px 2px 0.5em;       /* 0.5em left, 0px right */ text-align: center; }