/* **********************
 * 整体布局
 * **********************/
html {
  cursor: url('https://files-cdn.cnblogs.com/files/yanggb/mouse-plane.gif'), auto
}

/* 整体布局 */
body {
  background-image: linear-gradient(90deg, rgba(247, 149, 51, .1) 0, rgba(243, 112, 85, .1) 15%, rgba(239, 78, 123, .1) 30%, rgba(161, 102, 171, .1) 44%, rgba(80, 115, 184, .1) 58%, rgba(16, 152, 173, .1) 72%, rgba(7, 179, 155, .1) 86%, rgba(109, 186, 130, .1) 100%);
  ;
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, PingFang SC, Hiragino Sans GB, Microsoft YaHei, sans-serif;
}

body::-webkit-scrollbar {
    height: 6px;
    width: 6px;
    background: transparent;
}

body::-webkit-scrollbar:hover {  
    width: 12px;
    transition: width 0.2s;
}

body::-webkit-scrollbar-thumb {
    background: #49b1f5;
    border-radius: 6px;
}

body::-webkit-scrollbar-track {
    background: transparent;
}

#home {
  max-width: 1140px;
  padding: 15px;
  background: transparent;
  box-shadow: none;
  margin-top: 0;
  width: auto;
}

#main {
  margin-top: 16px;
  position: relative;
}

#mainContent .forFlow {
  padding-right: 20px;
}

/* 非阅读区域去掉白色背景 */
.newsItem,
.catListEssay,
.catListLink,
.catListNoteBook,
.catListTag,
.catListPostCategory,
.catListPostArchive,
.catListImageCategory,
.catListArticleArchive,
.catListView,
.catListFeedback,
.mySearch,
.catListComment,
.catListBlogRank,
.catList,
.catListArticleCategory {
  background-color: transparent;
}

/* **********************
  * 博客页首
  * **********************/

/* 隐藏系统标题 */
#blogTitle {
  display: none;
}


#page_begin_html {
  height: 360px;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-animation: above-down .8s;
  animation: above-down .8s;
  background-image: url(https://api.likepoems.com/img/bing);
  position: relative;
}

#page_begin_html .page-header-box {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

/* 头像和社交 */
.c-portrait {
  width: 100%;
  height: 100%;
  text-align: center;
  padding: 80px 0px 50px 0px;
  /* background: #39424b; */
  background-color: rgba(0,0,0,.75);
  color: #fff;
  /* margin-bottom: -15px; */
  box-sizing: border-box;
  position: relative;
}

.c-portrait .nav-box {
  width: 100%;
  height: 60px;
  position: absolute;
  top: 0px;
  left: 0px;
  /* border: 1px solid red; */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 50px;
  box-sizing: border-box;
}

.c-portrait .nav-box .nav-tab-box {
  display: flex;
  align-items: center;
}

.c-portrait .nav-box .nav-tab-box .nav-box-l {
  display: flex;
  align-items: center;
}

.c-portrait .nav-box .nav-tab-box .nav-box-r {
  display: flex;
  align-items: center;
}

.c-portrait .nav-box .nav-tab-box .nav-tab-item {
  margin-right: 12px;
}

.c-portrait .nav-box .nav-tab-box .nav-tab-item a {
  font-size: 16px;
  font-weight: 600;
  color: #cccccc;
  cursor: pointer;
  user-select: none;
}

/* 头像 */
.c-portrait .avatar-img {
  display: inline-block;
  height: 80px;
  border-radius: 50%;
  user-select: none;
}

/* 标题和签名 */
.c-portrait h1 {
  font-size: 25px;
  font-weight: bold;
  margin: 5px 0;
  user-select: none;
}

.c-portrait h1 a {
  color: #fff;
  user-select: none;
}

.c-portrait h2 {
  font-size: 16px;
  margin: 18px 0;
  color: #cccccc;
  user-select: none;
}

/* 社交图标 */
.c-social {
  user-select: none;
}
.c-social a {
  color: #959da5;
  display: inline-block;
  vertical-align: middle;
}

.nav-bottom-box {
  width: 100%;
  height: 30px;
  position: absolute;
  left: 0;
  bottom: 0;
  box-sizing: border-box;
  display: none;
  justify-content: space-between;
  align-items: center;
}

.nav-bottom-box .nav-state-box {
  height: 100%;
  margin: auto;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.nav-bottom-box .nav-state-box .state-item {
  margin-right: 12px;
}

.nav-bottom-box .nav-state-box .state-item a,
.nav-bottom-box .nav-state-box .state-item span {
  user-select: none;
  color: #cccccc;
  display: flex;
  align-items: center;
}

/* .nav-bottom-box .nav-state-box .state-item a:hover {
  text-decoration: underline;
} */

/* **********************
  * 导航栏
  * **********************/

#navigator {
  padding: 0 10px;
  border: none;
  display: none;
}

#stats_article_count {
  display: none;
}

/* **********************
  * 侧边栏
  * **********************/

#sideBar {
  width: 250px;
  margin-top: 0;
  padding: 0px;
}

#sideBar a {
  color: inherit;
}

/* 侧边栏个人信息版块 */
#blog-news {
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 3px 8px 6px rgba(7, 17, 27, 0.05);
  box-sizing: border-box;
}

#blog-news #sidebar_news_content {
  margin: 12px;
}

#blog-news #sidebar_news_content #profile_block a {
  font-weight: 600;
}

/* 侧边栏日历版块 */
#blog-calendar {
  display: none !important;
}

/* 侧边栏常用链接版块 */
#sidebar_shortcut {
  display: none;
}

/* 隐藏侧边公告标题 */
.newsItem .catListTitle {
  display: none;
}

/* 增加列表项间距 */
.sidebar-block li {
  margin-bottom: 5px;
}

/* 侧边栏搜索版块 */
#sidebar_search {
  display: none;
}

/* 侧边栏积分排名版块 */
#sidebar_scorerank {
  display: none;
}

/* 侧边栏相册版块 */
#sidebar_imagecategory {
  display: none;
}

/* 侧边栏评论排行榜版块 */
#sidebar_topcommentedposts {
  display: none;
}

/* 侧边栏推荐排行榜 */
#sidebar_recentcomments {
  display: none;
}

/* 侧边栏版块 */
/* 最新随笔 */
#sidebar_recentposts,
/* 我的标签 */
#sidebar_toptags,
/* 随笔分类、随笔档案、文章分类、新闻分类、相册、链接 */
#sidebar_categories,
/* 阅读排行榜 */
#sidebar_topviewedposts,
/* 推荐排行榜 */
#sidebar_topdiggedposts {
  background: #ffffff;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 12px;
}

/* **********************
  * 文章列表
  * **********************/

/* 文章列表 */

#mainContent .day {
  padding: 15px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 8px 6px rgba(7, 17, 27, 0.05);
}

#mainContent .day .postTitle {
  /* border-left: 6px solid #49b1f5; */
  border: none;
}

#mainContent .day .postTitle a {
  padding-left: 0px;
  display: inline-block;
}

#mainContent .day .postTitle .postTitle2 {
  color: #49b1f5;
  font-weight: 700;
  padding-left: 12px;
}

// 文章列表-阅读数、评论数等信息
.day .postDesc {
  margin-top: 0;
  display: none;
}

/* 列表置顶样式 */
#mainContent .day.pinned {
  position: relative;
}

#mainContent .day.pinned .tag-box {
  width: 40px;
  height: 40px;
  position: absolute;
  top: 0;
  left: -3px;
}

#mainContent .day .postCon .c_b_p_desc {
  color: #666666;
}

#mainContent .day .postCon .c_b_p_desc .c_b_p_desc_readmore {
  color: #49b1f5;
}

/* **********************
  * 文章详情
  * **********************/

pre {
  margin-bottom: 1.35em;
}

pre code {
  padding: 10px 16px !important;
}

.post {
  background: #fff;
  padding: 0px 60px 60px 60px;
  border-radius: 12px;
  box-shadow: 0 3px 8px 6px rgba(7, 17, 27, 0.05);
}

/* 文章标题 */
#topics .postTitle {
  margin-bottom: 5px;
  font-weight: bold;
  line-height: 1;
  box-sizing: border-box;
  font-size: 28px;
  margin: 35px 0 30px;
  padding-left: 0;
  text-align: center;
}

/* 标题右边目录按钮 */
#topics .postTitle .cnblogs-toc-button {
  display: none;
}

.postTitle a:hover {
  margin-left: 0;
}

/* 去除首行缩进 */
.postBody p,
.postCon p {
  text-indent: 0;
}

/* 重写引用块样式 */
.postBody blockquote {
  min-height: auto;
  border-top: none;
  border-bottom: none;
  border-right: none;
  padding: 0 0 0 1em;
}

/* 增加底部留白 */
#cnblogs_post_body {
  padding-bottom: 5px;
}

/* 防止图片溢出 */
#cnblogs_post_body img {
  max-width: 100%;
}

/* 文章详情底部-阅读数、评论数等信息 */
#topics .postDesc {
  margin-top: 0;
  display: none;
}

#author_profile,
#green_channel {
  display: none;
}

#post_next_prev {
  margin-top: 24px;
}

/* **********************
  * 评论
  * **********************/

#comment_form_container .comment_textarea {
  width: 100%;
  border-radius: 12px;
}

.comment_vote {
  padding-right: 2px;
  font-size: 14px;
  margin-top: 10px;
}

.comment_vote a.comment_digg {
  color: #f80;
}

.feedbackItem {
  margin: 20px 0 25px;
  background: #fff;
  padding: 10px 15px;
  border-radius: 12px;
}

.feedbackCon {
  font-size: 13px;
  border-bottom: 0;
  padding: 10px 5px 0 5px;
  text-align: justify;
}

/* **********************
  * 文章评价
  * **********************/

#div_digg {
  width: 200px !important;
  position: fixed;
  /* left: 230px !important; */
  bottom: 10px !important;
  background: #fff;
  padding: 20px 20px 15px;
  border-radius: 5px;
  border: none !important;
  border-radius: 12px;
  box-shadow: 0 3px 8px 6px rgba(7, 17, 27, 0.05) !important;
  display: flex;
  justify-content: center;
  display: none;
}

/* **********************
  * 隐藏广告
  * **********************/

#ad_t2,
#opt_under_post,
.c_ad_block,
#under_post_news,
#under_post_kb {
  display: none !important;
}

/* **********************
  * 适配手机
  * **********************/

@media (max-width: 767px) {
  #home {
    padding-left: 0;
    padding-right: 0;
  }

  .c-portrait .nav-box {
    display: none;
  }

  #div_digg {
    width: auto;
    padding: 0;
    right: -25px;
    bottom: 3px;
    box-shadow: none;
    display: none;
  }

  #sideBar,
  #comment_form_container,
  #ad_text_commentbox,
  #cnblogs_ch,
  #cnblogs_c1,
  #under_post_card1,
  #under_post_card2,
  #HistoryToday {
    display: none;
  }

  #div_digg .buryit {
    display: none;
  }

  #back-top {
    position: fixed;
    bottom: 50px;
    right: 5px;
    z-index: 99;
  }

  #mainContent .forFlow {
    padding-right: 0;
  }

  #mainContent .post {
    padding: 0 20px;
    border-radius: 18px;
    box-shadow: 0 3px 8px 6px rgba(7, 17, 27, 0.05);
  }

  #sideBar,
  #blog-comments-placeholder {
    padding: 0 15px;
  }

  #MySignature {
    display: none;
  }
}

/* 支持反对版块 */
/* #div_digg {
  position: fixed;
  bottom: 5px;
  width: 140px;
  left: 100px;
  border: 2px solid #258fb8;
  padding: 10px;
  background-color: #fff;
  border-radius: 5px 5px 5px 5px !important;
  box-shadow: 0 0 0 1px #5F5A4B, 1px 1px 6px 1px rgba(10, 10, 0, 0.5);
} */


/*
 Markdown自定义样式
 Atom One Dark by Daniel Gamage
 Original One Dark Syntax theme from https://github.com/atom/one-dark-syntax
 
 base:    #282c34
 mono-1:  #abb2bf
 mono-2:  #818896
 mono-3:  #5c6370
 hue-1:   #56b6c2
 hue-2:   #61aeee
 hue-3:   #c678dd
 hue-4:   #98c379
 hue-5:   #e06c75
 hue-5-2: #be5046
 hue-6:   #d19a66
 hue-6-2: #e6c07b
 
 */

.cnblogs-markdown h1 {
  margin: 36px 0px 30px !important;
}

.cnblogs-markdown h2 {
  font-size: 20px;
  transition: font-size .3s;
  color: #1f2d3d;
  margin: 18px 0 12px 0px !important;
}

.cnblogs-markdown .hljs {
  display: block;
  overflow-x: auto;
  padding: 0.5em;
  background: #232323 !important;
  color: #e6e1dc;
}

.cnblogs-markdown .hljs {
  display: block;
  overflow-x: auto;
  padding: 0.5em;
  color: #abb2bf;
  background: #282c34;
}

.cnblogs-markdown .hljs-comment,
.cnblogs-markdown .hljs-quote {
  color: #5c6370;
  font-style: italic;
}

.cnblogs-markdown .hljs-doctag,
.cnblogs-markdown .hljs-keyword,
.cnblogs-markdown .hljs-formula {
  color: #c678dd;
}

.cnblogs-markdown .hljs-section,
.cnblogs-markdown .hljs-name,
.cnblogs-markdown .hljs-selector-tag,
.cnblogs-markdown .hljs-deletion,
.cnblogs-markdown .hljs-subst {
  color: #e06c75;
}

.cnblogs-markdown .hljs-literal {
  color: #56b6c2;
}

.cnblogs-markdown .hljs-string,
.cnblogs-markdown .hljs-regexp,
.cnblogs-markdown .hljs-addition,
.cnblogs-markdown .hljs-attribute,
.cnblogs-markdown .hljs-meta-string {
  color: #98c379;
}

.cnblogs-markdown .hljs-built_in,
.cnblogs-markdown .hljs-class .cnblogs-markdown .hljs-title {
  color: #e6c07b;
}

.cnblogs-markdown .hljs-attr,
.cnblogs-markdown .hljs-variable,
.cnblogs-markdown .hljs-template-variable,
.cnblogs-markdown .hljs-type,
.cnblogs-markdown .hljs-selector-class,
.cnblogs-markdown .hljs-selector-attr,
.cnblogs-markdown .hljs-selector-pseudo,
.cnblogs-markdown .hljs-number {
  color: #d19a66;
}

.cnblogs-markdown .hljs-symbol,
.cnblogs-markdown .hljs-bullet,
.cnblogs-markdown .hljs-link,
.cnblogs-markdown .hljs-meta,
.cnblogs-markdown .hljs-selector-id,
.cnblogs-markdown .hljs-title {
  color: #61aeee;
}

.cnblogs-markdown .hljs-emphasis {
  font-style: italic;
}

.cnblogs-markdown .hljs-strong {
  font-weight: bold;
}

.cnblogs-markdown .hljs-link {
  text-decoration: underline;
}


/* 超链接 */
#cnblogs_post_body a {
  position: relative;
  color: #49b1f5;
}

#cnblogs_post_body a:link {
  text-decoration: none;
  color: #49b1f5;
}

#cnblogs_post_body a:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: #49b1f5;
  -webkit-transition: width .35s;
  transition: width .35s;
}

#cnblogs_post_body a:hover:after {
  width: 100%;
}

/* 引用背景 */
#topics {
  padding-bottom: 32px;
}

#topics .postBody blockquote {
  color: #6a737d;
  background: rgba(73, 177, 245, 0.1);
  border: none;
  border-left: 5px solid #49b1f5;
  margin: 16px 0px;
  font-size: 14px;
  padding: 5px 0 5px 10px;
  border-radius: 4px;
}

/* 单行代码 */
.cnblogs-markdown code,
.cnblogs-post-body code {
  font-family: Consolas, "Microsoft YaHei", monospace !important;
  font-size: 14px !important;
  line-height: 20px;
  background-color: #rgba(27, 31, 35, 0.05) !important;
  padding: 2px 4px !important;
  line-height: 1.8;
  margin: 1px 2px;
  border: none;
  vertical-align: middle;
  display: inline-block;
}

/* 多行代码, 引用 */
.cnblogs-markdown .hljs {
  font-family: Consolas, "Microsoft YaHei", monospace !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  padding: 5px !important;
}

/*鼠标 对正文中的图片设置悬停放大*/
.post img {
  cursor: pointer;
  transition: all 0.5s;
}

.post img:hover {
  transform: scale(1.02);
}

#footer {
  border: none;
}