/* default */
#top_nav,
#bannerbar {
  display: none;
}
*::-webkit-scrollbar-thumb {
  height: 40px;
  background-color: #ccc;
  border-radius: 16px;
}
*::-webkit-scrollbar {
  width: 8px;
  height: 8px;
  border-radius: 2px;
}
html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
div,
dl,
dt,
dd,
ul,
ol,
li,
p,
blockquote,
pre,
hr,
figure,
table,
caption,
th,
td,
form,
fieldset,
legend,
input,
button,
textarea,
menu {
  margin: 0;
  padding: 0;
}

body,
textarea,
input,
button,
select,
keygen,
legend {
  font: 10px/1.14 Noto Sans SC, \5b8b\4f53;
  color: #7f8c93;
  outline: 0;
}

ul {
  list-style: none;
}
a {
  color: #333;
  text-decoration: none;
}
/* body */
body {
  font-variant-east-asian: traditional;
}
/* #main {
  min-height: 400vh;
} */

body::after {
  content: "";
  /* background  : url(https://img.xjh.me/random_img.php?type=bg&ctype=acg&return=302) no-repeat center; */
  background-size: cover;
  opacity: 0.06;
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  -ms-filter: grayscale(100%);
  -o-filter: grayscale(100%);
  filter: grayscale(100%);
  filter: gray;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

@media only screen and (max-width: 767px) {
  body {
    font-size: 14px !important;
    -webkit-text-size-adjust: none;
  }
}

/* 右下角操作按钮组 */
#doc_btn_box {
  position: fixed;
  z-index: 999;
  right: 24px;
  bottom: 96px;
  width: 32px;
}
.back_top {
  position: absolute;
  top: -49px;
}
.btn_box {
  display: inline-block;
  margin-top: 16px;
  width: 32px;
  height: 32px;
  transition: all 0.3s ease;
  cursor: pointer;
  border-radius: 100%;
  background: #fff;
  text-align: center;
  line-height: 32px;
  box-shadow: rgba(127, 140, 147, 0.5) 1px 1px 5px;
}

.btn_box svg {
  width: 20px;
  height: 20px;
  margin: 6px auto;
  color: #97a1a7;
  cursor: pointer;
  opacity: 0.5;
}

.hide {
  display: none;
}

@media (min-width: 767px) and (max-width: 960px) {
  #doc_btn_box {
    right: 5px;
  }
}

@media (max-width: 767px) {
  #doc_btn_box {
    width: 100vw;
    left: 0;
    right: 0;
    bottom: 0;
    background: hsla(0, 0%, 100%, 0.6);
    height: 49px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 40px;
    border-top: 1px solid #e8e8e8;
    box-sizing: border-box;
  }

  .btn_box {
    margin-top: 0;
  }

  .btn_box.back_top {
    position: absolute;
    right: 10px;
    bottom: 60px;
  }
}

.popover_box {
  position: absolute;
  right: 0;
  top: 16px;
  max-width: 350px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 2px 2px 10px #4d4d4d;
  padding: 5px 9px;
}
.popover_box.popover_pifu {
  top: -55px;
}
.popover_box.popover_dashang {
  top: -164px;
}
@media (max-width: 767px) {
  .popover_box.popover_pifu {
    left: 10px;
    top: -69px;
    right: auto;
  }
  .popover_box.popover_dashang {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    top: -226px;
  }
}

.popover_box::after {
  content: "";
  position: absolute;
  bottom: -10px;
  right: 10px;
  border: 5px #fff solid;
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-left-color: transparent;
}
@media (max-width: 767px) {
  .popover_box::after {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }
  .popover_box.popover_pifu::after {
    left: calc(50% - 22px);
    right: auto;
  }
}

/* 皮肤样式 */
.popover_box li {
  width: 120px;
  text-align: center;
  color: #2daebf;
  line-height: 1.4;
  cursor: pointer;
}

.popover_box li:hover {
  color: #f60;
}

/* 打赏样式 */
.popover_dashang {
  width: 300px;
  padding: 10px;
  text-align: center;
}

.popover_dashang img {
  width: 150px;
}

.popover_dashang > p {
  font-weight: 600;
}

.popover_dashang p {
  color: #8c8c8c;
}

.erweima > div {
  float: left;
  margin: 10px auto;
}

/* 
 header
*/
#blogTitle {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 40vh;
  /* background: url("../img/top.jpg") center center / cover no-repeat #222; */
  background: url("https://images.cnblogs.com/cnblogs_com/blogs/695128/galleries/2002541/o_210720063051o_20051406472117.jpg")
    center center / cover no-repeat #222;
  color: #fff;
  text-align: center;
}
#blogTitle > * {
  position: relative;
  top: 50%;
}
#blogTitle h1 {
  margin-top: -38px;
}
#blogTitle h1 a {
  color: #fff;
  font-size: 3rem;
  font-weight: bold;
}
#blogLogo {
  display: none;
}
#blogTitle h2 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5em;
  font-weight: 400;
  letter-spacing: 0.01rem;
  color: rgba(255, 255, 255, 0.8);
  -webkit-animation: fade-in-down 0.9s;
  animation: fade-in-down 0.9s both;
  -webkit-animation-delay: 0.1s;
  animation-delay: 0.3s;
  text-shadow: 0 3px 6px rgb(0 0 0 / 50%);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 10;
  /* overflow: hidden; */
  font-family: "Playball", cursive;
}
/* 导航 */
#navigator {
  position: static;
  top: 0;
  width: 100%;
  box-shadow: 0 1px 3px rgb(26 26 26 / 10%);
  background: hsla(0, 0%, 100%, 0.6);
  z-index: 1;
}
.blogStats {
  display: none;
}
#navList {
  text-align: center;
  transition: all 1s ease;
}
#navList li {
  font-family: "Josefin Sans Light", -apple-system, BlinkMacSystemFont,
    "Helvetica Neue", "PingFang SC", "'Hiragino Sans GB", STHeiti,
    "Microsoft Yahei", "Source Han Sans SC", "Noto Sans CJK SC",
    "WenQuanYi Micro Hei", Arial, Verdana, sans-serif;
  color: #95a5a6;
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  text-align: center;
}
#navList li a {
  color: #2daebf;
  text-shadow: 0 3px 6px rgb(0 0 0 / 30%);
}
#navList li a:hover {
  color: #f60;
}
#logo {
  width: 60px;
  display: inline-block;
}
#navigator .title {
  color: #f60;
  text-align: center;
  font-size: 1.5rem;
  line-height: 3rem;
}
@media (min-width: 767px) {
  #navigator .title {
    float: left;
  }
  #navList li {
    padding: 1rem;
  }
  #navigator .title {
    padding-left: 30px;
  }
}

/* main */
#mainContent {
  margin: 0 auto;
  width: 90% !important;
}
.forFlow {
  margin: 3.5rem;
}
@media (max-width: 767px) {
  .forFlow {
    margin: 20px 0;
  }
  .day .postTitle,
  .day .postDesc {
    padding: 16px;
  }
}
.dayTitle,
.postCon {
  display: none;
}
.postSeparator,
.day {
  margin-bottom: 20px;
}
.day {
  position: relative;
}
.day .postTitle {
  /* position: relative; */
  background-color: #fff;
  box-shadow: 0 1px 4px #fff, -1px 0 4px rgba(0, 0, 0, 0.1),
    1px 0 4px rgba(0, 0, 0, 0.1), 0 -1px 4px rgba(0, 0, 0, 0.1);
  font-size: 1.6rem;
}
.day .postDesc {
  background-color: #fff;
  box-shadow: 0 -4px 0 #fff, -1px 0 4px rgba(0, 0, 0, 0.1),
    1px 0 4px rgba(0, 0, 0, 0.1), 0 1px 4px rgba(0, 0, 0, 0.1);
  font-size: 16px;
}
.day .postTitle,
.day .postDesc {
  padding: 14px 20px;
  cursor: pointer;
}
.dayContent {
  display: block;
  position: relative;
  margin-bottom: 20px;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}
.dayContent:hover {
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
}
.day .ico-zhiding {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-top: 46px solid #2daebf;
  border-right: 42px solid transparent;
  color: #fff;
  font-size: 10px;
}
.ico-zhiding svg {
  position: absolute;
  top: -41px;
  left: 2px;
  width: 22px;
  height: 22px;
}

#footer {
  text-align: center;
  margin: 60px;
}

/* 侧边栏 */
#sideBar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99999;
  width: 280px;
  height: 100vh;
  font-size: 1.15em;
  -webkit-transform: translate3d(-280px, 0, 0);
  transform: translate3d(-280px, 0, 0);
  -webkit-transition: -webkit-transform 0.4s;
  transition: transform 0.4s;
}
@media only screen and (max-width: 767px) {
  #sideBar {
    float: none;
    width: 280px !important;
    margin-top: 0 !important;
  }
}
#sideBarMain {
  position: relative;
  height: 100vh;
  z-index: 1000;
  /* background: url(../img/sunny.jpg) no-repeat center/100% 100%; */
  background: url(https://images.cnblogs.com/cnblogs_com/blogs/695128/galleries/2002541/o_210802134157sunny.jpg)
    no-repeat center/100% 100%;
  border: none;
  overflow-y: auto;
  padding: 0 10px 20px;
  box-shadow: 1px 0 5px rgba(0, 0, 0, 0.4);
}

#sideBarMain,
.close-button {
  opacity: 0;
  -webkit-transform: translate3d(-160px, 0, 0);
  transform: translate3d(-160px, 0, 0);
  -webkit-transition: opacity 0s 0.3s, -webkit-transform 0s 0.3s;
  transition: opacity 0s 0.3s, transform 0s 0.3s;
  -webkit-transition-timing-function: cubic-bezier(0.17, 0.67, 0.1, 1.27);
  transition-timing-function: cubic-bezier(0.17, 0.67, 0.1, 1.27);
}
#sidebar_news > .catListTitle {
  display: none;
}
/* .catListTitle {
  display: none;
} */

/* Morph Shape */
.morph-shape {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  fill: #fff;
}

/* Shown menu */

.show-menu #sideBar {
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
}

.show-menu #sideBar,
#sideBarMain,
.show-menu .morph-shape {
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.show-menu #sideBarMain,
.show-menu .close-button {
  opacity: 1;
  -webkit-transition: opaci/ty 0.3s, -webkit-transform 0.3s;
  transition: opacity 0.3s, transform 0.3s;
  -webkit-transition-delay: 0.4s;
  transition-delay: 0.4s;
}
/* 自定义 */
#blog-news {
  margin-bottom: 30px;
  overflow: visible !important;
}
.user_infos {
  position: relative;
  text-align: center;
  padding-top: 20px;
}
.user_infos img {
  width: 100%;
}
.avatar {
  position: relative;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto;
  box-shadow: 1px 2px 8px rgba(0, 0, 0, 0.5);
  cursor: pointer;
}
.avatar:hover ~ .avatar_snow,
.avatar:hover .follow,
.avatar_snow:hover {
  display: block;
}
.follow {
  display: none;
  position: absolute;
  width: 100px;
  height: 100px;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  text-align: center;
  line-height: 100px;
  font-size: 14px;
  z-index: 9999;
}
.avatar_snow {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  height: 140px;
  overflow: hidden;
  cursor: pointer;
}
#profile_block {
  display: none;
}
.name {
  margin: 20px auto;
  color: #7f8c93;
  font-size: 20px;
  font-weight: bold;
}
.links_item {
  display: inline-block;
  width: 36px;
  height: 36px;
}
.links_item .icon {
  width: 1.5rem;
  height: 1.5rem;
}
/* 日历\搜索\常用链接 */
#blog-calendar,
#sidebar_search,
#sidebar_shortcut {
  display: none !important;
}
/* 标题 */
.catListTitle {
  position: relative;
  text-align: center;
  margin: 10px auto;
}
.catListTitle::after,
.catListTitle::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 80px;
  height: 1px;
  background-color: #89959b;
}
.catListTitle::before {
  left: 0;
}
.catListTitle::after {
  right: -10px;
}
/* 最新随笔 */
#blog-sidecolumn ul {
  background-color: rgba(255, 255, 255, 0.8);
  padding: 10px 5px;
  border-radius: 5px;
}
#blog-sidecolumn li {
  margin: 10px auto;
}
#blog-sidecolumn a {
  text-align-last: justify;
  font-size: 14px;
}
#blog-sidecolumn li:hover a {
  color: #f60;
}
