MediaWiki:Infobox.css

/* CSS for the wiki's infoboxes - Inspired by Wookieepedia and Harry Potter Wiki */ .portable-infobox { width: 250px; border: none; } .portable-infobox .pi-border-color { border: none; }

/* Data background colors */ .portable-infobox .pi-data:nth-child(even) { background-color: #f0f0f0; } .portable-infobox .pi-data:nth-child(odd) { background-color: #f9f9f9; }

/* Slightly reduce padding between items */ .portable-infobox .pi-item-spacing { padding: 4px; }

/* Title and header settings */ .portable-infobox .pi-title { color: white; text-align: center; font-size: 14px !important; padding: 4px !important; font-weight: 500 !important; line-height: 1.5; }

.portable-infobox .pi-header { color: black; text-align: left; font-size: 12px !important; padding: 4px !important; font-weight: 500 !important; line-height: 1.5; }

/* Unbolding labels */ .portable-infobox .pi-data-label { font-weight: normal !important; flex-basis: 125px; }

/* Navigation */ .portable-infobox .pi-navigation { text-align: center; font-weight: 500; border-bottom-left-radius: 10px; border-bottom-right-radius: 10px; font-size: 12px; line-height: 1.5; }

/* Remove padding */ .portable-infobox .pi-horizontal-group-item.pi-data-label { padding-bottom: 0; } .portable-infobox .pi-horizontal-group-item.pi-data-value { padding-top: 0; }

/* Dark theme background colors */ .theme-fandomdesktop-dark .portable-infobox .pi-data:nth-child(even) { background-color: rgba(255,255,255,.2); } .theme-fandomdesktop-dark .portable-infobox .pi-data:nth-child(odd) { background-color: rgba(255,255,255,.1); }