MediaWiki:Themes.css

/* CSS for general PI appearance */ .portable-infobox { margin:0 0 .5em 1em; width:250px; background:#fff; border-collapse:collapse; border:1px solid #999; font-size:smaller; line-height:1.5; } .portable-infobox .pi-title { text-align:center; padding: 4px 0 4px 0; color: var(--textcolor1, #FFF); background: var(--color1, #A67B5B); font-size:larger; font-weight:bold; width:100%; float:left; } .portable-infobox .pi-caption { font-size:smaller; color: var(--textcolor1, #FFF); text-align:center; }

.portable-infobox .pi-header { text-align:left; font-weight:normal; padding: 4px 0 4px 0; background: var(--color2, #C2B280); width:100%; float:left; color: var(--textcolor2, #000); }

.portable-infobox .pi-item .pi-data { vertical-align: top; background: var(--color3, #F5F5DC); padding: 4px 0 4px 0; width:100%; float:left; color: var(--textcolor3, #000); }

.portable-infobox .pi-data-label { width:50%; float:left; } .portable-infobox .pi-data-value { width:50%; float:left; text-align:right } .pi-data .pi-data-value:only-child { text-align: center; margin: auto; } .portable-infobox .pi-item-spacing { padding: 0; } /* PI colors for each infobox type */