博客园主题美化(极简篇)
以BlueSky为模板
TOC
页面定制 CSS 代码
.forFlow p {
    margin-bottom:0px;
}
.esa-post-signature {
    padding: 12px 24px 12px 30px;
    margin-top: 15px;
    margin-left: 5px;
    border-left-width: 4px;
    font-size: 15px;
    line-height: 2;
    border-left-style: solid;
    background-color: #f8f8f8;
    position: relative;
    border-bottom-right-radius: 2px;
    border-top-right-radius: 2px;
    border-left-color: #2D8CF0;
    z-index: 1;
}
.esa-post-signature:before {
    content: "!";
    background-color: #2D8CF0;
    position: absolute;
    top: 25px;
    left: -12px;
    color: #fff;
    width: 20px;
    height: 20px;
    border-radius: 100%;
    text-align: center;
    line-height: 20px;
    font-weight: 700;
    font-size: 14px;
}
/*隐藏广告*/
    #site_nav_under {
    display:none;
}
.c_ad_block,.ad_text_commentbox {
    display:none;
    margin:0;
    padding:0;
}
#ad_under_google {
    height:0;
    overflow:hidden;
}
#ad_under_google a {
    display:none;
}
#ad_t2 {
    display:none;
}
#under_post_news {
  display:none;
}
页脚 HTML 代码
<script type="text/javascript">
var url = window.location.href;
$(function(){
    //设置签名
   $('#MySignature .chuchu >a').attr("href", url);
   $('#MySignature .chuchu >a').html(url);
});
</script>
签名
签名设置方式参考基础篇
总结
- 添加了去广告
 - 添加签名
 
作者: 元宝爸爸
出处:https://www.cnblogs.com/wozixiaoyao/p/11965398.html
版权:本文采用「署名-非商业性使用-相同方式共享 4.0 国际」知识共享许可协议进行许可。
觉得文章不错,点个关注呗!

                
            
        
浙公网安备 33010602011771号