MediaWiki:Taxobox.css

@import url("/load.php?mode=articles&only=styles&articles=MediaWiki:Taxobox.css"); /* == Taxobox themes == */ /* === Centering Taxobox title and headers === */ .portable-infobox.pi-theme-taxobox .pi-title, .portable-infobox.pi-theme-taxobox .pi-header { text-align: center; } /* === These two styles are if you care about labels wrapping too much === */ .portable-infobox.pi-theme-taxobox .pi-data-label { flex-basis: 100px; } .portable-infobox.pi-theme-taxobox .pi-data-value:not(:only-child) { flex-basis: 170px; } /* === Widening only children when there is no label === */ .portable-infobox.pi-theme-taxobox .pi-data-value:only-child { width: 100%; text-align: center; } /* === Taxobox header colors === */ .portable-infobox.pi-theme-Animalia .pi-title, .portable-infobox.pi-theme-Animalia .pi-header { background-color:#d3d3a4; } .portable-infobox.pi-theme-Plantae .pi-title, .portable-infobox.pi-theme-Plantae .pi-header, .portable-infobox.pi-theme-Archaeplastida .pi-title, .portable-infobox.pi-theme-archaeplastida .pi-header { background-color:#90ee90; } .portable-infobox.pi-theme-Fungi .pi-title, .portable-infobox.pi-theme-Fungi .pi-header { background-color:#add8e6; } .portable-infobox.pi-theme-Chromalveolata .pi-title, .portable-infobox.pi-theme-Chromalveolata .pi-header { background-color:#adff2f; } .portable-infobox.pi-theme-Rhizaria .pi-title, .portable-infobox.pi-theme-Rhizaria .pi-header { background-color:#e6e6fa; } .portable-infobox.pi-theme-Excavata .pi-title, .portable-infobox.pi-theme-Excavata .pi-header { background-color:#f0e68c; } .portable-infobox.pi-theme-Amoebozoa .pi-title, .portable-infobox.pi-theme-Amoebozoa .pi-header { background-color:#ffc8a0; } .portable-infobox.pi-theme-Bacteria .pi-title, .portable-infobox.pi-theme-Bacteria .pi-header { background-color:#d3d3d3; } .portable-infobox.pi-theme-Archaea .pi-title, .portable-infobox.pi-theme-Archaea .pi-header { background-color:#f3e0e0; } .portable-infobox.pi-theme-Virus .pi-title, .portable-infobox.pi-theme-Virus .pi-header { background-color:#ee82ee; } .portable-infobox.pi-theme-Incertae_sedis .pi-title, .portable-infobox.pi-theme-Incertae_sedis .pi-header { background-color:#faf0e6; }