zoukankan      html  css  js  c++  java
  • 博客园DIY样式,持续完善

    目录

    .toc{
        margin-bottom:50px;
        border-bottom: 2px solid#8da2c4!important;
    }
    

    标题

    #cnblogs_post_body h1    {
        font-family: Georgia,Times New Roman,Times,sans-serif, monospace;
        font-size: 35px;
        height: 45px;
        line-height: 45px;
        margin-top: 60px !important;
        margin-left: 0px !important;
        padding-left: 10px;
        border-left: 3px solid#DCDCDC!important;
    }
    #cnblogs_post_body h2    {
        font-family: Consolas, "Microsoft YaHei", monospace;
        font-size: 31px;
        height: 41px;
        line-height: 41px;
        margin-top: 50px !important;
        margin-left: 10px !important;
        padding-left: 10px;
        border-left: 3px solid#D3D3D3!important;
    }
    #cnblogs_post_body h3    {
        font-family: Georgia,Times New Roman,Times,sans-serif, monospace;
        font-size: 27px;
        height: 37px;
        line-height: 37px;
        margin-top: 40px !important;
        margin-left: 20px !important;
        padding-left: 10px;
        border-left: 3px solid#C0C0C0!important;
    }
    #cnblogs_post_body h4{
        font-family: Georgia,Times New Roman,Times,sans-serif, monospace;
        font-size: 23px;
        height: 33px;
        line-height:33px;
        background-color:#FFF !important;
        margin-left: 30px !important;
        margin-top: 30px !important;
        padding:0px !important;
        padding-left: 10px!important;
        border-left: 3px solid#A9A9A9!important;
    }
    #cnblogs_post_body h5{
        font-size: 19px;
        height: 29px;
        line-height:29px;
        margin-left: 40px !important;
        margin-top: 20px !important;
        padding-left: 10px!important;
        border-left: 3px solid#808080!important;
    }
    #cnblogs_post_body h6{
        font-size: 15px;
        height: 25px;
        line-height:25px;
        margin-left: 50px !important;
        margin-top: 10px !important;
        padding-left: 10px!important;
        border-left: 3px solid#696969!important;
    }
    #cnblogs_post_body h1{ 
       color: #696969;
    }
    #cnblogs_post_body h2{ 
       color: #808080;
    }
    #cnblogs_post_body h3{ 
       color: #A9A9A9;
    }
    #cnblogs_post_body h4{ 
       color: #C0C0C0;
    }
    #cnblogs_post_body h5{ 
       color: #D3D3D3;
    }
    #cnblogs_post_body h6{ 
       color: #DCDCDC;
    }
    #cnblogs_post_body h1:hover{
       color: #6495ED;
    }
    #cnblogs_post_body h2:hover{
       color: #6495ED;
    }
    #cnblogs_post_body h3:hover{
       color: #6495ED;
    }
    #cnblogs_post_body h4:hover{
       color: #6495ED;
    }
    #cnblogs_post_body h5:hover{
       color: #6495ED;
    }
    #cnblogs_post_body h6:hover{
       color: #6495ED;
    }
    

    多行代码

    .cnblogs-markdown .hljs {
        font-family: Consolas, "Microsoft YaHei", monospace !important;
        font-size: 13px !important;
        line-height:14px;
        padding: 5px !important;
        background-color:#F0F8FF!important;
        margin-left: 20px !important;
    }
    
  • 相关阅读:
    HDU 1878 欧拉回路(DFS)
    HDU 2181 哈密顿绕行世界问题(DFS)
    HDU 1181 变形课(DFS)
    HDU 1029 Ignatius and the Princess IV(map应用)
    HDU 1242 Rescue(BFS)
    HDU 1027 Ignatius and the Princess II(STL)
    将项目部署到本地IIS时出现的奇怪问题
    [转]30个你必须记住的css选择器
    打开一个从网络上下载的chm文件时出现“已取消到该网页的导航”
    [转]使用Modernizr 检测HTML5和CSS3浏览器支持功能
  • 原文地址:https://www.cnblogs.com/duduchong/p/13299365.html
Copyright © 2011-2022 走看看