.article_container {
  max-width: 1140px;
}

.article_container .yublog_main {
  background-color: transparent;
}

.article_container .yublog_main .article_main {
  padding: 15px;
  background-color: #fff;
  border-radius: 6px;
}
.article_container .article_header .article_title {
  font-size: 24px;
  color: #333;
  text-align: center;
  padding-top: 40px;
  margin-bottom: 15px;
  word-break: break-word;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}
.article_container .article_header .article_author {
  position: relative;
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  border-bottom: 1px solid #ebeef5;
}

.article_header .article_author .author_info {
  display: flex;
  padding-bottom: 20px;
}

.article_header .article_author .author_info::after {
  content: '';
  position: absolute;
  bottom: -1.5px;
  left: 0;
  width: 80px;
  height: 3px;
  border-radius: 1.5px;
  background: var(--theme-color);
}
.article_author .author_info .author_avatar {
  margin-right: 20px;
}
.author_info .article_data .author_name a {
  font-weight: 500;
  color: var(--theme-color);
}

.author_info .article_data .article_item {
  color: #909399;
  line-height: 16px;
  margin-top: 8px;
  font-size: 14px;
}

.article_header .article_author .aricle_time {
  display: flex;
  align-items: center;
  font-size: 32px;
  color: #606266;
  user-select: none;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.yublog_article_content {
  padding: 20px 0;
}

.yublog_article_content h1,
.yublog_article_content h2,
.yublog_article_content h3,
.yublog_article_content h4,
.yublog_article_content h5,
.yublog_article_content h6 {
  position: relative;
  margin: 30px 0 18px;
  font-size: 1.3em;
  color: #303133;
  line-height: 24px;
}

.yublog_article_content h1::before,
.yublog_article_content h2::before,
.yublog_article_content h3::before,
.yublog_article_content h4::before,
.yublog_article_content h5::before,
.yublog_article_content h6::before {
  content: '';
  position: relative;
  top: -3px;
  left: 0;
  display: inline-block;

  width: 20px;
  height: 20px;
  margin-right: 8px;
  vertical-align: middle;

  background-position: center;
  background-repeat: none;
  background-size: auto 100%;
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAH1JREFUWEft1qENgDAQheH/JANg60DAJIgmrMFCzEEYgTFgDyRFIClp0yBf9evl8pl3RsYbp7BjNLHoMptljPiMZH3WAhKQgAQkIIGXQAXUT79cniHaNMa5draliqqojIID86nRHEtvbSqlBSQgAQlIQAISkECRAA746SC5Ad6XpiGnnOGPAAAAAElFTkSuQmCC);
}

.yublog_article_content h2::before {
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAVJJREFUWEftl7FKw1AUhv9rbmf1PRw6utkHEOoi6WPoE1ifQJ8gySKCOtRFRBKsDuIiDdZAURBFF50M2sFIzpGogVK03JA2cbh3S/i55zvfvYETgRyLj5erIKOO949FyKm5eHvvHEBV2jyruq1QDQ7n2DNXALEx+D7e2vl6lBYp76scHCzErtmCEPVhqEIAfus8BZk4wM+Zd/46tskDeI0mgLUyAdoAFsoDcM0XCDFdHoDX4FGfbRF3QANoA9qANqANaAPawD82EEWId1sAOJQWz6iO+5nGch41kDw9I3bbYOaTis21wgG4G4AuAzCwXrEoGV6V1ngMJPoPjoB+PzSIa8KBr1QdwFgA6KID7t1AgFYNC5uqxZNcbgB+eASdngHM+9LmpSzF8wFEEagbgHvXoQA3s3aegmYz8P1f4NNVME+39z5e3w4lkSMc3GXtPM1/AjYDFjDGddN5AAAAAElFTkSuQmCC);
}
.yublog_article_content img {
  display: inline-block;
  max-width: 100% !important;
  cursor: -webkit-zoom-in;
  cursor: zoom-in;
  margin: 5px 0;
  border-radius: 6px;
  transition: transform 0.35s, box-shadow 0.35s;
  transition: transform 0.35s, box-shadow 0.35s, -webkit-transform 0.35s,
    -webkit-box-shadow 0.35s;
}

.yublog_article_content p {
  margin: 6px 0;
  line-height: inherit;
}
.yublog_article_content blockquote {
  color: #252b3a;
  padding: 1px 23px;
  margin: 15px 0;
  border-left: 4px solid #5e7ce0;
  background-color: #f2f5fc;
}
.yublog_article_content a {
  color: #1957ea;
  font-size: 16px;
}

pre[class*='language-'].line-numbers {
  box-shadow: 0 2px 3px 0 rgb(0 0 0 / 40%);
}

.yublog_article_content table {
  display: block;
  width: 100%;
  width: max-content;
  max-width: 100%;
  overflow: auto;
  border-collapse: collapse;
  margin: 10px 0;
}

.yublog_article_content table th,
.yublog_article_content table td {
  border: 1px solid #ededed;
  padding: 6px 13px;
}

.yublog_article_content p > code {
  background-color: #ffeeed;
  color: var(--theme-color);
  word-break: break-word;
  border-radius: 2px;
  overflow-x: auto;
  /* font-size: 0.87em; */
  padding: 0.065em 0.4em;
}

.yublog_article_content table code {
  background-color: #ffeeed;
  color: var(--theme-color);
  padding: 2px 4px;
}

/* 标签 */
.article_tags {
  display: flex;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid #f4f4f4;
  border-bottom: 1px solid #f4f4f4;
}

.article_tags > span {
  display: flex;
  align-items: center;

  margin-right: 10px;
  color: #666;
}
.article_tags > span i {
  margin-right: 2px;
}
.article_tags > a {
  position: relative;
  display: flex;
  align-items: center;
  margin: 0 5px;
  padding: 0 12px;
  font-size: 1rem;
  border-radius: 4px;
  color: #0084ff;
}

.article_tags > a::before {
  content: '#';
  position: absolute;
  left: 0px;
}

/* 版权 */
.yublog_article_copyright .content {
  background: #f2f6fc;
  padding: 15px;
  border-radius: 4px;
  margin-top: 20px;
}

.yublog_article_copyright .content .item {
  color: #909399;
  margin-bottom: 5px;
  word-break: break-word;
  line-height: 22px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.yublog_article_copyright .content .item a {
  color: #909399;
}

.yublog_article_copyright .content .item a:hover {
  color: var(--theme-color);
}
.yublog_article_copyright .content .item svg {
  margin-right: 10px;
}

.yublog_post__pagination {
  margin-top: 20px;
}

.yublog_post__pagination-item a {
  display: block;
  padding: 6px 15px;
}
.yublog_post__pagination-item a:hover {
  color: #fff;
}

.yublog_post__pagination-item.prev {
  float: left;
}

.yublog_post__pagination-item.next {
  float: right;
}

.relevant_article {
  background-color: #fff;
  margin-top: 20px;
  border-radius: 6px;
}

.relevant_article-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 10px;
  padding: 12px 15px 0;
}

.relevant_article-item {
  position: relative;
  margin-bottom: 10px;
  overflow: hidden;
  border-radius: 4px;
  background-color: #fff;
  box-shadow: 2px 2px 20px -3px rgb(108 108 108 / 22%);
  transition: all 0.5s;
}
.relevant_article-item:hover {
  transform: translateY(-6px);
}
.relevant_article-item img {
  width: 100%;
  height: 128px;
  border-radius: 4px 4px 0 0;
}
.relevant_article-item .title {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  height: 2em;
  padding: 0 6px;
}

/* 评论样式
---------------------------------------------------*/
/* 发表评论表单样式 */
.yublog_comment {
  min-height: 200px;
  margin-top: 20px;
  background-color: #fff;
  border-radius: 6px;
}
.yublog_comment_container {
  text-align: center;
}

.yublog_comment .comments_list .list .item:last-child {
  border: none;
}

.yublog_comment_container h2 {
  display: inline-block;
  padding: 28px 110px;
  /* font-size: 18px; */
  color: #606266;
  /* background: url(https://www.13log.cn/themes/joe2.0/source/img/t_left.png) 0/90px
      auto,
    url(https://www.13log.cn/themes/joe2.0/source/img/t_right.png) 100%/90px
      auto; */
  background-repeat: no-repeat;
  -webkit-filter: grayscale(1);
  filter: grayscale(1);
}

.comment_textarea {
  position: relative;
  border: 1px solid #dfdfdf;
  height: 180px;
  min-height: 100px;
  margin: 0 16px;
  border-radius: 4px;
}

.comment_textarea.focus {
  border: 1px solid var(--theme-color);
}

.comment_textarea textarea {
  resize: none;
  display: block;
  width: 100%;
  height: 100%;
  color: #535a63;
  font-size: 16px;
  background-color: #f9f9f9;
  border-radius: 4px;
  padding: 10px;
}

.comment_input {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  margin-top: 20px;
}

.comment_input > div {
  margin: 0 6px;
}

.comment_input .yublog_input {
  flex: 1;
}
.comment_input .yublog_input input {
  background-color: #f9f9f9;
}

.comment_submit {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 15px;
}

.comment_submit button {
  height: 36px;
}

.comment_submit #cancel_reply {
  margin-right: 10px;
  background-color: #fff;
  color: #303133;
  opacity: 0;
  visibility: hidden;
}

.comment_submit #cancel_reply.show {
  opacity: 1;
  visibility: visible;
}
.yublog_comment .comments_list {
  padding: 15px;
}

.yublog_comment .comments_list .item {
  position: relative;
}

/* 此时的 important 是为了 覆盖 侧边栏 */
.yublog_comment .comments_list .author,
.yublog_comment .comments_list .author a {
  color: var(--theme-color) !important;
}
.yublog_comment .comments_list .reply {
  background-color: #f5f5f5 !important;
}

.yublog_comment .comments_list .pid_comment .item > .reply {
  margin-bottom: 20px;
}

.yublog_comment .comments_list .reply a {
  color: #63686d !important;
}

.yublog_comment .comments_list .children {
  padding: 0 0 0 20px;
}

.yublog_comment .comments_list .children .item {
  padding: 0;
}

.yublog_comment .comments_list .comment_reply_link {
  display: none;
  position: absolute;
  padding: 6px 10px !important;
  right: 20px;
  transition: all;
}

/* .yublog_comment .comments_list .item:hover > .comment_reply_link {
  display: block;
} */

#comment_form.hide {
  display: none;
}
