Skip to content

Commit b0ab483

Browse files
aduh95marco-ippolito
authored andcommitted
doc: fix styles of the expandable TOC
PR-URL: #56755 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Ulises Gascón <[email protected]> Reviewed-By: Claudio Wunder <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent d4ca38f commit b0ab483

File tree

1 file changed

+12
-24
lines changed

1 file changed

+12
-24
lines changed

‎doc/api_assets/style.css‎

Lines changed: 12 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -570,40 +570,28 @@ hr{
570570
}
571571

572572
.tocul{
573-
margin:0
573+
margin:0;
574574
}
575-
576-
.toclia::before{
577-
content:"■";
578-
color:var(--color-text-primary);
579-
padding-right:1em;
580-
font-size:0.9em;
575+
.toc>ul:first-child{
576+
margin-left:1rem;
577+
}
578+
.tocli{
579+
display: list-item;
580+
list-style: square;
581+
}
582+
.toclia{
583+
display: inline;
584+
padding-left:0;
581585
}
582586

583587
.toclia:hover::before{
584588
color:var(--white);
585589
}
586590

587-
.toculula{
591+
.tocul{
588592
padding-left:1rem;
589593
}
590594

591-
.tocululula{
592-
padding-left:2rem;
593-
}
594-
595-
.toculululula{
596-
padding-left:3rem;
597-
}
598-
599-
.tocululululula{
600-
padding-left:4rem;
601-
}
602-
603-
.toculululululula{
604-
padding-left:5rem;
605-
}
606-
607595
#toc .stability_0::after,
608596
.deprecated-inline::after{
609597
background-color:var(--red2);

0 commit comments

Comments
(0)