/* **********************
 * 整体布局
 * **********************/

/* 整体布局 */
body {
  background:#F6F6F6;
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica
      Neue, PingFang SC, Hiragino Sans GB, Microsoft YaHei, sans-serif;
}

div#home {
  max-width: 1140px;
  padding: 15px;
  background: transparent;
  box-shadow: none;
  margin-top: 0;
  width: auto;
}

div#main {
  margin-top: 15px;
}

div#mainContent.forFlow {
    padding-right: 20px;
}

/* 非阅读区域去掉白色背景 */
.newsItem,
.catListEssay,
.catListLink,
.catListNoteBook,
.catListTag,
.catListPostCategory,
.catListPostArchive,
.catListImageCategory,
.catListArticleArchive,
.catListView,
.catListFeedback,
.mySearch,
.catListComment,
.catListBlogRank,
.catList,
.catListArticleCategory {
  background-color: transparent;
}

/*阅读全文*/
div.c_b_p_desc a{
text-decoration-line: underline;
}

/* **********************
 * 博客页首
 * **********************/

/* 隐藏系统标题 */
#blogTitle {
  /*display: none;*/
}

/* 主标题 */
#blogTitle h1{
 margin: 20px;
}

/* 副标题 */
#blogTitle h2{
 float: right;
}

/*顶部 */
.c-portrait {
  text-align: center;
  padding: 80px 0;
  background: #aaa9a7;
  color: #fff;
  margin-bottom: -40px;
}

/* 标题和签名 */
.c-portrait h1 {
  font-size: 25px;
  font-weight: bold;
  margin: 5px 0;
}

.c-portrait h1 a {
  color: #fff;
}

.c-portrait h2 {
  font-size: 16px;
  margin: 7px 0 10px;
  color: #ccc;
}

/* **********************
 * 导航栏
 * **********************/

#navigator {
  padding: 0 10px;
}

#stats_article_count {
  /*display: none;*/
}

/* **********************
 * 侧边栏
 * **********************/
.catListLink, #sidebar_scorerank, #blog-news, #sidebar_recentposts,
#sidebar_postarchive, #blog-calendar, #topview_posts_wrap, #sidebar_topdiggedposts,
.mySearch, #sidebar_articlecategory, #sidebar_postcategory , #sidebar_topviewedposts,
#sidebar_recentcomments, #sidebar_articlearchive{
    font-weight: normal;
    line-height: 1.2;
    font-size: 100%;
    margin-top: 10px;
    margin-bottom: 5px;
    text-align: left;
    background-color: #fff;
    padding: 0 0 0 15px;
    border: 1px solid #eaeaea;
}

/*头像位置*/
#blog-news img {
    position: absolute;
    margin-top: 10px;
    margin-left: 120px;
    margin-bottom: 45px;
}

/*昵称和关注*/
div#profile_block{
    line-height: 2;
    padding: 10px 0 10px 0px;
    margin-left: 5px;
}

/*陌生人-加关注*/
div#p_b_follow {
    position: relative;
    margin-left: 20px;
    margin-bottom: 15px;
}

#blog-calendar{
    padding:0;
    width: 100%;
    padding-bottom: 5px;
    margin-bottom: 35px;
    border: 1px solid #EDEDED;
    box-shadow:none;
 
}

.CalTodayDay {
    background: #e5e5e5 !important;
    color: #FF5E52;
    font-weight: bold;
}


#sideBar {
  width: 250px;
  margin-top: 0;
}

#sideBar a {
  color: inherit;
}

#sideBar .catListTitle {
  background-color: #FF5E52;
  padding: 5px;
  color: #fff;
  font-weight: normal;
  line-height: 1.2;
  margin-top:0;
  margin-bottom: 10px;
  text-align: center;
  width: 80px;
}

/*推荐评论的设计*/
.recent_comment_title {
    background-color: #ebe6e6;
    font-size: 12px;
    font-weight: bold;
    margin-right: 15px;
    border: solid 1px rgb(248, 236, 236);
}
.recent_comment_body{
  border: solid 1px rgb(248, 236, 236);
  color: #7c7373;
  margin-right: 15px;
  padding-left: 10px;
}
.recent_comment_author{
  margin-right: 8px;
}


/* 隐藏侧边公告标题 */
.newsItem .catListTitle {
  display: none;
}

/* 增加列表项间距 */
.sidebar-block li {
  margin-bottom: 5px;
}


/* **********************
 * 文章列表
 * **********************/

.entrylistTitle{
    font-weight: bold;
    font-size: 18px;
    /* font-size: 100%; */
    margin-top: 0;
    margin-bottom: 10px;
    text-align: left;
    background-color: #fff;
    padding: 0 0 0 15px;
    border: 1px solid #eaeaea;
    color: #FF5E52;
}
.entrylistPosttitle {
    padding-left: 15px;
    margin-bottom: 10px;
    border-left: 8px solid #FF5E52;
    font-size: 20px;
    width: 100%;
}
.entrylistPosttitle a:link, .entrylistPosttitle a:visited, .entrylistPosttitle a:active {
    color: #393D49;
    transition: all 0.4s linear 0s;
    font-weight: bold;
}

/* 文章列表 */
#topics .postTitle {
  font-size: 28px;
  margin: 35px 0 30px;
  padding-left: 0;
}

#mainContent .day {
  padding: 15px 20px;
  background: #fff;
}

#mainContent .day .postTitle a {
  display: inline-block;
}

/* **********************
 * 文章详情
 * **********************/

pre {
  margin-bottom: 1.35em;
}

pre code {
  padding: 10px 16px !important;
}


.post {
    background: #fff;
    padding: 0 60px 60px;
    border-bottom: 1px solid #eee;
}


/* 同一天的文章分隔 */
.day .postSeparator {
    height: 6px;
    width: 100%;
    clear: both;
    float: right;
    margin: 0 auto 15px auto;
    padding-top: 8px;
    border-bottom: 1px solid #a9a9a9;
}


/* 文章标题 */
#topics .postTitle {
    font-size: 28px;
    margin: 35px 0 30px;
    padding-left: 0;
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}
.postTitle {
  border-left: 8px solid #FF5E52;
  margin-bottom: 5px;
  font-weight: bold;
  line-height: 1;
  box-sizing: border-box;
}

.postTitle a:hover {
  margin-left: 0;
}

.postTitle a:link, .postTitle a:visited, .postTitle a:active {
    color: #393D49;
    transition: all 0.4s linear 0s;
}

/* 去除首行缩进 */
.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;
  background:none;
}

/* 增加底部留白 */
#cnblogs_post_body {
  padding-bottom: 5px;
}

/* 防止图片溢出 */
#cnblogs_post_body img {
  max-width: 100%;
}

/* 文章底部信息 */
.postDesc {
  margin-top: 0;
}

/*首页的下一页*/
div#nav_next_page a {
    border: solid 1px #c1bbb1;
    line-height: 2;
    padding: 5px;
    border-radius: 10px;
    color: #ff5e52;
    font-weight: bold;
}
div#nav_next_page a:hover {
    background: #ff5e52;
    color: white;
}

/*文章的上一页和下一页*/
.pager a{
    background: white;
    color: #ff5e52;
    border: solid 1px #c1bbb1;
    /*box-shadow: 0 1px 3px #ff5e52;*/
    box-shadow: none;
    padding: 2px 4px;
    border-radius: 5px;
}
.pager a:hover{
    background: #ff5e52;
    color: white;
}


/*回到顶部*/
#back-to-top {
    background-color:#eee;
    bottom: 50px;
    box-shadow: 0 0 6px;
    color: red;
    padding: 10px 10px;
    position: fixed;
    right: 50px;
    cursor: pointer;
    border-top-right-radius: 30px;
    border-top-left-radius: 30px;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    height: 25px;
    font-weight: bold;
}

/*回到底部*/
#back-to-bottom {
    background-color:#eee;
    top: 0;
    box-shadow: 0 0 6px;
    color: #444444;
    padding: 10px 10px;
    position: fixed;
    right: 50px;
    cursor: pointer;
    border-bottom-right-radius: 15px;
    border-bottom-left-radius: 15px;
}

/*倒计时*/
#countdown_time {
  line-height: 20px;
  margin-right: 80px;
  display: none;
}

/*网站时间*/
#sitetime {
  line-height: 20px;
  margin-right: 100px;
  font-weight: bold;
  font-size: medium;
  //display: none;
}


/*时钟位置*/
canvas {
  margin-left: 40px;
  margin-top: 10px;
  display: none;
}


/* **********************
 * 文章评价
 * **********************/
/* 支持反对 */
#div_digg {
    position: fixed;
    right: 100px;
    bottom: 50px;
    background: #fff;
    padding: 20px 20px 15px;
    border-radius: 5px;
    border: 1px solid #eaeaea !important;
    box-shadow:none !important;
    z-index: 2;

}

//去侧边栏无用文字
div#comment_nav { 
  display: none;
}


/* **********************
 * 隐藏广告&&去掉推送
 * **********************/
/*要挨打，跑路，嘻嘻(●'◡'●)*/
  #ad_t2{/*广告*/
    display: none;/*设置框架不显示*/
    overflow: hidden;/*框架超出部分隐藏*//*下同*/
  }
  .c_ad_block{
    display: none;
    overflow: hidden;
  }

  #opt_under_post{/*第三方推送*/
    display: none;
    overflow: hidden;
  }

  #cnblogs_c1{/*空白块1*/
    display: none;
    overflow: hidden;
  }
  #cnblogs_c2{/*空白块2*/
    display: none;
    overflow: hidden;
  }
  #under_post_news{/*相关博文*/
    display: none;
    overflow: hidden;
  }
  #under_post_kb{/*最新新闻*/
    display: none;
    overflow: hidden;
  }
  .under-post-card {
    display: none;
    overflow: hidden;
  }
  #cnblogs_ch {/*新推荐*/
    display: none;
    overflow: hidden;    
  }

/* **********************
 * 评论
 * **********************/

#comment_form_container .comment_textarea {
  width: 100%;
}

#commentform_title {
    font: normal normal 16px/35px "Microsoft YaHei";
    margin: 10px 0 30px;
    background-image: none;
    padding: 0;
    border-bottom: 1px solid #eaeaea;
    border-left: 8px solid #393D49;
    padding-left: 15px;
}
.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;
}

.feedbackCon {
  font-size: 13px;
  border-bottom: 0;
  padding: 10px 5px 0 5px;
  text-align: justify;
}


#MySignature {
  padding: 15px;
  font-size: 11px;
  font-family: 'Microsoft YaHei';
  border-left: solid 4px #fc7268;
  background: #f5f5f5;
  position: relative;
  bottom: 10px;
}



/*****************************
* 自定义代码高亮（基于cn_blogs）
* *****************************/
.hljs {
  background: #f4f4f4;
  display: block;
  //font-family: "Courier New", sans-serif;
  font-family:  "Consolas","Bitstream Vera Sans Mono","Courier New",Courier,monospace;
  font-size: 12px;
  border: 1px solid #ccc;
  padding: 5px;
  border-radius: 3px;
  overflow-x: auto;
}

.cnblogs-markdown pre code{
  line-height: 2;
}

.hljs-comment,
.hljs-quote,
.hljs-variable {
  color: #008000;
}

.hljs-keyword,
.hljs-selector-tag,
.hljs-built_in,
.hljs-name,
.hljs-tag {
  color: #00f;
}

.hljs-string,
.hljs-title,
.hljs-section,
.hljs-attribute,
.hljs-literal,
.hljs-template-tag,
.hljs-template-variable,
.hljs-type,
.hljs-addition {
  color: #a31515;
}

.hljs-deletion,
.hljs-selector-attr,
.hljs-selector-pseudo,
.hljs-meta {
  color: #2b91af;
}

.hljs-doctag {
  color: #808080;
}

.hljs-attr {
  color: #f00;
}

.hljs-symbol,
.hljs-bullet,
.hljs-link {
  color: #00b0e8;
}

.hljs-emphasis {
  font-style: italic;
}

.hljs-strong {
  font-weight: bold;
}



/* **********************
 * 适配手机
 * **********************/

@media only screen and (max-width: 767px) {

  #home {
    padding-left: 0;
    padding-right: 0;
  }

  #navList {
    margin-left: 15px;
  }

  #div_digg {
    width: 60px;
    padding: 0;
    left: 15px;
    bottom: 20px;
    box-shadow: none;
    z-index: 2;
  }

  #div_digg .diggit {
    width: 60px;
    background-position: center;
  }

  #div_digg .buryit {
    display: none;
  }

  #mainContent .forFlow {
    padding-right: 0;
    margin: 0px;
  }

/*搜索图标位置*/
.div_my_zzk {
  width: 255px;
  position: relative;
  margin-top: 10px;
}


/*搜索放大镜位置*/
input.btn_my_zzk {
  margin-right: 40px;
}


/*搜索条位置*/
.input_my_zzk {
  padding: initial;
}


/*网站时间*/
#sitetime {
  display: none;
}

#mainContent .post {
    padding: 0 20px;
}

#sideBar, #blog-comments-placeholder {
  padding: 0px 15px;
}
  
#sideBar #sideBarMain {
  padding: 0px;
}
  
#blog-news img {
  margin: 10px 5px 10px 160px;
}

#profile_block {
  margin-left: 15px;
}

#site_nav_under, 
#ad_under_post_holder, 
#comment_form_container,blog_news_kb,google_ad_c2,
#comment_nav { 
  //display:none !important;

}


#comment_form_container {
    margin-right: 10px;
}


/*去广告*/
#ad_t2,
.c_ad_block,#cnblogs_c1,#cnblogs_c2,
#opt_under_post,#under_post_news,#under_post_kb,
.under-post-card,#cnblogs_ch {
    display: none;
    overflow: hidden;
  }

}
