Difference between revisions of "Template:Horizontal TOC/horizontal-toc-no-parentheses.css"
Jump to navigation
Jump to search
imported>Izno (poke) |
imported>Izno (poke) |
||
| Line 1: | Line 1: | ||
/* Add bullet between nested lists. Overrides .hlist styling by specificity as | /* Add bullet between nested lists. Overrides .hlist styling by specificity as | ||
| − | these are hoisted to .mw-parser-output, meaning there is one more class specifier. */ | + | these are hoisted to .mw-parser-output, meaning there is one more class specifier. |
| + | If .hlist is ever TemplateStyles'd, this needs to have another class added. */ | ||
.horizontal-toc-no-parens dd dd:first-child:before, | .horizontal-toc-no-parens dd dd:first-child:before, | ||
.horizontal-toc-no-parens dd dt:first-child:before, | .horizontal-toc-no-parens dd dt:first-child:before, | ||
Revision as of 15:04, 13 July 2019
/* Add bullet between nested lists. Overrides .hlist styling by specificity as
these are hoisted to .mw-parser-output, meaning there is one more class specifier.
If .hlist is ever TemplateStyles'd, this needs to have another class added. */
.horizontal-toc-no-parens dd dd:first-child:before,
.horizontal-toc-no-parens dd dt:first-child:before,
.horizontal-toc-no-parens dd li:first-child:before,
.horizontal-toc-no-parens dt dd:first-child:before,
.horizontal-toc-no-parens dt dt:first-child:before,
.horizontal-toc-no-parens dt li:first-child:before,
.horizontal-toc-no-parens li dd:first-child:before,
.horizontal-toc-no-parens li dt:first-child:before,
.horizontal-toc-no-parens li li:first-child:before {
content: " · ";
font-weight: bold;
}
.horizontal-toc-no-parens dd dd:last-child:after,
.horizontal-toc-no-parens dd dt:last-child:after,
.horizontal-toc-no-parens dd li:last-child:after,
.horizontal-toc-no-parens dt dd:last-child:after,
.horizontal-toc-no-parens dt dt:last-child:after,
.horizontal-toc-no-parens dt li:last-child:after,
.horizontal-toc-no-parens li dd:last-child:after,
.horizontal-toc-no-parens li dt:last-child:after,
.horizontal-toc-no-parens li li:last-child:after {
content: "";
}