MediaWiki:Fandomdesktop.css

/* Card Tables */ @import "/load.php?articles=MediaWiki:Cards.css&only=styles&mode=articles";

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

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

/* Bundle Tables */ table.bundle tr th.b2 img { width: unset !important; height: unset !important; max-width: 90px; max-height: 170px; } table.bundle tr th.b22 img { width: unset !important; height: unset !important; max-width: 110px; max-height: 170px; } table.bundle tr th.b32 img { width: unset !important; height: unset !important; max-width: 150px; max-height: 100px; } table.bundle tr th.b42 img { width: unset !important; height: unset !important; max-width: 80px; max-height: 80px; } 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 { 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; }

/* 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"], body.theme-fandomdesktop-light img[data-image-name="M-change.png"] { filter: brightness(0.4); }

/**********************************/ /* Character Icon w/o background */ /**********************************/ span#dmk-icon-plain img{ filter: drop-shadow(0 0 1px 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 3px 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 3px var(--dmk-image-background-shadow)) } .page-Category_Character_Collections .gallery-image-wrapper { background: none; filter: drop-shadow(0 0 3px 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%); }

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