MediaWiki:Themes.css

/* Default */ .portable-infobox { border-radius: .7em; border: 1px solid #AAAAAA; background: #E8E8E8; color: #000000; padding: 0.25em 0.24em; }

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

.portable-infobox .pi-title { display: flex; justify-content: center; background: #9BA6B1; color: #000000; font-size: 110%; font-weight: bold; padding: 0.3em; border-radius: .4em .4em 0 0; }

.portable-infobox .pi-smart-data-value, .portable-infobox .pi-border-color { border: 0; }

.portable-infobox .pi-title:first-child > span:first-child { font-weight: normal; font-size: xx-small; margin-left: 0.5em; white-space: nowrap; word-spacing: -.12em; }

.portable-infobox .pi-title:first-child > span:nth-child(2) { flex-grow: 2; text-align: center; }

.portable-infobox .pi-title:first-child > span:nth-child(3) { font-weight: normal; font-size: xx-small; margin-right: 0.5em; }

.portable-infobox .pi-group:first-child .pi-smart-group-body { padding-bottom: 4px; }

.portable-infobox .pi-group:first-child .pi-smart-data-value { align-self: center; display: flex; }

.portable-infobox .pi-group:first-child .pi-smart-data-value:first-child { justify-content: flex-end; padding-right: 4px; }

.portable-infobox .pi-group:first-child .pi-smart-data-value:only-child { justify-content: center; }

.portable-infobox .pi-group:first-child > section.pi-smart-group + div.pi-item { justify-content: center; font-style: italic; padding: 0; }

.portable-infobox .pi-group:first-child > section.pi-smart-group + div.pi-item .pi-data-value { padding: 0 0 5px 0; }

.portable-infobox abbr { font-size: .83em; top: -0.5em; position: relative; }

.portable-infobox a abbr { cursor: pointer; }

.portable-infobox .pi-data-label span:nth-child(3) img { padding-left: 8px;/* remove span tags from platform template in order to optimize this */ }

.portable-infobox .pi-header { background: #B2BFC8; text-align: center; padding: 2px 10px 2px 10px; }

.portable-infobox .pi-collapse .pi-header:first-child { padding-right: 5px; }

.portable-infobox .pi-collapse-closed .pi-header:first-child { border-radius: 0 0 .5em .5em; }

.portable-infobox .pi-collapse .pi-header:not(:first-child) { background: #D6D6D6; padding: 5px 0 5px 0 }

.portable-infobox .pi-group:last-child .pi-item:last-child .pi-data-value:first-child, .portable-infobox .pi-group:last-child .pi-item:last-child .pi-data-label { border-bottom-left-radius: .5em; }

.portable-infobox .pi-group:last-child .pi-item:last-child .pi-data-value + .pi-data-value:last-child, .portable-infobox .pi-group:last-child .pi-item:last-child .pi-data-value:only-of-type { border-bottom-right-radius: .5em; }

.portable-infobox .pi-data-label { background: #D6D6D6; padding: 4px 0 0 5px; margin-bottom: 2px; }

.portable-infobox .pi-header + .pi-header, .portable-infobox .pi-header + .pi-data .pi-data-label { margin-top: 2px; }

.portable-infobox .pi-data-value { padding: 4px 0 4px 4px; }

.portable-infobox .pi-data-value:not(.pi-smart-data-value) img { padding-left: 3px; }

.portable-infobox .pi-data-value:not(.pi-smart-data-value) a:only-child img { padding-left: 0; }/**/

/* Weapon */ .portable-infobox.pi-theme-weapon { background: #FFE4E4; } .portable-infobox.pi-theme-weapon .pi-title { background: #FF9F9F; }

.portable-infobox.pi-theme-weapon .pi-header { background: #F7B2B2; }

.portable-infobox.pi-theme-weapon .pi-collapse .pi-header:not(:first-child), .portable-infobox.pi-theme-weapon .pi-data-label { background: #FBD4D4; }/**/

/* Armor */ .portable-infobox.pi-theme-armor { background: #D9FFE6; } .portable-infobox.pi-theme-armor .pi-title { background: #7ECF99; }

.portable-infobox.pi-theme-armor .pi-header { background: #ACE1AF; }

.portable-infobox.pi-theme-armor .pi-collapse .pi-header:not(:first-child), .portable-infobox.pi-theme-armor .pi-data-label { background: #CFEBD9; }/**/

/* Monster */ .portable-infobox.pi-theme-monster { background: #DBFDFF; } .portable-infobox.pi-theme-monster .pi-title { background: #31DCE8; }

.portable-infobox.pi-theme-monster .pi-header { background: #C5E4E6; }

.portable-infobox.pi-theme-monster .pi-group:nth-child(2) .pi-header:first-child, .portable-infobox.pi-theme-monster .pi-group:last-child .pi-header:first-child { background: #6DE5ED; }

.portable-infobox.pi-theme-monster .pi-data-label { background: #C5E4E6; }

.portable-infobox.pi-theme-monster .pi-group + .pi-group .pi-smart-group .pi-smart-data-value { background: #D0E9EA; }

.portable-infobox.pi-theme-monster .pi-group + .pi-group .pi-smart-group-body { justify-content: flex-end; margin-top: 2px; }

.portable-infobox.pi-theme-monster .pi-group + .pi-group .pi-smart-group .pi-smart-data-value:first-child { flex-grow: 2; text-align: left; padding: 4px 2px 2px 6px; margin-right: 2px; }

.portable-infobox.pi-theme-monster .pi-group + .pi-group .pi-smart-group .pi-smart-data-value:not(:first-child) { text-align: right; padding: 4px 4px 2px 0; min-width: calc(18 / 100 * 100%); width: auto !important; }/**/