MediaWiki:Wikia.css

/* Fonts */ @font-face { font-family: TrajanPro; src: local('TrajanPro-Regular'), url(https://vignette.wikia.nocookie.net/hollowknight/images/a/a7/TrajanPro-Regular.otf) format('opentype'); }

@font-face { font-family: TrajanPro; font-weight: bold; src: local('TrajanPro-Bold'), url(https://vignette.wikia.nocookie.net/hollowknight/images/a/a4/TrajanPro-Bold.otf) format('opentype'); }

/*Custom expand/collapse image*/ .mw-collapsible-toggle { color: rgba(0, 0, 0, 0); } .mw-collapsible-toggle a { color: rgba(0, 0, 0, 0) !important; height: 21px; width: 30px; word-break: break-all; overflow: hidden; display: inline-block; min-width: 30px; background-position: center; background-repeat: no-repeat; background-size: contain; background-image: url(https://vignette.wikia.nocookie.net/hollowknight/images/7/70/Collapsearrow.png); } .mw-collapsible-toggle.mw-collapsible-toggle-collapsed a { background-image: url(https://vignette.wikia.nocookie.net/hollowknight/images/2/20/Expandarrow.png); }

/* neater tables */ table.listing { margin: auto !important; border-collapse: separate !important; border-spacing: 2px !important; } /* cells */ table.listing th, table.listing td { padding: 5px !important; }

/* Header font */ .WikiaPageHeader { font-family: TrajanPro; /* This changes the header on every article */ } h1 { font-family: TrajanPro; /* This changes the header on every article */ } h2 { font-family: TrajanPro; /* This changes the header on every article */ } h3 { font-family: TrajanPro; /* This changes the header on every article */ }

/*NavBar font*/ .WikiNav { font-family: TrajanPro !important; }

/* Article font */ .WikiaArticle { font-family: 'Lato', sans-serif; font-size:12pt !important; }

/*Change bullet point image*/ .WikiaArticle ul { list-style-image: url('https://vignette.wikia.nocookie.net/hollowknight/images/9/9a/BulletPoint.png'); }

/* alternating rows */ table.listing tr:nth-child(odd) { background-color: rgba(0, 0, 0, 0.15) !important; } table.listing tr:nth-child(even) { background-color: rgba(0, 0, 0, 0.25) !important; } /* sets arrows for all that are NOT in tables */ .chevron { border-top-color: transparent; } /* sets arrow colors for tables */ table.jquery-tablesorter.sortable th.headerSort .chevron:first-child { border-color: transparent transparent #FFFFFF !important; } table.jquery-tablesorter.sortable th.headerSort .chevron { border-top-color: #FFFFFF !important; } /* Style for horizontal lists (separator following item). @source mediawiki.org/wiki/Snippets/Horizontal_lists @revision 9 (2016-08-10) @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, .hlist .mw-empty-elt { 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"; }

/* TabviewDesign.css (https://dev.fandom.com/wiki/MediaWiki:TabviewDesign.css) */ /* Selected Tab */ ul.tabs li.selected a { color: White !important; background: #0E1012 !important; border: none !important; border-bottom: none !important; border-radius: 4px 4px 0 0 !important; font-family: TrajanPro; font-size:12pt !important; } /* Normal Tab; NOT selected */ ul.tabs li a { background: #25272B !important; color: #8198BC !important; border: 1px solid #1a1e23 !important; border-bottom: none !important; font-family: TrajanPro; font-size:12pt !important; } /* Contents of the selected tab */ div.tabBody.selected { background: none !important; color: none !important; border: none !important; border-radius: 0 0 8px 8px !important; padding: 5px !important; box-shadow: none; }

/* TabberDesign (https://dev.fandom.com/wiki/TabberDesign) */ .tabbertab { border: none !important; padding: 0 !important; } .tabbernav { background: #0E1012; border: none !important; padding: 0 !important; text-align: center; font-family: TrajanPro !important; border-radius: 4px; font-size: 12px !important; line-height: 12px !important; justify-content: space-between; display: flex; } .tabbernav li { font-size: 15px !important;; line-height: 15px !important; width: 100%; } .tabbernav li a { border: none !important; margin: 0 !important; padding: 10px 0 !important; background: transparent !important; color: #8198BC !important; font-size: 14px; transition-duration: 0.15s; cursor: default; font-weight: normal !important; font-size: 15px !important;; line-height: 15px !important; width: 100%; display: inline-block; } .tabbernav .tabberactive a, .tabbernav li a:hover { color: white !important; background: #0E1012 !important; }