MediaWiki:Infobox.css

/* Message Box */ .mbox { display: flex; background-color: rgba(132,29,89,0.2); border-radius: 8px; border-left-width: 8px; border-style: 1px solid #655c08; border-left-color: #655c08; margin: 0.6em; margin-bottom: 1em; padding: 0 8px; } .theme-fandomdesktop-light .mbox { box-shadow: 0 0 10px rgba(0,0,0,0.30); } .theme-fandomdesktop-dark .mbox { box-shadow: 0 0 10px rgba(255,197,0,0.30); } /* Portable Infoboxes */ /* turning off hyphen truncation */ .portable-infobox .pi-navigation, .portable-infobox .pi-header, .portable-infobox .pi-caption, .portable-infobox .pi-data-value, .portable-infobox .pi-data-label { -webkit-hyphens:none; -moz-hyphens:none; -epub-hyphens:none; -ms-hyphens:none; hyphens:none; } .portable-infobox { float: right; background: rgba(132,29,89,0.2); border-radius: 8px; border: 2px solid #655c08; overflow: hidden; padding-top: 0.6em; margin-right: 0.6em; } .portable-infobox.type-Game { padding-top: 0; } .theme-fandomdesktop-light .portable-infobox { box-shadow: 0 0 10px rgba(0,0,0,0.30); } .theme-fandomdesktop-dark .portable-infobox { box-shadow: 0 0 10px rgba(255,197,0,0.30); } .portable-infobox .pi-item, .portable-infobox .pi-group, .portable-infobox .pi-smart-group, .portable-infobox .pi-smart-group-item, .portable-infobox .pi-horizontal-group, .portable-infobox .pi-horizontal-group-item { border: none; } .pi-image-thumbnail { padding: 0; width: auto; height: auto; } .portable-infobox.type-Padded .pi-image-thumbnail { padding: 0.6em; } .portable-infobox.type-Character .pi-image-thumbnail { padding-top: 0.6em; } .portable-infobox.type-Stat .pi-image-thumbnail { padding: 0.6em; } .portable-infobox.type-Skill .pi-image-thumbnail { padding: 0.6em; } .portable-infobox h2 { background-color: #650849; } .pi-horizontal-group .pi-horizontal-group-item { border-left: none; border-right: none; } .pi-title, .pi-header, .pi-horizontal-group .pi-header { font-weight: bold; text-align: center; margin-bottom: 8px; } .portable-infobox .pi-panel .wds-tabs__wrapper { margin-bottom: 8px; } .portable-infobox .pi-panel .wds-tabs__wrapper .wds-tabs { background: transparent; padding: 2px 0; text-align: center; margin: 0 0 -10px 0; flex-wrap: wrap; justify-content: center; } .portable-infobox .pi-data-label { flex-basis: 125px; } .portable-infobox .pi-data-value ul { list-style-position: outside; margin-left: 18px; } .pi-image-collection-tab-content { background-color: rgba(9,71,113,0.5); } ul.pi-image-collection-tabs { margin: 0; } ul.pi-image-collection-tabs li { border: 1px solid transparent; } ul.pi-image-collection-tabs li.current { background: rgba(15,88,129,0.5); } .pi-collapse .pi-header:first-child:after { border-color: inherit; } .pi-data-value div > ul { margin: .4em 0 .5em; }