.content {
  flex-direction: row-reverse;
  justify-content: center;
  padding-top: 0px !important;
  /* 露出右侧章节目录宽度 */
  padding-right: 300px !important;
  /* 包括 padding 在内计算宽度 */
  box-sizing: border-box;
  /* 自动换行（适用于旧版浏览器） */
  word-wrap: break-word;
  /* 自动换行（现代浏览器推荐） */
  overflow-wrap: break-word;
}

.markdown-section {
  /* flex: 1 1 0%; */
  margin: 0 48px;
  max-width: 100% !important;
}

.nav {
  width: 300px;
  position: absolute;
  right: 0;
  z-index: 999;
  top: 60px;
  display: block;
  /* 默认显示 */
}

@media (max-width: 1024px) {

  /* 手机或小平板的宽度范围 */
  .nav {
    display: none;
    /* 隐藏导航 */
  }

  .content {
    /* 去掉右侧章节目录宽度 */
    padding-right: 0px !important;
    /* 最大宽度为减去右侧章节目录宽度 */
    max-width: 100vw;
  }
}

aside.nav.nothing {
  width: 0;
}

.page_toc {
  position: fixed;
  border-left-style: solid;
  border-left-width: 1px;
  border-left-color: rgba(0, 0, 0, 0.07);
  border-image-slice: 1;
  padding-left: 5px;
  /* 顶部留白 */
  padding-top: 10px;
  /* 宽度 */
  width: 100%;
  /* 最大宽度 */
  max-width: 300px;
  /* 最小宽度 */
  min-width: 300px;
  /* 最大高度为 屏幕高度的90% */
  max-height: calc(90vh);
  /* 垂直方向超出时添加滚动条 */
  overflow-y: auto;
  /* 添加阴影效果 */
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
  /* 圆角 */
  border-radius: 15px;
}

.page_toc a>* {
  pointer-events: none;
}

.page_toc code {
  background-color: #f8f8f8;
  border-radius: 2px;
  color: #e96900;
  font-family: 'Roboto Mono', Monaco, courier, monospace;
  font-size: 0.8rem;
  margin: 0 2px;
  padding: 3px 5px;
}

.page_toc p.title {
  margin: 0px 0 0px 9px;
  padding-bottom: 5px;
  font-weight: 600;
  font-size: 1.1em;
}

.page_toc .anchor:hover:after {
  content: "";
}

.page_toc ul {
  list-style-type: none;
  margin-top: 0px;
  padding-left: 10px;
  color: var(--text-color-base, black);
  text-decoration: none;
  font-weight: 300;
  line-height: 1.6em;
}

.page_toc ul a:hover span {
  color: var(--text-color-tertiary, #42b983);
  border-bottom: none !important;
  text-decoration: none !important;
}

.page_toc ul a {
  color: var(--text-color-base, black);
  text-decoration: none !important;
  font-weight: 300;
  line-height: 1.6em;
}

@media screen and (max-width: 1300px) {
  .page_toc {
    position: relative;
    left: 0;
    top: -20px;
    padding: 10px 0;
    border: none;
    font-size: 1.0em;
  }

  .page_toc a:before {
    content: "- ";
  }

  .nav {
    margin: 0 auto;
    width: 800px;
  }

  .page_toc p.title {
    font-weight: 300;
    font-size: 1.8em;
  }

  .content {
    display: block;
  }

  .markdown-section {
    margin: 0 auto;
  }
}

.page_toc .active {
  border-left: 5px solid;
  color: var(--theme-color, #42b983);
  padding-left: 10px;
}