User:ARandomCitizen/common.css

body.theme-fandomdesktop-dark { --theme-page-background-color--secondary: #222839; } .cm-mw-template-bracket, .cm-mw-template-name, .cm-mw-template, .cm-mw-template-delimiter, .cm-mw-template-argument-name { color: #85F; }

.dc-table { width: 100%; background-color: #151E3D; border: 3px solid transparent; 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; } .dc-table th { text-align: center; color: #FFF; padding: 5px; } .dc-table td { background-color: #0B1022; border-bottom: 1px solid #414F6A; color: #FFF; padding: 5px; }

body { /*background-image: url(https://cdn.discordapp.com/attachments/532473638088212481/813948806827606026/background.png);*/ background-position: top; }

.quote { margin: auto; border-image-source: url(https://cdn.discordapp.com/attachments/532473638088212481/820851285532082186/Screenshot_1217.png); border-image-slice: 30 30 34; border-image-width: 100px; border-radius: 10px; background-color:#22224a; padding-bottom: 1%; background-clip: content-box; }

.quote td { padding: 15px; padding-bottom: 5px; }

.brut-surv { display: inline-block; padding: 5px; background: url(https://cdn.discordapp.com/attachments/528850809484738580/893230859103141898/brutsurv.png) center/contain no-repeat; }

.page-content .portable-infobox .pi-title, .page-content .portable-infobox .pi-header { line-height: inherit; }

.page-content .portable-infobox h2 { color: #f7eb62; }

.portable-infobox { width: 300px; }

.portable-infobox .pi-data-label { flex-basis: 100px; } .page__main { background-color: rgba(var(--theme-page-background-color--rgb),0.9); }

/* Add scaling background for images in item infobox */

.portable-infobox:is(	.pi-theme-brut,		.pi-theme-tact,		.pi-theme-surv,	.pi-theme-bruttact,		.pi-theme-tactbrut,	.pi-theme-brutsurv,	.pi-theme-survbrut,	.pi-theme-tactsurv,		.pi-theme-survtact) .pi-image { margin: 5px; padding: 10px; background-size: contain; background-position: center; background-repeat: no-repeat; image-rendering: optimizeSpeed; image-rendering: -moz-crisp-edges; image-rendering: -o-crisp-edges; image-rendering: -webkit-optimize-contrast; image-rendering: optimize-contrast; -ms-interpolation-mode: nearest-neighbor; image-rendering: pixelated;

}

.portable-infobox.pi-theme-brut .pi-image { background-image: url('https://static.wikia.nocookie.net/deadcells_gamepedia_en/images/0/00/Brutality-bg.png/revision/latest?format=original'); }

.portable-infobox.pi-theme-tact .pi-image { background-image: url('https://static.wikia.nocookie.net/deadcells_gamepedia_en/images/5/56/Tactics-bg.png/revision/latest?format=original'); }

.portable-infobox.pi-theme-surv .pi-image { background-image: url('https://static.wikia.nocookie.net/deadcells_gamepedia_en/images/c/c0/Survival-bg.png/revision/latest?format=original'); }

.portable-infobox:is(.pi-theme-bruttact, .pi-theme-tactbrut) .pi-image { background-image: url('https://static.wikia.nocookie.net/deadcells_gamepedia_en/images/3/32/BrutalityTactics-bg.png/revision/latest?format=original'); }

.portable-infobox:is(.pi-theme-tactsurv, .pi-theme-survtact) .pi-image { background-image: url('https://static.wikia.nocookie.net/deadcells_gamepedia_en/images/0/0c/TacticsSurvival-bg.png/revision/latest?format=original'); }

.portable-infobox:is(.pi-theme-brutsurv, .pi-theme-survbrut) .pi-image { background-image: url('https://static.wikia.nocookie.net/deadcells_gamepedia_en/images/c/c3/BrutalitySurvival-bg.png/revision/latest?format=original'); }

/* hides the "scaling" field on desktop skin */ .skin-fandomdesktop .portable-infobox:is(	.pi-theme-brut,		.pi-theme-tact,		.pi-theme-surv,	.pi-theme-bruttact,		.pi-theme-tactbrut,	.pi-theme-brutsurv,	.pi-theme-survbrut,	.pi-theme-tactsurv,		.pi-theme-survtact) .pi-data[data-source="scaling"] { display: none; }