MediaWiki:WIkia.css/Infobox.css

/* Portable Infobox styling */

.portable-infobox { width:255px!important; background:#fff; border:2px solid #fff!important;

} .portable-infobox .pi-title { font-size:15px; background-color:#21ca27; margin:4px 2px!important; font-weight:900!important; text-align:center; color:#fff; } .pi-image { border:#21ca27 solid 1px; margin:2px; line-height:130%; } img.pi-image-thumbnail { max-width:100%; } .portable-infobox .pi-secondary-background{ background-color: #210b61; }

.portable-infobox .pi-header { padding:2px 0px; margin:0 2px 2px 2px; font-weight:bold; text-align:center; background-color:#21ca27; color:#fff; } .portable-infobox .pi-item-spacing { padding: 0px 2px; } .pi-border-color { border-color:transparent; }

.pi-data .pi-data-label { font-weight:bold; text-align:right; -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:center; justify-content:center;*/ line-height:140%; background-color:#21ca27; color:#fff; width:40%; padding-right:10px!important; } .pi-data .pi-data-value { text-align:left; -ms-flex-preferred-size: auto; -webkit-flex-basis:auto; -moz-flex-basis:auto; flex-basis:auto; line-height:140%; background:#fff; width:60%; } .pi-data-value:last-child { -ms-flex-preferred-size: auto; -webkit-flex-basis:auto; -moz-flex-basis:auto; flex-basis:auto; width:100%!important; text-align:left; }

div.pi-data-value.pi-font img { display:inline!important; }

.portable-infobox .pi-data-label div { background-color:#21CA27 !important; color: White !important; }