• 我的css设置


    qaq到处找资料缝合的

    #google_ad_c1, #google_ad_c2 {display:none;}
    .syntaxhighlighter a, .syntaxhighlighter div, .syntaxhighlighter code, .syntaxhighlighter table, .syntaxhighlighter table td, .syntaxhighlighter table tr, .syntaxhighlighter table tbody, .syntaxhighlighter table thead, .syntaxhighlighter table caption, .syntaxhighlighter textarea {
    font-size: 14px!important;
    }
    #home {
    opacity: 0.9;
    margin: 0 auto;
     70%;
    min- 950px;
    background-color: #fff;
    padding: 30px;
    margin-top: 30px;
    margin-bottom: 50px;
    box-shadow: 0 2px 6px rgba(100, 100, 100, 0.3);
    }
    #blogTitle h1 {
    font-size: 30px;
    font-weight: bold;
    font-family: "Comic Sans MS";
    line-height: 1.5em;
    margin-top: 20px;
    color: #515151;
    }
    #navList a:hover {
    color: #4C9ED9;
    text-decoration: none;
    }
    #navList a {
    display: block;
     5em;
    height: 22px;
    float: left;
    text-align: center;
    padding-top: 18px;
    }
    #navigator {
    font-size: 15px;
    border-bottom: 1px solid #ededed;
    border-top: 1px solid #ededed;
    height: 50px;
    clear: both;
    margin-top: 25px;
    }
    .catListTitle {
    margin-top: 21px;
    margin-bottom: 10.5px;
    text-align: left;
    border-left: 10px solid rgba(82, 168, 236, 0.8);
    padding: 10px 0 14px 10px;
    background-color: #f5f5f5;
    }
    #ad_under_post_holder #google_ad_c1,#google_ad_c2{ 
    display: none !important;
    }
    #topics .postTitle {
    border: 0px;
    font-size: 200%;
    font-weight: bold;
    float: left;
    line-height: 1.5;
     100%;
    padding-left: 5px;
    }
    div.commentform p{
    margin-bottom:10px;
    }
    .comment_btn {
    padding: 5px 10px;
    height: 35px;
     90px;
    border: 0 none;
    border-radius: 5px;
    background: #ddd;
    color: #999;
    cursor:pointer;
    font-family: "Lato", Helvetica Neue, Helvetica, Microsoft Yahei, 宋体, Arial, sans-serif;
    text-shadow: 0 0 1px #fff;
    display: inline !important;
    }
    .comment_btn:hover{
    padding: 5px 10px;
    height: 35px;
     90px;
    border: 0 none;
    border-radius: 5px;
    background: #258fb8;
    color: white;
    cursor:pointer;
    font-family: "Lato", Helvetica Neue, Helvetica, Microsoft Yahei, 宋体, Arial, sans-serif;
    text-shadow: 0 0 1px #fff;
    display: inline !important;
    }
    #commentform_title {
    background-image:none;
    background-repeat:no-repeat;
    margin-bottom:10px;
    padding:0;
    font-size:24px;
    }
    #commentbox_opt,#commentbox_opt + p {
    text-align:center;
    }
    .commentbox_title {
     100%;
    }
    #tbCommentBody {
    font-family:'Microsoft Yahei', Microsoft Yahei, 宋体, sans-serif;
    margin-top:10px;
    max-100%;
    min-100%;
    background:white;
    color:#333;
    border:2px solid #fff;
    box-shadow:inset 0 0 8px #aaa;
    // padding:10px;
    height:250px;
    font-size:14px;
    min-height:120px;
    }
    .feedbackItem {
    font-size:14px;
    line-height:24px;
    margin:10px 0;
    padding:20px;
    background:#F2F2F2;
    box-shadow:0 0 5px #aaa;
    }
    .feedbackListSubtitle {
    font-weight:normal;
    }
    
    #blog-comments-placeholder, #comment_form {
    padding: 20px;
    background: #fff;
    -webkit-box-shadow: 1px 2px 3px #ddd;
    box-shadow: 1px 2px 3px #ddd;
    margin-bottom: 50px;
    }
    .feedback_area_title {
    margin-bottom: 15px;
    font-size: 1.8em;
    }
    .feedbackItem {
    border-bottom: 1px solid #CCC;
    margin-bottom: 10px;
    padding: 5px;
    background: rgb(248, 248, 248);
    }
    .color_shine {background: rgb(226, 242, 255);}
    .feedbackItem:hover {-webkit-animation-name: color_shine;-webkit-animation-duration: 2s;-webkit-animation-iteration-count: infinite;}
    #comment_form .title {
    font-weight: normal;
    margin-bottom: 15px;
    }
    
    /* adblock */
    #ad_t2 {
        display: none;
    }
    .c_ad_block {
        display: none;
    }
    
    /*推荐和反对 粘在CSS框*/
    #div_digg {
        padding: 10px;
        position: fixed;
        _position: absolute;
        z-index: 1000;
        bottom: 5px;
        right: 0;
        _right: 10px;
        border: 1px solid #D9DBE1;
        background-color: #FFFFFF;
        filter: alpha(Opacity=80);
        -moz-opacity: 0.8;
        opacity: 0.8;
    }
     
    .icon_favorite {
        background: transparent url('http://files.cnblogs.com/files/jackson0714/kj.gif') no-repeat 0 0;
        padding-left: 5px;
    }
     
    #blog_post_info_block a {
        text-decoration: none;
        color: #5B9DCA;
        padding: 3px;
    }
    
    .buryit {
      display: none;
    }
    .comment_bury { 
      display: none;
    }
    
    字体,css样式
    /* 文章标题样式(这个不是markdown里的标题) */
    #topics .postTitle a {
        /* color: #169fe6; */
        font-family: Georgia,Times New Roman,Times,sans-serif, monospace;
        font-weight: bold;
    }
     
    /* 普通文字样式 */
    #cnblogs_post_body p {
        margin: 18px auto;
        color: #000;
        font-family: consolas,Georgia,Times New Roman,Times,sans-serif, monospace;
        font-size: 16px;
        text-indent: 0;
    }
     
    /* 标题样式 */
    #cnblogs_post_body h1 {
        font-family: Georgia,Times New Roman,Times,sans-serif, monospace;
        font-size: 32px;
        font-weight: bold;
        line-height: 1.5;
        margin: 10px 0;
    }
    
    #cnblogs_post_body h2 {
        font-family: Consolas, "Microsoft YaHei", monospace;
        font-size: 26px;
        font-weight: bold;
        line-height: 1.5;
        margin: 20px 0;
    }
    
    #cnblogs_post_body h3 {
        font-family: Georgia,Times New Roman,Times,sans-serif, monospace;
        font-size: 20px;
        font-weight: bold;
        line-height: 1.5;
        margin: 10px 0;
    }
    
    #cnblogs_post_body h4 {
        font-family: Georgia,Times New Roman,Times,sans-serif, monospace;
        font-size: 18px;
        font-weight: bold;
        margin: 10px 0;
    }
    /* 标题样式设置结束 */
     
    /* 去除双下划线斜体样式 */
    em {
        font-style: normal;
        color: #000;
    }
     
    /* 无序列表 */
    #cnblogs_post_body ul li {
        font-family: Georgia,Times New Roman,Times,sans-serif, monospace;
        color: #000;
        font-size: 16px;
        list-style-type: disc;
    }
     
    /* 有序列表 */
    #cnblogs_post_body ol li {
        font-family: Georgia,Times New Roman,Times,sans-serif, monospace;
        color: #000;
        font-size: 16px;
        list-style-type: decimal;
    }
     
    /* 超链接 */
    #cnblogs_post_body a:link {
        text-decoration: none;
        color: #002C99;
    }
     
     
    /* 单行代码 */
    .cnblogs-markdown code {
        font-family: Consolas, "Microsoft YaHei", monospace !important;
        font-size: 16px !important;
        line-height: 20px;
        background-color: #f5f5f5 !important;
        border: 1px solid #ccc !important;
        padding: 0 5px !important;
        border-radius: 3px !important;
        line-height: 1.8;
        margin: 1px 5px;
        vertical-align: middle;
        display: inline-block;
    }
     
    /* 多行代码, 引用 */
    .cnblogs-markdown .hljs {
        font-family: Consolas, "Microsoft YaHei", monospace !important;
        font-size: 16px !important;
        line-height: 1.5 !important;
        padding: 5px !important;
    }
    
    
    /*下面是我设置背景色,字体大小和字体*/
    
    .syntaxhighlighter a, .syntaxhighlighter div, .syntaxhighlighter code, .syntaxhighlighter table, .syntaxhighlighter table td, .syntaxhighlighter table tr, .syntaxhighlighter table tbody, .syntaxhighlighter table thead, .syntaxhighlighter table caption, .syntaxhighlighter textarea {
        font-size: 16px!important;
    }
    
    .cnblogs_code, .cnblogs_code span, .cnblogs-markdown .hljs{
    font-family:consolas, "Source Code Pro", monaco, monospace !important;
    }
    
  • 相关阅读:
    【Jenkins】之自动化测试持续集成
    【shell】正则表达式
    【openwrt】systemctl详解
    STM32(三十九)RS485串口通信
    ucos(十)信号量优先级反转
    ucos(九)互斥锁和死锁
    【线程】pthread介绍
    git push发现本地 代码没有更新到最新版本,但是已经commit怎么办?
    reset按键和ipget按键在openwrt中的处理逻辑
    用openwrt编译工具链编译一个可执行文件
  • 原文地址:https://www.cnblogs.com/asdf1229/p/13460922.html
Copyright © 2020-2023  润新知