效果
代码
html, body{
min-height: 100%;
}
body {
/*全局字体设置*/
/*font-family: Consolas, "楷体" !important;*/
/*font-family: Consolas, "楷体" !important;*/
/*加载图片*/
background-image: url("https://api.xygeng.cn/Bing/");
/*水平垂直居中*/
background-position: center, center;
/*图片不平埔*/
background-repeat: no-repeat;
/*图片位置固定在窗口中*/
background-attachment: fixed;
/*图片填充*/
background-size: cover;
}
/*-----------------------home start---------------------------*/
#home {
/*设置背景透明度*/
/*background-color:rgba(255, 255, 255, 0.95);*/
}
#header {
background-color: rgba(0,0,0,0.3);
/*backdrop-filter: blur(10px);*/
}
#main {
margin-top: 20px;
margin-bottom: 60px;
}
#navList li a {
background-color: unset;
}
#mainContent {
width: 800px;
}
#sideBar {
background-color: rgba(0,0,0,0.3);
backdrop-filter: blur(10px);
border-radius: 6px;
width: 200px;
margin-left: 20px;
}
#sideBar a {
text-decoration: none;
color: #aad;
}
#sideBar h3{
color: #ddd;
}
#main {
background-color: unset;
}
.buryit {
display: none;
}
.diggit {
display: none;
}
/*-----------------------hide ads---------------------------*/
#ad_t2,#cnblogs_c1,#under_post_news,#cnblogs_c2,#under_post_kb {
display:none; !important
}
#author_profile {
display:none;
}
#green_channel {
display:none;
}
.blogStats {
display: none;
}
#blog_post_info_block {
display:none;
}
#comment_nav {
display:none;
}
#commentform_title{
display:none;
}
#comment_form_container{
margin-top: 20px;
}
#comment_form_container > div.commentbox_main.comment_textarea{
//margin-right: 10px;
padding: 0px;
width: auto;
}
#footer{
display: none;
}
#blog-comments-placeholder{
padding: 0px;
padding-left: 20px;
padding-right: 20px;
}
#tbCommentBody {
padding-left: 10px;
padding-right:10px;
}
.postDesc {
//display: none;
//float: right;
}
#sidebar_search > h3 {
display: none;
}
#widget_my_zzk {
padding: 0px;
}