/* image css 边框 阴影 圆角 效果 */
body img {
    max-width: 900px;
    border-radius: 0; /* 四角弧度 */
    /* margin: 5px auto; */ /* 设置图片距离上下文字的距离 */
    display: block;
    /* max-width: 95%; */
    background: #ffffff;
    /* box-shadow: 0 0 0px #8c8888; */ /* 设置图片四周的效果 */
    /* box-shadow: 0px 1px 10px 0px #908a8a; */
    padding: 0px;
    padding-right: 0px;

    box-shadow: 0 0px 3px #3b5999; /* 设置图片四周的阴影 */
    margin: 0.1rem 0 0.1rem 0; /* 上 右 下 左 */
}


/*底部隐藏作者，隐藏推荐和反对*/
#author_profile {
    display: none;
}

#div_digg {
    display: none;
}

/*隐藏广告*/
#ad_t2, #cnblogs_c1, #under_post_news, #cnblogs_c2, #under_post_kb {
    display: none;
}

/*设置字体*/
body {
    font-family: 'trebuchet ms', verdana, helvetica, arial, sans-serif;
    font-size: 16px;
}








/*生成博客目录的CSS*/
  #uprightsideBar{
    font-size: 16px;
    font-family: 'trebuchet ms', verdana, helvetica, arial, sans-serif!important; /*自定义字体大小和字体*/
    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:#3b5999; /* 设置目录字体颜色 */
}
#sideBarContents dd{
    margin-left:20px;
}




/*控制代码不换行*/
pre {
    white-space: pre;
    word-wrap: normal;
}

/*markdown字体*/
.cnblogs-markdown .hljs, .cnblogs-post-body .hljs {
    font-family: "Courier New",sans-serif !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
    padding: 5px !important;
}

.cnblogs-markdown code, .cnblogs-post-body code {
    font-family: "Courier New",sans-serif !important;
    font-size: 16px !important;
    line-height: 20px;
    background-color: #f5f5f5 !important;
    border: 1px solid #ccc !important;
    padding: 0 5px !important;
    border-radius: 3px !important;
    line-height: 1.8;
    margin: 1px 5px;
    vertical-align: middle;
    display: inline-block;
    overflow-x: auto;
}

/*上一篇|下一篇 字体*/
#post_next_prev {
    line-height: 1.8;
    font-size: 16px;
}

/*文章标题字体*/
.postTitle a {
    color: #333;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
}
/*文章下方标签*/
#EntryTag {
    margin-top: 20px;
    font-size: 12pt;
    color: #808080;
}