/*生成博客目录的CSS*/
#uprightsideBar{
    font-size:12px;
    font-family:Arial, Helvetica, sans-serif;
    text-align:left;
    position:fixed;/*将div的位置固定到距离top:50px，right:0px的位置，这样div就会处在最右边的位置，距离顶部50px*/
    top:50px;
    left:0px;
    width: auto;
    height: auto; 
}
#sideBarTab{
    float:left;
    width:28px; 
    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;
}
#sideBarContents dd{
    margin-left:20px;
}

#sideBarTab h2{
    font-size: 15px;
    font-weight: bold;
}	

/**#header {width: 90%;}
#main {width: 1200px;}
#mainContent {float: left;width: 950px;}

#topics,#topics .postTitle,.postBody,#topics .postDesc{width: 95%;}*/

#home {
    margin: 0 auto;
    width: 1020px;
}

@media only screen and (max-width: 767px){
    #home {
        width: auto;
        min-width: unset;
    }
}

pre code.hljs {white-space: pre;}

#cnblogs_post_body table{overflow-x: auto;}

@media only screen and (max-width: 767px){ 
   #cnblogs_post_body table {
      overflow-x: auto !important;
   }

       /*滚动条样式*/
    ::-webkit-scrollbar {
        /*滚动条整体样式*/
        width: 4px !important;
        /*高宽分别对应横竖滚动条的尺寸*/
        height: 4px!important; 
    }

    ::-webkit-scrollbar-thumb {
        /*滚动条里面小方块*/
        border-radius: 5px !important; ;
        -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2) !important; ;
        background: rgba(0, 0, 0, 0.2) !important; ;
    }

    ::-webkit-scrollbar-track {
        /*滚动条里面轨道*/
        -webkit-box-shadow: inset 0 0 5px #f5f5f5 !important;
        border-radius: 0;
        background:#f5f5f5 !important; 
    }
}