MediaWiki:Infoboxes.css

.portable-infobox { border: 1px solid #000; margin-bottom: .5em; margin-left:1em; padding:.2em; box-sizing:border-box; width:225px; }

.portable-infobox .pi-item-spacing { border-bottom-color:transparent; border:none; padding:4px 2px; }

.portable-infobox.pi-background { background-color: #ffffff; } .portable-infobox .pi-secondary-background { background-color: #ffffff; } .portable-infobox .pi-title { text-align: center; font-size: 110%; line-height:125%; padding:2%; color:#fff; font-weight:bold; }

.portable-infobox .pi-header { text-align: center; font-size: 14px; background-color:#fff; color:#000; font-weight:bold; } .pi-header a:link, .pi-header a:visited { color:inherit !important; } .portable-infobox .WikiaArticle p { margin:0!important; } .pi-image-thumbnail { width: 100%; height: auto; } .pi-font { color:#fff; font-size:89%; line-height:95%; } .portable-infobox .pi-secondary-font { color:#fff; font-size:89%; line-height:95%!important; } .portable-infobox .pi-data-value { line-height:95%!important; }

.pi-image img { max-width:100%; height:auto } .pi-data .pi-data-label { -ms-flex-preferred-size: auto; -webkit-flex-basis:auto; -moz-flex-basis:auto; flex-basis:auto; display:-webkit-flex; display:flex; -webkit-align-items:center; align-items:center; -webkit-justify-content:left; justify-content:left; width:50%; padding-right:10px; } .pi-data .pi-data-value { -ms-flex-preferred-size: auto; -webkit-flex-basis:auto; -moz-flex-basis:auto; flex-basis:auto; width: 50%; }

/* Horizontal groups */ .pi-horizontal-group .pi-header { text-align:center!important; padding:5px!important } .pi-horizontal-group .pi-horizontal-group-item { text-align:center!important; padding:2px 5px 5px 5px!important } .portable-infobox .pi-data-value ul { text-indent:-1em; padding-left:1.5em; padding-top:.25em } .pi-horizontal-group .pi-data-label { background:#fff!important; color:#000!important; }