
html, body {
  width: 100%;
  height: 100%;
  background: #fff;
}

body { font-family: "PingFang-SC-Regular",Helvetica,Tahoma,Arial,"Microsoft YaHei","WenQuanYi Micro Hei",sans-serif; }
a { color: #666; }
a:hover { opacity: 0.7; }

.loading-bar {text-align: center; color:#beb6c5;}

.g-clearfix:after {
  display: block;
  content: ' ';
  clear: both; }

.g-noselect {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none; }

.header {
  background: linear-gradient(to right,#4d0da8 140px,#ece2fe 800px, #fff 100%);
  height: 64px;
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
  font-size: 14px;
  color: #000;
  z-index: 3;
  box-shadow: 0 4px 8px -4px hsl(265deg 86% 35%);
}
.header ul {
	float: left;
    margin-right: 105px;
    height: 64px;
    line-height: 64px;
}
.header li {
	float: left;
    margin-left: 32px;
    font-weight: 100;
    font-size: 14px;
    display: list-item;
    cursor: pointer;
    color: #000;
    list-style: none;
}
.header li a { color: #fff; text-decoration: none; }
.header-active{    
  font-size: 20px;
  font-weight: 300;
  color: blueviolet;
}
.header li a.header-active{    
  font-size: 150%;
  font-weight: 500;
  color: #fff0f0;
}

.header .right-corner{
line-height: 64px;
float: right;
clear: right;
margin-right: 24px;
}

.header .right-corner a{
  color: #8c4dc7;
  margin-left: 12px;
  text-decoration: none;
}

.header .right-corner a img{
  vertical-align: middle;
}

.header .version-control{
  margin-top: 23px;
  margin-left: 460px;
  /* display: none; */
}

.logo {
	  cursor: pointer;
    width: 230px;
    line-height: 64px;
    font-size: 20px;
    color: #fff;
    float: left;
    margin-top:14px;
    font-weight: 100;
}
.logo img{
  margin-left: 62px;
}
.docs-title{
/* line-height: 15px; */
margin-bottom: 15px;
margin-left: 10px;
font-size: 16px;
color:#fff;
text-align: center ;
width: 231px;
}
.docs-version{
  clear: both;
  overflow: hidden;
}

.menu {
	z-index: 2;
  background: linear-gradient(to right,#4d0da8 140px,#ece2fe 800px);
  height: 100%;
    box-sizing: border-box;
    padding-top: 72px;
    padding-right: 10px;
    /* border-right: 1px solid #e9ecf2; */
    position: absolute;
    left: 0;
    top: 0;
    overflow: auto;
    box-shadow: 2px 0px 8px -2px hsl(265deg 86% 35%);
    overflow: auto;
}
.menu h1 { font-size: 30px; color: #d4c2e9; font-weight: 500; padding: 8px 16px; margin-bottom: 16px; }
.menu h2 { font-size: 18px; color: #f4ecfe; font-weight: 500; padding: 8px 16px 0; cursor: pointer; }
.menu ul { padding: 8px 0 8px 24px; display:none; }
.menu li { font-size: 14px; color: #222; line-height: 24px; position: relative; }
.menu li ul { padding: 8px 16px; }
.menu a{
  color:#b8b8b8;
  text-decoration:none;
}
.menu a:hover{
  color:#b8b8b8;
}
.menu a.hot {
  font-weight: 900;
  color: #efe5f7;
}


.content {
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	padding-top: 114px;
  position: relative;
  /* overflow:scroll; */
  background:#f1f1f1;
}
.anchor {
  box-sizing: border-box;
  z-index: 1;
  text-indent: 32px;
  font-size: 14px;
  position: absolute;
  top: 64px;
  width: 100%;
  background-color: #fbfbfb;
  left: 0;
  line-height: 50px;
  height: 50px;
  box-shadow: 0 4px 4px -4px hsla(0,0%,58.8%,.3);
}
.chapter-list {
  position: absolute;
  top: 134px;
  right: 20px;
  /* bottom: 0; */
  overflow: auto;
  width: 280px;
  box-sizing: border-box;
  padding: 20px 0px 20px 20px;
  z-index: 1;
  background-color: #fbfbfb;
  border-radius: 15px;
  box-shadow: inset 0px 4px 8px -2px hsl(265deg 71% 72%);
}
.chapter-title, .chapter-item {
  line-height: 2;
  color: #000;
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding-right: 20px;
}
.chapter-title {
  font-weight: 600;
  margin-bottom: 10px;
}
.chapter-item{
  padding-left:8px;
  border-left: 3px solid #fbfbfb;
  cursor: pointer;
}
.chapter-item:hover {
  color: #8c4dc7;
  border-left-color: #8c4dc7; 
}
.readme {
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	padding: 32px 325px 80px 42px;
	overflow: auto;
	font-size: 14px;
  color: #333;
  /* overflow:scroll; */
}

/* start */

.readme img {
  cursor: zoom-in;
	/* position: relative; */
	/* max-width: 270px; */
	box-shadow: -4px 4px 14px rgba(0,0,0,0.3),
        2px -2px 20px rgba(0,0,0,0.1) inset;
        margin:4px 0px 10px 0;
}

.readme img::before,
.readme img::after {
   content:"";
   position:absolute;
   z-index:-1;
}

.readme img::before,
.readme img::after {
   content:"";
   position:absolute;
   z-index:-1;
   bottom:15px;
   left:10px;
   width:50%;
   height:20%;
}

.readme img::before,
.readme img::after {
   content:"";
   position:absolute;
   z-index:-1;
   bottom:15px;
   left:10px;
   width:50%;
   height:20%;
   box-shadow:0 15px 10px rgba(0, 0, 0, 0.7);
   transform:rotate(-3deg);
}

.readme img::after{
   right:10px;
   left:auto;
   transform:rotate(3deg);
 }

 /* end */

.zoom-img {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  z-index: 5;
  display: none;
}
.zoom-img .source-img {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  cursor: zoom-out;
}
.zoom-img .source-btn {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translate3d(-50%,0,0);
  padding: 8px 20px;
  border-radius: 20px;
  border: 1px solid #fff;
  background-color: rgba(0,0,0,.4);
  font-size: 15px;
  color: #fff;
  text-decoration: none;
}


.markdown-body h2:not(:first-child) {
    padding-top: 1.5em;
}

.markdown-body h3 {
    padding-left: 1em;
    padding-top: 0.5em;
}

.markdown-body h4 {
    padding-left: 1.5em;
}

.hidden{display:none;}

.btn img{width: 100%;height: 100%;}

.gotop{
  width: 50px;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 999;
}
.goto:hover{
  background-color: #000;
}

.previous,.next{
  position: fixed;
  z-index: 998;
  bottom: 25px;
  padding: 10px;
 box-shadow: 0 0 4px #777;
 border-radius: 4px;
 color: #fff;
 background: rgba(0, 0, 0, 0.7);
}

.previous a,.next a{
  cursor: pointer;
  text-decoration:none;
  color:#fff;
}

.previous a:hover,.next a:hover{
  cursor: pointer;
}

.previous{
  left:256px;
}

.next{
  right: 330px;
}

.ncf-external-link{margin-left: 4px;}

/* 优化滚动条 */
::-webkit-scrollbar-track-piece {
  background-color: #fff;
  border-radius: 0
}
::-webkit-scrollbar {
  width: 10px;
  height: 10px
}
::-webkit-scrollbar-thumb {
  height: 50px;
  /* background-color: #b8b8b8; */
  background-color: #8c4dc7;
  border-radius: 6px;
  outline: 2px solid #fff;
  outline-offset: -2px;
  border: 2px solid #fff;
  filter: alpha(opacity = 50);
  -moz-opacity: 0.5;
  -khtml-opacity: 0.5;
  opacity: 0.5
}
::-webkit-scrollbar-thumb:hover {
  height: 50px;
  background-color: #6c0dc5;
  border-radius: 6px
}

.menu::-webkit-scrollbar-track-piece {
  background-color: #dcd8de;
  border-radius: 0;
}
.menu::-webkit-scrollbar-thumb {
  height: 50px;
  /* background-color: #b8b8b8; */
  background-color: #8c4dc7;
  border-radius: 6px;
  outline: 2px solid #dcd8de;
  outline-offset: -2px;
  border: 2px solid #fff;
  filter: alpha(opacity = 50);
  -moz-opacity: 0.5;
  -khtml-opacity: 0.5;
  opacity: 0.5;
}
.menu::-webkit-scrollbar-thumb:hover {
  height: 50px;
  background-color: #6c0dc5;
  border-radius: 6px
}

.version-control {
    margin-bottom: 15px;
    margin-left: 10px;
    font-size: 16px;
    width: 231px;
    height: 30px;
}