/*
Theme Name:     B2子主题
Theme URI:      http: //7b2.com/
Description:    Child theme for the B2 PRO
Author:         子主题模版
Author URI:     http: //7b2.com/
Template:       b2
Version:        0.1.5
*/

/*下面是您自己DIY的css样式代码*/
.site-footer {
  padding: 0px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* 设置页眉下方的顶部通栏广告位样式 */
.vips .gx-ads-after-header {
  display: none;
}
.gx-ads-after-header {
  margin-bottom: 16px;
}
.gx-ads-after-header .wrapper {
  display: flex;
}
.gx-ads-after-header a {
  display: inline-block;
  width: 49.8%;
  max-width: 598px;
}
.gx-ads-after-header a:first-child {
  margin-right: 0.4%;
}
.ads-after-content {
  margin-top: 16px;
}
.post-style-5 .gx-ads-after-header {
  display: none;
}
@media screen and (max-width: 768px) {
  .gx-ads-after-header {
    margin-bottom: 4px;
  }
  .gx-ads-after-header a {
    width: 100%;
    max-width: 768px;
    margin-bottom: 2px;
  }
  .gx-ads-after-header a:first-child {
    margin-right: 0;
  }
}
/** 文章中添加该文章所属专题的其他文章列表 */
.collection-before {
  border-bottom: 1px solid #ddd;
}
.entry-content > .collection-after {
  border-top: 1px solid #ddd;
  padding-top: 1.5em;
  margin-bottom: 0;
}
.collection-posts-ul {
  background: #f5f5f5;
  padding: 10px 0;
  border-radius: 2px;
  max-height: 290px;
  overflow-y: hidden;
}
.collection-posts-ul:hover {
  overflow-y: scroll;
}
.entry-content .collection-posts-ul a {
  color: #444;
}
.entry-content .collection-posts-ul a:hover {
  color: #ff3657;
}
/*文档页自定义导航样式 */
.document-pagenav-style {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
  font-size: 20px;
}
.document-pagenav-style .page-numbers {
  padding: 0 12px;
  height: 34px;
  line-height: 34px;
  background-color: #f4f4f5;
  color: #606266;
  margin: 0 5px;
}
.document-pagenav-style .current {
  background-color: #409eff;
  color: #fff;
}