File tree Expand file tree Collapse file tree 1 file changed +11
-23
lines changed
src/generators/legacy-html/assets Expand file tree Collapse file tree 1 file changed +11
-23
lines changed Original file line number Diff line number Diff line change @@ -599,38 +599,26 @@ hr {
599599.toc ul {
600600 margin : 0 ;
601601}
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 ;
608612}
609613
610614.toc li a : hover ::before {
611615 color : var (--white );
612616}
613617
614- .toc ul ul a {
618+ .toc ul {
615619 padding-left : 1rem ;
616620}
617621
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-
634622# toc .stability_0 ::after ,
635623.deprecated-inline ::after {
636624 background-color : var (--red2 );
You can’t perform that action at this time.
0 commit comments