@import url('"https://cloudpnrcdn.oss-cn-shanghai.aliyuncs.com/dgwebsite/open-public/docs/lib/themes/font-googleapis.css');

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -webkit-overflow-scrolling: touch;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-text-size-adjust: none;
  -webkit-touch-callout: none;
}

body:not(.ready) {
  /* overflow: hidden; */
}

body:not(.ready) [data-cloak],
body:not(.ready) .app-nav,
body:not(.ready) > nav {
  display: none;
}

div#app {
  margin: 40vh auto;
  font-size: 30px;
  font-weight: lighter;
  text-align: center;
}

div#app:empty::before {
  content: 'Loading...';
}

.emoji {
  height: 1.2rem;
  vertical-align: middle;
}

.progress {
  position: fixed;
  z-index: 999999;
  top: 0;
  right: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--theme-color, #42b983);
  transition: width 0.2s, opacity 0.4s;
}

.search a:hover {
  color: var(--theme-color, #42b983);
}

.search .search-keyword {
  color: var(--theme-color, #42b983);
  font-style: normal;
  font-weight: bold;
}

.hight-keyword {
  color: var(--theme-color, #42b983) !important;
  font-style: normal;
  font-weight: bold;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  color: #4c4c4c;
  font-family: PingFangSC, PingFangSC-Regular;
  font-size: 0.875rem;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0;
  overflow-x: hidden;
}

#main img {
  max-width: 50%;
  margin: 24px 0 36px;
}

#main p img {
  max-width: 50%;
  margin: 16px 0 36px;
}

a[disabled] {
  cursor: not-allowed;
  opacity: 0.6;
}

kbd {
  display: inline-block;
  padding: 3px 5px;
  border: solid 1px #ccc;
  margin-bottom: 3px;
  border-radius: 3px;
  font-size: 12px !important;
  line-height: 12px;
  vertical-align: middle;
}

li input[type='checkbox'] {
  margin: 0 0.2em 0.25em 0;
  vertical-align: middle;
}

.app-nav {
  position: absolute;
  z-index: 10;
  right: 0;
  margin: 25px 60px 0 0;
  text-align: right;

  /* navbar dropdown */
}

.app-nav.no-badge {
  margin-right: 25px;
}

.app-nav p {
  margin: 0;
}

.app-nav > a {
  padding: 5px 0;
  margin: 0 1rem;
}

.app-nav ul,
.app-nav li {
  display: inline-block;
  margin: 0;
  list-style: none;
}

.app-nav a {
  color: inherit;
  font-size: 16px;
  text-decoration: none;
  transition: color 0.3s;
}

.app-nav a:hover {
  color: var(--theme-color, #42b983);
}

.app-nav a.active {
  border-bottom: 2px solid var(--theme-color, #42b983);
  color: var(--theme-color, #42b983);
}

.app-nav li {
  position: relative;
  display: inline-block;
  padding: 5px 0;
  margin: 0 1rem;
  cursor: pointer;
}

.app-nav li ul {
  position: absolute;
  top: 100%;
  right: -15px;
  display: none;
  max-height: calc(100vh - 61px);
  box-sizing: border-box;
  padding: 10px 0;
  border: 1px solid #ddd;
  border-bottom-color: #ccc;
  background-color: #fff;
  border-radius: 4px;
  overflow-y: auto;
  text-align: left;
  white-space: nowrap;
}

.app-nav li ul li {
  display: block;
  margin: 0;
  margin: 8px 14px;
  font-size: 14px;
  line-height: 1rem;
  white-space: nowrap;
}

.app-nav li ul a {
  display: block;
  padding: 0;
  margin: 0;
  font-size: inherit;
}

.app-nav li ul a.active {
  border-bottom: 0;
}

.app-nav li:hover ul {
  display: block;
}

.github-corner {
  position: fixed;
  z-index: 1;
  top: 0;
  right: 0;
  border-bottom: 0;
  text-decoration: none;
}

.github-corner:hover .octo-arm {
  -webkit-animation: octocat-wave 560ms ease-in-out;
  animation: octocat-wave 560ms ease-in-out;
}

.github-corner svg {
  width: 80px;
  height: 80px;
  color: #fff;
  fill: var(--theme-color, #42b983);
}

main {
  position: relative;
  /* z-index: 0; */
  display: block;
  width: 100vw;
  height: calc(100vh - 116px);
  margin-top: 116px;
}

main.hidden {
  display: none;
}

.markdown-section .anchor {
  display: inline-block;
  text-decoration: none;
  transition: all 0.3s;
}

.markdown-section .anchor span {
  color: #000;
}

.markdown-section .anchor:hover {
  text-decoration: underline;
}

.sidebar {
  position: fixed;
  z-index: 20;
  top: 140px;
  bottom: 0;
  left: 0;
  width: 252px;
  border-right: 1px solid #ecedf0;
  overflow-y: auto;
  transition: transform 250ms ease-out;
}
::-webkit-scrollbar {
  display: none;
}

.rightSidebar {
  position: fixed;
  z-index: 20;
  top: 106px;
  bottom: 0;
  right: 0;
  width: 220px;
  transition: transform 250ms ease-out;
  background-color: #fff;
  padding-left: 15px;
  padding-top: 40px;
  padding-bottom: 50px;
  overflow-y: auto;
}

.hideBtn {
  position: fixed;
  right: 185px;
  top: 120px;
  width: 36px;
  height: 36px;
  /* background-color: green; */
  cursor: pointer;
  z-index: 100;
  transition: all 0.3s ease-in-out;
}

.lefthideBtn {
  position: fixed;
  left: 238px;
  top: 120px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  z-index: 100;
  transition: all 0.3s ease-in-out;
}
.leftOpenBtn {
  transform: translateX(-239px);
}
.openBtn {
  transform: translateX(190px);
}

.hideBtn .btn__3NkQ {
  position: absolute;
  width: 28px;
  height: 28px;
  display: block;
  background-color: #fff;
  -webkit-transform: scale(0.8);
  -ms-transform: scale(0.8);
  transform: scale(0.8);
  -webkit-transition: background 0.3s, -webkit-transform 0.3s;
  transition: background 0.3s, -webkit-transform 0.3s;
  -o-transition: transform 0.3s, background 0.3s;
  transition: transform 0.3s, background 0.3s;
  transition: transform 0.3s, background 0.3s, -webkit-transform 0.3s;
  -webkit-box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.02),
    0 1px 4px 0 rgba(0, 0, 0, 0.1);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.02), 0 1px 4px 0 rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  z-index: 10;
}

.btn__3NkQ > li {
  color: #262626;
  border: none;
  line-height: 1.5;
}

.hideBtn .btn-1__2Gt1,
.btn-2__2QQJ {
  -webkit-transform: rotate(225deg) translate3d(-1.8px, 1.8px, 0);
  transform: rotate(225deg) translate3d(-1.8px, 1.8px, 0);
}
.openBtn .btn-1__2Gt1,
.openBtn .btn-2__2QQJ {
  -webkit-transform: rotate(315deg) translate3d(-1.8px, 1.8px, 0);
  transform: rotate(315deg) translate3d(-1.8px, 1.8px, 0);
}

.btn-3__2ST- {
  opacity: 0;
}

.hideBtn .btn-4__31us,
.btn-5__36jX {
  -webkit-transform: rotate(135deg) translate3d(-1.8px, -1.8px, 0);
  transform: rotate(135deg) translate3d(-1.8px, -1.8px, 0);
}

.openBtn .btn-4__31us,
.openBtn .btn-5__36jX {
  -webkit-transform: rotate(225deg) translate3d(-1.8px, -1.8px, 0);
  transform: rotate(225deg) translate3d(-1.8px, -1.8px, 0);
}

.btn-1__2Gt1,
.btn-2__2QQJ,
.btn-3__2ST-,
.btn-4__31us,
.btn-5__36jX {
  list-style: none;
  display: block;
  position: absolute;
  height: 2px;
  background-color: #8c8c8c;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
  width: 7px;
  /* -webkit-transform: scaleY(.6);
  -ms-transform: scaleY(.6);
  transform: scaleY(.6); */
}

.btn-1__2Gt1 {
  left: 6px;
  top: 11px;
}
.openBtn .btn-1__2Gt1 {
  left: 6px;
  top: 9px;
}

.btn-2__2QQJ {
  left: 13px;
  top: 11px;
}

.openBtn .btn-2__2QQJ {
  left: 13px;
  top: 9px;
}

.btn-3__2ST- {
  width: 14px;
  left: 7px;
  top: 13px;
}

.btn-4__31us {
  left: 6px;
  top: 15px;
}

.openBtn .btn-4__31us {
  left: 6px;
  top: 13px;
}

.btn-5__36jX {
  left: 13px;
  top: 15px;
}

.openBtn .btn-5__36jX {
  left: 13px;
  top: 13px;
}

.hideBtn .btn__3NkQ:hover,
.lefthideBtn .btn__3NkQ:hover {
  background-color: #6e74e0;
  -webkit-transform: scale(0.714);
  -ms-transform: scale(0.714);
  transform: scale(0.714);
}

.btn__3NkQ:hover > li {
  background-color: #fff !important;
}

.lefthideBtn .btn__3NkQ {
  position: absolute;
  width: 28px;
  height: 28px;
  display: block;
  background-color: #fff;
  -webkit-transform: scale(0.8);
  -ms-transform: scale(0.8);
  transform: scale(0.8);
  -webkit-transition: background 0.3s, -webkit-transform 0.3s;
  transition: background 0.3s, -webkit-transform 0.3s;
  -o-transition: transform 0.3s, background 0.3s;
  transition: transform 0.3s, background 0.3s;
  transition: transform 0.3s, background 0.3s, -webkit-transform 0.3s;
  -webkit-box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.02),
    0 1px 4px 0 rgba(0, 0, 0, 0.1);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.02), 0 1px 4px 0 rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  z-index: 10;
}
.lefthideBtn .btn-1__2Gt1,
.lefthideBtn .btn-2__2QQJ {
  -webkit-transform: rotate(135deg) translate3d(-0.8px, 0px, 0);
  transform: rotate(135deg) translate3d(-0.8px, 0px, 0);
}
.leftOpenBtn .btn-1__2Gt1,
.leftOpenBtn .btn-2__2QQJ {
  -webkit-transform: rotate(225deg) translate3d(-1.8px, 1.8px, 0);
  transform: rotate(225deg) translate3d(-1.8px, 1.8px, 0);
}
.lefthideBtn .btn-4__31us,
.lefthideBtn .btn-5__36jX {
  -webkit-transform: rotate(45deg) translate3d(0px, -0.8px, 0);
  transform: rotate(45deg) translate3d(0px, -0.8px, 0);
}
.leftOpenBtn .btn-4__31us,
.leftOpenBtn .btn-5__36jX {
  -webkit-transform: rotate(135deg) translate3d(-1.8px, -1.8px, 0);
  transform: rotate(135deg) translate3d(-1.8px, -1.8px, 0);
}

.rightSidebar > .sidebar-nav {
  border-left: 1px solid #0000000f;
  padding-left: 10px;
  overflow-x: hidden;
}

.rightSidebar > .sidebar-nav .anchor > span {
  font-weight: 400;
  font-size: 14px;
  color: #666666;
  line-height: 22px;
  cursor: pointer;
}

.rightSidebar > .sidebar-nav > h1,
.rightSidebar > .sidebar-nav > h2,
.rightSidebar > .sidebar-nav > h3,
.rightSidebar > .sidebar-nav > h4,
.rightSidebar > .sidebar-nav > h5,
.rightSidebar > .sidebar-nav > h6 {
  margin: 0 0 8px;
  font-size: 14px;
  white-space: nowrap;
  overflow-x: hidden;
  text-overflow: ellipsis;
}
/* 目录锁进 */
.rightSidebar > .sidebar-nav > h2 {
  padding-left: 10px;
}
.rightSidebar > .sidebar-nav > h3 {
  padding-left: 20px;
}
.rightSidebar > .sidebar-nav > h4 {
  padding-left: 30px;
}
.rightSidebar > .sidebar-nav > h5 {
  padding-left: 35px;
}
.rightSidebar > .sidebar-nav > h6 {
  padding-left: 40px;
}

.rightSidebar a:hover {
  text-decoration: none;
}

.sider {
  width: 2px;
  height: 100%;
  background: #eee;
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 10px;
  margin: auto;
  bottom: 0;
}

.siderbar {
  /* background: #f36; */
  transition: all 0.1s;
  width: 8px;
  height: 8px;
  border-radius: 4px;
  border: 1px solid #0D6EFF;
  position: absolute;
  left: 12px;
  top: 48px;
}

.li-active > a > span {
  color: #0D6EFF !important;
}

.catalogbox {
  position: fixed;
  top: 10px;
  right: 10px;
  width: 300px;
  max-height: 80vh;
}
/* 高亮目录样式 */
.current-catalog {
  background-color: #0099dd;
  color: #fff;
}

.search {
  /* padding: 30px 30px 24px; */
  position: sticky;
  top: 0;
  z-index: 2;
  background-color: #fff;
  padding: 0 !important;
}
.search .input-block {
  padding: 20px 30px 24px;
  position: sticky;
  top: 0;
  z-index: 2;
  background-color: #fff;
  display: none;
}

.search .results-panel.show {
  padding: 0 30px;
}

.sidebar > h1 {
  margin: 0 0 0 30px;
  color: #000;
  font-size: 18px;
  font-weight: 400;
  line-height: 25px;
  text-align: left;
}

.sidebar > h1 a {
  color: inherit;
  text-decoration: none;
}

.sidebar > h1 .app-nav {
  position: static;
  display: block;
}

.sidebar .sidebar-nav {
  padding-bottom: 40px;
  margin-left: 12px;
  line-height: 20px;
}

.sidebar li.collapse .app-sub-sidebar {
  display: none;
}

.sidebar ul {
  padding: 0;
  margin: 0 0 0 0;
}

.sidebar li > p {
  overflow: hidden;
  margin: 0;
  color: #000;
  font-size: 14px;
  font-weight: 400;
  line-height: 40px;
  list-style: none;
  text-align: left;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 一级标题样式 */
.sidebar ul,
.sidebar ul li {
  overflow: hidden;
  /* color: #6c6e75; */
  color: #000;
  font-size: 14px;
  font-weight: 400;
  line-height: 40px;
  list-style: none;
  text-align: left;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sidebar ul {
  padding-left: 12px;
}

.sidebar ul .level-1 {
  margin-top: 14px;
  color: #000;
}
.sidebar ul li ul li a {
  /* padding-left: 10px; */
  /* color: #6c6e75; */
}

.sidebar ul li a {
  display: block;
  border-bottom: none;
}

.sidebar ul li ul {
  padding-left: 24px;
}

.sidebar::-webkit-scrollbar {
  width: 4px;
}

.sidebar::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 4px;
}

.sidebar:hover::-webkit-scrollbar-thumb {
  background: rgba(136, 136, 136, 0.4);
}

.sidebar:hover::-webkit-scrollbar-track {
  background: rgba(136, 136, 136, 0.1);
}

.sidebar-toggle {
  position: absolute;
  position: fixed;
  z-index: 30;
  bottom: 0;
  left: 0;
  width: 329px;
  padding: 10px;
  border: 0;
  background-color: transparent;
  background-color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  outline: none;
  text-align: center;
  transition: opacity 0.3s;
}

.sidebar-toggle:hover .sidebar-toggle-button {
  opacity: 0.4;
}

.sidebar-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  margin-bottom: 4px;
  background-color: var(--theme-color, #000);
}

/* 导航栏上下固定位置 */

/* body.sticky .sidebar,
body.sticky .sidebar-toggle {
  position: fixed;
} */
.content {
  position: absolute;
  top: 0;
  right: 220px;
  bottom: 0;
  left: 252px;
  padding-top: 60px;
  transition: left 250ms ease;
  /* overflow: auto; */
}

.rightOpenContent {
  right: 0;
  transition: right 250ms ease;
}
.leftOpenContent {
  left: 0 !important;
  transition: left 250ms ease;
}

.markdown-section {
  position: relative;
  max-width: 80%;
  padding: 30px 15px 40px 15px;
  margin: 0 auto;
}

.markdown-section > * {
  box-sizing: border-box;
  font-size: inherit;
}

.markdown-section > :first-child {
  margin-top: 0 !important;
}

.markdown-section hr {
  border: none;
  border-bottom: 1px solid #eee;
  margin: 2em 0;
}

.markdown-section iframe {
  /* fix horizontal overflow on iOS Safari */

  /* width: 1px;
  min-width: 100%; */
  display: block;
  border: 1px solid #eee;
}

.markdown-section table {
  display: table;
  overflow: auto;
  width: 100%;
  margin-top: 16px;
  margin-bottom: 36px;
  border-collapse: collapse;
  border-spacing: 0;
  word-break: break-all;
}

.markdown-section table thead {
  background-color: #F7F8FA;
}

.markdown-section th {
  padding: 6px 10px;
  color: #4c4c4c;
  font-size: 14px;

  /* border: 1px solid #ddd; */
  font-weight: bold;
}

.markdown-section td {
  /* border: 1px solid #ddd; */
  padding: 6px 10px;
  color: #4c4c4c;
  font-size: 14px;
}

.markdown-section tr {
  height: 40px;
  border: 1px solid #ecedf0;
}

.markdown-section tr:nth-child(2n) {
  /* background-color: #F7FAFC; */
}

.markdown-section p.tip {
  position: relative;
  padding: 18px 23px 14px 48px;
  margin: 40px 0;
  background-color: #fffbee;
  color: #e79d00;
  font-size: 16px;
  line-height: 28px;
}

.markdown-section p.tip::before {
  position: absolute;
  top: 23px;
  left: 20px;
  width: 20px;
  height: 20px;
  background-color: #ffb700;
  border-radius: 100%;
  color: #fff;
  content: '!';
  font-family: 'Dosis', 'Source Sans Pro', 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
}

.markdown-section p.tip code {
  background-color: #efefef;
}

.markdown-section p.tip em {
  color: #34495e;
}

.markdown-section p.warn {
  padding: 1rem;
  background: rgba(66, 185, 131, 0.1);
  border-radius: 2px;
}

.markdown-section ul.task-list > li {
  list-style-type: none;
}

body.close .sidebar {
  transform: translateX(-300px);
}

.hideRightSidebar {
  transform: translateX(220px);
}
.openRightSidebar {
  transform: translateX(0px);
}
.hideLeftSidebar {
  transform: translateX(-252px);
}
.openLeftSidebar {
  transform: translateX(0px);
}
body.close .sidebar-toggle {
  width: auto;
}

body.close .content {
  left: 0;
}

@media print {
  .github-corner,
  .sidebar-toggle,
  .sidebar,
  .app-nav {
    display: none;
  }
}

@media screen and (max-width: 1199px) {
  .github-corner,
  .sidebar-toggle,
  .sidebar {
    position: fixed;
  }

  .lefthideBtn {
    /* display: none; */
  }

  .tab {
    margin-top: 30px;
    padding-left: 15px !important;
    margin-bottom: -10px;
    font-weight: 400;
    font-size: 14px;
    color: #8c8c8c;
    line-height: 22px;
  }

  .app-nav {
    margin-top: 16px;
  }

  .app-nav li ul {
    top: 30px;
  }

  main {
    height: auto;
    overflow-x: hidden;
  }

  .sidebar {
    left: -300px;
    transition: transform 250ms ease-out;
  }

  .content {
    position: static;
    left: 0;
    max-width: 100vw;
    padding-top: 20px;
    transition: transform 250ms ease;
  }

  .app-nav,
  .github-corner {
    transition: transform 250ms ease-out;
  }

  .sidebar-toggle {
    width: auto;
    padding: 30px 30px 10px 10px;
    background-color: transparent;
  }

  body.close .sidebar {
    transform: translateX(300px);
  }

  body.close .sidebar-toggle {
    width: 284px;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.8);
    transition: 1s background-color;
  }

  body.close .content {
    transform: translateX(300px);
  }

  body.close .app-nav,
  body.close .github-corner {
    display: none;
  }

  .github-corner:hover .octo-arm {
    -webkit-animation: none;
    animation: none;
  }

  .github-corner .octo-arm {
    -webkit-animation: octocat-wave 560ms ease-in-out;
    animation: octocat-wave 560ms ease-in-out;
  }
}

@-webkit-keyframes octocat-wave {
  0%,
  100% {
    transform: rotate(0);
  }

  20%,
  60% {
    transform: rotate(-25deg);
  }

  40%,
  80% {
    transform: rotate(10deg);
  }
}

@keyframes octocat-wave {
  0%,
  100% {
    transform: rotate(0);
  }

  20%,
  60% {
    transform: rotate(-25deg);
  }

  40%,
  80% {
    transform: rotate(10deg);
  }
}

section.cover {
  display: none;
  width: 100vw;
  height: 100vh;
  align-items: center;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

section.cover.show {
  display: flex;
}

section.cover.has-mask .mask {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  opacity: 0.8;
}

section.cover .cover-main {
  position: relative;
  flex: 1;
  margin: -20px 16px 0;
  text-align: center;
}

section.cover a {
  color: inherit;
  text-decoration: none;
}

section.cover a:hover {
  text-decoration: none;
}

section.cover p {
  margin: 1em 0;
  line-height: 1.5rem;
}

section.cover h1 {
  position: relative;
  margin: 0.625rem 0 2.5rem;
  color: inherit;
  font-size: 2.5rem;
  font-weight: 300;
  text-align: center;
}

section.cover h1 a {
  display: block;
}

section.cover h1 small {
  position: absolute;
  bottom: -0.4375rem;
  font-size: 1rem;
}

section.cover blockquote {
  font-size: 1.5rem;
  text-align: center;
}

section.cover ul {
  max-width: 500px;
  padding: 0;
  margin: 1em auto;
  line-height: 1.8;
  list-style-type: none;
}

section.cover .cover-main > p:last-child a {
  display: inline-block;
  box-sizing: border-box;
  padding: 0.75em 2rem;
  border-width: 1px;
  border-style: solid;
  border-color: var(--theme-color, #42b983);
  margin: 0.5rem 1rem;
  border-radius: 2rem;
  color: var(--theme-color, #42b983);
  font-size: 1.05rem;
  letter-spacing: 0.1rem;
  text-decoration: none;
  transition: all 0.15s ease;
}

section.cover .cover-main > p:last-child a:last-child {
  background-color: var(--theme-color, #42b983);
  color: #fff;
}

section.cover .cover-main > p:last-child a:last-child:hover {
  color: inherit;
  opacity: 0.8;
}

section.cover .cover-main > p:last-child a:hover {
  color: inherit;
}

section.cover blockquote > p > a {
  border-bottom: 2px solid var(--theme-color, #42b983);
  transition: color 0.3s;
}

section.cover blockquote > p > a:hover {
  color: var(--theme-color, #42b983);
}

body {
  background-color: #fff;
}

/* sidebar */
.sidebar {
  background-color: #fff;
  color: #364149;
}

.sidebar li {
  margin: 8px 0;
}

/* 二级标题默认样式 */
.sidebar ul li a {
  overflow: hidden;
  /* color: #6c6e75; */
  color: #000;
  font-size: 14px;
  font-weight: 400;
  text-align: left;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* .sidebar ul li a:hover {   左侧子标题前缀下划线
  text-decoration: underline;
} */

/* .sidebar ul li ul {
  padding: 0;
} */

.app-sub-sidebar li::before {
  padding-right: 4px;
  content: '';
  float: left;
}

/**
 * 渲染文档出的标题样式
 */
.sidebar ul.app-sub-sidebar li > a {
  color: var(--theme-color, #000);
  font-size: 8px;
  font-weight: 400;
  text-align: left;
}
.sidebar ul .active > a {
  background: #E8F3FF;
}
/* 二级标题活跃样式 */
.sidebar ul li.active > a {
  position: relative;
  color: var(--theme-color, #0D6EFF);
  font-size: 14px;
  /* font-weight: 600; */
  text-align: left;
  padding-left: 12px;
}

.sidebar ul li.active > a::after {
  position: absolute;
  top: 0px;
  right: 0;
  width: 0px;
  height: 40px;
  /* background: #0D6EFF; */
  content: '';
}

.sidebar ul li > .active > a {
  /* position: relative; */
  color: var(--theme-color, #0D6EFF);
  font-size: 14px;
  /* font-weight: 600; */
  text-align: left;
  /* padding-left: 12px; */
}

.sidebar ul li > .active > a::after {
  position: absolute;
  top: 0px;
  right: 0;
  width: 0px;
  height: 40px;
  background: #0D6EFF;
  content: '';
}

/* markdown content found on pages */
.markdown-section h1,
.markdown-section h2,
.markdown-section h3,
.markdown-section h4,
.markdown-section strong {
  color: #262626;
  font-weight: 600;
}

.markdown-section a:hover {
  text-decoration: none !important;
}

.markdown-section h1 {
  position: relative;
  /* top: -120px; */
  margin: 36px 0 0;
  font-size: 24px;
  /* z-index: -1; */
}

.markdown-section h2 {
  position: relative;
  /* top: -120px; */
  margin: 36px 0 0;
  font-size: 20px;
  /* z-index: -1; */
}

.markdown-section h3 {
  position: relative;
  /* top: -120px; */
  margin: 24px 0 0;
  font-size: 16px;
  /* z-index: -1; */
}

.markdown-section h4 {
  position: relative;
  /* top: -120px; */
  margin: 16px 0 0;
  font-size: 14px;

  /* z-index: -1; */
}

.markdown-section h5 {
  position: relative;
  /* top: -120px; */
  margin: 24px 0;
  font-size: 14px;

  /* z-index: -1; */
}

.markdown-section h6 {
  position: relative;
  /* top: -120px; */
  margin: 20px 0;
  font-size: 15px;

  /* z-index: -1; */
}

.markdown-section h1 a,
.markdown-section h2 a,
.markdown-section h3 a,
.markdown-section h4 a,
.markdown-section h5 a,
.markdown-section h6 a {
  /* position: relative; */
  /* top: 120px; */
}

.markdown-section figure,
.markdown-section p {
  margin: 8px 0 0;
  color: #4c4c4c;
  font-size: 14px;
}

.markdown-section p,
.markdown-section ul,
.markdown-section ol {
  /* line-height: 1.6rem; */
  word-spacing: 0.05rem;
}

.markdown-section ul,
.markdown-section ol {
  padding-left: 1.5rem;
}

.markdown-section ul li,
.markdown-section ol li {
  margin-top: 8px;
  font-size: 14px;
  list-style: inherit !important;
}

.markdown-section ul li p,
.markdown-section ol li p {
  margin-top: 0 !important;
}

.markdown-section blockquote {
  padding-left: 20px;
  border-left: 4px solid var(--theme-color, #0D6EFF);
  margin: 2em 0;
  color: #858585;
}

.markdown-section blockquote p {
  margin-left: 0;
  font-weight: 600;
}

.markdown-section iframe {
  margin: 1em 0;
}

.markdown-section em {
  color: #7f8c8d;
  font-style: normal;
}

.markdown-section code,
.markdown-section pre,
.markdown-section output::after {
  font-family: 'Roboto Mono', Monaco, courier, monospace;
}

.markdown-section code,
.markdown-section pre {
  background-color: #f8f8f8;
}

.markdown-section pre,
.markdown-section output {
  position: relative;
  margin: 1.2em 0;
}

.markdown-section pre > code,
.markdown-section output {
  display: block;
  border-radius: 2px;
}

.markdown-section pre > code,
.markdown-section output::after {
  -moz-osx-font-smoothing: initial;
  -webkit-font-smoothing: initial;
}

.markdown-section code {
  padding: 3px 5px;
  margin: 0 2px;
  border-radius: 2px;
  color: #e96900;
  white-space: pre-wrap;
}

.markdown-section > :not(h1):not(h2):not(h3):not(h4):not(h5):not(h6) code {
  font-size: 0.8rem;
}

.markdown-section pre {
  overflow: auto;
  padding: 0 1.4rem;
  line-height: 1.5rem;
  word-wrap: normal;
}

.markdown-section pre > code {
  overflow: inherit;
  max-width: inherit;
  max-height: 700px;
  padding: 2.2em 5px;
  margin: 0 2px;
  color: #fff;
  font-size: 0.8rem;
  line-height: inherit;
  white-space: inherit;
}

.markdown-section output {
  padding: 1.7rem 1.4rem;
  border: 1px dotted #ccc;
}

.markdown-section output > :first-child {
  margin-top: 0;
}

.markdown-section output > :last-child {
  margin-bottom: 0;
}

.markdown-section code::after,
.markdown-section code::before,
.markdown-section output::after,
.markdown-section output::before {
  letter-spacing: 0.05rem;
}

.markdown-section pre::after,
.markdown-section output::after {
  position: absolute;
  top: 0;
  right: 0;
  height: 15px;
  padding: 5px 10px 0;
  color: #ccc;
  font-size: 0.6rem;
  font-weight: 600;
  line-height: 15px;
  text-align: right;
}

.markdown-section pre::after,
.markdown-section output::after {
  /* content: attr(data-lang); */
}

/* code highlight */
.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
  color: #8e908c;
}

.token.namespace {
  opacity: 0.7;
}

.token.boolean,
.token.number {
  color: #c76b29;
}

.token.punctuation {
  color: #525252;
}

.token.property {
  color: #c08b30;
}

.token.tag {
  color: #2973b7;
}

.token.string {
  color: var(--theme-color, #42b983);
}

.token.selector {
  color: #6679cc;
}

.token.attr-name {
  color: #2973b7;
}

.token.entity,
.token.url,
.language-css .token.string,
.style .token.string {
  color: #22a2c9;
}

.token.attr-value,
.token.control,
.token.directive,
.token.unit {
  color: var(--theme-color, #42b983);
}

.token.keyword,
.token.function {
  color: #e96900;
}

.token.statement,
.token.regex,
.token.atrule {
  color: #22a2c9;
}

.token.placeholder,
.token.variable {
  color: #3d8fd1;
}

.token.deleted {
  text-decoration: line-through;
}

.token.inserted {
  border-bottom: 1px dotted #202746;
  text-decoration: none;
}

.token.italic {
  font-style: italic;
}

.token.important,
.token.bold {
  font-weight: bold;
}

.token.important {
  color: #c94922;
}

.token.entity {
  cursor: help;
}

code .token {
  position: relative;
  left: auto;
  min-height: 1.5rem;
  -moz-osx-font-smoothing: initial;
  -webkit-font-smoothing: initial;
}

@media screen and (min-width: 1200px) and (max-width: 1400px) {
  .sidebar-toggle {
    width: 244px;
  }

  .sidebar {
    width: 245px;
  }

  .lefthideBtn {
    position: fixed;
    left: 230px;
    top: 120px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease-in-out;
  }

  .leftOpenBtn {
    transform: translateX(-220px);
  }

  .search {
    padding: 30px 22px;
  }

  .sidebar > h1 {
    margin: 0 0 0 22px;
  }

  .sidebar .sidebar-nav {
    margin-left: 22px;
  }

  .sidebar ul li ul {
    padding-left: 10px;
  }

  .content {
    left: 245px;
  }
}
.tab {
  margin-top: 30px;
  padding-left: 40px;
  margin-bottom: -10px;
  font-weight: 400;
  font-size: 14px;
  color: #8c8c8c;
  line-height: 22px;
}

.tab > span:first-child {
  color: #333333;
}
.menuSwitch {
  width: 100%;
  background-color: #f9f9f9;
  padding-left: 30px;
  height: 36px;
  font-weight: 400;
  font-size: 14px;
  color: #0D6EFF;
  line-height: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.menuSwitch > img {
  width: 12px;
  height: 12px;
  margin-right: 6px;
}

@media screen and (max-width: 1199px) { 
  .menuSwitch {
    display: none !important;
  }
}

@media screen and (min-width: 1200px) { 
  .sidebar ul li > .active > a {
      padding-left: 12px;

  }
}