MediaWiki:Wikia.css

/* Reset article font size */ .WikiaArticle{font-size: 13px;}

/* Portable infobox themes */ /* smosh; blue and green */ .pi-theme-smosh { width: 270px !important } .pi-theme-smosh .pi-title { background-color: #011627; } .pi-theme-smosh .pi-header { background-color: #339933; color: white; } .pi-theme-smosh .pi-navigation { background-color: #0047AB; }

/***** Portable Infoboxes *****/ .portable-infobox { border: solid 1px; } .portable-infobox .pi-header { text-align: center; font-size: 0.9em; } .portable-infobox .pi-navigation { color: #FFF; text-align: center } .portable-infobox .pi-background .pi-image { background-color: #f2f2f2; }

/* Captions underneath infobox picture*/ .portable-infobox .pi-caption { text-align: center; font-size: 0.9em; } .portable-infobox .pi-item-spacing.pi-caption { padding-bottom: 10px; } .portable-infobox .pi-item-spacing { padding: 5px 10px; }

/* Adjusts reference size */ .portable-infobox .reference, .refadjust .reference { font-size: 7.5px;line-height: 1.5; }

/* Alternating row colors */ .portable-infobox .pi-data:nth-child(even) { background-color: #F0F0F0; } .portable-infobox .pi-data:nth-child(odd) { background-color: #f9f9f9; }

/* Eliminate border between rows */ .portable-infobox .pi-border-color { border-bottom-style: none !important; }

/* Standardized padding for infobox elements */ .portable-infobox .pi-item-spacing { padding: 4px; } /* Title field */ .portable-infobox .pi-title { font-size: 0.96em; font-weight: bold; color: #FFFFFF; text-align: center; line-height: 1.5; } /* Secondary font - section headers and labels */ .portable-infobox .pi-secondary-font { font-size: 0.8em; line-height: 1.5; } /* Field labels */ .portable-infobox .pi-data-label { font-weight: normal; padding: 0; display:-webkit-flex; display:flex; } .pi-data .pi-data-label { -webkit-flex-basis:auto; -moz-flex-basis:auto; flex-basis:auto; -webkit-align-items:center; -moz-align-items:center; align-items:center; width:45%; } /* Field values */ .portable-infobox .pi-data-value, .portable-infobox .pi-caption { font-size: 0.8em; line-height: 1.5; } .pi-data .pi-data-value { ms-flex-preferred-size:auto; -webkit-flex-basis:auto; -moz-flex-basis:auto; flex-basis:auto; -webkit-align-items:center; -moz-align-items:center; align-items:center; width:55% } .portable-infobox .pi-data-value:not(:first-child) { padding-left: 5px; } .portable-infobox .pi-data-value li { line-height: 1.5em; } /* Image handling; giving this the same style as  .infoboximage img in Common.css */ .pi-image img { max-width:100%; height:auto } /* Fix alignment of lists in horizontal rows */ .pi-horizontal-group-item.pi-data-value { text-align: left; background: #f9f9f9; } .pi-horizontal-group-item.pi-data-label { display: table-cell; border-bottom: #bfdaeb 1px solid !important; background: #f0f0f0; }