/*重置属性*/
*{margin: 0;															/*外边距属性*/
padding: 0;																/*内边距属性*/
-moz-box-sizing: border-box;											/* 火狐浏览器 */
-webkit-box-sizing: border-box;											/* webkit内核浏览器 */
box-sizing: border-box; 												/*内边距和边框是在元素设置的宽度和高度之内进行绘制的*/
}
body{font-size: 16px;font-family: "微软雅黑";color: #222222;}  			/*字体，大小，颜色*/
body{
    -moz-user-select:none;/*火狐*/
    -webkit-user-select:none;/*webkit浏览器*/
    -ms-user-select:none;/*IE10*/
    -khtml-user-select:none;/*早期浏览器*/
      user-select:none;
}																	/*禁止选中字体*/
b{font-weight: normal;}  												/*粗体重置，便于当作普通标签用CSS美化*/
i{font-style: normal;}   												/*斜体重置，便于当作普通标签用CSS美化*/
a,a:hover,a:active{text-decoration: none;color:#222222;}  				/*鼠标点击状态重置*/
input,textarea,select{outline: none;}  									/*去掉点击文本框时，轮廓被选中的状态*/
img{border: none;vertical-align: top;}  								/*图片边框重置，垂直对齐方式顶部对齐*/
li{list-style: none;} 													/*列表标志重置*/
.fl{float: left;} 														/*左浮动*/
.fr{float: right;} 														/*右浮动*/
.cl{clear: both;} 														/*清除两侧浮动*/
.clearfix::after{														/*伪类方法，防止高度塌陷*/
	content: "";															/*添加空内容*/
	display: table;															/*转成表格元素*/
	clear: both;															/*清除两侧浮动*/
}
/*代码折叠美化*/
summary {
    background-color: antiquewhite;						/*背景色*/
    padding: 15px;										/*外边框*/
    border-radius: 15px;								/*圆角*/
}
/*去除广告美化*/
#cnblogs_ch, #cnblogs_c1, #under_post_card1, #under_post_card2, #HistoryToday  {
    display: none;
}
/*添加的两个按钮样式*/
.addButton { /* 按钮美化 */
    float:right;
	width: 45%; /* 宽度 */
	height: 40px; /* 高度 */
	border-width: 0px; /* 边框宽度 */
	border-radius: 3px; /* 边框半径 */
	background: #F9F9F9; /* 背景颜色 */
	cursor: pointer; /* 鼠标移入按钮范围时出现手势 */
	outline: none; /* 不显示轮廓线 */
	color: black; /* 字体颜色 */
	font-size: 18px; /* 字体大小 */
}
.addButton:hover { /* 鼠标移入按钮范围时改变颜色 */
	background: #F0F0F0;
}
/*生成博客目录的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;
    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;
}
#sideBarContents dd{
    margin-left:20px;
}
