/* 文章页H1-H6图标样式效果 */
/* 控制风车转动速度 4s那里可以自己调节快慢 */
.post-body h1::before,
.post-body h2::before,
.post-body h3::before,
.post-body h4::before,
.post-body h5::before,
.post-body h6::before {
  -webkit-animation: ccc 4s linear infinite;
  animation: ccc 4s linear infinite;
}



/* 控制风车转动方向 -1turn 为逆时针转动，1turn 为顺时针转动，相同数字部分记得统一修改 */
@-webkit-keyframes ccc {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(-1turn);
    transform: rotate(-1turn);
  }
}
@keyframes ccc {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(-1turn);
    transform: rotate(-1turn);
  }
}
/* 设置风车颜色 */
.post-body h1::before {
  font-family: "Font Awesome 5 Free"; /* FontAwesome 字体 */
  content: "\f863";
  color: #ef50a8;
  margin-left: -1.55rem;
  font-size: 1.3rem;
  margin-top: -0.23rem;
  display: inline-block;
}
.post-body h2::before {
  font-family: "Font Awesome 5 Free"; /* FontAwesome 字体 */
  content: "\f863";
  color: #fb7061;
  margin-left: -1.35rem;
  font-size: 1.1rem;
  margin-top: -0.12rem;
  display: inline-block;
}
.post-body h3::before {
  font-family: "Font Awesome 5 Free"; /* FontAwesome 字体 */
  content: "\f863";
  color: #ffbf00;
  margin-left: -1.22rem;
  font-size: 0.95rem;
  margin-top: -0.09rem;
  display: inline-block;
}
.post-body h4::before {
  font-family: "Font Awesome 5 Free"; /* FontAwesome 字体 */
  content: "\f863";
  color: #a9e000;
  margin-left: -1.05rem;
  font-size: 0.8rem;
  margin-top: -0.09rem;
  display: inline-block;
}
.post-body h5::before {
  font-family: "Font Awesome 5 Free"; /* FontAwesome 字体 */
  content: "\f863";
  color: #57c850;
  margin-left: -0.9rem;
  font-size: 0.7rem;
  margin-top: 0rem;
  display: inline-block;
}
.post-body h6::before {
  font-family: "Font Awesome 5 Free"; /* FontAwesome 字体 */
  content: "\f863";
  color: #5ec1e0;
  margin-left: -0.9rem;
  font-size: 0.66rem;
  margin-top: 0rem;
  display: inline-block;
}
/* s设置风车hover动效 6s那里可以自己调节快慢*/
.post-body h1:hover,
.post-body h2:hover,
.post-body h3:hover,
.post-body h4:hover,
.post-body h5:hover,
.post-body h6:hover {
  color: var(--theme-color);
}
.post-body h1:hover::before,
.post-body h2:hover::before,
.post-body h3:hover::before,
.post-body h4:hover::before,
.post-body h5:hover::before,
.post-body h6:hover::before {
  color: var(--theme-color);
  -webkit-animation: ccc 6s linear infinite;
  animation: ccc 6s linear infinite;
}

