.yublog_article {
  background-color: #fff;
}

.article_container {

  padding: 20px;
}

.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: 1.6;
  font-size: 1.2rem;
  padding-left: 20px
  ;font-weight: 700;
}

.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: absolute;
  left: 0;
  display: inline-block;
  color: var(--theme-color);
  width: 20px;
  height: 20px;
  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%;
  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 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;
}



/* 文章 处理 */
.yublog_video {
  width: 100%;
  aspect-ratio: 16/14;
}

/* 文章表格处理 */

.yublog_article_content table th,
.yublog_article_content table td {
  width: max-content;
  white-space: nowrap;
}

.table-responsive::-webkit-scrollbar {
  width: 0;
}

.table-responsive::-webkit-scrollbar {
  display: none;
}


/* 文章tags */

.article_tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  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: '#';
  margin-right: 4px;
  /* position: absolute; */
  /* left: 0px; */
  /* top: 0; */
}


/* 文章 版权 */
.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;
  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 > span {
  margin: 0 2px;
}

.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;
}

/* 上下翻页 */

.page_turning {
  margin-top: 25px;
  display: flex;
  justify-content: space-between;
}

.page_turning>a {
  width: 48%;
  display: block;
  height: 80px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 6px;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}

.page_turning .inner>span {
  color: #ccc;
  font-size: 1.1rem;
}

.page_turning .inner>p {
  font-size: 1.05rem;
}

.page_turning>a>.inner {
  height: 100%;
  width: 100%;
  border-radius: 6px;
  padding: 0 15px;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

.page_turning .page_down>.inner {
  align-items: flex-end;
}

/* 相关推荐 */
.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 {
  text-align: center;
  padding: 20px 0;
  color: #606266;
  background-repeat: no-repeat;
  filter: grayscale(1);
  font-size: 28px;
}

.comment_textarea {
  position: relative;
  border: 1px solid #dfdfdf;
  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;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 15px;
  margin-top: 20px;
}


.comment_input .yublog_input {
  flex: 1;
  margin: 10px;
}

.comment_input .yublog_input input {
  background-color: #f9f9f9;
}

.comment_code {
  height: 38px;
}

.comment_submit {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.comment_submit .yu_button {
  padding: 0.5rem 1rem;
}

.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: 10px;
}

.yublog_comment .comments_list .pid_comment .item>.comment_content {
  margin-bottom: 15px;
  padding-left: 30px;
}

.yublog_comment .comments_list .pid_comment .item>.comment_content img {
  display: block;
  width: 30%;
}

.yublog_comment .comments_list .reply a {
  color: #63686d !important;
}

.yublog_comment .comments_list .children {
  padding: 0 0 0 20px;
  margin-top: 15px;
}

.yublog_comment .comments_list .children .item {
  padding: 0;
}

.yublog_comment .comments_list .reply .comment_content {
  padding: 6px;
  font-size: 0.96rem;
  color: #63686d;
}

.yublog_comment .comments_list .reply .comment_content img {
  display: block;
  margin-top: 10px;
  width: 30%;
  height: 300px;
}

.yublog_comment .comments_list .comment_reply_link {
  display: none;
  position: absolute;
  padding: 6px 10px !important;
  right: 20px;
  transition: all;
}

#comment_form.hide {
  display: none;
}



.comment_tool_bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px 10px;
}

.comment_tool_bar .yufont {
  font-size: 20px;
  cursor: pointer;
}

.comment_textarea {
  display: flex;
  flex-direction: column;
}

.comment_textarea .yu_textarea {
  border: none;
  height: 140px;
}

.comment_textarea .yu_textarea textarea {
  background-color: transparent;
  margin: 0;
}

.show_img {
  display: flex;
  flex-wrap: wrap;
  padding: 10px 20px;
}

.show_img img {
  width: 80px;
  height: 80px;
}

.show_img_item {
  position: relative;
  margin: 4px;
}

.show_img_item .close {
  position: absolute;
  right: 4px;
  top: 4px;
  cursor: pointer;
  background-color: #ebeef5;
  border-radius: 50%;
}

.show_img_item .close .yufont {
  padding: 4px;
  font-size: 12px;
  color: #999;
}

.img_code_dialog_body {
  padding: 20px;
  display: flex;
  justify-content: center;
}

.img_code_dialog_body .yublog_input {
  margin: 0 10px;
}


.yu_dialog_footer .yu_button {
  width: 110px;
  height: 32px;
  margin: 0 10px;
}



/* 评论分页 */

.comment-page {
  display: flex;
  justify-content: center;
}

.comment-page a,
.comment-page span,
.comment-page em {
  display: block;
  text-align: center;
  background: var(--theme-color);
  font-size: 14px;
  color: #fff;
  line-height: 30px;
  height: 30px;
  overflow: hidden;
  padding: 0 10px;
  border-radius: 2px;
  box-sizing: border-box;
  cursor: pointer;
  margin: 0 4px;
}

.comment-page span {
  background-color: #3385ff;
  background-image: linear-gradient(90deg, #006eff, #13adff);
}


.goto_login_comment {
  display: flex;
  justify-content: center;
}

.goto_login_comment .comment_login {
  color: var(--theme-color);
  cursor: pointer;
  margin-right: 6px;
}