body {
    color: #000;
    background-color:#fec;
    background: url("https://images.cnblogs.com/cnblogs_com/blogs/749739/galleries/2337569/o_230821042803_2.webp") fixed ;
    background-size: cover;
    background-repeat: no-repeat;
    font-family: "微软雅黑","Helvetica Neue",Helvetica,Verdana,Arial,sans-serif;
    font-size: 12px;
    min-height: 101%;
    padding: 10px 0px;   
}
 /*手机页面的广告*/
#bannerbar,#cnblogs_c1,#cnblogs_c2,#ad_t2{
display:none;   
}

/*主标题*/
#blogTitle h1 {
    font-size: 50px;
    font-family: Consolas;
    font-weight: bold;
    font-style: italic;
    margin-top: 20px;
    margin-bottom: 15px;
}     

/*副标题*/
#blogTitle h2 {
    margin-top: 30px;
    margin-bottom: 15px;
}

/*鼠标滑过效果  位置是副标题下的导航栏六个按钮位置*/
#navList a:hover {
    text-decoration: none;     /*文本装饰*/
    background-color: #fefefe;
    color: #169fe6;
}

/*副标题下导航栏样式*/
#navigator {
background-color:#fefefe;
font-size: 15px;
border-bottom: 1px solid #ededed;
border-top: 1px solid #ededed;
height: 50px;
clear: both;
margin-top: 25px;
}

/*侧边栏标题样式*/
.catListTitle {
    margin-top: 21px;
    margin-bottom: 10.5px;
    text-align: left;
    border-left: 10px solid rgba(82, 168, 236, 0.8);
    padding: 5px 0 5px 10px;
    background-color: rgba(245,245,245,0.3);
}

/*可滑动的页面样式设置*/
#home {
opacity: 0.95;
margin: 80px auto;
width: 75%;
min-width: 950px;
background-color: #fefefe;
padding: 30px;
box-shadow: 0 2px 6px rgba(100, 100, 100, 0.8);
}




/*隐藏滚动条*/
html::-webkit-scrollbar{
        display: none;
    }
html{
    scrollbar-width: none; //兼容火狐
    -ms-overflow-style: none;//兼容ie10+
    
}


/*背景切换*/
#bg {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  /*
  为了能够隐藏home
  z-index: -10;*/
  background-position: center 0;
  background-image: url("https://images.cnblogs.com/cnblogs_com/blogs/749739/galleries/2337569/o_230821042217_1.webp");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  -webkit-background-size: cover;
  -o-background-size: cover;
  zoom: 1;
 
  opacity:1;
  transition: opacity 3s linear;
  -moz-transition: opacity 3s linear;
  -webkit-transition: opacity 3s linear;
  -o-transition: opacity 3s linear;
}

/*将mainContent放进home*/

#mainContent{
    margin-left: 0;
    width: 70%;
}
#sideBar{
    width: 25%;
}
#mainContent .forFlow{
    margin-left: 0;
}

.postTitle{
    float:none;
    border-left-width: 6px;
    padding-left: 4px;
    border-left-color: rgb(82,168,255);
}
