/*博客园自定义css*/

/* 公共样式 */
#poweredby {
    display: none;
}

/*pc端*/
/*首页*/
#header .mask {
    width: inherit;
    height: inherit;
    background-color: rgba(0,0,0,.4);
}
#header .header {
    border-bottom: 1px solid #d6d6d6;
    padding-left: 280px;
    background-image: url("https://images.cnblogs.com/cnblogs_com/reamd/791804/o_back.jpg");
    background-size: cover;
}
#header .header .headerText {
    font-family: 'PingFang SC','Microsoft YaHei','Helvetica Neue','Helvetica','Arial', sans-serif;
    font-size: 14px;
}
#Header1_HeaderTitle {font-size: 26px;}
#mytopmenu {
    border: none;
    margin-top: -54px;
    background: transparent;
}
#mytopmenu #mylinks {
    font-size: 16px;
}
#mytopmenu #mylinks a {
    text-decoration: none;
    font-family: "微软雅黑","verdana","Arial","Helvetica","sans-serif";
}
#mytopmenu #mylinks a img {
    display: none;
}
#centercontent {
    padding-top: 20px;
    padding-bottom: 5px;
}
#centercontent .day {
    border: none;
    border-radius: 5px;
}
#leftcontent {
    top: 215px;
    border: none;
    border-radius: 5px;
}
#profile_block .avatar {
    float: right;
    margin-top: -72px;
}
#profile_block .avatar img {
    width: 72px;
    height: 72px;
    border-radius: 5px;
}

/*文章*/
#cb_post_title_url {}
#post_detail .post {border-radius: 5px;border:none;}
#post_detail .postTitle {
    font-size: 20px;
    margin-top: 0;
}
#post_detail img {
    max-width: 80%;
}
#cb_post_title_url {
    color: #000000;
    cursor: default;
}
#cnblogs_post_body {
    color: #000;
    font: 0.875em/1.5em "微软雅黑" , "PTSans" , "Arial" ,"sans-serif";
    font-family: "verdana","Arial","Helvetica","sans-serif";
    font-size: 14px;
}
#cnblogs_post_body ul {
    font-size: 14px;
}
#cnblogs_post_body h1 {
    background-color: #F07965;
    border-radius: 6px 6px 6px 6px;
    color: #fff;
    font-family: "微软雅黑", "宋体", "黑体", "Arial";
    font-size: 18px;
    font-weight: bold;
    height: 25px;
    line-height: 25px;
    margin: 15px 0 !important;
    padding: 5px 0 5px 20px;
    overflow: hidden;
    white-space: nowrap;
    word-break: keep-all;
}
#cnblogs_post_body h2 {
    background-color: #749FED;
    border-radius: 6px 6px 6px 6px;
    color: #fff;
    font-family: "微软雅黑", "宋体", "黑体", "Arial";
    font-size: 16px;
    font-weight: bold;
    height: 25px;
    line-height: 25px;
    margin: 15px 0 !important;
    padding: 5px 0 5px 20px;
    overflow: hidden;
    white-space: nowrap;
    word-break: keep-all;
}
#cnblogs_post_body h3 {
    background-color: #788f90;
    border-radius: 6px 6px 6px 6px;
    color: #fff;
    font-family: "微软雅黑", "宋体", "黑体", "Arial";
    font-size: 14px;
    font-weight: bold;
    height: 25px;
    line-height: 25px;
    margin: 15px 0 !important;
    padding: 5px 0 5px 20px;
    overflow: hidden;
    white-space: nowrap;
    word-break: keep-all;
}
#cnblogs_post_body img {width: 100%;}
#div_digg {
    position: fixed;
    bottom: -13px;
    right: 25px;
    z-index: 9999;
}
/*生成博客目录的CSS*/
#sideBar{
    font-size:12px;
    font-family:Arial, Helvetica, sans-serif;
    text-align:left;
    position:fixed;/*将div的位置固定到距离top:50px，right:0px的位置，这样div就会处在最右边的位置，距离顶部50px*/
    top:50px;
    right:0px;
    width: auto;
    height: auto;
}
#sideBarTab{
    float:left;
    width:30px;
    border:1px solid #e5e5e5;
    border-right:none;
    text-align:center;
    background:#ffffff;
}

#sideBarContents{
    float:left;
    overflow:auto;
    overflow-x:hidden;!important;
    width:200px;
    min-height:108px;
    max-height:460px;
    border:1px solid #e5e5e5;
    border-right:none;
    background:#ffffff;
}
#sideBarContents dl{
    margin:0;
    padding:0;
}

#sideBarContents dt{
    margin-top:5px;
    margin-left:5px;
}

#sideBarContents dd, dt {
    cursor: pointer;
}

#sideBarContents dd:hover, dt:hover {
    color:#A7995A;
}

/*我的随笔样式*/
#myposts {
    background-color: #ffffff;
    padding: 20px;
    color: #4b4b4b;
    font-size: 13px;
    margin-left: 0;
    border-radius: 5px;
}
#myposts img {
    max-width: 80%;
}
#myposts > .pager:nth-child(2) {
    display: none;
}
/*我的标签样式*/
#taglist_main {
    background-color: #ffffff;
    padding: 20px;
    color: #4b4b4b;
    font-size: 13px;
    margin-top: 0;
    border-radius: 5px; 
}

/*隐藏文章底部推荐*/
#under_post_card1, #cnblogs_c2, #under_post_card2 {
    display: none;
}

/*移动端-平板*/
@media screen and (min-width: 1px) and (max-width: 800px) {
    /*首页*/
    #mytopmenu {
        box-sizing: border-box;
        margin-left: 0;
        margin-right: 0;
        margin-top: 0;
        width: 100%;
        background: #fff;
    }
    #centercontent {
        padding-left: 0;
        padding-right: 0;
        width: 100%;
    }

    #leftcontent {
        width: 100%;
        position: static;
    }
    #footer {
        margin: 0;
        width: 100%;
    }
    #comment_form {
        display: none;
    }

    #header {
        display: none;
    }

    #green_channel {
        display: none;
    }
    .footer {display: none;}
}
/*移动端-手机*/
@media screen and (min-width: 1px) and (max-width: 450px) {
    /*首页*/
    #mytopmenu #mylinks {
        font-size: 12px;
    }
}