
html, body {
  width: 100%;
  height: 100%;
  background: #fff;
}

body { 
  font-family: "PingFang-SC-Regular",Helvetica,Tahoma,Arial,"Microsoft YaHei","WenQuanYi Micro Hei",sans-serif; background-color: #e7e0b8; 
  margin: 0; 
  padding: 0; 
}
a { color: hsl(207, 80%, 47%); }
a:hover { opacity: 0.7; }

.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-color: #434b57;
    min-height: 64px;
    width: 100%;
    position: fixed;
    left: 0;
    top: 0;
    font-size: 14px;
    color: #fff;
    z-index: 3;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 10px 20px;
    box-sizing: border-box;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    margin-right: 20px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 5px 0;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
}
.header ul {
	float: right;
    margin-right: 105px;
    line-height: 1.5;
}
.header li {
	float: left;
    margin-left: 32px;
    font-weight: 100;
    font-size: 14px;
    display: list-item;
    cursor: pointer;
    color: #fff;
    list-style: none;
}
.header li a { color: #fff; }

.logo {
	cursor: pointer;
    width: 230px;
    line-height: 1.5;
    font-size: 20px;
    color: #fff;
    float: left;
    margin-left: 32px;
    font-weight: 100;
    display: flex;
    align-items: center;
    height: 100%;
}

.menu {
	z-index: 2;
	background-color: #d9eff0;
    height: 100%;
    box-sizing: border-box;
    padding-top: 102px;
    border-right: 1px solid #e9ecf2;
    position: fixed;
    left: 0;
    top: 0;
    overflow: auto;
    width: 250px;
    max-width: 30%;
    transform: translateX(0);
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
  .menu {
    transform: translateX(-100%);
    width: 250px;
    max-width: 80%;
  }

  .menu.active {
    transform: translateX(0);
  }
}
.menu h1 { font-size: 30px; color: #333333; font-weight: 500; padding: 8px 16px; margin-bottom: 16px; }


.menu h2 { font-size: 18px; color: #333333; font-weight: 500; padding: 8px 16px 0; }
.menu ul { padding: 8px 0 8px 24px; }
.menu li { font-size: 14px; color: #222; line-height: 24px; position: relative; }
.menu li ul { padding: 8px 16px; }
.menu a.hot {
  font-weight: 900;
  color: #000;
}

.content {
	height: 100%;
	box-sizing: border-box;
	padding-top: 114px;
  position: relative;
  margin-left: 250px;
  max-width: calc(100% - 250px);
}

@media (max-width: 768px) {
  .content {
    margin-left: 0;
    max-width: 100%;
  }
}
.anchor {
  box-sizing: border-box;
  z-index: 1;
  text-indent: 32px;
  font-size: 14px;
  position: absolute;
  top: 64px;
  width: 100%;
  background-color: #fff;
  left: 0;
  line-height: 50px;
  height: 50px;
  box-shadow: 0 4px 4px -4px hsla(0,0%,58.8%,.3);
}
.chapter-list {
  position: fixed;
  top: 134px;
  right: 20px;
  bottom: 0;
  overflow: auto;
  width: 280px;
  box-sizing: border-box;
  padding-left: 10px;
  z-index: 1;
  background-color: #d9eff0;
  display: none;
}

@media (min-width: 1200px) {
  .chapter-list {
    display: block;
  }
}
.chapter-title, .chapter-item {
  line-height: 2;
  color: #000;
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding-right: 20px;
  cursor: pointer;
}
.chapter-title {
  font-weight: 600;
  margin-bottom: 10px;
}
.chapter-item:hover {
  color: #0073eb;
}
.readme {
	height: 100%;
	box-sizing: border-box;
	padding: 32px;
	overflow: auto;
	font-size: 14px;
	color: #333;
	max-width: 100%;
}

@media (min-width: 1200px) {
  .readme {
    padding-right: 320px;
  }
}
.readme img {
  cursor: zoom-in;
}

.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;
}

