.gh-content {
  position: relative;
}

.gh-toc>.toc-list {
  position: relative;
}

.toc-list {
  overflow: hidden;
  list-style: none;
}

.gh-sidebar {
  line-height: 1.85;
  padding-left: 1.5vw;
}

@media (min-width: 1300px) {
  .toc-sidebar {
    position: absolute;
    left: -14vw;
    height: 100%;
  }

  .gh-sidebar {
    position: sticky;
    top: 20vh;
    bottom: 0;
    left: 0;
    max-width: 240px;
  }

  .gh-toc {
    position: sticky;
    top: 20vmin;
  }
}

@media (min-width: 1300px) and (max-width: 1400px) {
  .gh-sidebar {
    font-size: 1.6rem;
    padding-left: 50px;
    padding-right: 50px;
  }
}

@media (max-width: 1300px) {
  .toc-sidebar {
    display: none;
  }
}

.gh-toc .is-active-link::before {
  background-color: #4100A0;
}