File tree 1 file changed +11
-23
lines changed
src/generators/legacy-html/assets
1 file changed +11
-23
lines changed Original file line number Diff line number Diff line change @@ -599,38 +599,26 @@ hr {
599
599
.toc ul {
600
600
margin : 0 ;
601
601
}
602
-
603
- .toc li a ::before {
604
- content : '■' ;
605
- color : var (--color-text-primary );
606
- padding-right : 1em ;
607
- font-size : 0.9em ;
602
+ .toc > ul : first-child {
603
+ margin-left : 1rem ;
604
+ }
605
+ .toc li {
606
+ display : list-item;
607
+ list-style : square;
608
+ }
609
+ .toc li a {
610
+ display : inline;
611
+ padding-left : 0 ;
608
612
}
609
613
610
614
.toc li a : hover ::before {
611
615
color : var (--white );
612
616
}
613
617
614
- .toc ul ul a {
618
+ .toc ul {
615
619
padding-left : 1rem ;
616
620
}
617
621
618
- .toc ul ul ul a {
619
- padding-left : 2rem ;
620
- }
621
-
622
- .toc ul ul ul ul a {
623
- padding-left : 3rem ;
624
- }
625
-
626
- .toc ul ul ul ul ul a {
627
- padding-left : 4rem ;
628
- }
629
-
630
- .toc ul ul ul ul ul ul a {
631
- padding-left : 5rem ;
632
- }
633
-
634
622
# toc .stability_0 ::after ,
635
623
.deprecated-inline ::after {
636
624
background-color : var (--red2 );
You can’t perform that action at this time.
0 commit comments