User:Landsdown0201/common.css

.portable-infobox { min-width:400px; background:transparent; }

/* (caption styling) */ .portable-infobox .pi-caption { text-align:center; font-style: italic; font-size: 90%; color: white;

}

/* (image and it's container) */ .portable-infobox .pi-image-thumbnail { max-width: 400px; max-height: 500px; width: auto; height: auto; }

/* navigation bar */ .portable-infobox .pi-navigation { background-color: transparent; text-align: center; justify-content: center ; }

/* (subheading colour) */ /* .portable-infobox .pi-secondary-background, --add this if you want it to be black*/ .portable-infobox .pi-header { background-color: #000; text-align: center; justify-content: center ; }

/* (actual data) */ .portable-infobox .pi-data, .portable-infobox .pi-data-value { align-items: center; /* vertically align items or text */ vertical-align: central; text-align: center; font-size:95%;

}

.portable-infobox .pi-data-label { align-items: center; /* vertically align items or text */ text-align: center; flex-basis:   50%; font-size:95%; }

.portable-infobox .pi-horizontal-group-item { padding-left:   45px; }

/* --general bottom border-- .portable-infobox { border-bottom: 20px solid #6ebefd; }

--top title-- .portable-infobox .pi-title { background-color:#000; text-align: center; }

Data tag .pi-data Data Value .pi-data-value Data Label .pi-data-label .custom-header { color:#5E5E5E; border-radius: 3px; width: 100%; text-align: center; }