MediaWiki:Infobox.css

/* CSS for the wiki's infoboxes */ /* Desktop */ .portable-infobox { width: 330px; padding: 4px; border-spacing: 0; border-radius: 0 !important; border: 1px solid var(--border-color); } .portable-infobox.pi-background { background: var(--general-bg-color); } .portable-infobox .pi-border-color { border: none; }

/* Caption */ /* Images */ .portable-infobox .pi-image img { max-width: 250px; max-height: auto; min-width: auto; min-height: auto; } .portable-infobox .pi-caption { text-align: center; font-style: normal; font-size: 12px; color: inherit; } .portable-infobox .pi-image { margin-bottom: 0; }

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

/* Title and header settings */ .portable-infobox .pi-title { color: inherit; background-color: transparent; text-align: center; font-size: 16px !important; padding: 4px !important; } .portable-infobox .pi-image:not(:last-child) { margin-bottom: 4px; }

.portable-infobox .pi-header { color: black; background-color: #dfdfdf; text-align: center; font-size: 13px !important; padding: 4px !important; }

/* Data */ .portable-infobox .pi-data-label { flex-basis: 105px; } .portable-infobox.pi-theme-person .pi-data-label { flex-basis: 90px; }

/* Fix padding */ .portable-infobox.pi-theme-series .pi-title:not(:last-child), .portable-infobox.pi-theme-character .pi-title:not(:last-child) { margin-bottom: 4px; }