Template:Infobox/styles.css
From Gigantic Wiki
/* For PortableInfobox templates:
HeroInfo, GuardianInfo, GameInfo */
/* General */
.portable-infobox {
width: 300px !important;
border: 3px solid #3FB9BE;
background: #0D5467; }
.pi-item-spacing {
padding: 3px 15px; }
/* Headers */
.portable-infobox h2::after { /* Fix for Timeless */
display: none !important; }
.pi-title, .pi-header, .pi-navigation {
background: #1A7D93 !important;
text-align: center; }
.pi-title {
font-family: 'MuseoSans500' !important;
font-size: 2em !important;
/* white-space:nowrap; */ }
/* Image block */
.pi-image {
padding: 10px 0 !important;
background: linear-gradient(#E7E7E7, #C6C7C6) !important; }
.pi-caption {
color: #093340;
font-style: normal;
line-height: 1.5; }
/* Rows */
.pi-item:nth-child(odd) { /* Separating rows by colors instead of borders */
background: #0A4557; }
.pi-border-color {
border-color: transparent !important; }
/* On mobile */
@media only screen and (max-width:500px) {
.portable-infobox {
margin: auto;
width: 98% !important; }
}
/* [[Category:Styling pages]] */