/* 添加一键复制按钮 */
.cnblogs-markdown pre {
	position: relative;
}

.cnblogs-markdown pre > span {
	position: absolute;
	top: 0;
	right: 0;
	border-radius: 2px;
	padding: 0 10px;
	font-size: 12px;
	background: rgba(0, 0, 0, 0.4);
	color: #fff;
	cursor: pointer;
}

.cnblogs-markdown pre > .copyed {
	background: #67c23a;
}

/* -------------------------------------------------------------------------------- */

/* 定制生成博客目录的CSS样式 */
#uprightsideBar {
	font-size: 18px;
	font-family: Arial, Helvetica, sans-serif;
	text-align: left;
	position: fixed;
    /*
    将div的位置固定到距离top:150px，right:0px的位置，
    这样div就会处在最右边的位置，距离顶部150px，
    当然这两个值你可以自己改。
    */
	top: 150px;
	right: 0px;
	width: auto;
	height: auto;
}

#sideBarTab {
	float: left;
	width: 25px;
	box-shadow: 0 0 8px #877788;
	border: 1px solid #00DDC00;
	border-right: none;
	text-align: center;
	background: #33FF66;
}

#sideBarContents {
	float: left;
	overflow: auto;
	overflow-x: hidden;
	!important;
    width: auto;
	min-height: 101px;
	max-height: 460px;
	border: 1px solid #e5e5e5;
	border-right: none;
	background: #FFFFCC;
	font-size: 16px;
}

#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;
}

/* -------------------------------------------------------------------------------- */

/* 屏蔽底层广告 */
#ad_t2,#cnblogs_c1,#under_post_news,#cnblogs_c2,#under_post_kb {
	display: none;
	!important
}

/* -------------------------------------------------------------------------------- */

/* 快速返回至顶部 */
.box{
    position:fixed;
    right:10px;
    bottom: 10px;
    height:30px;
    width: 50px;    
    text-align:center;
    padding-top:20px;    
    background-color: lightblue;
    border-radius: 20%;
    overflow: hidden;
}
.box:hover:before{
    top:50%
}
.box:hover .box-in{
    visibility: hidden;
}
.box:before{
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translate(-50%,-50%);
    content:'回到顶部';
    width: 40px;
    color:peru;
    font-weight:bold;

}    
.box-in{
    visibility: visible;
    display:inline-block;
    height:20px;
    width: 20px;
    border: 3px solid black;
    border-color: white transparent transparent white;
    transform:rotate(45deg);
}

/* -------------------------------------------------------------------------------- */

/* 背景图片 */
body {
	background: url(https://files-cdn.cnblogs.com/files/zengcongcong/1.bmp) fixed;
}


