MediaWiki:Fandomdesktop.css

/* Change body of wiki to use background image */ .main-container { background-image: url(https://static.wikia.nocookie.net/deadcells_gamepedia_en/images/6/65/Beheaded-Island-BG.jpg); background-size: cover; background-attachment: fixed; background-repeat: no-repeat; background-position: top left; }

/* Makes page body transparent */ .page__main { background-color: rgba(var(--theme-page-background-color--rgb),0.85); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

/* Small filter to make wiki logo more visible with whole page background image */ .fandom-community-header__image { filter: drop-shadow(2px 0 6px rgba(0,0,0,0.45)) drop-shadow(-2px 0 6px rgba(0,0,0,0.45)) drop-shadow(0 4px 0 rgba(0,0,0,0.45)) drop-shadow(0 -4px 6px rgba(0,0,0,0.45)); }

/* For elements which only display in the mobile view */ .mobileonly { display: none; }

/*New style main button*/ .dc_button { vertical-align: top; font-weight: bold; text-align: center; display: inline-block; text-transform: uppercase; border: 2px solid rgba(65, 79, 106, 0.3); border-radius: 2px; box-shadow: 0px 0px 16px rgba(0,0,0,0.75) inset; min-width: 100px; height: 100px; margin: 5px; }

.dc_button a { display: block;}

.dc_button:hover { box-shadow: 0px 0px 16px rgba(45,26,26,0.75) inset, 0 0 5px #3ee3ff; border: 2px solid #00a3da; } .dc_btext { margin: 6px 0px 0px 0px; height: 20px !important; overflow: hidden; border-top: 2px solid rgba(65, 79, 106, 0.3); }

.dc_button:hover .dc_btext { border-top: 2px solid #00a3da; }

/**/ .dc_button2 { font-weight: bold; text-align: center; display: inline-block; text-transform: uppercase; border: 2px solid rgba(65, 79, 106, 0.3); border-radius: 2px; box-shadow: 0px 0px 16px rgba(0,0,0,0.75) inset; min-width: 94px; margin: 5px; }

.dc_button2 a { display: block; height: 100%;}

.dc_button2:hover { box-shadow: 0px 0px 16px rgba(45,26,26,0.75) inset, 0 0 5px #3ee3ff; border: 2px solid #00a3da; }

.dc_btext a.external { background-image: none; padding-right: 0px; }

/* wiki editor styling */ div.wikiEditor-ui { background: rgba(0, 0, 0, 0); border: medium none; }

div.wikiEditor-ui-buttons { background-color: rgba(0, 0, 0, 0); border-top: medium none; margin-right: 5px; }

div.wikiEditor-ui-controls { background-color: rgba(0, 0, 0, 0); border-bottom: 1px solid rgba(65, 79, 106, 0.3); }

div.wikiEditor-ui-tabs div { border-bottom: 1px solid rgba(65, 79, 106, 0.3); border-right: 1px solid rgba(65, 79, 106, 0.3); }

div.wikiEditor-ui-tabs div a { background: #000000; color: #c8c8c8; }

div.wikiEditor-ui-tabs div.current { border-bottom: 1px solid rgba(65, 79, 106, 0.3); }

div.wikiEditor-ui-tabs div.current a { color: #FFFFFF; font-weight: bold; }

div.wikiEditor-ui .wikiEditor-ui-top { border-bottom: 1px solid rgba(65, 79, 106, 0.3); }

div.wikiEditor-ui-toolbar { background: none repeat scroll 0 0 rgba(0, 0, 0, 0); }

div.wikiEditor-ui-toolbar .group { border-right: 1px solid rgba(65, 79, 106, 0.3); }

div.wikiEditor-ui-toolbar .group-search { border-left: 1px solid rgba(65, 79, 106, 0.3); border-right: none; }

div.wikiEditor-ui-toolbar .group .label { color: #c8c8c8; }

.tab { border-color: rgba(65, 79, 106, 0.3); }

div.wikiEditor-ui-toolbar .tabs span.tab a, div.wikiEditor-ui-toolbar .tabs span.tab a:visited { color: #c8c8c8; }

div.wikiEditor-ui-toolbar .tabs span.tab a.current, div.wikiEditor-ui-toolbar .tabs span.tab a.current:visited { color: #c8c8c8; }

div.wikiEditor-ui-toolbar .group .tool-select .label { color: #c8c8c8; }

div.wikiEditor-ui-toolbar .sections .section { background-color: rgba(0, 0, 0, 0.2); border-top: 1px solid rgba(65, 79, 106, 0.3); }

div.wikiEditor-ui-toolbar .booklet .index div { color: #cd2f46; }

div.wikiEditor-ui-toolbar .booklet .index .current { background-color: #000000; color: #c8c8c8; }

div.wikiEditor-ui-toolbar .booklet .pages { background-color: #000000; }

div.wikiEditor-ui-toolbar .page-characters div span { border: 1px solid rgba(65, 79, 106, 0.3); color: #c8c8c8; }

div.wikiEditor-ui-toolbar .page-characters div span:hover { background-color: rgba(255, 255, 255, 0.1); border-color: rgba(65, 79, 106, 0.3); color: #cd2f46; }

div.wikiEditor-ui-toolbar .page-table td { border-top: 1px solid rgba(65, 79, 106, 0.3); color: #c8c8c8; }

div.wikiEditor-preview-loading { background-color: rgba(0, 0, 0, 0); }

div.wikiEditor-preview-contents { background-color: rgba(0, 0, 0, 0); border-color: -moz-use-text-color rgba(65, 79, 106, 0.3) rgba(65, 79, 106, 0.3); border-image: none; border-style: none solid solid; border-width: medium 1px 1px; }

div.editOptions { background-color: rgba(21, 30, 61, 0.1); border: 1px solid rgba(65, 79, 106, 0.3); }

/* Navbox template style */ table.navbox { border: 4px solid transparent; clear: both; font-size: 88%; margin: auto; padding: 1px; text-align: center; width: 100%; border-image-source: url(https://static.wikia.nocookie.net/deadcells_gamepedia_en/images/f/f7/Table-border.png); border-image-slice: 15 16; border-image-width: 15px; }

/* Border between adjacent navboxes */ table.navbox + table.navbox { margin-top: -1px; }

.navbox-title, .navbox-abovebelow, table.navbox th { padding-left: 1em; padding-right: 1em; text-align: center; }

.navbox-group { font-weight: bold; padding-left: 1em; padding-right: 1em; white-space: nowrap; }

/* Base background */ .navbox, .navbox-subgroup { background: #151E3D; border-radius: 9px; }

.navbox-list { border-color: #151E3D; /* Must match background color */ }

/* Level 1 color */ .navbox-title, table.navbox th { background: #090e21; color: #E8E8E8; font-family: 'Dosis'; font-size: 1.2em; letter-spacing: 0.75px; }

/* Level 2 styling */ .navbox-abovebelow, .navbox-group, .navbox-subgroup .navbox-title { background: rgba(0, 0, 0, 0.2); color: #E8E8E8; }

/* Level 3 styling */ .navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow { background: rgba(0, 0, 0, 0.1); color: #E8E8E8; }

/* Even row striping */ .navbox-even { background: rgba(255, 255, 255, 0.1); color: #E8E8E8; }

/* Odd row striping */ .navbox-odd { background: transparent; } .collapseButton { font-weight: normal; width: auto; }

.navbox .collapseButton { width: 6em; } .navbar { font-size: 88%; font-weight: normal; }

.navbox .navbar { font-size: 100%; } table.collapsed tr.collapsible { display: none; } /* End of new Navbox styling */

/* Force all images to have crisp edges when scaled up */ image-rendering      : optimizeSpeed;             /* Legal fallback */ image-rendering      : -moz-crisp-edges;          /* Firefox        */ image-rendering      : -o-crisp-edges;            /* Opera          */ image-rendering      : -webkit-optimize-contrast; /* Safari         */ image-rendering      : optimize-contrast;         /* CSS3 Proposed  */ -ms-interpolation-mode: nearest-neighbor;         /* IE8+           */ image-rendering      : pixelated;                 /* Chrome         */ }
 * 1) content img:not(.no-pixel) {

/* Fix for highlighted references */ ol.references li:target, sup.reference:target { background-color: rgba(150,100,100,0.3); border-radius: 5px; }

/* Highlight mode theming */ background: black; color: white; }
 * 1) editform .CodeMirror {

border-left: 1px solid white; }
 * 1) editform .CodeMirror-cursor {

/* Infobox styling */ .portable-infobox { background: rgba(21,30,61,0.7); border: 1px solid transparent; padding: 6px; margin-left: 1em; margin-bottom: 0.5em; width: 350px; background-image: url(https://static.wikia.nocookie.net/deadcells_gamepedia_en/images/4/4b/Infobox-background.png/revision/latest?cb=20210221012803); background-position: bottom right; background-repeat: no-repeat; border-image-source: url(https://static.wikia.nocookie.net/deadcells_gamepedia_en/images/f/f7/Table-border.png); border-image-slice: 15 16; border-image-width: 15px; border-radius: 12px; }

.portable-infobox .pi-title, .portable-infobox .pi-header { background: rgba(6,9,19,0.5); line-height: 36px; color: #f7eb62; font-size: 150%; font-family: 'Dosis', sans-serif; padding: 5px !important; text-align: center; font-weight: bold; border: none; border-bottom: 3px solid transparent; border-image: radial-gradient(#414f6a,rgba(0, 0, 0, 0),rgba(0,0,0,0)) 60% 20%; }

.portable-infobox .pi-border-color { border-color: transparent; }

.portable-infobox .pi-secondary-font, .portable-infobox .pi-data-value { line-height: 1.6; font-size: 14px; color: #E0E0E0; hyphens: none; }

.portable-infobox .pi-secondary-font { font-weight: bold; padding-top: 0; }

.portable-infobox .pi-data-label { flex-basis: 140px; font-family: sans-serif; hyphens: none; }

.portable-infobox .pi-data-value:not(:first-child) { flex-basis: calc(100% - 130px); } .portable-infobox .pi-item-spacing { padding: 2px 5px; }

.portable-infobox .pi-section-label { color: #bcbcbc; font-family: 'Nova Flat', sans-serif; }

.pi-section-navigation .pi-section-tab:hover .pi-section-label { color: #FFF; }

.pi-section-tab { cursor: pointer; }

.pi-section-tab.pi-section-active { box-shadow: inset 0 -2px 0 0 #bcbcbc; }

.pi-section-tab:hover.pi-section-active { box-shadow: inset 0 -2px 0 0 #FFF; }

.pi-smart-data-value:not(:first-child), .pi-smart-data-label:not(:first-child) { border-color: transparent; }

.pi-image-thumbnail { max-height: 150px; min-height: 72px; width: auto; }

.portable-infobox.pi-theme-enemy { background: rgba(21,30,61,0.5); border: 1px solid transparent; background-image: url(https://static.wikia.nocookie.net/deadcells_gamepedia_en/images/4/4b/Infobox-background.png/revision/latest?cb=20210221012803); background-position: bottom right; background-repeat: no-repeat; border-image-source: url(https://static.wikia.nocookie.net/deadcells_gamepedia_en/images/f/f7/Table-border.png); border-image-slice: 15 16; border-image-width: 15px; border-radius: 12px; font-size: 89%; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; width: 295px; }

.portable-infobox.pi-theme-enemy .pi-title, .portable-infobox.pi-theme-enemy .pi-header { background: rgba(6,9,19, 0.5); color: #f7eb62 !important; border: none; border-bottom: 3px solid transparent; border-image: radial-gradient(#414f6a,rgba(0, 0, 0, 0),rgba(0,0,0,0)) 60% 20%; text-align: center; font-size: 150%; padding: 5px; }

.portable-infobox.pi-theme-enemy .pi-secondary-font { background-color: #181818; border-radius: 5px; font-weight: bold; padding: 0.5px 7px; text-align: right; font-size: 14px; }

.portable-infobox.pi-theme-enemy .pi-data-label { flex-basis: 86px; }

.portable-infobox.pi-theme-enemy .pi-data-value:not(:first-child) { flex-basis: calc(100% - 76px); }

.portable-infobox.pi-theme-enemy .pi-item-spacing { padding: 3px 5px; }

.portable-infobox .pi-section-navigation { flex-wrap:wrap; justify-content:center; }

.pi-section-label { margin: 0 4px; font-size: 11px; }

.pi-section-content.pi-section-active { border-color: #414f6a; border-width: 1px 0; border-style: solid; }

.pi-smart-group .pi-smart-data-label, .pi-smart-group .pi-smart-data-value { flex-basis: auto !important; }

/* tables */ .wikitable { background-color: #151E3D; border: 4px solid transparent; border-radius: 7px; border-collapse: inherit; border-image-source: url(https://static.wikia.nocookie.net/deadcells_gamepedia_en/images/f/f7/Table-border.png); border-image-slice: 15 16; border-image-width: 15px; border-spacing: 0; }

/* .wikitable.mw-collapsed { border-collapse: collapse; }

.wikitable th { background-color: #090e21; border: none; text-align: center; color: #FFF; padding: 5px; }

.wikitable td { border: none; color: #FFF; padding: 5px; }

table.wikitable tr:nth-child(even) { background-color: #0f1733; }

.TablePager, .mw-datatable, table.mw_metadata { background-color: rgba(21, 30, 61, 0.1); border: 1px solid rgba(65, 79, 106, 0.3); color: #e8e8e8; }

.TablePager th, .mw-datatable th, table.mw_metadata th { background: #a6274e; /* Old browsers */ background: -moz-linear-gradient(to right,#13274c 70%,rgba(0,0,0,0) 100%); /* FF3.6-15 */ background: -webkit-linear-gradient(to right,#13274c 70%,rgba(0,0,0,0) 100%); /* Chrome10-25,Safari5.1-6 */ background: linear-gradient(to right,#13274c 70%,rgba(0,0,0,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a6274e', endColorstr='#ffe280',GradientType=0 ); /* IE6-9 */ border: 1px solid rgba(65, 79, 106, 0.3); color: #e8e8e8; }

.TablePager tr:hover td, .mw-datatable tr:hover td { background-color: rgba(65, 79, 106, 0.3) !important; color: #e8e8e8; }

.TablePager th a, .mw-datatable th a, table.mw_metadata th a { background: #a6274e; /* Old browsers */ background: -moz-linear-gradient(to right,#13274c 70%,rgba(0,0,0,0) 100%); /* FF3.6-15 */ background: -webkit-linear-gradient(to right,#13274c 70%,rgba(0,0,0,0) 100%); /* Chrome10-25,Safari5.1-6 */ background: linear-gradient(to right,#13274c 70%,rgba(0,0,0,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a6274e', endColorstr='#ffe280',GradientType=0 ); /* IE6-9 */ color: #e8e8e8 !important; } .TablePager td, .mw-datatable td, table.mw_metadata td { background-color: rgba(21, 30, 61, 0.1); border: 1px solid rgba(65, 79, 106, 0.3); color: #e8e8e8; }

/* sort headers */ th.header-bg.th.headerSort, table.jquery-tablesorter th.headerSort { background-attachment: scroll; background-repeat: no-repeat, repeat; background-position: center right, center center; padding-right: 21px; }

th.header-bg.th.headerSortDown, table.jquery-tablesorter th.headerSortDown { background-attachment: scroll; background-repeat: no-repeat, repeat; background-position: center right, center center; padding-right: 21px; }

th.header-bg.th.headerSortUp, table.jquery-tablesorter th.headerSortUp { background-attachment: scroll; background-repeat: no-repeat, repeat; background-position: center right, center center; padding-right: 21px; }

.article-table tr td, .article-table tr th, .wikitable tr td, .wikitable tr th { text-align: center; padding: 5px; }