MediaWiki:Wikia.css

/* Style for horizontal lists (separator following item). @source mediawiki.org/wiki/Snippets/Horizontal_lists @revision 8 (2016-05-21) @author User:Edokter */ .hlist dl, .hlist ol, .hlist ul { margin: 0; padding: 0; } /* Display list items inline */ .hlist dd, .hlist dt, .hlist li { margin: 0; display: inline; } /* Display nested lists inline */ .hlist.inline, .hlist.inline dl, .hlist.inline ol, .hlist.inline ul, .hlist dl dl, .hlist dl ol, .hlist dl ul, .hlist ol dl, .hlist ol ol, .hlist ol ul, .hlist ul dl, .hlist ul ol, .hlist ul ul { display: inline; } /* Hide empty list items */ .hlist .mw-empty-li { display: none; } /* Generate interpuncts */ .hlist dt:after { content: ": "; } .hlist dd:after, .hlist li:after { content: " · "; font-weight: bold; } .hlist dd:last-child:after, .hlist dt:last-child:after, .hlist li:last-child:after { content: none; } /* Add parentheses around nested lists */ .hlist dd dd:first-child:before, .hlist dd dt:first-child:before, .hlist dd li:first-child:before, .hlist dt dd:first-child:before, .hlist dt dt:first-child:before, .hlist dt li:first-child:before, .hlist li dd:first-child:before, .hlist li dt:first-child:before, .hlist li li:first-child:before { content: "(";   font-weight: normal; } .hlist dd dd:last-child:after, .hlist dd dt:last-child:after, .hlist dd li:last-child:after, .hlist dt dd:last-child:after, .hlist dt dt:last-child:after, .hlist dt li:last-child:after, .hlist li dd:last-child:after, .hlist li dt:last-child:after, .hlist li li:last-child:after {    content: ")"; font-weight: normal; } /* Put ordinals in front of ordered list items */ .hlist ol { counter-reset: listitem; } .hlist ol > li { counter-increment: listitem; } .hlist ol > li:before { content: " " counter(listitem) "\a0"; } .hlist dd ol > li:first-child:before, .hlist dt ol > li:first-child:before, .hlist li ol > li:first-child:before { content: " (" counter(listitem) "\a0"; }

/* Unbulleted lists */ .plainlist ol, .portable-infobox .plainlist ol, .plainlist ul, .portable-infobox .plainlist ul { line-height: inherit; list-style: none none; margin: 0; } .plainlist ol li, .portable-infobox .plainlist ul li, .plainlist ul li, .portable-infobox .plainlist ul li { margin-bottom: 0; padding-bottom: 0; }

/* Portable infobox formatting */ .portable-infobox { background: #e6ebea; border: 1px solid #e4e4e4; border-collapse: collapse; color: #fff; font-size: 10pt; padding: 4px; line-height: 1; } .portable-infobox * { border-style: hidden; } .pi-title { background: #1b676b; color: #fff; font-size: 20px; font-weight: bold; line-height: 24px; margin: 0; padding: 10px !important; } .pi-header { background: #1b676b; font-size: 12pt; font-weight: 700; margin-top: 2px !important; padding: 5px !important; } .pi-data { border-collapse: collapse; padding: 0 !important; } .pi-image { background: #e6ebea; padding: 1px 0 0 0; } .pi-caption { padding: 5px !important; text-align: center; } .portable-infobox .pi-data-label { background: #1b676b; color: #FFF; font-weight: 700; padding: 3px; text-align: center; margin: 2px 2px 0 0; vertical-align: middle; } .portable-infobox .pi-data-value { color: #3a3a3a !important; padding: 3px !important; text-align: left !important; margin-top: 2px !important; }

.portable-infobox .pi-data-value:not(:first-child) { flex-basis: 200px; }

.pi-horizontal-group-item, .pi-smart-data-label { text-align: center !important; } .pi-horizontal-group td, .pi-smart-data-value { background: #000 !important; text-align: left !important; } .pi-image-collection-tabs { color: #3a3a3a; text-align: center !important; line-height: 20px; } .pi-image-collection-tabs .pi-tab-link { padding: 2px 5px !important; }

/* Portable infobox themes */ .portable-infobox.pi-theme-bonzi .pi-title, .portable-infobox.pi-theme-bonzi .pi-header, .portable-infobox.pi-theme-bonzi .pi-data-label { background: #842dce; }

.portable-infobox.pi-theme-bulk .pi-title, .portable-infobox.pi-theme-bulk .pi-header, .portable-infobox.pi-theme-bulk .pi-data-label { background: #5c5858; }

.portable-infobox.pi-theme-bob .pi-title, .portable-infobox.pi-theme-bob .pi-header, .portable-infobox.pi-theme-bob .pi-data-label { background: #e8a317; }

.portable-infobox.pi-theme-brulk .pi-title, .portable-infobox.pi-theme-brulk .pi-header, .portable-infobox.pi-theme-brulk .pi-data-label { background: #800080; }

.portable-infobox.pi-theme-granddad .pi-title, .portable-infobox.pi-theme-granddad .pi-header, .portable-infobox.pi-theme-granddad .pi-data-label { background: #800517; }

/* Navbox formatting */ table.navbox+table.navbox { margin-top: -1px; }

.navbox-title, .navbox-header, .navbox-abovebelow, table.navbox th { /* title and above/below styles */ padding-left: 1em; padding-right: 1em; text-align: center; }

.navbox { background: #ffffff; border: 1px solid #c3c6c6; font-size: 9pt; text-align: center; margin: 4px auto 0; width: 100%; }

.navbox-title, .navbox-header, .navbox-abovebelow { background: #1b676b; color: #fff; font-weight: bold; text-align: center; width: auto; }

.navbox-group { background: #1b676b; border-right: 2px solid #ffffff; color: #fff; font-weight: bold; }

.navbox-subgroup { background: #ffffff; width: auto; }

.navbox-list { background: #e6ebea; text-align: center; padding: 0; width: 84%; }

.navbox-title a, .navbox-header a, .navbox-group a, .navbox-abovebelow a, .navbox .mw-collapsible-toggle a { color: #FFF; }

/* Main page portal */ .portal { width: 100%; background: #f2f5f4; border: 2px solid #e5e5e5; margin-bottom: 16px; }

.portal th { padding: 0.2em; background: #1b676b; color: #FFF; font-size: 120%; font-weight: bold; text-align: center; }

.portal td { padding: 0.5em; }