MediaWiki:Fandomdesktop.css

body.theme-fandomdesktop-light { --theme-alert-color: #ba1231; --theme-body-text-color: #242424; --theme-body-text-color--hover: #3a3a3a; --theme-sticky-nav-background-color: #1e1e1e; --theme-sticky-nav-text-color: #f6f6f6; --theme-sticky-nav-text-color--hover: #c5dfe2; --theme-accent-color: #36c; --theme-accent-color--rgb: 51,102,204; --theme-accent-color--hover: #447ff5; --theme-accent-label-color: #fff; --theme-page-background-color--secondary: #f8f9fa; }

body.theme-fandomdesktop-dark { --theme-alert-color: #f1748b; --custom-background-blue: hsl(215,25%,8%); --custom-background-blue-highlight: hsl(215,25%,12%); --custom-background-green: hsl(120,25%,8%); --custom-background-green-highlight: hsl(120,25%,12%); --custom-background-grey: hsl(0,0%,8%); --custom-background-grey-highlight: hsl(0,0%,12%); --custom-background-magenta: hsl(310,25%,8%); --custom-background-magenta-highlight: hsl(310,25%,12%); --custom-background-orange: hsl(40,25%,8%); --custom-background-orange-highlight: hsl(40,25%,12%); --custom-background-purple: hsl(260,25%,8%); --custom-background-purple-highlight: hsl(260,25%,12%); --custom-background-red: hsl(0,25%,8%); --custom-background-red-highlight: hsl(0,25%,12%); --custom-background-yellow: hsl(60,25%,8%); --custom-background-yellow-highlight: hsl(60,25%,12%); --custom-border-blue: hsl(215,15%,36%); --custom-border-blue-highlight: hsl(215,50%,30%); --custom-border-green: hsl(120,15%,36%); --custom-border-green-highlight: hsl(120,50%,30%); --custom-border-grey: hsl(0,0%,36%); --custom-border-magenta: hsl(310,15%,36%); --custom-border-magenta-highlight: hsl(310,50%,30%); --custom-border-orange: hsl(40,15%,36%); --custom-border-orange-highlight: hsl(40,50%,30%); --custom-border-purple: hsl(260,15%,36%); --custom-border-purple-highlight: hsl(260,50%,30%); --custom-border-red: hsl(0,15%,36%); --custom-border-red-highlight: hsl(0,50%,30%); --custom-border-yellow: hsl(60,15%,36%); --custom-border-yellow-highlight: hsl(60,50%,30%); --custom-main-page-background: #202125; --custom-main-page-border: #2e2e2e; --custom-main-page-edition-subheader: #ddd; --custom-table-background: #131313; --custom-table-alternate-background: #1a1a1a; --custom-table-header-background: #363636; --custom-load-page-background: rgba(255,255,255,.06); --custom-load-page-border: rgba(255,255,255,.3); --theme-body-text-color: #eee; --theme-body-text-color--hover: #ccc; --theme-sticky-nav-background-color: #1f2737; --theme-sticky-nav-text-color: #f6f6f6; --theme-sticky-nav-text-color--hover: #c5dfe2; --theme-page-background-color: #171819; --theme-link-color: #a0c9fe; --theme-link-color--rgb: 160,201,254; --theme-link-color--hover: #7e8eff; --theme-link-label-color: #0e191a; --theme-accent-color: #1f2737; --theme-accent-color--rgb: 31,39,55; --theme-accent-color--hover: #25324e; --theme-accent-label-color: #fff; --theme-page-background-color--secondary: #181d23; --theme-border-color: #3a3a3a; }

/* Infoboxes */ .notaninfobox { border-color: var(--theme-border-color); background-color: var(--custom-table-background); } .notaninfobox .mcwiki-header { background-color: var(--custom-background-blue-highlight); border: 1px solid var(--theme-border-color); } .alternaterows tr:nth-child(2n), .infobox-rows tr:nth-child(2n) { background-color: var(--custom-table-alternate-background); }

/* Fix cramped infoboxes */ .infobox-rows th, .infobox-rows td { padding: 4px; }

/* Fix various infobox changes (by ItsPlantseed) */ .notaninfobox { box-sizing: content-box; }

.notaninfobox .infobox-rows { word-break: break-word; }

.infobox-rows li > span, .infobox-rows .hlist > span { white-space: normal !important; word-break: break-word; }