Template:Horizontal TOC/style.css: Difference between revisions

mNo edit summary
mNo edit summary
Line 3: Line 3:
}
}


#toc:not(.show-breaks) li, #toc ul ul {
#toc li, #toc ul ul {
margin: 0;
margin: 0;
display: inline;
display: inline;
}
}


#toc:not(.show-breaks) li::after { content: " • " }
#toc li::after { content: " • " }
#toc li:last-child::after { content: none }
#toc li:last-child::after,
#toc.break-level-1 .toclevel-1::after { content: none }


/* parentheses around nested lists */
/* parentheses around nested lists */
Line 19: Line 20:
content: ")";
content: ")";
font-weight: normal;
font-weight: normal;
}
#toc.break-level-1 .toclevel-1 > :not(ul) .tocnumber {
display: initial;
}
#toc.break-level-1 .toclevel-1 {
margin: initial;
display: initial;
}
}