@@ -529,6 +529,7 @@ atomic-search-layout atomic-layout-section[section="search"] {
529529 max-height : 100vh ;
530530 overflow : hidden;
531531 scrollbar-gutter : stable;
532+ scrollbar-width : none;
532533}
533534
534535.sidebar .scrollbar-container : hover {
@@ -698,7 +699,7 @@ atomic-search-layout atomic-layout-section[section="search"] {
698699
699700.sidebar .sidebar-navigation ul li .partial {
700701 margin-top : 0 ;
701- top : calc ( 50 % - 3. 5px ) ;
702+ top : 5px ;
702703 left : -13px ;
703704}
704705
@@ -707,10 +708,7 @@ atomic-search-layout atomic-layout-section[section="search"] {
707708 position : relative;
708709}
709710
710- .sidebar
711- .sidebar-navigation
712- .parent-collapsible-content
713- li : not (: only-child )::before {
711+ .sidebar .sidebar-navigation .parent-collapsible-content : first-child ::before {
714712 content : "" ;
715713 position : absolute;
716714 border-left : black 1px solid;
@@ -719,6 +717,16 @@ atomic-search-layout atomic-layout-section[section="search"] {
719717 height : calc (100% - 9px - 10px );
720718}
721719
720+ .sidebar
721+ .sidebar-navigation
722+ .parent-collapsible-content
723+ li : not (: only-child )
724+ a
725+ + : not (: has (# TableOfContents ))
726+ li ::before {
727+ border : none;
728+ }
729+
722730/* First Sidebar Nav Horizontal Lines */
723731.sidebar
724732 .sidebar-navigation
@@ -748,6 +756,34 @@ atomic-search-layout atomic-layout-section[section="search"] {
748756 align-items : flex-start;
749757}
750758
759+ /* Table of Contents */
760+ # TableOfContents {
761+ /* Close all TOC on sidebar */
762+ display : none;
763+ }
764+
765+ .collapsible-content li ul li : has (.current ) > nav {
766+ /* Open TOC for current page */
767+ display : block !important ;
768+ }
769+
770+ # TableOfContents li {
771+ position : relative;
772+ list-style : square;
773+ }
774+
775+ /* #TableOfContents ul::before {
776+ content: "";
777+ position: absolute;
778+ border-left: black 1px solid;
779+ z-index: 9999;
780+ left: 0;
781+ top: 0;
782+ height: 100%;
783+ margin-top: 13px;
784+ margin-left: -10px;
785+ } */
786+
751787/* content */
752788main {
753789 flex : 1 ;
0 commit comments