MediaWiki:MainPageCSS

/* ================================  It's necessary to explicitly define some CSS in -ed instances on the front page in order for those definitions to be respected by mobile. This file attempts to do just that.

Much of this code is merely a recapitulation of that which exists within MediaWiki:Common.css or MediaWiki:Wikia.css — neither of which are usually respected by mobile. ================================= */

.hlist dd, .hlist dt, .hlist li { display:inline; margin:0 }

.hlist dd::after, .hlist li::after {

content: " · "; font-weight: bold; }

/* hlist varieties: comma, slash, plus, minus, pipe */ .hlist.hcomma dd::after, .hlist.hcomma li::after { content: ",\20"; font-weight: normal; } .hlist.hslash dd::after, .hlist.hslash li::after { content: " / "; font-weight: normal; } .hlist.hplus dd::after, .hlist.hplus li::after { content: " + "; font-weight: normal; } [lang="ja"] .hlist.hplus dd::after, [lang="ja"] .hlist.hplus li::after { content: " ＋ "; } .hlist.hplus.inline ul { display: inline; } .hlist.hminus dd::after, .hlist.hminus li::after, .hlist.hdash dd::after, .hlist.hdash li::after { content: " - "; font-weight: normal; } [lang="ja"] .hlist.hminus dd::after, [lang="ja"] .hlist.hminus li::after, [lang="ja"] .hlist.hdash dd::after, [lang="ja"] .hlist.hdash li::after{ content: " － "; } .hlist.hpipe dd::after, .hlist.hpipe li::after { content: " | "; font-weight: normal; } /* prevent a delimiter from appearing after the last item */ .hlist dd:last-child::after, .hlist dt:last-child::after, .hlist li:last-child::after { content: none; } /* For IE8 */ .hlist dd.hlist-last-child::after, .hlist dt.hlist-last-child::after, .hlist li.hlist-last-child::after { content: none; } /* ...but that hides the closing parenthesis on sublists, so we have to re-add it */ .hlist dl dl dd:last-child::after, .hlist dl dl dt:last-child::after, .hlist ol ol li:last-child::after, .hlist ul ul li:last-child::after { content: ")";   font-weight: normal; } /* For IE8 */ .hlist dl dl dd.hlist-last-child::after, .hlist dl dl dt.hlist-last-child::after, .hlist ol ol li.hlist-last-child::after, .hlist ul ul li.hlist-last-child::after {    content: ")"; font-weight: normal; }