User:Fish bowl/compactToc.css

.toc { font-family: Tahoma, sans-serif; letter-spacing: 0; } .toclevel-1 * { display: inline; } .toclevel-1 ul { margin: 0 !important; } .tocnumber { display: none; }

.toclevel-1:before { content: '◆'; margin-right: 2px; } .toclevel-1 > a .toctext { display: inline; min-width: 6em; margin-right: 1em; } .toclevel-1 > a .toctext:after { content: ':'; }

.toclevel-2:not(:first-child):before { content: ':'; }

.toclevel-2 ul:before { content: '('; } .toclevel-2 ul:after { content: ')'; } .toclevel-3 { font-size: 90%; } .toclevel-3:not(:first-child):before { content: ':'; }

.toclevel-3 ul:before { content: '['; } .toclevel-3 ul:after { content: ']'; } .toclevel-4 { font-size: 80%; } .toclevel-4:not(:first-child):before { content: ':'; }

.toclevel-4 ul:before { content: '{'; } .toclevel-4 ul:after { content: '}'; } .toclevel-5:not(:first-child):before { content: ':'; }