Template:Horizontal TOC/style.css: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
| Line 1: | Line 1: | ||
#toc .tocnumber { | |||
display: none; | |||
} | |||
#toc li, #toc ul ul { | #toc li, #toc ul ul { | ||
margin: 0; | margin: 0; | ||
Revision as of 17:12, 26 October 2025
#toc .tocnumber {
display: none;
}
#toc li, #toc ul ul {
margin: 0;
display: inline;
}
#toc li::after { content: " • " }
#toc li:last-child::after { content: none }
/* parentheses around nested lists */
#toc li li:first-child::before {
content: " (";
font-weight: normal;
}
#toc li li:last-child::after {
content: ")";
font-weight: normal;
}