* {
  padding: 0;
  margin: 0;
}
@media screen and (min-width: 767px) {
  #mainContent {
    width: 50vw;
  }
}
@media screen and (max-width: 767px) {
  #mainContent {
    width: 95%;
  }
  #blog_nav_newpost,
  #blog_nav_rss {
    display: block !important;
  }
}
.darkmode-toggle {
  z-index: 2;
}
#menu {
  width: 40px;
  height: 40px;
  line-height: 40px;
  background-color: #ffffff;
  background-image: url("https://blog-static.cnblogs.com/files/blogs/694881/menu.svg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  font-weight: bold;
  cursor: pointer;
  border-radius: 5px;
  text-align: center;
  position: fixed;
  top: 30px;
  left: 30px;
  z-index: 1;
}
#home::after {
  content: "";
  background-image: url("https://api.imacroc.cn/acg/");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.08;
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  -ms-filter: grayscale(100%);
  -o-filter: grayscale(100%);
  filter: grayscale(100%);
  filter: #e9e2e2;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
#header {
  overflow: hidden;
}
#header #blogTitle {
  width: 100%;
  height: 100vh;
  position: relative;
  background-color: #f8a0afca;
  top: 0;
  left: 0;
  display: grid;
  grid-template-rows: 50px 50px;
  line-height: 60vh;
  text-align: center;
}
#header #blogTitle::after {
  content: "";
  width: 100%;
  height: 100vh;
  background-image: url("https://api.imacroc.cn/acg/");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 1;
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  -ms-filter: grayscale(100%);
  -o-filter: grayscale(100%);
  filter: grayscale(100%);
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}
#header #blogTitle #chevronsDown {
  margin-top: -10vh;
}
#header #blogTitle #chevronsDown svg {
  cursor: pointer;
}
#header #navigator {
  position: fixed;
  right: 20px;
  bottom: 100px;
}
#header #navigator ul li:nth-child(1) {
  display: none;
}
#header #navigator ul li svg {
  background: pink;
  border-radius: 50%;
  padding: 5px;
}
#header #navigator ul li svg:hover {
  transition: 0.5s;
  transform: scale(1.2);
  box-shadow: 6px 6px 17px pink, -6px -6px 17px #ffffff;
}
#header #navigator .blogStats {
  display: none;
}
#header #blogTitle h1 a,
#header #blogTitle h2 {
  color: #ffffff;
}
#sideBar {
  width: 350px;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  overflow-y: scroll;
  overflow-x: hidden;
  scrollbar-width: none;
  background: #ffffff;
  display: none;
  z-index: 2;
  padding-bottom: 50px;
  -ms-overflow-style: none;
}
#sideBar .sideSideBar {
  width: 50px;
  height: 50px;
  background-image: url("https://blog-static.cnblogs.com/files/blogs/694881/x.svg");
  background-repeat: no-repeat;
  background-position: center center;
  position: absolute;
  cursor: pointer;
  top: 10px;
  right: 10px;
}
#sideBar ul {
  padding-left: 30px;
}
#sideBar .catListTitle {
  position: relative;
  margin: 20px;
  padding-left: 10px;
  color: pink;
  border-left: 5px solid pink;
}
#sideBar #u_msg {
  display: grid;
  grid-template-rows: 1fr 1fr;
  text-align: center;
  color: pink;
}
#sideBar #u_msg .uAvatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
}
#sideBar::-webkit-scrollbar {
  display: none;
}
#sideBar #q,
#sideBar #google_q {
  margin-left: 20px;
  width: 170px;
  height: 30px;
}
#mainContent {
  margin: auto;
  z-index: 5;
}
#mainContent .postDesc {
  font-size: 13px;
  margin-bottom: 50px;
}
#mainContent .postDesc span {
  font-size: 15px;
  margin: 20px;
}

#mainContent #links-body {
  display: grid;
  grid-template-columns: repeat(auto-fill, 350px);
  grid-gap: 50px;
  justify-content: center;
  text-align: left;
  margin-bottom: 200px;
}
#mainContent #links-body div{
	padding-top: 4px;
}
#mainContent #links-body .item {
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s;
  font-size: 16px;
  color: pink;
  padding: 20px;	
}
#mainContent #links-body .item:hover {
  transform: scale(1.1);
  transition: all 0.3s;
}
#mainContent #links-body .item .name {
  font-weight: bold;
}

#mainContent #links-body .item  a {
  border-radius: 4px;
  padding: 2px;
  font-size: 13px;
  color: #fff;
  background-color: pink;
}
#mainContent #links-body .item img {
  float: left;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 20px;
}
#mainContent .day:nth-child(1) {
  margin-top: 50px;
}
#mainContent .dayTitle {
  font-size: 20px;
  border-left: 5px solid pink;
  padding-left: 10px;
}
#mainContent .c_b_p_desc_readmore {
  font-size: 13px;
  color: #ff8da0;
  border-radius: 4px;
  border: 1px solid #ff8da0;
  text-align: center;
  padding: 2px;
}
.fish {
  width: 100%;
  height: 20%;
  position: relative;
  z-index: -1;
  bottom: 0;
  text-align: center;
}
a {
  color: pink;
  text-decoration: none;
}
a:hover {
  transition: 0.5s;
  color: #da7a3a;
}
ul {
  list-style-type: none;
}
#ad_t2,
#cnblogs_c1,
#cnblogs_c2,
#under_post_card1,
#under_post_card2,
.img_ad,
.navbar {
  display: none;
}
.postBody {
  margin-top: 22vh;
}
input[type="button"] {
  border: none;
  background-color: pink;
  color: #ffffff;
  border-radius: 5px;
  width: 100px;
  height: 35px;
}
input[type="button"]:hover {
  transition: 0.5s;
  background-color: #f8a0af;
}
input[type="button"]:active {
  background-color: #ff778e;
}
#green_channel a:link,
#green_channel a:visited,
#green_channel a:active {
  color: #313131 !important;
}
#green_channel {
  width: 100%;
}
#green_channel a {
  position: relative;
  border: none !important;
  background: none !important;
  color: black !important;
  -moz-border-radius: none !important;
  -webkit-border-radius: none !important;
  border-radius: none !important;
  -moz-box-shadow: none !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
}
#green_channel a::before {
  content: '';
  position: absolute;
  height: 2px;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: pink;
  transform-origin: bottom left;
  transform: scaleX(1);
  transition: transform 0.3s ease-in-out;
}
#green_channel a:hover::before {
  transform: scaleX(0);
  transform-origin: bottom right;
}
#green_channel a:nth-child(4),
#green_channel a:nth-child(5) {
  display: none;
}
pre {
  position: relative;
  padding-top: 2.4em;
  background: #282c34;
  border-radius: 5px;
}
pre:before {
  content: "";
  width: 1em;
  height: 1em;
  border-radius: 50%;
  position: absolute;
  top: 0.7em;
  left: 3.8em;
  background: #f46965;
  box-shadow: 1.4em 0 #e9cd06, 2.8em 0 #81d95e;
}
/* 首屏动画 */
#loading {
  height: 100%;
  margin: 0px;
  padding: 0px;
  transition: opacity 1s;
}
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100vh;
  z-index: 999999;
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  align-items: center;
  background-color: #fff;
}
.loading {
  position: relative;
  width: 60px;
  height: 60px;
}
.loading i {
  display: block;
  width: 60px;
  height: 60px;
  position: absolute;
  border-radius: 50%;
  background: pink;
  left: 0;
  top: 0;
  opacity: 0;
}
.loading i:nth-child(1) {
  -webkit-animation: loading 1s linear 0s infinite;
  -moz-animation: loading 1s linear 0s infinite;
  -o-animation: loading 1s linear 0s infinite;
  animation: loading 1s linear 0s infinite;
}
.loading i:nth-child(2) {
  -webkit-animation: loading 2s linear 0.4s infinite;
  -moz-animation: loading 2s linear 0.4s infinite;
  -o-animation: loading 2s linear 0.4s infinite;
  animation: loading 2s linear 0.4s infinite;
}
.loading i:nth-child(3) {
  -webkit-animation: loading 2s linear 0.4s infinite;
  -moz-animation: loading 2s linear 0.4s infinite;
  -o-animation: loading 2s linear 0.4s infinite;
  animation: loading 2s linear 0.4s infinite;
}
@-webkit-keyframes loading {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(0);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}
@-moz-keyframes loading {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(0);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}
@-o-keyframes loading {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(0);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}
@keyframes loading {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(0);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}
.cnblogs-markdown pre {
  position: relative;
}
.cnblogs-markdown pre > span {
  position: absolute;
  top: 0;
  right: 0;
  border-radius: 3px;
  padding:0 10px;
  font-size: 12px;
  background: #fff;
  color: #000;
  cursor: pointer;
  display:none;
  margin:8px 10px;
  transition: background .5s;
  -moz-transition: background .5s;
  -webkit-transition: background .5s;
  -o-transition: background .5s;
}
.cnblogs-markdown pre > span:hover {
  background: #ddd
}
.cnblogs-markdown pre:hover > span {
  display:block;
}
