Link to article: Components Intro.
/* BHL TOCs improvements */
/* Makes TOCs wider and more legible */
/* Reduce the space allocated to the fold button */
#page-content div#toc {
grid-template-areas: "fold title" "list list";
grid-template-columns: 1rem 1fr;
}
/* Hide the fold button */
#toc #toc-action-bar > a:nth-child(1) {
display: none !important; /* Override BHL important flex */
}
/* Recover the native TOC title; remove the BHL one */
#toc #toc-action-bar a::after {
content: none;
}
#toc .title {
margin: 0;
color: rgb(var(--toc-header-text-color));
}
/* Thicken up the border */
#toc {
border: thin solid rgb(var(--toc-header-bg-color));
}
/* Remove the width limit and maximum height */
#toc, #toc-list {
max-width: inherit !important;
max-height: none !important;
}
/* Don't underline TOC links */
#toc a {
text-decoration: none;
margin-right: 1rem;
}
/* Bold heading links */
#toc-list [style$="2em;"] > a {
font-weight: bold;
--wght: 700; /* BHL compatibility hack */
text-decoration: underline;
}