Template:Horizontal TOC/style.css: Difference between revisions
Jump to navigation
Jump to search
Created page with "#toc li, #toc ul ul { 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; }" |
mNo edit summary |
||
| Line 1: | Line 1: | ||
#toc li, #toc ul ul | #toc li, #toc ul ul { | ||
margin: 0; | |||
display: inline; | |||
} | |||
#toc li::after { content: " • " } | #toc li::after { content: " • " } | ||
#toc li:last-child::after { content: none } | #toc li:last-child::after { content: none } | ||
Revision as of 17:08, 26 October 2025
#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;
}