MediaWiki:Vector-darkmode.less/infoboxes.less
Jump to navigation
Jump to search
//
/* ======================== infoboxes ======================== */ .rsw-infobox { background: @dark-infobox-background; .infobox-header { background: @dark-infobox-header; border-color: @dark-infobox-background; } .infobox-subheader { background: @dark-infobox-subheader; border-color: @dark-infobox-background; } .infobox-image.bordered-image { border: none; } .infobox-map { border: none; } th:not(.infobox-header):not(.infobox-subheader) { border-left: none; border-right-color: @dark-infobox-border; } td { &:not(.infobox-image):not(.infobox-map) { border-right: none; } &[colspan="2"]:not(.infobox-image):not(.infobox-map) { border: none; } } // Infobox Monster &.infobox-monster { th { &.defensive-subheader { color: #36414f; &:not(:last-child) { border-right: 0.175em solid @steel-blue; } } &:not(.infobox-header):not(.infobox-subheader):last-child { border: none; } &.slayer-header { background: #1f1f1f; } &.slayer-subheader { background-color: @mineshaft; color: @white; &:not(:last-child) { border-right: 0.175em solid #1f1f1f !important; } } } td:not(.infobox-image):not(.infobox-map) { border: none; } } //Infobox familiar &#infobox-familiar { th { &:last-child:not([colspan="4"]) { border-right: none; } } td { &.infobox-template-links { border: none !important; padding-bottom: .6em; } &:first-child { border-left: none !important; } &:last-child { border-right: none !important; } } } } // Infobox Bonuses .infobox-bonuses { th { border-color: @dark-wikitable-border; background: @dark-wikitable-header; } td { border-color: @dark-wikitable-border; background: @dark-wikitable-background; } // "Compare" button .oo-ui-labelElement-label { color: @dark-text; } } // Template:Disassembly #DisassemblyT .disassembly-border { border-top-color: @dark-infobox-background; } // Template:InfoRow .infotableBonuses { .attribute-value, .attribute-total, .attribute-total .attribute-value { background: saturate( darken( @dark-wikitable-background, 3% ), 3% ); } } // Template:User stats .rsw-infobox.infobox-user-stats { .infobox-header { background: @pickled-bluewood; a { color: @white; } } td:not(.infobox-image):not(.infobox-map):not(:last-child) { border-right: 1px solid @dark-infobox-subheader; } } //