zoukankan      html  css  js  c++  java
  • 博客园自定义样式

    内容

    #cnblogs_post_body {
        color: black;
        font: 0.875em/1.5em "微软雅黑", "PTSans", "Arial", sans-serif;
        font-size: 15px;
    }

    标题

    #cnblogs_post_body h1 {
        background: #333366;
        border-radius: 6px 6px 6px 6px;
        box-shadow: 0 0 0 1px #5F5A4B, 1px 1px 6px 1px rgba(10, 10, 0, 0.5);
        color: #FFFFFF;
        font-family: "微软雅黑", "宋体", "黑体", Arial;
        font-size: 23px;
        font-weight: bold;
        height: 25px;
        line-height: 25px;
        margin: 18px 0 !important;
        padding: 8px 0 5px 5px;
        text-shadow: 2px 2px 3px #222222;
    }
    
    #cnblogs_post_body h2 {
        background: #006699;
        border-radius: 6px 6px 6px 6px;
        box-shadow: 0 0 0 1px #5F5A4B, 1px 1px 6px 1px rgba(10, 10, 0, 0.5);
        color: #FFFFFF;
        font-family: "微软雅黑", "宋体", "黑体", Arial;
        font-size: 20px;
        font-weight: bold;
        /* height: 25px; */
        line-height: 25px;
        margin: 18px 0 !important;
        padding: 8px 0 5px 5px;
        text-shadow: 2px 2px 3px #222222;
    }
    
    #cnblogs_post_body h3 {
        background: #2B6695;
        border-radius: 6px 6px 6px 6px;
        box-shadow: 0 0 0 1px #5F5A4B, 1px 1px 6px 1px rgba(10, 10, 0, 0.5);
        color: #FFFFFF;
        font-family: "微软雅黑", "宋体", "黑体", Arial;
        font-size: 18px;
        font-weight: bold;
        height: 25px;
        line-height: 25px;
        margin: 18px 0 !important;
        padding: 8px 0 5px 5px;
        text-shadow: 2px 2px 3px #222222;
    }
    
    #cnblogs_post_body h4 {
        background: #2B6600;
        border-radius: 6px 6px 6px 6px;
        box-shadow: 0 0 0 1px #5F5A4B, 1px 1px 6px 1px rgba(10, 10, 0, 0.5);
        color: #FFFFFF;
        font-family: "微软雅黑", "宋体", "黑体", Arial;
        font-size: 16px;
        font-weight: bold;
        height: 24px;
        line-height: 23px;
        margin: 12px 0 !important;
        padding: 5px 0 5px 10px;
        text-shadow: 2px 2px 3px #222222;
    }

    代码

    .cnblogs_code_toolbar {
        margin-top: 5px;
        display: none;
    }
    
    .cnblogs_code span {
        font-size: 16px !important;
    }
    
    .cnblogs_code pre {
        font-size: 16px !important;
        word-wrap: break-word;
        white-space: pre-wrap;
    }
    
    .cnblogs_code {
        background-color: #f5f5f5;
        font-size: 16px !important;
        border: 1px solid #ccc;
        padding: 5px;
        overflow: auto;
        margin: 5px 0;
        color: #000;
    }

    去广告

    #cnblogs_c1, #ad_t2, #under_post_news, #cnblogs_c2, #under_post_kb {
        display: none
    }

    我自己的样式

    #header {
        background: none !important;
        height: 0;
    }
    
    #blogTitle {
        background: none !important;
        height: 0;
    }
    
    #blogTitle h1 {
        height: 0;
        width: 0;
        font-size: 0;
    }
    
    #blogTitle h2 {
        height: 0;
        width: 0;
        font-size: 0;
    }
    
    #main {
        margin: 90px auto 0
    }
    
    body {
        background: url('') no-repeat top center fixed;
    }
    
    #blogTitle {
        background: url('https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1560855658068&di=ee6ad649b0fec807d0790f1d00aef5de&imgtype=0&src=http%3A%2F%2Fpic.baike.soso.com%2Fugc%2Fbaikepic2%2F24623%2F20180414030148-14190347_jpeg_3359_2304_1038973.jpg%2F0');
        width: 100%;
        height: 450px;
    }
  • 相关阅读:
    Nightingale 加发邮件功能
    Centos7 系统进程解析
    Nightingale 夜莺监控系统 安装
    iptables:应用防火墙规则:ptables-restore: line xxx failed [失败]
    CAD2011卸载不干净 无法重装问题
    Make Globle HS 全局热备
    Swarm工具使用
    docker-registry构建私有的镜像仓库
    MySQL Replication
    javascript 设计模式之单例模式
  • 原文地址:https://www.cnblogs.com/gemeiyi/p/10997192.html
Copyright © 2011-2022 走看看