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

mNo edit summary
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* [[Category:Template styles]] */
#toc .tocnumber {
#toc .tocnumber {
display: none;
display: none;
}
}


#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,
.break-level-1 #toc .toclevel-1::after { content: none }


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