/*生成博客目录的CSS*/

#uprightsideBar {
    font-size: 13px;
    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;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-right: none;
    text-align: center;
    font-size: 14px;
    /* font-weight: 900; */
    /* 圆角边框，左上角开始 */
    border-radius: 3px 0px 0px 3px;
    cursor: default;
}

#sideBarContents {
    float: left;
    overflow: auto;
    overflow-x: hidden;
    !important;
    width: 200px;
    min-height: 108px;
    max-height: 460px;
    border: 1px solid #e5e5e5;
    border-left: none;
    background: #fff;
    /* 圆角边框，左上角开始 */
    border-radius: 0px 3px 3px 3px;
}

#sideBarContents dl {
    margin: 0;
    padding: 0;
}

#sideBarContents dt+dt {
    margin-top: 5px;
}

#sideBarContents dd,
dt {
    padding-left: 20px;
    cursor: pointer;
    /* 内容太多，省略号的形式显示 */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#sideBarContents dd:hover,
dt:hover {
    /* color: #A7995A; */
    background-color: #FF5E52;
    color: #ffffff;
}

#sideBarContents dd {
    text-indent: 1em;
    font-size: 12px;
}