#article .markdown-body h1,
#article .markdown-body h2,
#article .markdown-body h3,
#article .markdown-body h4,
#article .markdown-body h5,
#article .markdown-body h6 {
  overflow: hidden;
}

#article .markdown-body h1::before,
#article .markdown-body h2::before,
#article .markdown-body h3::before,
#article .markdown-body h4::before,
#article .markdown-body h5::before,
#article .markdown-body h6::before {
  display: block;
  content: ' ';
  height: 60px;
  margin-top: -60px;
  visibility: hidden;
}

.toc {
  overflow-y: auto;
}

.toc > .toc-list {
  overflow: hidden;
  position: relative;
}

.toc > .toc-list li {
  list-style: none;
}

.toc-list {
  margin: 0;
  padding-left: 10px;
}

a.toc-link {
  font-weight: 400;
  color: currentColor;
  height: 100%;
}

.is-collapsible {
  max-height: 1000px;
  overflow: hidden;
  transition: all 300ms ease-in-out;
}

.is-collapsed {
  max-height: 0;
}

.is-position-fixed {
  position: fixed !important;
  top: 0;
}

.is-active-link {
  font-weight: 700 !important;
}

.toc-link::before {
  background-color: #eee;
  content: ' ';
  display: inline-block;
  height: inherit;
  left: 0;
  margin-top: -1px;
  position: absolute;
  width: 2px;
}

.is-active-link::before {
  background-color: #5764c6;
}
