MediaWiki:Infobox.css

/* Portable Infoboxes - Oasis */

/* General Styling for Portable Infobox */ .portable-infobox { width: 295px; border: 3px solid #7e0b22 !important; border-radius: 10px; background: var(--theme-page-background-color); }

.portable-infobox .pi-header, .portable-infobox .pi-title { border-radius: 5px; }

.portable-infobox .pi-image-collection { margin: 2px; }

.portable-infobox .pi-image-collection-tabs { text-align: center; background: transparent; display: flex; flex-wrap: wrap-reverse; justify-content: center; }

.portable-infobox .pi-item.pi-image { display:flex; flex-direction: column-reverse; margin: 2px; }

.portable-infobox .pi-collapse-closed > *:nth-child(n+2) { display:none; }

.portable-infobox .pi-image-collection-tab-content .pi-item.pi-image { margin: auto; }

.portable-infobox .pi-image figcaption.pi-caption, .portable-infobox .pi-tab-link.pi-item-spacing { font-size: 9px; border: 1px solid crimson; /* to be overridden by more specific rules if necessary */ border-bottom: 0px; padding: 2px 5.5px; border-radius: 5px 5px 0 0; line-height: normal; margin-bottom: 0; margin-top: 0; }

.portable-infobox .pi-image figcaption.pi-caption { margin-left: auto; margin-right: auto; text-align: center; min-width: 35%; }

.portable-infobox .pi-tab-link.pi-item-spacing { margin-left: 3px; margin-right: 1.2px; max-width: none; }

.portable-infobox .pi-image figcaption.pi-caption, .portable-infobox .pi-image-collection-tabs .current { background-color: crimson; color: white; }

.portable-infobox .pi-image a.image-thumbnail { border: 1px solid crimson; border-right: 2px solid crimson; border-bottom: 2px solid crimson; border-radius: 8px; padding: 2px 0.5em; }

.portable-infobox .pi-image img.pi-image-thumbnail, .portable-infobox .pi-image-collection-tab-content img { max-width: 275px; height: auto; }

.portable-infobox .pi-item-spacing { margin: 1px; padding: 0; }

.portable-infobox .pi-title { text-align: center; font-weight: bold; border-radius: 5px; margin: 0.1em; background-color: #fff; background: #7e0b22; }

.portable-infobox .pi-header { border-radius: 5px; padding: 5px; color: #ffffff; background: #7e0b22; text-align: center; vertical-align: middle; font-size: 85%; line-height: 1em; }

.portable-infobox .pi-data .pi-data-label { flex-basis: 35%; padding: 3px 3px 3px 5px; border-radius: 3px; vertical-align: middle; background: #7e0b22; color: #ffffff; font-weight: normal; font-size: 75%; }

.portable-infobox table.pi-horizontal-group { border-spacing: 2px 0; border-collapse: separate; }

.portable-infobox .pi-horizontal-group-item.pi-data-label { padding-left: 3px; border-radius: 3px; background: #7e0b22; color: #ffffff; font-weight: normal; font-size: 75%; vertical-align: middle; }

.portable-infobox .pi-data .pi-data-value { margin-top: auto; padding: 3px; flex-basis: 60%; flex-grow: 2; font-size: 75%; margin-right: 3px; margin-left: 3px; }

.portable-infobox .pi-data-value { text-align: right; border-bottom: 1px solid #7e0b22; background: var(--theme-page-background-color); }

.portable-infobox .pi-data-value li { text-align: left; }