.hlist ul, .hlist ol { padding-left: 0; } /* reset hlist margins of Minerva */ .hlist li, .hlist dd, .hlist dt { margin: 0; display: inline; } .hlist dt:after, .hlist dd:after, .hlist li:after { white-space: normal; } /* Generate interpuncts */ .hlist dt:after { content: " :"; } .hlist dd:after, .hlist li:after { content: " · "; font-weight: bold; } .hlist-pipe dd:after, .hlist-pipe li:after { content: " | "; font-weight: normal; } .hlist-hyphen dd:after, .hlist-hyphen li:after { content: " - "; font-weight: normal; } .hlist-comma dd:after, .hlist-comma li:after { content: "、"; font-weight: normal; } /* Should be removed and moved to templates once TemplateStyles is live */ .hlist dd:last-child:after, .hlist dt:last-child:after, .hlist li:last-child:after { content: none; } /* Put ordinals in front of ordered list items */ /* Should be removed and moved to templates once TemplateStyles is live */ .hlist ol { counter-reset: listitem; } /* Should be removed and moved to templates once TemplateStyles is live */ .hlist ol > li { counter-increment: listitem; } /* Should be removed and moved to templates once TemplateStyles is live */ .hlist ol > li:before { content: " " counter(listitem) " "; white-space: nowrap; } /* Should be removed and moved to templates once TemplateStyles is live */ .hlist dd ol > li:first-child:before, .hlist dt ol > li:first-child:before, .hlist li ol > li:first-child:before { content: " (" counter(listitem) " "; } /* 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"; } /* make an inline list with either comma or semicolon separators */ ul.cslist, ul.sslist { margin: 0; padding: 0; display: inline-block; list-style: none; } .cslist li, .sslist li { margin: 0; display: inline-block; } .cslist li:after { content: ","; } .sslist li:after { content: ";"; } .cslist li:last-child:after, .sslist li:last-child:after { content: none; }