body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background-color: #f8f9fa;
  position: absolute;
}

.light {
  background-color: #eee;
  color: #3c4858;
}

.dark {
  background-color: #181c27;
  color: #c4c6c9;
}

.markdown-body {
  margin-top: 2%;
  margin-left: 20%;
  margin-right: 20%;
  padding: 20px 50px;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  line-height: 1.5;
  /* color: #24292e; */
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji;
  font-size: 16px;
  letter-spacing: 0.02em;
  line-height: 1.5;
  word-wrap: break-word;
  border-radius: 10px;
  box-shadow: rgba(17, 17, 26, 0.1) 0px 4px 16px, rgba(17, 17, 26, 0.05) 0px 8px 32px;
  background-color: #fff;
}

.markdown-light {
  background-color: #fff;
}

.markdown-light h1,
.markdown-light h2,
.markdown-light h3,
.markdown-light h4,
.markdown-light h5,
.markdown-light h6 {
  color: #000;
}

.markdown-light a {
  color: #0366d6;
  transition: all 0.8s;
}

.markdown-light a:hover {
  color: #30a9de;
  transition: all 0.8s;
}

.markdown-dark {
  background-color: #252d38;
}

.markdown-dark a {
  color: #1589e9;
  transition: all 0.8s;
}

.markdown-dark a:hover {
  color: #30a9de;
  transition: all 0.8s;
}

.markdown-dark h1,
.markdown-dark h2,
.markdown-dark h3,
.markdown-dark h4,
.markdown-dark h5,
.markdown-dark h6 {
  color: #c4c6c9;
}

.markdown-body strong {
  font-weight: inherit;
  font-weight: bolder;
}

.markdown-body h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

.markdown-body img {
  border-style: none;
}

a {
  color: rgb(4, 105, 221);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

blockquote {
  margin: 0;
  margin-top: 10px;
  margin-bottom: 16px;
  padding: 0 1em;
  color: #6a737d;
  border-left: 0.25em solid #dfe2e5;
}

.markdown-body code,
.markdown-body kbd,
.markdown-body pre {
  font-family: SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace;
  font-size: 15px;
}

.markdown-body strong {
  font-weight: 600;
}

.markdown-body hr {
  height: 0;
  margin: 15px 0;
  overflow: hidden;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #dfe2e5;
}

.markdown-body hr:after,
.markdown-body hr:before {
  display: table;
  content: "";
}

.markdown-body blockquote,
.markdown-body details,
.markdown-body dl,
.markdown-body ol,
.markdown-body p,
.markdown-body table,
.markdown-body ul {
  margin-top: 0;
  margin-bottom: 16px;
}

.markdown-body pre {
  margin-top: 5px;
  margin-bottom: 16px;
  padding: 16px;
  overflow: auto;
  font-size: 85%;
  /* max-height: 600px; */
  line-height: 1.45;
  background-color: #f6f8fa;
  border-radius: 3px;
  word-wrap: normal;
  box-shadow: rgba(17, 17, 26, 0.1) 0px 0px 16px;
}

.markdown-body code {
  padding: 0.2em 0.4em;
  margin: 0;
  font-size: 85%;
  background-color: rgba(27, 31, 35, 0.05);
  border-radius: 3px;
}

.markdown-body pre > code {
  padding: 0;
  margin: 0;
  font-size: 100%;
  word-break: normal;
  white-space: pre;
  background: transparent;
  border: 0;
}

.markdown-body pre code {
  max-width: 100%;
  padding: 0;
  margin: 0;
  overflow: visible;
  line-height: inherit;
  word-wrap: normal;
  background-color: initial;
  border: 0;
}

.markdown-body ul {
  padding-left: 0;
  margin-top: 0;
  margin-bottom: 0;
}

.markdown-body ol ol,
.markdown-body ul ol {
  list-style-type: lower-roman;
}

.markdown-body ol ol ol,
.markdown-body ol ul ol,
.markdown-body ul ol ol,
.markdown-body ul ul ol {
  list-style-type: lower-alpha;
}

.markdown-body ul {
  margin-top: 0;
  margin-bottom: 8px;
}

.markdown-body ol,
.markdown-body ul {
  padding-left: 2em;
}

.markdown-body ol ol,
.markdown-body ol ul,
.markdown-body ul ol,
.markdown-body ul ul {
  margin-top: 0;
  margin-bottom: 0;
}

.markdown-body li {
  word-wrap: break-all;
}

.markdown-body li > p {
  margin-top: 16px;
}

.markdown-body li + li {
  margin-top: 0.25em;
}

.markdown-body ul li ul li:first-child {
  padding-bottom: 10px;
}

.markdown-body table {
  border-spacing: 0;
  border-collapse: collapse;
}

.markdown-body table th {
  font-weight: 600;
  white-space: nowrap;
}

.markdown-body table td,
.markdown-body table th {
  padding: 6px 13px;
  border: 1px solid #dfe2e5;
}

.markdown-body table tr {
  background-color: #fff;
  border-top: 1px solid #c6cbd1;
}

.markdown-body table tr:nth-child(2n) {
  background-color: #f6f8fa;
}

.markdown-body table {
  border-spacing: 0;
  border-collapse: collapse;
}

.markdown-dark table tr {
  background-color: #444444;
  border-top: 1px solid #c6cbd1;
  color: white;
}

.markdown-dark table tr:nth-child(2n) {
  background-color: #808080;
  color: white;
}

.markdown-body h1,
.markdown-body h2,
.markdown-body h3,
.markdown-body h4,
.markdown-body h5,
.markdown-body h6 {
  margin-top: 24px;
  margin-bottom: 16px;
  font-weight: 600;
  line-height: 1.25;
}

.markdown-body > ul > li:has(input) {
  padding-left: 0;
  margin-bottom: 0;
}

.markdown-body ul > li:has(input) > ul {
  list-style-type: none;
  padding-left: 8px;
}

.markdown-body img {
  max-width: 80%;
  display: block;
  margin: 0 auto;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  border-radius: 5px;
}

.markdown-body pre {
  position: relative;
}

.markdown-body pre #code_copy {
  position: absolute;
  right: 10px;
  top: 50%;
  margin-top: -16px;
  padding: 3px;
  opacity: 0.9;
  border: 1px solid rgba(149, 157, 165, 0.2);
  border-radius: 5px;
  z-index: 1;
}

.markdown-light pre #code_copy {
  background-color: rgb(196, 196, 196);
}

.markdown-body pre #code_copy:hover {
  background-color: #ffffff;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  border-radius: 5px;
}

.markdown-body ul li blockquote {
  margin-top: 10px;
}

.changeMode {
  position: absolute;
  right: 50px;
  top: 50px;
  padding: 5px;
  border-radius: 50%;
  background-color: #e3e3e3;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px,
    rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px,
    rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}

.markdown-light :not(pre) > code[class*="language-"],
.markdown-light pre[class*="language-"] {
  background: #161823;
}

.markdown-dark :not(pre) > code[class*="language-"],
.markdown-dark pre[class*="language-"] {
  background: #303030;
}

.markdown-light .token.cdata,
.markdown-light .token.comment,
.markdown-light .token.doctype,
.markdown-light .token.prolog {
  color: #6A9955;
}

.markdown-dark .token.cdata,
.markdown-dark .token.comment,
.markdown-dark .token.doctype,
.markdown-dark .token.prolog {
  color: #6A9955;
}

.markdown-light code[class*="language-"],
.markdown-light pre[class*="language-"] {
  color: #fff;
}

.markdown-dark code[class*="language-"],
.markdown-dark pre[class*="language-"] {
  color: #fff;
}

code[class*="language-"] ::-moz-selection,
code[class*="language-"]::-moz-selection,
pre[class*="language-"] ::-moz-selection,
pre[class*="language-"]::-moz-selection {
  text-shadow: none;
  background: #318FFE;
  color: #fff;
}
code[class*="language-"] ::selection,
code[class*="language-"]::selection,
pre[class*="language-"] ::selection,
pre[class*="language-"]::selection {
  text-shadow: none;
  background: #318FFE;
  color: #fff;
}

.token.punctuation {
  color: #E3C91C;
}

.markdown-light .token.boolean,
.markdown-light .token.constant,
.markdown-light .token.deleted,
.markdown-light .token.number,
.markdown-light .token.property,
.markdown-light .token.symbol,
.markdown-light .token.tag {
  color: #e1e1e1;
}

.markdown-dark .token.boolean,
.markdown-dark .token.constant,
.markdown-dark .token.deleted,
.markdown-dark .token.number,
.markdown-dark .token.property,
.markdown-dark .token.symbol,
.markdown-dark .token.tag {
  color: #e1e1e1;
}

.markdown-light .token.attr-name,
.markdown-light .token.builtin,
.markdown-light .token.char,
.markdown-light .token.inserted,
.markdown-light .token.selector,
.markdown-light .token.string {
  color: #D89B6F;
}

.markdown-dark .token.attr-name,
.markdown-dark .token.builtin,
.markdown-dark .token.char,
.markdown-dark .token.inserted,
.markdown-dark .token.selector,
.markdown-dark .token.string {
  color: #D89B6F;
}

.markdown-light .language-css .token.string,
.markdown-light .style .token.string,
.markdown-light .token.entity,
.markdown-light .token.operator,
.markdown-light .token.url {
  color: #fff;
  /* background: hsla(0, 0%, 100%, 0.5); */
}

.markdown-dark .language-css .token.string,
.markdown-dark .style .token.string,
.markdown-dark .token.entity,
.markdown-dark .token.operator,
.markdown-dark .token.url {
  color: #fff;
  /* background: hsla(0, 0%, 100%, 0.5); */
}

.markdown-light .token.atrule,
.markdown-light .token.attr-value,
.markdown-light .token.keyword {
  color: #569CD6;
}

.markdown-light .token.directive.keyword {
  color: #C586C0;
}

.markdown-dark .token.directive.keyword {
  color: #C586C0;
}

.markdown-light .token.directive-hash {
  color: #C586C0;
}

.markdown-dark .token.directive-hash {
  color: #C586C0;
}

.markdown-light .token.property {
  color: #9CDCFE;
}

.markdown-dark .token.property {
  color: #9CDCFE;
}

.markdown-dark .token.atrule,
.markdown-dark .token.attr-value,
.markdown-dark .token.keyword {
  color: #569CD6;
}

.markdown-light .token.function {
  color: #EAE378;
}

.markdown-dark .token.function {
  color: #EAE378;
}

.markdown-light .token.class-name {
  color: #59B294;
}

.markdown-dark .token.class-name {
  color: #59B294;
}

.change-article {
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji;
  border: 0;
  width: 100%;
  margin-right: 20%;
  height: 100px;
  margin-top: 50px;
  border-radius: 10px;
  transition: all 0.5s;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.change-dark {
  background-color: #6a737d;
  color: #f8f9fa;
}

.change-article:hover {
  cursor: pointer;
  font-weight: bolder;
  transition: all 0.5s;
  box-shadow: rgba(100, 100, 111, 0.4) 0px 7px 29px 0px;
}

.change-article:active {
  width: 95%;
  height: 90px;
}

.next-front {
  position: fixed;
  right: 6%;;
  top: 60%;;
  width: 10%;;
  /* white-space:nowrap; */
}

.dir-tree::-webkit-scrollbar {
  display: none; /* Chrome Safari */
}

.dir-tree {
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji;
  position: fixed;
  left: 6%;
  top: 15%;
  width: 10%;
  min-width: 100px;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  background-color: #f6f8fa;
  border-radius: 10px;
  max-height: 80%;
  overflow: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
  text-overflow: ellipsis; /*  过长文字省略号 */
  white-space: nowrap; /*禁止文字折行*/
}

.dir-tree ul {
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji;
  font-size: 16px;
  letter-spacing: 0.02em;
  margin-top: 25px;
  margin-bottom: 25px;
  margin-left: -10px;
  list-style: none;
  position: relative;
  /* box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px; */
}

.dir-tree ul li a {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-bar::-webkit-scrollbar {
  display: none; /* Chrome Safari */
}

.search-bar {
  cursor: pointer;
  display: flex;
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji;
  position: fixed;
  left: 6%;
  top: 8%;
  width: 10%;
  min-width: 100px;
  height: 40px;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  background-color: #f6f8fa;
  border-radius: 10px;
  overflow: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
  align-items: center;
}

.search-bar img {
  margin-left: 10px;
  height: 70%;
}

.search-bar .search-keymap {
  margin-left: 10px;
  /* font-size: small; */
  /* font-weight: bolder; */
  opacity: 0.8;
  color: #aeaeae;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  text-overflow: ellipsis; /*  过长文字省略号 */
  white-space: nowrap; /*禁止文字折行*/
}

.dir-tree ul ul li {
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji;
  letter-spacing: 0.02em;
  font-size: 14px;
  margin-left: -10px;
  margin-top: -10px;
  /* margin-bottom: 10px; */
  padding-left: 5px;
  padding-top: 10px;
  padding-bottom: 0px;
  border-radius: 10px;
  /* padding-right: -10px; */
}

/* .dir-tree ul ul li:hover {
  background-color: #eee;
} */

.dir-tree a {
  text-decoration: none;
  color: #000;
}

.dir-tree a:hover {
  font-weight: bold;
  color: #0366d6;
  /* text-decoration: underline; */
}

.dir-tree ul ul li a {
  color: #000;
}

.dir-tree ul ul li a:hover {
  color: #0366d6;
}

.link-active {
  font-weight: bold !important;
  border-bottom: 2px solid #555;
  padding-bottom: 2px;
}

.link-active-dark {
  font-weight: bold !important;
  border-bottom: 2px solid #f3f3f3;
  padding-bottom: 2px;
}

/* 图片下的文字的样式 */

.markdown-body p > p {
  color: #a3a1a1;
  margin-top: 10px;
  text-align: center;
  line-height: 100%;
}

.preview-image {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  z-index: 200;
}

#black_overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 100;
}

.zood {
  width: 100%;
  text-align: center;
  vertical-align: middle;
  margin-top: 10px;
  /* display: flex; */
}

.zood a {
  text-decoration: none;
  color: grey;
  /* display: block; */
}

.zood a:hover {
  text-decoration: underline;
}

.markdown-body input {
  margin-top: 10px;
  margin-bottom: 10px;
}

.center-search {
  display: none;
  /* flex-direction: column; */
  position: fixed;
  top: 38%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30%;
  max-height: 50%;
  z-index: 200;
  background-color: grey;
  border-radius: 10px;
}

.center-search input {
  margin: 0 auto;
  width: 90%;
  height: 30px;
  /* border: #6a737d; */
  border: none;
  outline: none;
  margin: 10px;
  border-radius: 5px;
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji;
  font-size: 16px;
  letter-spacing: 0.02em;
  padding-inline-start: 5px;
}

.center-search .search-header {
  display: flex;
  align-items: center;
  /* justify-content: space-around; */
}

.center-search .search-header img {
  margin-right: 10px;
}

.search-result {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.search-result-item {
  position: relative;
  width: 95%;
  background-color: white;
  margin-left: 20px;
  margin-right: 20px;
  margin-top: 5px;
  margin-bottom: 5px;
  padding: 10px;
  border-radius: 10px;
  color: rgb(85, 85, 85);
}

.search-result-item code {
  color: green;
  font-weight: bold;
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji;
  font-size: 16px;
  letter-spacing: 0.02em;
  line-height: 1.5;
}

.search-selected {
  background-color: rgb(66, 184, 131);
  color: white;
}

.search-selected .enter-img {
  position: absolute;
  right: 5px;
  z-index: 10;
  top: 50%;
  transform: translateY(-50%);
  height: 60%;
  opacity: 0.5;
  /* transition: all 0.5s; */
  /* border-radius: 5px; */
}

.header-navigator {
  display: none;
  position: fixed;
  width: 15%;
  left: 83%;
  top: 10%;
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji;
  font-size: 16px;
  letter-spacing: 0.02em;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
  text-overflow: ellipsis; /*  过长文字省略号 */
  white-space: nowrap; /*禁止文字折行*/
  list-style: none;
  max-height: 50%;
  overflow: auto;
}

.header-navigator::-webkit-scrollbar {
  display: none; /* Chrome Safari */
}

.header-navigator a {
  text-decoration: none;
}

.header-navigator a:hover {
  font-weight: bolder;
}

.header-navigator ul {
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji;
  font-size: 14px;
  letter-spacing: 0.02em;
  margin-top: 10px;
  margin-bottom: 10px;
  margin-left: -10px;
  list-style: none;
  position: relative;
}

.header-navigator ul ul {
  margin-left: -20px;
}

.header-navigator a {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
