博客园页面定制

去掉下方广告
https://www.cnblogs.com/zzhaolei/p/11063469.html

bing每日一图api
https://blog.mrabit.com/details/55

搜索框
https://www.cnblogs.com/Python666/articles/7569538.html

美化
https://github.com/yanglr/Beautify-cnblogs
https://www.cnblogs.com/anan-java/p/12196061.html
https://www.cnblogs.com/laoguantongxiegogo/p/12488696.html

https://www.cnblogs.com/enjoy233/p/10328361.html

CSS对象选择
“.”表示根据class来查找,#表示根据id来查找

.class_name {

}

#id {

}

页面定制CSS代码v01

/*-----------------------body start---------------------------*/
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);
}

/*-----------------------hide ads---------------------------*/
#ad_t2,#cnblogs_c1,#under_post_news,#cnblogs_c2,#under_post_kb {
    display:none; !important
}


.buryit {
	display: none;
}
.diggit {
	display: none;
}

.comment_bury {
	display: none;
} 
.div_digg {
        display: none;
}
.green_channel {
	display: none;
}
.blog_post_info_block {
	display: none;
}
.blog_post_info {
	display: none;
}

.comment_nav {
	display: none;
}

posted @ 2020-07-16 18:29  reasoner  阅读(208)  评论(3编辑  收藏  举报