#header{display:none;} /* 将默认的导航头屏蔽掉，这样才能把自己的导航栏加上去 */

/* 定制自己导航栏的样式 */
#shwtop ul {
    margin: 0;
    padding: 0;
    list-style-type: none; /*去除li前的标注*/
    background-color: #816d65;
    overflow: hidden; /*隐藏溢出的部分，保持一行*/
}
#shwtop li {
    float: left; /*左浮动*/
}
#shwtop li a, .dropbtn {
    display: inline-block; /*设置成块*/
    color: white;
    text-align: center;
    text-decoration: none;
    padding: 14px 16px;
}
/*鼠标移上去，改变背景颜色*/
#shwtop li a:hover, .dropdown:hover .dropbtn { 
    /* 当然颜色你可以自己改成自己喜欢的，我还是挺喜欢蓝色的 */
    background-color: blue;
}
#shwtop .dropdown {
    /*
    display:inline-block将对象呈递为内联对象，
    但是对象的内容作为块对象呈递。
    旁边的内联对象会被呈递在同一行内，允许空格。
    */
    display: inline-block;
}
#shwtop .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}
#shwtop .dropdown-content a {
    display: block;
    color: black;
    padding: 8px 10px;
    text-decoration:none;
}
#shwtop .dropdown-content a:hover {
    background-color: #a1a1a1;
}
#shwtop .dropdown:hover .dropdown-content{
    display: block;
}











/*生成博客目录的CSS*/
#uprightsideBar{
    font-size:14px;
    font-family:Arial, Helvetica, sans-serif;
    text-align:left;
    position:fixed;/*将div的位置固定到距离top:50px，right:0px的位置，这样div就会处在最右边的位置，距离顶部50px*/
    top:220px;
    right:53px;
    width: auto;
    height: auto; 
    
    
}
#sideBarTab{
    float:left;
    width:30px; 
    border:1px solid #e5e5e5;
    border-right:none;
    text-align:center;
 
    background: rgb(237, 148, 161);
    background-color: rgb(237, 148, 161);
    background-image: none;
    background-repeat: repeat;
    background-attachment: scroll;
    background-clip: border-box;
    background-origin: padding-box;
    background-position-x: 0%;
    background-position-y: 0%;
    background-size: auto auto;
    color:white;
    border-radius: 10px;
    padding: 6px;
    font-family: PingFangSC-Regular, Verdana, Arial, '微软雅黑','宋体',FangSong,Tahoma,KaiTi,STXingkai,NSimSun;
    color: white;
}

#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:#fff;
}
#sideBarContents dl{
    margin:0;
    padding:0;
}

#sideBarContents dt{
    margin-top:5px;
    margin-left:5px;
    color: #fff;
   
   font-size:16px;     
   background-color:#008eb7;
   display:inline-block;
}

#sideBarContents dd, dt {
    cursor: pointer;
}

#sideBarContents dd:hover, dt:hover {
    color:#A7995A;
}
#sideBarContents dd{
    margin-left:20px;
   color:black ; 
    
}












/* 定制推荐和反对按键 */
#div_digg{
  position:fixed;
  bottom:-10px;
  width:120px;
  right:20px;
  box-shadow: 0 0 6px #0000FF;
  border:2px solid #FF0000;
  padding:4px;
  background-color:#FFF;
  border-radius:4px 4px 4px 4px !important;
}

.icon_favorite {
    background: transparent url('https://files-cdn.cnblogs.com/files/liangxiaoji/kj.gif') no-repeat 0 0;
    padding-left: 15px;
}

#blog_post_info_block a {
    text-decoration: none;
    color: #5B9DCA;
    padding: 3px;
}




/* 定制返回顶部按键 */
#toTop {
    background: url(https://files-cdn.cnblogs.com/files/lyfstorm/o_toTop.bmp) no-repeat 0px top;
    width: 57px;
    height: 57px;
    overflow: hidden;
    position: fixed;
    right: 180px;
    bottom: 20px;
    cursor: pointer;
}










/* 定制页面扩大按键 */
#divExpandViewArea{
    position: fixed;
    color: white;
    padding: 10px 10px;
    left: 0px;
    top: 400px;
    cursor: pointer;
    opacity: 0.9;
    background-color: #68228B;
}
/* 定制页面缩小按键 */
#divCollapseViewArea{
    position: fixed;
    color: white;
    padding: 10px 10px;
    left: 0px;
    top: 445px;
    cursor: pointer;
    opacity: 0.9;
    background-color: #68228B;
}








/* 设置博客正文一二三级标题格式--女神博客copy */
h1{
    background: #d2eef4;
    padding: 5px;
    border-radius: 6px;
    font-size: 28px;
    font-weight: bold;
}
h2{
    text-align: center;
    background: #ddddff;
    padding: 5px;
    border-radius: 5px;
    font-size: 24px;
    font-weight: bold;
}
h3 {
    background: #4efbe3;
    padding: 5px;
    width: 70%;
    border-radius: 5px;
    font-size: 20px;
    font-weight: bold;
}
h4 {
    background: #009ACD;
    width: 50%;
    padding: 5px;
    border-radius: 5px;
    font-size: 20px;
    font-weight: bold;
}
h5 {
    background: #FF7F50;
    padding: 5px;
    border-radius: 5px;
    font-size:12px;
    width: 40%;
    
}

#topics .postTitle {
    font-size: 30px;
    font-weight: bold;
    border-bottom: 1px solid #999;
    float: left;
    line-height: 2.5em;
    width: 100%;
    padding-left: 5px;
    margin-bottom: 10px;
    box-shadow: 0 0 0 1px #5F5A4B, 1px 1px 6px 1px rgba(10, 10, 0, 0.5);
}

/*  正文 */
#cnblogs_post_body p {
    font-size: 12pt;
}












/* adblock屏蔽广告 */
#ad_t2 {
    display: none;
}
.c_ad_block {
    display: none;
}














/*让反对按钮不显示*/
.buryit {
    display:none;
}

/* 定制推荐和反对按键 */
#div_digg{
  /* margin: 0; */
  position:fixed;
  bottom:-10px;
  width:110px;
  right:-28px;
  box-shadow: 0 0 10px #0000FF;
  border:2px solid #FF0000;
  padding:0px;
  background-color:#fff;
  border-radius:4px 4px 4px 4px !important;
}
/*定制推荐按键参数*/
.diggit {
    float: left;
    margin-left: 30px;
}










/* 定制博客背景图片，url里面是你的图片位置信息 */
body { 
     background-image:url(https://img2018.cnblogs.com/blog/1364389/201901/1364389-20190108230203684-1262723211.jpg); 
     background-color: Snow;
     background-repeat: no-repeat; 
     background-attachment: fixed; 
     background-position: center 0; 
     background-size: cover; 
    padding-top:0px;
  }