/* global */


body {
  font-family: "Bree Serif", sans-serif;
  -webkit-font-smoothing: antialiased;
  margin: 0 20px;
}



article {
  max-width: 1030px;
  margin-left: auto;
  margin-right: auto;
}

a {
  color: #000;
  text-decoration: none;
}

a:hover {
  font-weight: 600;
  text-decoration: underline;
}

.post-ads {
  margin: 50px 0;
}

.markdown-body {
  font-size: 18px;
  max-width: 100%;
}

.markdown-body a {
  text-decoration: underline;
  text-decoration-color: #000;
}

.markdown-body blockquote {
  margin: 0;
  padding: 0 1em;
  color: #57606a;
  border-left: 0.25em solid #d0d7de;
}

.markdown-body pre {
  padding: 16px;
  overflow: auto;
  border-radius: 10px;
}

.markdown-body code {
  padding: 0.2em 0.4em;
  font-size: 85%;
  background-color: #f6f8fa;
  border-radius: 6px;
}

/* reset code */

.markdown-body pre > code {
  padding: 0;
  font-size: 100%;
  background-color: inherit;
  border: 0;
}

/* i18n */

.Chinese .markdown-body {
  line-height: 200%;
}

/* header */

.site-date-catalog {
  font-size: 2rem;
}

.header-title {
  font-size: 2rem;
  font-weight: bold;
  margin-top: 32px;
  font-family: "Bungee Shade", sans-serif;
  text-align: center;
}
.header-title a {
  text-decoration: none;
}

.header-subtitle {
  color: #666;
  text-align: center;
}

.header-items {
  margin: 10px 0;
}

.header-item {
  margin: 0 5px;
}

.header-line {
  width: 100%;
  border-width: 2px;
  border-color: #000;
  border-style: solid none none none;
}

.lang-switch {
  font-weight: 600;
}

/* posts list */

#posts-list {
  min-height: 600px;
}

.posts-line {
  font-size: 1.2rem;
  margin: 12px 0;
  /* 后加的 */
  border: 1px solid #000;
  width: 100%;
  margin-bottom: 30px;
  padding: 4%;
}

.posts-categories {
  font-size: 0.8rem;
  margin: auto;
  text-align: center;
}

.posts-category {
  padding: 3px 0;
  border: #000 2px solid;
  border-radius: 5px;
  margin-bottom: 3px;
}

.site-footer {
  margin-top: 50px;
  margin-bottom: 80px; 
  display: flex;
   justify-content: flex-end; 
   flex-wrap: wrap; 
  padding: 12px 0;
  border-width: 3px;
  border-style: solid none;
  border-color: #000;
}

.site-footer-item {
  margin-right: 12px;
}

/* post */

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

.post-header {
  margin-bottom: 50px;
}

.post-title {
  font-size: 2rem;
  font-weight: 600;
}

.post-tags {
  display: inline;
  font-weight: 600;
  padding: 2px 5px;
  margin-right: 6px;
  border: #000 2px solid;
  border-radius: 5px;
}

.post-date {
  font-weight: 800;
  font-style: italic;
}

.post-author {
  float: right;
  font-weight: 600;
}

.page-content {
  min-height: 60%;
}

.post-content {
  margin-bottom: 50px;
}

.post-content p {
  hyphens: auto;
  line-height: 1.8;
  /* text-align: justify; */
  text-justify: ideographic;
  margin-bottom: 1em;
}

.related-content {
  border-width: 3px;
  border-style: solid;
  border-color: #000;
  padding: 0 10px;
  margin-bottom: 50px;
  margin-top: 100px;
}

.related-content li {
  margin: 5px 0;
}

/* taxonomy */

.taxonomy-term {
  font-size: 3rem;
}

/* gallery */

.gallery-img {
  text-align: center;
}

.gallery-img span {
  text-align: center;
}

.gallery-img-desc {
  font-size: 0.8em;
  font-weight: 800;
}

/* disqus */

#disqus_thread {
  position: relative;
}

#disqus_thread:after {
  content: "";
  display: block;
  height: 55px;
  width: 100%;
  position: absolute;
  bottom: 0;
  background: white;
}

@media screen and (max-width: 600px) {
  .header-title,
  .header-subtitle,
  .header-items {
    text-align: center;
  }

  .posts-line {
    font-size: 16px;
  }

  .markdown-body {
    font-size: 16px;
  }
  .post-title {
    font-size: 2rem;
  }
  .post-content p {
    letter-spacing: 0.05em;
  }
}

@media screen and (max-width: 48em) {
  .posts-category {
    display: none;
  }
}

/* 赞赏样式 */
.btn {
  display: inline-block;
  padding: 6px 12px;
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.42857143;
  text-align: center;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border: 1px solid transparent;
  border-radius: 4px;
  vertical-align: middle;
}
img{vertical-align: middle;width: 250px;}
.close {
  float: right;
  font-size: 21px;
  line-height: 1;
  color: #000;
  text-shadow: 0 1px 0 #fff;
  opacity: .2
}

button.close {
  -webkit-appearance: none;
  padding: 0;
  cursor: pointer;
  background: 0 0;
  border: 0
}
.entry-shang {
  padding: 30px 0 20px;
  text-align: center;
}

.entry-shang p {
  font-size: 12px;
}

.btn-bred {
  min-width: 80px;
  border-color: #e26d6d;
  background: #e26d6d;
  color: #fff;
}

.zs-modal-bg {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.2);
  display: none;
  z-index: 100;
}

.zs-modal-box {
  width: 340px;
  position: fixed;
  left: 50%;
  top: 50%;
  margin: -195px 0 0 -171px;
  border: 1px solid #eee;
  background: #fff;
  border-radius: 6px;
  z-index: 100;
  display: none;
}

.zs-modal-head {
  padding: 0 16px;
  position: relative;
}

.zs-modal-head img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
}

.zs-modal-head .close {
  position: absolute;
  right: 0;
  top: 0;
  width: 56px;
  height: 56px;
  text-align: center;
}

.zs-modal-head .author {
  padding-top: 15px;
  display: block;
}
.zs-modal-head .author a{
  color: #333;
  text-decoration: none;
text-align: center;
  display: block;
}

.zs-modal-head .author img {
  margin-right: 5px;
}

.zs-modal-head .tip {
  background: #f6f6f6;
  padding: 0 10px;
  font-size: 12px;
  color: gray;
  border-radius: 3px;
  margin-top: 10px;
  position: relative;
  line-height: 28px;
  margin-bottom: 10px;
}

.zs-modal-head .tip i {
  display: block;
  border-width: 0 7px 7px 7px;
  border-color: transparent  transparent #f6f6f6 transparent;
  border-style: dashed dashed solid dashed;
  content: "";
  position: absolute;
  left: 8px;
  top: -7px;
}

.zs-modal-body {
  padding: 0 15px;
}

.zs-modal-btns {
  font-size: 0;
}

.zs-modal-btns .btn:nth-child(3n-2) {
  margin-left: 0;
}

.zs-modal-btns .btn {
  width: 28%;
  margin-left: 8%;
  margin-bottom: 24px;
  display: inline-block;
  font-size: 12px;
}

.zs-modal-btns .btn-blink {
  background: #fff;
  border-color: #e26d6d;
  color: #e26d6d;
  font-weight: bold;
}

.zs-modal-btns .btn-blink:hover, .zs-btns .btn-blink:active {
  background: rgba(226,109,109,.06);
  box-shadow: none;
}

.zs-modal-btns .btn-blink:focus {
  background: #e26d6d;
  border-color: #e26d6d;
  color: #fff;
}

@media screen and (-webkit-min-device-pixel-ratio:0) {
  .zs-modal-body ul {
      letter-spacing: -5px;
  }
}

.zs-modal-footer {
  padding: 0 15px 15px;
}

.zs-modal-footer label {
  margin: auto;
}

.zs-modal-footer img {
  height: 45px;
  width: 130px;
display: inherit;
}

.zs-modal-pay {
  text-align: center;
  padding: 15px 0;
  display: none;
}
/* 赞赏样式 */


/* 主面摘要样式*/

.entry-content{
  width: 72%;
  font-size: 12px;
}

/*  搜索样式 */

.search-container {
  padding:2em 0em;
  margin: 0 5em 3em;
  background-color: #fff
}

#search-box {
  width: 100%;
  height: 40px;
  border: 2px solid #e58f38;
  margin: auto
}


#search-query {
float: left;
width: 79%;
height: 97%;
outline: none;
border: none
}

#search-submit {
  float: right;
  text-align: center;
  width: 18%;
  height: 100%;
  color: #fff;
  background-color: #e58f38;
  border: none;
  outline: none;
  cursor: pointer
}

/* 分布样式 */

#post-nav-links {
  height: 30px;
  font-size: 12px;
}
.page-number {
  float: right;
  margin: 1em 0;
}

.pagination li{
  float: left;
  margin: 0 5px;
  list-style: none;
}

#posts-list .prev {
  float: left;
}


/* 主页右侧的样式 */
#posts-list {
  width: 70%;
}
@media (max-width: 1199px) {
  #sidebar {
    display: none;
  }
  #posts-list {
    width: 90%;
  }
}

#sidebar {
    border: 1px solid #000;
    width: 100%;
    margin: 106px auto;
    padding: 10%;
}