/* 移动端取消主题背景 */
@media screen and (max-width: 768px) {
  .post .layout#content-inner {
    background: none;
  }

  /* 移动端取消页脚字体大小 */
  #footer-bar .footer-bar-link,
  #footer-bar .footer-bar-links {
    font-size: 0.8rem;
  }
}

/* 取消详情页的版权信息 */
#post .post-copyright .post-copyright__notice .post-copyright-info {
  display: none;
}

/* 隐藏评论区底部 twikoo 版本号 */
#twikoo .tk-footer {
  display: none;
}

/* 详情页分类样式 */
#post #post-info #post-firstinfo .meta-firstline a.post-meta-categories {
  background: none;
  color: #666666;
}

/* 悬浮样式 */
#post #post-info #post-firstinfo .meta-firstline a.post-meta-categories:hover {
  background: #eee;
  color: #000000;
}

/* 详情页文章目录取消模糊效果 */
#aside-content #card-toc .toc-content .toc-link:not(.active) span {
  filter: none;
}

/* 首页分类 # 号符 */
#recent-posts > .recent-post-item .recent-post-info .recent-post-info-top .article-categories-original::before,
/* 详情页分类 # 号符 */
#post #post-info #post-firstinfo .meta-firstline a.post-meta-categories::before {
  content: "\e608";
  font-family: "anzhiyufont";
}

/* 复制按钮 */
.copy-button {
  cursor: pointer;
}

/* 添加行的代码块添加背景颜色 */
#article-container figure.highlight .code pre {
  overflow: hidden;
}

figure.highlight pre .line.start-line > span.string:nth-child(1),
figure.highlight pre .line.add-code-line > span.string:nth-child(1) {
  display: none;
}

figure.highlight pre .line.add-code-line {
  position: relative;
}

figure.highlight pre .line.add-code-line::before {
  content: '+';
  color: #fff;
  position: absolute;
  left: 0;
}

figure.highlight pre .line.add-code-line::after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: -100px;
  width: 1000%;
  height: 100%;
  background-color: rgba(172, 238, 187, 0.3);
}