* {
  word-break: normal !important;
}

/* ---------- h1 页面标题背景动画 ----------*/
#topics .postTitle {
  padding: 0 0 0 10px;
  font-size: 200%;
  border-left-width: 4px;

  background-image: linear-gradient(to right, red, orange, yellow, green, yellow, orange, red, orange, yellow, green, yellow, orange, red);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  -webkit-background-size: 200% 100%;
  -webkit-animation: word-color-animation 5s infinite linear;
}

@keyframes word-color-animation {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: -100% 0;
  }
}

/* --------------------------------------- */

/*------------------- 引言 -----------------*/
.postBody blockquote {
  background-color: #f5f5f5;
  background-image: none;
  padding: 10px;
  border-left: 4px solid #ccc;
  border-right: none;
  border-top: none;
  border-bottom: none;
  border-radius: 4px;
  margin: 0;
  width: auto !important;
}

/* ----------------------------------------- */

/* ----------------代码块------------------- */
#cnblogs_post_body pre code,
.cnblogs-post-body code {
  border: none !important;
  padding: 10px !important;
}

.cnblogs-markdown code {
  border: none !important;
}

#cnblogs_post_body pre code {
  border: 2px solid #ccc !important;
  border-radius: 6px !important;
}

.cnblogs_code {
  border-radius: 8px !important;
}

.hljs-attr{
  color: black !important;
}

.cnblogs-markdown :not(pre,div,td)>code, .blogpost-body :not(pre,div,td)>code{
  color: #444 !important;
}

/* -------------------------------------- */

/* -----------------标题------------------*/
#cnblogs_post_body h2 {
  margin-top: 40px;
  border-left: 8px solid #f90;
  padding: 2px 10px;
  border-radius: 4px;
  color: #333;
}

#cnblogs_post_body h3 {
  margin-top: 20px;
  display: inline-block;
  background-color: #3399ff;
  padding: 2px 10px;
  border-radius: 4px;
  color: #fff;
}

#cnblogs_post_body h4 {
  margin-top: 20px;
  border-left: 4px solid #ff1493;
  padding-left: 6px;
  background: none;
  color: #333;
}

#cnblogs_post_body h3+h4 {
  margin-top: 10px;
}

#cnblogs_post_body h2 code,
#cnblogs_post_body h3 code,
#cnblogs_post_body h4 code,
#cnblogs_post_body h5 code {
  color: #333;
}

/* -------------------------------------- */

/* -------------- 侧边栏隐藏 日历、随笔档案---------------- */
#blog-calendar {
  display: none !important;
}

#sidebar_categories {
  display: none !important;
}

/* -------------------------------------- */