aboutsummaryrefslogblamecommitdiffstats
path: root/vendor/twbs/bootstrap/site/assets/scss/_toc.scss
blob: 596945628e7c1c7b9c2853b1d1ed2724aac864a2 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                      

         
                                    
                     



                                  

                     

       
                                


                      
                       


                           
                           


       

                            

     

                     
 

                              

       

                      



       
// stylelint-disable selector-max-type

.bd-toc {
  @include media-breakpoint-up(lg) {
    position: sticky;
    top: 5rem;
    right: 0;
    z-index: 2;
    height: subtract(100vh, 7rem);
    overflow-y: auto;
  }

  nav {
    @include font-size(.875rem);

    ul {
      padding-left: 0;
      list-style: none;

      ul {
        padding-left: 1rem;
        margin-top: .25rem;
      }
    }

    li {
      margin-bottom: .25rem;
    }

    a {
      color: inherit;

      &:not(:hover) {
        text-decoration: none;
      }

      code {
        font: inherit;
      }
    }
  }
}