/**
 * CSS Global Style
 * @author: Wey;
 * @data: 2014-06-17;
**/

html, body, div, ol, ul, li, dl, dt, dd, h1, h2, h3, h4, h5, h6, input, button, textarea, p, span, form {
  margin: 0;
  padding: 0
}
html, body{
  box-sizing: border-box;
}
body, input, button, select, textarea {
  font: 14px/1.5 "Microsoft Yahei", "Yuanti SC", "Source Han Sans CN";
  color: #3E4252;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -moz-font-feature-settings: "liga", "kern";
}

table {
  border-collapse: collapse;
  border-spacing: 0
}

img, a img {
  border: 0
}

a {
  color: inherit;
  outline: medium none;
  text-decoration: none;
  transition: color .2s linear, background-color .2s linear;
}

a:hover {
  text-decoration: none;
  color: #364CC6;
}

label {
  cursor: pointer
}

ul li, .ol li {
  list-style: none
}

em, cite, i {
  font-style: normal
}

/* 去除Chrome等浏览器文本框默认发光边框 */

input:focus, textarea:focus {
  outline: none;
}

/* 去除IE10+浏览器文本框后面的小叉叉 */

input::-ms-clear {
  display: none;
}

/* 禁止多行文本框textarea拖拽 */

textarea {
  resize: none;
}

html {
  height: 100%;
  width: 100%;
}

/* html::-webkit-scrollbar {
  width: 6px;
  height: 6px
}

html::-webkit-scrollbar-track {
  border-radius: 0;
  background-color: #fff
}

html::-webkit-scrollbar-thumb {
  height: 300px;
  border-radius: 6px;
  background-color: #FFD55D
}

html::-webkit-scrollbar-thumb:hover {
  background-color: #FFD55D
}

html::-webkit-scrollbar-thumb:active {
  background-color: #666363
}

html::-webkit-scrollbar-corner {
  background-color: #535353
}

html::-webkit-scrollbar-resizer {
  background-color: #ff6e00
} */

body {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #382c68;
  min-width: 1024px;
  /* image-rendering: -webkit-optimize-contrast; */
}

.light {
  color: #9DA0B3;
}

.hover-scale {
  transition: opacity .2s ease;
}

.hover-scale:hover {
  opacity: 0.8;
}

.box-wrap {
  display: flex;
  flex-shrink: 0;
  width: calc(100% - 70px);
  max-width: 1440px;
  margin-top: 24px;
  padding: 26px;
  background-color: #5d518a;
  border-radius: 46px;
  box-sizing: border-box;
}

.header {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  width: 168px;
  background: #382c68;
  border-radius: 30px;
  margin: 0;
  color: #fff;
  height: 768px;
  position: sticky;
  position: -webkit-sticky;
  top: 48px;
}

.main {
  flex-grow: 1;
  padding: 1px 30px;
  display: flex;
  flex-direction: column;
  min-width: 380px;
}

.maininer {
  background: #fff;
  border-radius: 20px;
  overflow: hidden !important;
  padding: 26px 26px;
}

.aside {
  width: 416px;
  padding: 0 20px;
  box-sizing: border-box;
  /* background: #fff; */
  background: #706598;
  box-shadow: 0px 0px 50px 0px rgba(0, 0, 0, 0.06);
  flex-shrink: 0;
  border-radius: 20px;
  height: 768px;
  position: sticky;
  position: -webkit-sticky;
  top: 24px;
}

.footer {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  height: 60px;
  font-size: 13px;
  color: #9DA0B3;
}

.footer a {
  margin-left: 6px;
}

.logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 32px;
}

.logo-img-wrap {
  font-weight: bolder;
  font-size: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-wrap h1, .logo-wrap h2 {
  font-size: 16px;
  font-weight: 900;
  margin-bottom: 5px;
}

.logo-wrap a {
  color: #fff;
}

.logo-wrap .sub-title {
  font-size: 12px;
  font-weight: 300;
}

.logo {
  display: block;
  width: 72px;
  height: 72px;
  margin-bottom: 5px;
  border-radius: 18px;
}

.menu-header-container {
  flex-grow: 1;
  margin-top: 50px;
}

.menu {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.menu .menu-item>a {
  display: flex;
  width: 80px;
  height: 80px;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  /* background: rgba(255, 255, 255, 1); */
  border-radius: 22px;
  margin-bottom: 26px;
  font-size: 13px;
  color: #fff;
  background: rgb(112 101 152);
}

.menu .menu-item>a::before {
  font-family: "tficon";
  content: '';
  font-size: 28px;
}

.menu .menu-item.current-category-ancestor>a:hover, .menu .menu-item.current-category-ancestor>a, .menu .menu-item.current-post-ancestor>a:hover, .menu .menu-item.current-post-ancestor>a, .menu .menu-item.current-menu-item>a:hover, .menu .menu-item.current-menu-item>a {
  background-color: #fff;
  color: #364CC6;
}

.menu .menu-item-25>a::before {
  content: "\e67f";
}

.menu .menu-item-23>a::before {
  content: "\e682";
}

.menu .menu-item-24>a::before {
  content: "\e681";
}

.menu .menu-item>a:hover {
  color: #FFD55D;
  background: rgba(255, 255, 255, 0.1);
}

.wx-code {
  display: flex;
  align-items: center;
  align-self: center;
  flex-direction: column;
  font-size: 13px;
  font-weight: 300;
  margin-bottom: 20px;
  position: relative;
}

.wx-code>.tficon {
  cursor: pointer;
  font-size: 24px;
  color: rgba(255, 255, 255, 0.6);
}

.wx-code-img {
  width: 128px;
  height: 128px;
  position: absolute;
  bottom: 108%;
  border-radius: 8px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(20px);
  transition: transform .25s ease, opacity .25s ease;
}

.wx-code:hover .wx-code-img {
  opacity: 1;
  /* transform: translateY(0); */
}

.top-bar {
  display: flex;
  align-items: center;
}

.search-form {
  display: flex;
  width: 100%;
  height: 52px;
  align-items: center;
  background-color: #F6F8FF;
  border-radius: 46px;
  overflow: hidden;
}

.search-form>.icon-search {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
  font-size: 18px;
  margin-left: 10px;
  margin-right: 3px;
  color: #9DA0B3;
  cursor: pointer;
  border: none;
  background-color: transparent;
}

.search-input {
  flex-grow: 1;
  border: none;
  height: 52px;
  background-color: transparent;
}

.search-input::placeholder {
  color: #9DA0B3;
}

.block-title {
  font-size: 18px;
  color: #313546;
  margin-bottom: 20px;
}

.block-title .icon-right {
  display: inline-block;
  color: #382c68;
  font-weight: normal;
  font-size: inherit;
  transition: transform .25s ease;
}

/* .block-title a:hover .icon-right {
  transform: translateX(6px);
} */

.tficon {
  font-size: inherit;
}

.block-wrap {
  margin-top: 28px;
}

.pic-cover-item {
  border-radius: 16px;
  overflow: hidden;
}

.photo-item-inner {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  color: #fff;
  z-index: 9;
  pointer-events: none;
}

.pic-cover-item-title {
  font-size: 18px;
}

.photo-item-title {
  font-size: 22px;
}

.pic-cover-item-summary {
  font-size: 13px;
  text-shadow: 0px 1px 4px rgba(0, 0, 0, 0.5);
}

.front-end-list {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.front-end-item {
  width: calc(50% - 6px);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #F6F8FF;
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
  transform: rotate(0deg);
  position: relative;
}

.front-end-item::before {
  content: "";
  display: block;
  padding-top: 50%;
}

.front-end-item-img {
  width: 100%;
  position: absolute;
}

.front-end-item-text {
  position: absolute;
  left: -10000px;
}

.fonts-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.fonts-item {
  display: flex;
  justify-content: center;
  align-items: center;
  width: calc(33.3333% - 9px);
  border-radius: 16px;
  overflow: hidden;
  transform: rotate(0deg)
}

.fonts-item-img {
  width: 100%;
  height: auto;
}

.aside .block-title {
  font-size: 18px;
}

.aside .block-wrap {
  margin-top: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 10px;
}

.photo-list {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.photo-item {
  width: calc(50% - 6px);
  display: flex;
  height: 118px;
  align-items: center;
  justify-content: center;
  background-color: #F6F8FF;
  border-radius: 16px;
  margin-top: 12px;
  overflow: hidden;
  position: relative;
  transform: rotate(0deg);
}

.photo-item:first-child {
  width: 100%;
  margin-top: 0;
}

.photo-item img {
  height: 100%;
}

.article-list {
  display: flex;
  flex-direction: column;
}

.article-item {
  display: flex;
  height: 86px;
  margin-bottom: 18px;
}

.article-item-title {
  align-self: flex-start;
  max-width: 100%;
}

.article-item-title>h3 {
  line-height: 1.3;
  font-size: 14px;
}

.article-item-main {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  justify-content: center;
}

.article-item-tags {
  margin-top: 8px;
}

.article-item-img {
  height: 100%;
  flex-shrink: 0;
  margin-left: 10px;
}

.article-item-img>img {
  display: block;
  border-radius: 11px;
  height: 100%;
  max-width: 100px;
}

.tag-wrap {
  flex-grow: 1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.tag-wrap>a {
  display: inline-flex;
  align-items: center;
  height: 22px;
  color: #C6A549;
  font-size: 12px;
  padding: 0 6px;
  margin-left: 6px;
  background-color: rgba(255, 213, 93, 0.18);
  border-radius: 22px;
}

.tag-wrap>a:hover {
  text-decoration: underline;
}

.tag-wrap>a:first-child {
  margin-left: 0;
}

.cat-tab-wrap {
  display: flex;
  padding-top: 24px;
  height: 50px;
  align-items: center;
  background-color: #fff;
  margin-bottom: 26px;
  position: sticky;
  position: -webkit-sticky;
  top: 0;
  z-index: 99;
}

.cat-tab-wrap>li>a {
  display: flex;
  align-items: center;
  margin-right: 24px;
  font-size: 16px;
}

.cat-tab-wrap>li.current-menu-item>a, .cat-tab-wrap>h2 {
  font-size: 20px;
  font-weight: 900;
  position: relative;
  z-index: 1;
}

.cat-tab-wrap>h2::after, .cat-tab-wrap>li.current-menu-item>a::after {
  display: block;
  content: "";
  width: 60%;
  height: 10px;
  background-color: #FFD55D;
  position: absolute;
  bottom: 0;
  z-index: -1;
}

.post-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  flex-grow: 1;
}

.post-item {
  width: calc(50% - 13px);
  margin-bottom: 26px;
}

.post-item-cover {
  display: flex;
  justify-content: center;
  width: 100%;
  position: relative;
}

.post-item-cover::before {
  content: "";
  display: block;
  padding-top: 56.25%;
}

.post-item-img {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background-color: #EAEFFE;
  position: relative;
  transform: rotate(0deg)
}

.post-item-img img {
  position: absolute;
  width: 100%;
  height: 100%;
}

.post-item .post-categories {
  position: absolute;
  bottom: -8px;
  text-align: center;
  z-index: 9;
}

.post-item .post-categories li {
  display: inline-block;
  background-color: #FFD65D;
  padding: 6px;
  line-height: 1;
  border-radius: 6px;
  font-size: 14px;
  color: #364CC7;
}

.single-post .wp-post-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 16px;
}

.post-item-title {
  display: inline-block;
  margin-top: 12px;
  align-self: flex-start;
}

.post-item-title>h3 {
  display: inline;
  font-size: 16px;
}

.post-item-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 8px;
}

.post-item-meta {
  font-size: 13px;
  color: #9DA0B3;
  flex-shrink: 0;
  margin-left: 5px;
}

.post-item-summary {
  font-size: 14px;
  color: #9DA0B3;
  margin-top: 5px;
  text-align: justify;
}

.pagination {
  display: flex;
  align-items: center;
  margin-top: 26px;
}

.pagination a, .pagination span {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 46px;
  height: 46px;
  background-color: #F6F8FF;
  border-radius: 42px;
  font-size: 16px;
  font-weight: 900;
  margin-right: 12px;
  color: #9DA0B3;
}

.pagination a:hover {
  color: #364CC6;
}

.pagination .active span {
  background-color: #5d518a;
  color: #fff;
}

.total-page {
  margin-left: auto;
  color: #9DA0B3;
}

.list-empty {
  flex-grow: 1;
  background-color: #f6f8ff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 28px;
  color: #9DA0B3;
  font-weight: bold;
  border-radius: 22px;
}

.crumbs {
  flex-grow: 1;
  display: flex;
}

.crumbs a {
  margin-right: 16px;
}

.crumbs a:after {
  content: '/';
  color: #9DA0B3;
  width: 16px;
  text-align: center;
  pointer-events: none;
  cursor: default;
  position: absolute;
}

.crumbs span, .crumbs h2 {
  font-size: inherit;
  font-weight: normal;
  color: #9DA0B3;
}

.crumbs+.search-form {
  width: 228px;
}

.post-wrap {
  margin-top: 56px;
}

.post-header {
  background-color: #fff;
  position: sticky;
  position: -webkit-sticky;
  top: 0;
  z-index: 9;
}

.post-title {
  font-size: 26px;
  line-height: 1.2;
}

.post-meta {
  display: flex;
  height: 50px;
  align-items: center;
  font-size: 14px;
  color: #9DA0B3;
  margin-bottom: 16px;
}

.post-meta .post-categories {
  display: flex;
  margin-right: 10px;
}

.post-meta .post-categories li {
  margin-right: 10px;
}

.post-header-tags {
  margin-left: 20px;
}

.post-img {
  display: inline-block;
  max-width: 100%;
  border-radius: 22px;
}

.post-content {
  font-size: 14px;
  line-height: 2;
  text-align: justify;
  padding-bottom: 26px;
  border-bottom: 1px #EAEFFE solid;
}

.post-content p {
  margin-top: 22px;
  margin-bottom: 22px;
}

.post-content img {
  display: block;
  max-width: 100%;
  margin: auto;
}

.post-content h3 {
  display: inline-block;
  font-size: 18px;
  font-weight: bolder;
  position: relative;
  z-index: 1;
}

.post-content h4 {
  margin-top: 22px;
  margin-bottom: 22px;
  font-size: 20px;
}

.post-content h3::after {
  position: absolute;
  bottom: 8px;
  content: '';
  display: block;
  width: 100%;
  height: 10px;
  background-color: #FFD55D;
  z-index: -1;
}

.post-content figure.wp-block-image {
  margin: 22px auto;
  border-radius: 16px;
  overflow: hidden;
  border: 1px #ddd solid;
  width: fit-content;
  max-width: 100%;
}

.wp-block-image img {
  max-width: 100%;
}

.wp-block-table figcaption, .wp-block-image figcaption, .wp-block-gallery figcaption {
  margin-bottom: .5em;
  font-size: 14px;
  text-align: center;
  color: #9DA0B3;
  width: 100%;
}

.wp-block-quote {
  background-color: #f6f8ff;
  border-radius: 0 16px 16px 0;
  font-size: 86%;
  margin: 0;
  padding: 16px;
  color: #9DA0B3;
  border-left: 5px #d9dbe7 solid;
}

.wp-block-quote p {
  margin: 0;
}

.post-content>ul, .post-content>ol, .post-content .wp-block-code {
  background-color: #F6F8FF;
  border-radius: 16px;
  font-size: 16px;
  padding: 22px 22px 22px 38px;
  margin-top: 22px;
  margin-bottom: 22px;
}

.post-content .wp-block-code {
  line-height: 1.2;
  font-size: 80%;
  padding: 22px;
  overflow-x: auto;
}

.post-content figure.wp-block-gallery {
  margin-top: 22px;
  margin-bottom: 22px;
  background-color: #F6F8FF;
  border-radius: 16px;
}

.wp-block-gallery ul {
  padding: 16px 16px 0 16px;
  margin: 0;
}

.post-content>ul>li, .post-content>ol>li {
  margin-bottom: 8px;
}

.post-content>ul>li {
  list-style: disc;
}

.post-content a {
  color: #364CC6;
  border-bottom: 1px #364CC6 dotted;
  padding-bottom: 3px;
  line-height: 1.2;
  margin-left: 2px;
  margin-right: 2px;
  transition: border .25s ease;
}

.post-content a:hover {
  border-bottom: 1px #364CC6 solid;
}

.single-excerpt {
  margin-top: 22px;
  background-color: #F6F8FF;
  border-radius: 16px;
  font-size: 16px;
  padding: 22px;
}

.wp-block-table {
  margin: 22px 0;
}

.post-content table {
  border: 1px #eee solid;
  line-height: 1.5;
}

.post-content table td {
  padding: 10px 20px;
  border: 1px #ddd solid;
}

.side-btn {
  display: flex;
  align-items: center;
  height: 58px;
  font-weight: bold;
  background-color: #FFD55D;
  border-radius: 16px;
  overflow: hidden;
}

.side-btn-text {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  max-height: 2em;
  flex-grow: 1;
  font-size: 16px;
  padding: 0 10px;
  line-height: 1;
  word-break: break-all;
}

.icon-download+.side-btn-text {
  text-align: center;
}

.side-btn .tficon {
  width: 40px;
  display: flex;
  font-weight: normal;
  align-items: center;
  align-self: stretch;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
  background-color: rgba(0, 0, 0, 0.06);
}

.directory {
  background-color: #F6F8FF;
  border-radius: 16px;
  font-size: 16px;
  padding: 22px 0 22px 38px;
}

.directory li {
  list-style: disc;
  color: #9DA0B3;
  margin-bottom: 8px;
  cursor: pointer;
  transition: color .25s ease;
}

.directory li:hover, .directory li.active {
  color: #364CC6;
}

.btn-more {
  display: flex;
  margin-top: 12px;
  font-size: 14px;
  justify-content: center;
  align-items: center;
}

.btn-more a:first-child {
  margin-left: 16px;
}

.btn-more a {
  margin-right: 10px;
  text-decoration: underline;
}

/* 笔记本 */

@media screen and (min-width: 569px) and (max-width: 1440px) {
  .aside {
    width: 360px;
    height: 100%;
  }
  .main {
    /* padding: 38px 60px; */
  }
  .header {
    height: 680px;
  }
  .pic-cover-item:nth-child(3) .pic-cover-item-summary, .pic-cover-item:nth-child(4) .pic-cover-item-summary {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .article-item-tags {
    display: none;
  }
  .article-item {
    height: 58px;
  }
  .front-end-item:nth-child(3), .front-end-item:nth-child(4) {
    display: none;
  }
  .menu-header-container {
    margin-top: 26px;
  }
  .footer {
    height: 40px;
    font-size: 12px;
  }
  .box-wrap {
    padding: 26px;
  }
}

/* ipad */

@media screen and (min-width: 569px) and (max-width: 1280px) {
  .header {
    width: 150px;
  }
  .main {
    /* padding: 38px; */
  }
  .aside {
    width: 280px;
    padding: 0 20px;
  }
  .fonts-item {
    width: calc(33.3333% - 6px);
  }
  .box-wrap {
    padding: 26px;
  }
}

@media screen and (max-width: 568px) {
  body {
    min-width: 0;
  }
  .box-wrap {
    width: 100%;
    margin-top: 0;
    border-radius: 0;
    flex-direction: column;
    padding-bottom: 38px;
  }
  .header {
    flex-direction: row;
    align-items: center;
    width: auto;
    height: auto;
    top: auto;
    margin: 16px 0;
    padding: 10px 16px;
    border-radius: 16px;
  }
  .tag .header, .search .header, .category .header, .single-post .header {
    height: auto;
    position: static;
  }
  .box-wrap {
    padding: 26px 10px;
  }
  .wx-code, .logo-wrap .sub-title, .logo-wrap a:nth-child(2), .post-item-meta, .single .search-form, .category .search-form, .total-page {
    display: none;
  }
  .logo {
    width: 42px;
    height: 42px;
    border-radius: 8px;
  }
  .logo-wrap h1, .logo-wrap h2 {
    font-size: 12px;
    margin-bottom: 0;
  }
  .logo-img-wrap {
    font-size: 13px;
  }
  .menu {
    flex-direction: row;
    justify-content: flex-end;
  }
  .menu .menu-item>a {
    width: 60px;
    height: 60px;
    margin-bottom: 0;
    margin-left: 8px;
    border-radius: 12px;
  }
  .menu .menu-item>a::before {
    font-size: 20px;
  }
  .menu-header-container, .logo-wrap {
    margin-top: 0;
  }
  .main {
    padding: 0;
    min-width: 0;
  }
  .block-wrap {
    margin-top: 16px;
  }
  .search-form {
    width: 100%;
  }
  .aside {
    width: auto;
    padding: 0 16px 26px 16px;
    margin-top: 46px;
    height: auto;
  }
  .article-item-img>img {
    border-radius: 22px;
  }
  .footer {
    flex-direction: column;
    height: 80px;
    justify-content: center;
    background-color: #fff;
    width: 100%;
  }
  .pic-cover-item-title, .photo-item-title {
    font-size: 18px;
  }
  .post-item-img {
    border-radius: 12px;
  }
  .photo-item img {
    height: auto;
    width: 100%;
  }
  .post-item-footer {
    justify-content: flex-start;
  }
  .tag-wrap>a {
    margin-left: 2px;
  }
  .post-item-summary {
    font-size: 12px;
  }
  .post-item .post-categories li {
    font-size: 12px;
    padding: 3px;
  }
  .cat-tab-wrap {
    padding-top: 16px;
    justify-content: space-between;
  }
  .cat-tab-wrap>li>a {
    margin-right: 0;
    font-size: 16px;
    text-indent: -2em;
    overflow: hidden;
  }
  .cat-tab-wrap>li.current-menu-item>a {
    font-size: 17px;
    text-indent: 0;
  }
  .category .aside, .single-post .aside {
    height: auto;
    position: static;
    padding: 0 16px 26px 16px;
  }
  .post-item-title>h3 {
    font-size: 16px;
  }
  .post-header {
    position: static;
  }
  .post-content .aside a {
    color: inherit;
    display: flex;
    border-bottom: none;
    padding-bottom: 0;
  }
  .single-post .aside {
    margin-top: 22px;
    margin-bottom: 22px;
    padding-top: 1px;
    padding-bottom: 16px;
    border-radius: 22px;
  }
  .list-empty {
    min-height: 260px;
  }
  .post-content {
    text-align: left;
  }
  .front-end-item-img {
    width: auto;
    height: 100%;
  }
  .post-meta {
    flex-wrap: wrap;
    height: 60px;
    justify-content: center;
    margin-top: 16px;
  }
  .post-header-tags {
    margin-left: 0;
    width: 100%;
    text-align: center;
  }
  .pagination {
    justify-content: center;
    flex-wrap: wrap;
    padding-left: 46px;
    padding-right: 46px;
    position: relative;
  }
  .prev-page {
    position: absolute;
    left: 0;
    top: 0;
  }
  .next-page {
    position: absolute;
    right: 0;
    top: 0;
  }
  .pagination a, .pagination span {
    margin: 3px;
  }
  .post-item {
    width: calc(50% - 6px);
  }
}

/* 大于320像素 */

@media only screen and (min-width:320px) {}

/* 大于768像素 */

@media (min-width:768px) {
  .box-wrap {
    display: flex;
    flex-shrink: 0;
    width: 100%;
    margin-top: 0;
    border-radius: 0;
    flex-direction: column;
  }
  .header {
    flex-direction: row;
    align-items: center;
    width: auto;
    height: auto;
    top: auto;
    margin: 16px 0;
    padding: 10px 16px;
    border-radius: 16px;
  }
  .menu {
    flex-direction: row;
    justify-content: space-evenly;
  }
  .menu-header-container, .logo-wrap {
    margin-top: 0;
  }
  body {
    min-width: 0;
  }
  .aside {
    width: auto;
    padding: 0 16px 26px 16px;
    height: auto;
  }
  .main {
    flex-grow: 1;
    padding: 1px 0px;
  }
}

/* 大于960像素 */

@media (min-width:992px) {
  .main {
    padding:1px 30px;
}
  .aside {
    width: 220px;
    padding: 0 20px;
    box-sizing: border-box;
    flex-shrink: 0;
    border-radius: 20px;
    height: 768px;
    position: sticky;
    position: -webkit-sticky;
    top: 24px;
  }
  body {
    min-width: 992px;
  }
  .menu-header-container {
    flex-grow: 1;
    margin-top: 50px;
  }
  .menu {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .box-wrap {
    display: flex;
    flex-shrink: 0;
    width: calc(100% - 70px);
    max-width: 1440px !important;
    margin-top: 24px;
    padding: 26px;
    background-color: #5d518a;
    border-radius: 46px;
    flex-direction: initial;
  }
  .header {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    height: 768px;
    margin: 0;
    position: sticky;
    position: -webkit-sticky;
    top: 48px;
  }
}

/* 大于1200像素 */

@media (min-width:1200px) {
  body {
    min-width: 1024px;
  }
  .aside {
    width: 280px;
    padding: 0 20px;
  }

}



.to-top {
  position: fixed;
  right: 30px;
  bottom: 120px;
  display: none;
  cursor: pointer;
  z-index: 9999999999;
}

.to-top span {
  display: block;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #dcdcdc;
  text-align: center;
  line-height: 50px;
  font-size: 26px;
  font-weight: bold;
}
::-webkit-scrollbar{
  width: 0px;

}

/*滚动条的滑轨背景颜色,可以用display:none让其不显示，也可以添加背景图片，颜色改变显示效果。*/

::-webkit-scrollbar-track{
 background-color: #f5f5f5;

   -webkit-box-shadow:inset 0 0 3px rgba(0,0,0,0.1);

border-radius:5px;

}

/* 滑块颜色 */

::-webkit-scrollbar-thumb{
 background-color: rgba(0, 0, 0, 0.2);

 border-radius: 5px;

}

/*滚动条两端的按钮。可以用display:none让其不显示，也可以添加背景图片，颜色改变显示效果。*/

::-webkit-scrollbar-button{
 background-color: #eee;

 display: none;

}

/* 横向滚动条和纵向滚动条相交处尖角的颜色 */

::-webkit-scrollbar-corner{
 background-color: black;

}