MediaWiki:Themes.css

/* Infobox styling */ .portable-infobox { width: 260px; background: #FFFFFF; }

/* Alternating row colors; Colors taken directly from the original, non-PI infoboxes */ .portable-infobox .pi-data:nth-child(even) { background-color: #62a0be; }

.portable-infobox .pi-data:nth-child(odd) { background-color: #FFFFFF; } /* Eliminate border between rows */ .portable-infobox .pi-border-color { border-bottom-style: none; } /* Standardized padding for infobox elements */ .portable-infobox .pi-item-spacing { padding: 4px; } /* Title field */ .portable-infobox .pi-title { background-color: #62a0be; font-weight: bold; color: #FFFFFF; text-align: center; line-height: 1.2; }

/* Secondary font - section headers and labels */ .portable-infobox .pi-secondary-font { font-size: 0.6em; line-height: 1.5; }

/* Field labels */ .portable-infobox .pi-data-label { font-weight: normal; padding: 0; display: -webkit-flex; display: flex; } .pi-data .pi-data-label { -webkit-flex-basis:auto; -moz-flex-basis:auto; flex-basis:auto; -webkit-align-items:center; -moz-align-items:center; align-items:center; width:40%; }

/* Field values */ .portable-infobox .pi-data-value { font-size: 0.6em; line-height: 1.5; } .pi-data .pi-data-value { ms-flex-preferred-size:auto; -webkit-flex-basis:auto; -moz-flex-basis:auto; flex-basis:auto; -webkit-align-items:center; -moz-align-items:center; align-items:center; width:60% } .portable-infobox .pi-data-value:not(:first-child) { padding-left: 5px; } .portable-infobox .pi-data-value li { line-height: 1.5em; }

/* Bottom rounded corners */ .portable-infobox.pi-navigation:last-child, .portable-infobox .pi-navigation:last-child { -webkit-border-radius: 0 0 10px 10px; -moz-border-radius: 0 0 10px 10px; -ms-border-radius: 0 0 10px 10px; border-radius: 0 0 10px 10px; text-align: center; background: #62a0be; }