/*滚动条*/
::-webkit-scrollbar{
    width:10px!important;
    height:10px!important;
    -webkit-appearance:none;
}
::-webkit-scrollbar-thumb{
    height:5px;border:1px solid transparent;
    border-top:none;border-bottom:none;
    -webkit-border-radius:6px;
    background-color:rgba(0,0,0,.3);
    background-clip:padding-box;
}

/*文章标题颜色*/
.postTitle a:link, .postTitle a:visited, .postTitle a:active {
    color: rgba(41, 41, 41, 1);
    transition: all .4s linear 0s;
}

/*文章标题*/
#topics .postTitle {
    border: 0;
    font-size: 2.75em;
    font-family: medium-content-title-font, Georgia, Cambria, "Times New Roman", Times, serif;
    font-style: normal;
    font-weight: 345;
    float: left;
    line-height: 115%;
    width: 100%;
    letter-spacing: 0;
    margin-bottom: -0.27em;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    padding-left: 0px;
}
/* 当浏览器宽度>=480px时，标题字体大小正常 */
@media screen and (min-width: 480px) {
    #topics .postTitle {
        font-size: 2.75em;
    }
}

/* 设置了浏览器宽度<480px时，缩小标题字体 */
@media screen and (max-width: 480px) {
    #topics .postTitle {
        font-size: 2em;
        font-weight: 410;}
}

/*首页标题设置*/
.postTitle {
    float: left;
    font-size: 2.35em;
    font-family: medium-content-title-font, Georgia, Cambria, "Times New Roman", Times, serif;
    font-style: normal;
    font-weight: 345;
}
/* 当浏览器宽度>=480px时，首页标题字体大小正常 */
@media screen and (min-width: 480px) {
    .postTitle {
        font-size: 2.35em;
    }
}

/* 设置了浏览器宽度<480px时，缩小首页标题字体 */
@media screen and (max-width: 480px) {
    .postTitle {
        font-size: 1.7em;
        font-weight: 410;}
}

/*设置背景色*/
body {
    background-color: #fafafa;
}

/*文章标题和正文间距设置*/
#cnblogs_post_body {
    margin-top: 2em;
    margin-bottom: -0.46em;
}

/*小标题和正文间距设置*/
#cnblogs_post_body p {
    text-indent: 0;
    margin: auto;
    margin-top: 0.6em;
    margin-bottom: 0.2em;
}

/*正文*/
.postBody {
    color: rgba(41, 41, 41, 1);
    line-height: 1.75em;
    font-size: 1.55em;
    font-style: normal;
    font-weight: 300;
    font-family: medium-content-serif-font, Georgia, Cambria, "Times New Roman", Times, serif;
    letter-spacing: -0.003em;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}
/* 当浏览器宽度>=480px时，正文字体大小正常 */
@media screen and (min-width: 480px) {
.postBody {font-size: 1.55em;}
}

/* 设置了浏览器宽度<480px时，缩小正文字体 */
@media screen and (max-width: 480px) {
.postBody {font-size: 1.25em;}
}

/*reference小序列间距设置*/
.postBody li, .postCon li {
    margin-bottom: 0em;
}

/*引用处>格式设置*/
.postBody blockquote {
    line-height: 32px;
    padding-left: 2.2em;
    color: rgba(117, 117, 117, 1);
    background: url(https://www.cnblogs.com/skins/simplememory/images/comment.gif) no-repeat 5px 5px;
}

blockquote {
    margin-top: 0px;
}

/*大块代码格式设置*/
.cnblogs-markdown .hljs, .cnblogs-post-body .hljs {
    font-family: "Courier New",sans-serif !important;
    font-size: 0.83em !important;
    line-height: 1.4em !important;
    padding: 8px !important;
}

/*行内代码设置*/
.cnblogs-markdown code, .cnblogs-post-body code {
    font-family: "Courier New",sans-serif !important;
    font-size: 1em !important;
    background-color: #f5f5f5 !important;
    border: 1px solid #ccc !important;
    padding: 0 5px !important;
    border-radius: 3px !important;
    line-height: 1.3em;
    margin: 1px 5px;
    vertical-align: middle;
    display: inline-block;
    overflow-x: auto;
}

/*取消所有下划线修饰*/
.postBody a:link, .postBody a:visited, .postBody a:active {
    text-decoration: none;
}

/*链接改颜色*/
a:visited {
    color: #21759b;
}

/*h2标题设置*/
#cnblogs_post_body h2, .blog_comment_body h2 {
    color: rgba(41, 41, 41, 1);    
    line-height: 1.2em;
    font-size: 1.4em;
    font-style: normal;
    font-weight: 555;
    font-family: medium-content-serif-font, Georgia, Cambria, "Times New Roman", Times, serif;
    margin-top: 1.72em;
    letter-spacing: -0.022em;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

/*h3标题设置*/
#cnblogs_post_body h3, .blog_comment_body h4 {
    font-size: 1.16em;
    font-weight: 560;
    color: #010101;
    line-height: 1.2em;
    margin: auto;
    margin-top: 1.72em;
}

/*h4标题设置*/
#cnblogs_post_body h4 {
font-size: 1em;
font-weight: bold;
margin: 10px 0;
}

/*图片*/
#cnblogs_post_body img {
    max-width: 700px;
    vertical-align: middle;
    transition: opacity 400ms ease 0ms;
    opacity: 1;
    background: rgba(255, 255, 255, 1);
    margin-top: 7px;
    margin-bottom: 7px;
}

/*整大块文章设置*/
#main{ 
    width: 100%; 
    text-align: left; 
    margin-top: 15px; 
    margin-left: 15%;
}
/* 当浏览器宽度>=1001px时，正文居中 */
@media screen and (min-width: 1001px) {
    #main {
        margin-left: 15%;
    }
}

/* 设置了浏览器宽度<1000px时，正文维持靠左 */
@media screen and (max-width: 1000px) {
    #main {
        margin-left: 0%;
    }
}

/*页首导航栏设置*/
#navigator {
    font-size: 13px;
    border-bottom: 1px solid #ededed;
    border-top: 1px solid #ededed;
    height: 50px;
    clear: both;
    margin-top: -95px;
}

/*类样式编辑，点赞和收藏都是属于diggit类的*/
.diggit{
  background: none;
  right: 85%;
  width: 34px;
  height: 36px;
  margin-top: 5px;
}

/*好看的点赞按钮*/
#div_digg_new{
  padding: 5px;
  position: fixed;
  bottom: 670px;
  background: url(https://s1.ax1x.com/2020/08/03/aaFks1.png) no-repeat;
}

#div_digg_new .diggnum{
  position: absolute;
  bottom: 67%;
  background: #D0D0D0;
  padding: 2px 0;
  display: block;
  color: #555;
  font-size: 12px;
  text-align: center;
  width: 36px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  font-weight: bold;
}
/* 当浏览器宽度>=1001px时，点赞按钮正常放置 */
@media screen and (min-width: 1001px) {
#div_digg_new {right: 85%;}
}

/* 设置了浏览器宽度<1000px时，隐藏点赞按钮 */
@media screen and (max-width: 1000px) {
#div_digg_new {right: 105%;}
}

/* 当浏览器高度>=701px时，设置点赞按钮位置 */
@media screen and (min-height: 801px) {
#div_digg_new {bottom: 670px;}
}

/* 设置了浏览器高度<700px时，设置点赞按钮位置 */
@media screen and (max-height: 800px) {
#div_digg_new {bottom: 500px;}
}

/*好看的收藏按钮*/
#green_channel_favorite_new{
  padding: 5px;
  position: fixed;
  bottom: 637px;
  background: url(https://s1.ax1x.com/2020/08/03/aaFhl9.png) no-repeat;
}
/* 当浏览器宽度>=1201px时，收藏按钮正常放置 */
@media screen and (min-width: 1001px) {
#green_channel_favorite_new {right: 85%;}
}

/* 设置了浏览器宽度<1200px时，隐藏收藏按钮 */
@media screen and (max-width: 1000px) {
#green_channel_favorite_new {right: 105%;}
}

/* 当浏览器高度>=701px时，设置收藏按钮位置 */
@media screen and (min-height: 801px) {
#green_channel_favorite_new {bottom: 637px;}
}

/* 设置了浏览器高度<700px时，设置收藏按钮位置 */
@media screen and (max-height: 800px) {
#green_channel_favorite_new {bottom: 467px;}
}

/*调整“好文要顶”，“分享至微博”的那栏*/
#green_channel {
    padding: 10px 0;
    margin-bottom: 0%;
    margin-top: 6%;
    border: none;
    font-size: 12px;
    width: 90%;
    text-align: none;
}

/*自定义作者介绍*/
#author_profile {
    float: left;
    width: -webkit-fill-available;
    margin-top: 2%;
    margin-bottom: 0px;
    margin-left: 0;
    border-top: 2px solid #e6e6e6;
    padding-top: 3%;
    padding-bottom: 2%;
}

/*作者头像*/
.author_avatar {
    vertical-align: top;
    float: left;
    margin-right: 2.5%;
    padding-top: 0px;
    padding-left: 0px;
    border-radius: 50%;
    width: 60px;
    height: 60px;
}

/*作者名*/
#author_profile_detail > a {
    line-height: 1.3em;
    font-size: 1.75em;
    font-weight: 580;
    color: rgba(41, 41, 41, 1);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

/*作者介绍*/
#author_profile_detail > p {
    line-height: 0.7em;
    font-size: 1.28em;
    font-weight: 300;
    color: rgba(117, 117, 117, 1);
    font-family: medium-content-sans-serif-font, "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Arial, sans-serif;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    text-indent: 0.15em;
}

.author_profile_info {
    float: none;
    line-height: 18px;
    margin-top: 10px;
}

/*发布日期栏设置*/
#topics .postDesc {
    padding-left: 0;
    padding-bottom: 5px;
    width: 100%;
    text-align: left;
    color: #666;
    margin-top: 1%;
    margin-bottom: 3%;
    background: none;
    border-bottom: 2px solid #e6e6e6;
}

/*首页的发布日期栏设置*/
.postDesc {
    margin-top: 0px;
    margin-bottom: 15px;
}

/*评论区设置*/
#commentform_title {
    font: normal normal 16px/35px "Microsoft YaHei";
    background-image: none;
    margin: 2px 0 0px;
    border-bottom: none;
    padding: 0;
}

/*设置h2标题后紧跟小分题以及blockquote的情况*/
h2+ul{
    margin-top:0.6em;
}

h2+ol{
    margin-top:0.6em;
}

h2+blockquote{
    margin-top:0.6em;
}

/*首页设置*/
#mainContent .forFlow {
    margin-left: 22em;
    float: none;
    width: 70%;
}
/* 当浏览器宽度>=1024px时，首页居中 */
@media screen and (min-width: 1024px) {
    #mainContent .forFlow {
        width: 70%;
    }
}

/* 设置了浏览器宽度<1024px时，首页靠左 */
@media screen and (max-width: 1024px) {
    #mainContent .forFlow {
        width: 100%;
    }
}

/*目录设置*/
#sideToolbar {
    position: fixed;
    bottom: -12px;
    right: 25px;
    width: 250px;
    height: 440px;
    font-family: medium-content-serif-font, Georgia, Cambria, "Times New Roman", Times, serif;
    font-size: 1.2em;
    font-weight: 550;
    line-height: 1.5em;
    color: rgba(117, 117, 117, 1);
}

#sideCatalog a {
    font-weight: 600 !important;
    font-family: medium-content-serif-font, Georgia, Cambria, "Times New Roman", Times, serif;
    color: rgba(117, 117, 117, 1) !important;
}

/*首页摘要设置*/
.c_b_p_desc {
    font-size: 1.5em;
    line-height: 1.7;
    font-family: medium-content-serif-font, Georgia, Cambria, "Times New Roman", Times, serif;
    letter-spacing: -0.003em;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    color: rgba(41, 41, 41, 1);
    font-style: normal;
    font-weight: 300;
}
/* 当浏览器宽度>=480px时，摘要字体大小正常 */
@media screen and (min-width: 480px) {
.c_b_p_desc {font-size: 1.5em;}
}

/* 设置了浏览器宽度<480px时，缩小摘要字体 */
@media screen and (max-width: 480px) {
.c_b_p_desc {font-size: 1.2em;}
}