MediaWiki:Gadget-common-ThemeInfobox.css

/* Generic Infobox style */ .portable-infobox { background: hsl(var(--z-secondary-h), calc(var(--z-secondary-s) * 1%), calc(var(--z-secondary-l) * (100 - var(--x-darkish)) / 95 * 1%)); color: var(--grey-darker); } .portable-infobox .pi-header, .portable-infobox .pi-title { background: hsl(var(--z-primary-h), calc(var(--z-primary-s) * 1%), calc((100 - (100 - var(--z-primary-l)) * (100 - var(--x-darkish)) / 85) * 1%)); text-align: center; padding: 10px; color: var(--text-light); font-weight: 500; }

/* increase infobox width and set text size*/ .portable-infobox { --pi-width: 300px; } .skin-timeless #mw-content-text aside.portable-infobox { font-size:.85em; } .portable-infobox .image-thumbnail img { width:var(--pi-width); }

.portable-infobox .pi-item.pi-title::after, .portable-infobox .pi-item.pi-header::after { border:0; } .portable-infobox .pi-group { border-bottom-width: 0; } .portable-infobox .pi-smart-group { border: 0; } .portable-infobox .pi-smart-group .pi-smart-data-label:nth-child(even), .portable-infobox .pi-smart-group .pi-smart-data-value:nth-child(even) { background: var(--secondary-darkish); } .portable-infobox .pi-data { padding:10px; } .portable-infobox .pi-caption { color:black; }

.text-left { text-align:left; } .text-center { text-align:center; } .text-right { text-align:right; } .portable-infobox .pi-data-value .negative-list-margin { margin-top:-0.3em; }