• 「博客美化」I 页面的CSS


    要有自己的CSS十分重要
    可以改别人写的CSS代码
    也可以改博客园模板
    我这里改的是SympleMomery
    别忘了禁用模板

    /*。。。。。。去除广告。。。。。。。。。。*/
    div[id^="ad_"] {
        display: none;
    }
    div[class^="c_ad"] {
        display: none;
    }
    div[id^="under_post"] {
        display: none;
    }
    /**************************************************
    第一部分:
    **************************************************/
    #EntryTag {
        margin-top: 20px;
        font-size: 9pt;
        color: gray;
    }
    
    .topicListFooter {
        text-align: right;
        margin-right: 10px;
        margin-top: 10px;
    }
    
    #divRefreshComments {
        text-align: right;
        margin-right: 10px;
        margin-bottom: 5px;
        font-size: 9pt;
    }
    /*****第一部分结束*******************************/
    
    /**************************************************
    第二部:公共样式(全局样式)
    **************************************************/
    * {
        margin: 0;
        padding: 0;
    }
    
    html {
        height: 100%;
    }
    
    body {
        color: #000;
        background: url(https://i.loli.net/2018/12/14/5c13ae469a17a.jpg) fixed no-repeat;
        background-size:cover;
        font-family: "幼圆","Helvetica Neue",Helvetica,Verdana,Arial,sans-serif;
        font-size: 12px;
    }
    
    a{
        text-decoration:none !important;
    }
    
    table {
        border-collapse: collapse;
        border-spacing: 0;
    }
    
    fieldset, img {
        border: 0;
    }
    
    li {list-style: none;}
    
    .clear {
        clear: both;
    }
    /*****第二部分结束*******************************/
    
    /**************************************************
    第三部分:各个页面元素的样式。
    **************************************************/
    /*****home和头部开始**************************/
    #home {
        margin: 0 auto;
         90%;
        min- 950px;
        background-color: #ffffffcf;
        padding: 30px;
        margin-top: 20px;
        margin-bottom: 50px;
        box-shadow: 0 2px 6px rgba(100, 100, 100, 0.3);
    }
    
    #header {
        padding-bottom: 5px;
        margin-top: 10px;
    }
    
    #blogTitle {
        height: 60px;
        text-align: center;
        clear: both;
    }
    
    #blogTitle h1 {
        font-size: 26px;
        font-weight: bold;
        line-height: 1.5em;
        margin-top: 20px;
    }
    
    #blogTitle h1 a {
        color: #515151;
        font-size:50px;
        font-family:"方正舒体";
    }
    
    #blogTitle h1 a:hover {
        color: #ff600085;
        transition: all 0.4s linear 0s;
    }
    
    #blogLogo {
        float: right;
    }
    
    #navigator {
        font-size: 13px;
        border-bottom: 1px solid #ededed;
        border-top: 1px solid #ededed;
        height: 50px;
        clear: both;
        margin-top: 25px;
    }
    
    #navList {
        min-height: 30px;
        float: left;
        font-size:18px;
    }
    
    #navList li {
        float: left;
        margin: 0 40px 0 0;
    }
    
    #navList a {
        display: block;
         5em;
        height: 22px;
        float: left;
        text-align: center;
        padding-top: 15%;
    }
    
    #navList a:link, #navList a:visited, #navList a:active {
        color: #6a6a6a;
        font-weight: bold;
    }
    
    #navList a:hover {
        color: #e896ffe0;
        text-decoration: none;
        transition: all 0.4s linear 0s;
    }
    
    .blogStats {
        float: right;
        color: #757575;
        margin-top: 19px;
        margin-right: 2px;
        text-align: right;
    }
    /*****home和头部结束**************************/
    
    /*****主页文章列表开始**************************/
    #main {
         100%;
        text-align: left;
        margin-top: 30px;
    }
    
    #mainContent .forFlow {
        margin-left: 22em;
        float: none;
         auto;
    }
    
    #mainContent {
        min-height: 200px;
        padding: 0px 0px 10px 0;
        *padding-top: 10px;
        -o-text-overflow: ellipsis;
        text-overflow: ellipsis;
        overflow: hidden;
        float: right;
        margin-left: -22em;
         100%;
    }
    
    .day {
        min-height: 10px;
        height: 10px;
        margin-bottom: 20px;
        padding-bottom: 5px;
        position: relative;
    }
    
    .dayTitle {
        display: none;
        border: 1px solid #21759b;
        background: azure;
        border-radius: 50%;
        font-size: 12px;
        height: 65px;
        line-height: 1.5;
        margin: 15px;
        text-align: center;
         63px;
        margin-left: -100px;
        clear: both;
        position: absolute;
        top: -15px;
    }
    
        .dayTitle a {
            display: inline-block;
            color: #21759b;
            margin-top: 15px;
             60px;
        }
    
    .postTitle {
        border-left: 3px solid #21759b;
        margin-bottom: 10px;
        font-size: 20px;
        float: right;
         100%;
        clear: both;
    }
    
    .postTitle a:link, .postTitle a:visited, .postTitle a:active {
        color: #a47a9d;
        transition: all 0.4s linear 0s;
        font-size:29px;
    }
    
    .postTitle a:hover {
        text-shadow:0 0 0.2em #ed77ff, -0 -0 0.2em #fbbdff;/*发光样式*/
        color: #9bfff3;
        text-decoration: none;
    }
    
    .postCon {
        float: right;
        line-height: 1.5em;
         100%;
        clear: both;
        padding: 10px 0;
    }
    
    .day .postTitle a {
        padding-left: 10px;
    }
    
    .postDesc {
        font-size: 13px;
        background: url(images/posted_time.png) no-repeat 0 1px;
        color: #757575;
        float: left;
         100%;
        clear: both;
        text-align: left;
        padding-left: 20px;
        padding-right: 5px;
        margin-top: 20px;
        line-height: 1.5;
    }
    
        .postDesc a:link, .postDesc a:visited, .postDesc a:active {
            color: #666;
        }
    
        .postDesc a:hover {
            color: #21759b;
            text-decoration: none;
        }
    
    .postSeparator {
        height: 1px;
         100%;
        clear: both;
        float: right;
        margin: 0 auto 15px auto;
    }
    /*****主页文章列表开始**************************/
    
    p{
        color:#727272d9;
        font-size:18px;
        font-weight:500;
    }
    
    .blogpost-body h1,h2,h3,h4,h5,h6{
        text-align:center;
        color: #1e103c;
        font-family: "FZShuTi" , "PTSans" , "Arial" ,sans-serif;
    }
    
    /*****侧边栏开始********************************/
    #sideBar {
        margin: -15px -15px;
         250px;
        min-height: 200px;
        padding: 0px 0 0px 5px;
        float: left;
        overflow: hidden;
    }
    
    #sideBar a {
        color: #a6a6a6b5;
        font-weight:600;
        font-family:"方正姚体";
        font-size:12px;
        
    }
    .newsItem, .catListEssay, .catListLink, .catListNoteBook, .catListTag, .catListPostCategory, .catListPostArchive, .catListImageCategory, .catListArticleArchive, .catListView, .catListFeedback, .mySearch, .catListComment, .catListBlogRank, .catList, .catListArticleCategory {
        background: #fde4ff17;
        margin-bottom: 30px;
        word-wrap: break-word;
    }
    
    .catListTitle {
        font-size: 2.35em !important;
        margin-top: 21px;
        margin-bottom: 10.5px;
        border-left: 10px solid #00ffbc;
        padding: 10px 0 10px 14px;
        background-color:#f0ffed91;
        border-top-right-radius:50px;
        border-bottom-right-radius:50px;
    }
    #sideBar a:hover{
        text-shadow: 0px 0px 5px #66ccff;
        color: #e896ffe0;
        text-decoration: none;
        transition: all 0.4s linear 0s;
    }
    /*****侧边栏结束********************************/
    
    
    /****查看文章页面开始*************************/
    #topics {
         100%;
        min-height: 200px;
        padding: 0px 0px 10px 0;
        float: left;
        -o-text-overflow: ellipsis;
        text-overflow: ellipsis;
        overflow: hidden;
    }
    
        #topics .postTitle {
            border: 0px;
            font-size: 130%;
            font-weight: bold;
            float: left;
            line-height: 1.5;
             100%;
            padding-left: 5px;
        }
    
    #EntryTag {
        color: #666;
    }
    
        #EntryTag a {
            margin-left: 5px;
            height: 20px;
            line-height: 20px;
            color: #333333;
            padding: 3px 14px;
            border-radius: 10px;
            margin: 2px 5px 0;
            background: #e7e7e7;
            text-decoration: none;
        }
    
            #EntryTag a:link, #EntryTag a:visited, #EntryTag a:active {
                color: #666;
            }
    
            #EntryTag a:hover {
                color: #f5f5f5;
                background: #21759b;
                transition: all 0.4s linear 0s;
            }
    
    #BlogPostCategory {
        color: #666;
    }
    
        #BlogPostCategory a {
            margin-left: 5px;
            height: 20px;
            line-height: 20px;
            color: #333333;
            padding: 3px 14px;
            border-radius: 10px;
            margin: 2px 5px 0;
            background: #e7e7e7;
            text-decoration: none;
        }
    
            #BlogPostCategory a:link, #BlogPostCategory a:visited, #BlogPostCategory a:active {
                color: #666;
            }
    
            #BlogPostCategory a:hover {
                color: #f5f5f5;
                background: #21759b;
            }
    
    #topics .postDesc {
        padding-left: 0px;
         100%;
        text-align: left;
        color: #666;
        margin-top: 5px;
        background: none;
    }
    
    
    .feedback_area_title {
        font: normal normal 16px/35px "Microsoft YaHei";
        margin: 10px 0 30px;
        border-bottom: 2px solid #cccccc;
    }
    
    .louzhu {
        background: transparent url('/images/icoLouZhu.gif') no-repeat scroll right top;
        padding-right: 16px;
    }
    
    .feedbackListSubtitle {
        color: #A8A8A8;
    }
    
        .feedbackListSubtitle a:link, .feedbackListSubtitle a:visited, .feedbackListSubtitle a:active {
            color: #21759b;
            font-weight: bold;
        }
    
        .feedbackListSubtitle a:hover {
            color: #21759b;
            text-decoration: underline;
        }
    
        .feedbackListSubtitle b {
            color: #21759b;
        }
    
    .feedbackManage {
         200px;
        text-align: right;
        float: right;
    }
    
    .feedbackCon {
        border-bottom: 1px solid #EEE;
        padding: 10px 20px 10px 5px;
        min-height: 35px;
        height: 35px;
        margin-bottom: 1em;
        line-height: 1.5;
    }
    
    #divRefreshComments {
        text-align: right;
        margin-bottom: 10px;
    }
    
    .commenttb {
        padding: 8px;
        margin-bottom: 10px;
         50%;
        color: #555;
        border: 1px solid #ddd;
        border-radius: 3px;
        -moz-border-radius: 3px;
        -webkit-border-radius: 3px;
    }
    
        .commenttb:hover {
            color: #333;
            border-color: rgba(82, 168, 236, 0.8);
            outline: 0;
            -webkit-box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.075), 0 0 4px rgba(82, 168, 236, 0.6);
            -moz-box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.075), 0 0 4px rgba(82, 168, 236, 0.6);
            box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.075), 0 0 4px rgba(82, 168, 236, 0.6);
            transition: all 0.4s linear 0s;
        }
    
    .commentTextBox {
         410px !important;
        margin-top: 10px;
        margin-bottom: 10px;
    }
    
        .commentTextBox:hover {
            color: #333;
            border-color: rgba(82, 168, 236, 0.8);
            outline: 0;
            -webkit-box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.075), 0 0 4px rgba(82, 168, 236, 0.6);
            -moz-box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.075), 0 0 4px rgba(82, 168, 236, 0.6);
            box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.075), 0 0 4px rgba(82, 168, 236, 0.6);
            transition: all 0.4s linear 0s;
        }
    
    #AjaxHolder_PostComment_btnSubmit {
        padding: 8px 20px;
        text-align: center;
        font-size: 14px;
        color: #fff;
        border: none;
        background: #21759b;
        border-radius: 3px;
        -moz-border-radius: 3px;
        -webkit-border-radius: 3px;
        -webkit-transition: all 0.4s ease;
        -moz-transition: all 0.4s ease;
        -o-transition: all 0.4s ease;
        -ms-transition: all 0.4s ease;
        transition: all 0.4s ease;
        cursor: pointer;
        display: inline-block;
        vertical-align: middle;
        outline: none;
        text-decoration: none;
    }
    
        #AjaxHolder_PostComment_btnSubmit:hover {
            background: #333;
        }
    
    #AjaxHolder_PostComment_divCommnentArea tr {
        margin-top: 10px;
        margin-bottom: 10px;
    }
    /*博客园评论框*/
    #commentform_title {display:none;}
    div.commentform input.author {
        margin-top: 20px;
        padding: 0 15px;
         300px;
        height: 35px;
        border: 1px solid #ddd;
        border-radius: 3px;
        background: rgba(242, 204, 250, .56) none repeat scroll 0 0 !important;
        color: #9fa4a4;
        font-size: 1.5em;
        line-height: 2.1875rem;
    }
    #tbCommentBody {
        max- 100%;
         100%;
        height: 150px;
        background: #f8f3d84d url(//images.cnitblog.com/blog/708426/201501/082214147965461.png) right bottom no-repeat;
        padding-top: 8px;
        background-color: #f8f8f8;
    }
    #tbCommentBody, input[type=text] {
        padding: 0px 12px;
        font-size: 14px;
        line-height: 1.5;
        color: #555;
        background-color: #fff7f7;
        border: 1px solid #d6d6d6;
        border-radius: 3px;
        -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
        box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
        -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
        -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
        transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    }
    div.commentform textarea.comment_textarea {
        line-height: 1.6;
    }
    div.commentform textarea {
         450px;
        height: 150px;
        font-size: 13px;
        border: 1px solid #ccc;
    }
    div.commentform textarea {
         450px;
        height: 300px;
        font-size: 13px;
        border: 1px solid #ccc !important;
        font-family: 'PingFang SC','Helvetica Neue','Helvetica','Arial',sans-serif;
    }
    textarea {
        padding: 5px 11px;
        font-size: 20px;
        line-height: 24px;
    }
    textarea {
        resize: vertical;
    }
    .comment_btn {
        color: #a9a9a9b5;/*文字颜色*/
        font-size: 16px;/*文字大小*/
        background-color: #fff;/*背景颜色*/
        font-weight:600;
        font-family: "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
        line-height: 40px;/*行高*/
        height: 40px;/*高度*/
        100px;/*宽度*/
        cursor: pointer;/*鼠标指针*/
        border: none;/*去除边框*/
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        -webkit-transition-property: all;
        transition-property: all;
        -webkit-transition-duration: .3s;
        transition-duration: .3s;
    }
    .comment_btn:hover{
        background-color: #dab9ff;/*背景颜色*/
        color: #000000ab;/*文字颜色*/
        border:solid;
        
    }
    
    button, input, select, textarea {
        background-color: transparent;
        color: inherit;
    }
    a, area, button, input, label, select, textarea, [tabindex] {
        touch-action: manipulation;
    }
    button, input, select, textarea {
        font-family: inherit;
        font-style: inherit;
        font-weight: inherit;
    }
    textarea {
        overflow: auto;
    }
    /****查看文章页面开始*************************/
    
    /****列表页面开始******************************/
    .entrylistTitle, .PostListTitle, .thumbTitle { /**几个分类列表的标题样式**/
        margin-bottom: 25px;
        height: 38px;
        line-height: 38px;
        font-size: 16px;
        border-bottom: 2px solid #e6e6e6;
    }
    
    .entrylistDescription {
        color: #666;
        text-align: right;
        padding-top: 5px;
        padding-bottom: 5px;
        padding-right: 10px;
        margin-bottom: 10px;
    }
    
    .entrylistItem {
        min-height: 20px;
        height: 20px;
        margin-bottom: 30px;
        padding-bottom: 50px;
        padding-top: 10px;
         100%;
    }
    
    .entrylistPosttitle {
        padding-left: 15px;
        margin-bottom: 10px;
        border-left: 3px solid #21759b;
        font-size: 20px;
         100%;
    }
    
        .entrylistPosttitle a:link, .entrylistPosttitle a:visited, .entrylistPosttitle a:active {
            color: #21759b;
            transition: all 0.4s linear 0s;
        }
    
        .entrylistPosttitle a:hover {
            margin-left: 30px;
            color: #0f3647;
            text-decoration: none;
        }
    
    .entrylistPostSummary {
        margin-top: 5px;
        margin-bottom: 5px;
    }
    
    .entrylistItemPostDesc {
        margin-top: 20px;
        text-align: left;
        color: #757575;
        padding-left: 5px;
    }
    
        .entrylistItemPostDesc a:link, .entrylistItemPostDesc a:visited, .entrylistItemPostDesc a:active {
            color: #666;
        }
    
        .entrylistItemPostDesc a:hover {
            color: #21759b;
        }
    
    .entrylist .postSeparator {
        clear: both;
         100%;
        font-size: 0;
        line-height: 0;
        margin: 0;
        padding: 0;
        height: 0;
        border: none;
    }
    
    .divRecentCommentAticle a {
        color: #000;
    }
    
    .pager {
        text-align: right;
        margin-right: 10px;
    }
    
        .pager a {
            box-shadow: 0 1px 3px #3671a5;
            border: 1px solid #3671a5;
            background: #3671a5;
            color: white;
            transition: all 0.4s linear 0s;
        }
    
            .pager a:hover {
                background: #000;
            }
    
    .PostList {
        border-bottom: 1px solid #ccc;
        clear: both;
        min-height: 1.5em;
        height: 1.5em;
        padding-top: 20px;
        margin-bottom: 20px;
        padding-bottom: 20px;
    }
    
    .postTitl2 {
        float: left;
        padding-top: 10px;
        padding-bottom: 10px;
        font-size: 14px;
    }
    
    .postDesc2 {
        color: #666;
        float: right;
    }
    
    .postText2 {
        clear: both;
        color: #757575;
    }
    
    /*留言*/
    .pfl_feedback_area_title {
        text-align: right;
        line-height: 1.5em;
        font-weight: bold;
        margin-bottom: 10px;
    }
    
    .pfl_feedbackItem {
        border: 1px dashed #ccc;
        padding: 10px;
        border-radius: 3px;
        margin-bottom: 20px;
    }
    
    .pfl_feedbacksubtitle {
         100%;
        height: 1.5em;
    }
    
    .pfl_feedbackname {
        float: left;
    }
    
        .pfl_feedbackname a {
            color: #21759b;
            font-weight: bold;
        }
    
    .pfl_feedbackManage {
        float: right;
    }
    
    .pfl_feedbackCon {
        color: black;
        padding-top: 5px;
        padding-bottom: 5px;
    }
    
    .pfl_feedbackAnswer {
        color: #F40;
        text-indent: 2em;
    }
    
    .tdSentMessage {
        text-align: right;
    }
    
    .errorMessage {
         300px;
        float: left;
    }
    
    #Profile1_panelAdd input[type=text], #Profile1_txtContent {
        padding: 8px;
        margin-bottom: 10px;
        color: #555;
        border: 1px solid #ddd;
        border-radius: 3px;
        -moz-border-radius: 3px;
        -webkit-border-radius: 3px;
    }
    
        #Profile1_panelAdd input[type=text]:hover, #Profile1_txtContent:hover {
            color: #333;
            border-color: rgba(82, 168, 236, 0.8);
            outline: 0;
            -webkit-box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.075), 0 0 4px rgba(82, 168, 236, 0.6);
            -moz-box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.075), 0 0 4px rgba(82, 168, 236, 0.6);
            box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.075), 0 0 4px rgba(82, 168, 236, 0.6);
            transition: all 0.4s linear 0s;
        }
    
        #Profile1_panelAdd input[type=text]:focus, #Profile1_txtContent:focus {
            outline: 0;
            border-color: rgba(82, 168, 236, 0.8);
        }
    
    #Profile1_panelAdd input[type=submit] {
        padding: 8px 20px;
        text-align: center;
        font-size: 14px;
        color: #fff;
        border: none;
        background: #21759b;
        border-radius: 3px;
        -moz-border-radius: 3px;
        -webkit-border-radius: 3px;
        -webkit-transition: all 0.4s ease;
        -moz-transition: all 0.4s ease;
        -o-transition: all 0.4s ease;
        -ms-transition: all 0.4s ease;
        transition: all 0.4s ease;
        cursor: pointer;
        display: inline-block;
        vertical-align: middle;
        outline: none;
        text-decoration: none;
    }
    
        #Profile1_panelAdd input[type=submit]:hover {
            background: #333;
        }
    
    .feedbackListSubtitle {
        clear: both;
        color: #A8A8A8;
        padding: 8px 5px;
    }
    
    .feedbackItem {
        margin-top: 30px;
    }
    /****列表页面结束******************************/
    
    /****相册页面开始******************************/
    .divPhoto {
        border: 1px solid #ccc;
        padding: 2px;
        margin-right: 10px;
    }
    
    .thumbDescription {
        color: #757575;
        text-align: right;
        padding-top: 5px;
        padding-bottom: 5px;
        padding-right: 10px;
        margin-bottom: 30px;
    }
    /****相册页面开始******************************/
    
    
    /*****留言页面开始*****************************/
    #footer {
        color: #686868;
        text-align: center;
        min-height: 15px;
        height: 15px;
        border-top: 1px solid #ededed;
        margin-top: 50px;
        padding-top: 10px;
        margin-bottom: 10px;
    }
    /*留言查看页面的个人信息*/
    .personInfo {
        margin-bottom: 20px;
    }
    /*留言分页区域*/
    .pages {
        text-align: right;
    }
    /*****留言页面结束*****************************/
    /*****第三部分结束*******************************/
    
    /**************************************************
    第四部分:文章内容常用标签格式。
    **************************************************/
    /*文章内部常用标签格式*/
    .postBody {
        color: #000;
        line-height: 1.7;
        font-size: 14px;
    }
    
        .postBody p, .postCon p {
            text-indent: 2em;
            margin: 0 auto 1em auto;
        }
    
        .postBody h2 {
            font-size: 150%;
            margin: 15px auto 2px auto;
            font-weight: bold;
        }
    
        .postBody h3 {
            font-size: 120%;
            margin: 15px auto 2px auto;
            font-weight: bold;
        }
    
        .postBody h4 {
            font-size: 110%;
            margin: 15px auto 2px auto;
            font-weight: bold;
            color: #333;
        }
    
        .postBody h5 {
            font-size: 100%;
            margin: 15px auto 2px auto;
            font-weight: bold;
            color: #333;
        }
    
    .postBody a:link, .postBody a:visited, .postBody a:active {
        color:#61495b99;
        font-weight:600;
        font-family:"方正姚体";
        text-decoration: none;
    }
    .postBody a:hover{
        color:#00000085;
        text-shadow:0px 0px 5px #f989ff;
        transition: all 0.4s cubic-bezier(0, 2.63, 1, -1.11) 0s;
    }
    
    
    .postCon a:link, .postCon a:visited, .postCon a:active {
        text-decoration: underline;
    }
    
    .postBody ul, .postCon ul {
        margin-left: 2em;
    }
    
    .postBody li, .postCon li {
        list-style-type: disc;
        margin-bottom: 1em;
    }
    
    .postBody blockquote {
        background: url('images/comment.gif') no-repeat 25px 0px;
        line-height: 1.6em;
        color: #333;
    }
    /*****第四部分结束*******************************/
    
    .myposts_title {
        font-weight: bold;
        text-align: center;
    }
    
    #sideBar {
        font-size: 12px;
    }
    
        #sideBar h3 {
            font-size: 14px;
        }
    
    .c_b_p_desc {
        font-size: 14px;
        line-height: 1.7;
    }
    
    #cnblogs_post_body img{
        max- 700px;
    }
    /*-------------------------------------------------------*/
    /*
     代码高亮开始,使用了一个叫Monokai Sublime的黑色主题皮肤,直接拿过来还不行,有一些样式冲突,还要自己稍微改一些地方
    Monokai Sublime style. Derived from Monokai by noformnocontent http://nn.mit-license.org/
    */
    pre {
    /*控制代码不换行*/
        white-space: pre;
        word-wrap: normal;
    }
    .hljs {
        display: block;
        overflow-x: auto;
        padding: 0.5em;
        background: #23241f !important;
        color: #FFF;
        white-space: pre;
        word-break: normal;
    }
    
    .hljs,
    .hljs-tag,
    .hljs-subst {
      color: #f8f8f2;
    }
    
    .hljs-strong,
    .hljs-emphasis {
      color: #a8a8a2;
    }
    
    .hljs-bullet,
    .hljs-quote,
    .hljs-number,
    .hljs-regexp,
    .hljs-literal,
    .hljs-link {
      color: #ae81ff;
    }
    
    .hljs-code,
    .hljs-title,
    .hljs-section,
    .hljs-selector-class {
      color: #a6e22e;
    }
    
    .hljs-strong {
      font-weight: bold;
    }
    
    .hljs-emphasis {
      font-style: italic;
    }
    
    .hljs-keyword,
    .hljs-selector-tag,
    .hljs-name,
    .hljs-attr {
      color: #f92672;
    }
    
    .hljs-symbol,
    .hljs-attribute {
      color: #66d9ef;
    }
    
    .hljs-params,
    .hljs-class .hljs-title {
      color: #f8f8f2;
    }
    
    .hljs-string,
    .hljs-type,
    .hljs-built_in,
    .hljs-builtin-name,
    .hljs-selector-id,
    .hljs-selector-attr,
    .hljs-selector-pseudo,
    .hljs-addition,
    .hljs-variable,
    .hljs-template-variable {
      color: #e6db74;
    }
    
    .hljs-comment,
    .hljs-deletion,
    .hljs-meta {
      color: #75715e;
    }
    /*黑色主题皮肤结束*/
    
    .yiyan{
        font-size:20px;
        font-family:"华文行楷";
        background-color:#33ccff77;
        border-radius:10px;
        text-align:center;
    }
    
    /*目录样式*/
    /*生成博客目录的CSS*/
    #uprightsideBar{
        font-size:12px;
        font-family:Arial, Helvetica, sans-serif;
        text-align:left;
        position:fixed;/*将div的位置固定到距离top:50px,left:0px的位置,这样div就会处在最左边的位置,距离顶部50px*/
        top:320px;
        left:0px;
         auto;
        height: auto; 
    }
    #sideBarTab{
        float:left;
        30px; 
        border:1px solid #e5e5e5;
        border-right:none;
        text-align:center;
        background:#ffffff;
    }
    
    #sideBarContents{
        float:left;
        overflow:auto; 
        overflow-x:hidden !important;
        200px;
        min-height:108px;
        max-height:460px;
        border:1px solid #e5e5e5;
        border-right:none; 
        background:#ffffff;
    }
    #sideBarContents dl{
        margin:0;
        padding:0;
    }
    
    #sideBarContents dt{
        margin-top:5px;
        margin-left:5px;
    }
    
    #sideBarContents dd, dt {
        cursor: pointer;
    }
    
    #sideBarContents dd:hover, dt:hover {
        color:#A7995A;
    }
    #sideBarContents dd{
        margin-left:20px;
    }
    
    /**隐藏控件**/
    #profile_block{display:none;}/*去除昵称、园龄、粉丝、关注*/
    a[id="green_channel_weibo"]{display:none !important;}
    a[id="green_channel_wechat"]{display:none !important;}
    div[id="author_profile"]{display:none !important;}
    div[id="div_digg"]{display:none;}/*去除推荐、反对*/
    div[id="green_channel"]{display:none;}/*好文要顶、收藏该文等*/
    /*以上是博客导航目录的样式-----------------------------------------------------------------------------------------------------------------------*/
    #sidebar_search{
        display:none;
    }
    /*代码样式*/
    pre {
    /*控制代码不换行*/
        white-space: pre;
        word-wrap: normal;
    }
    
    .cnblogs-markdown .hljs {
      display: block;
      overflow-x: auto;
      background: #474949c7 !important;
      color: #d1d9e1;
      font-size:15px !important;
    }
    
    
    .hljs-comment,
    .hljs-quote {
      color: #969896;
      font-style: italic;
    }
    
    .hljs-keyword,
    .hljs-selector-tag,
    .hljs-literal,
    .hljs-type,
    .hljs-addition {
      color: #cc99cc;
    }
    
    .hljs-number,
    .hljs-selector-attr,
    .hljs-selector-pseudo {
      color: #f99157;
    }
    
    .hljs-string,
    .hljs-doctag,
    .hljs-regexp {
      color: #8abeb7;
    }
    
    .hljs-title,
    .hljs-name,
    .hljs-section,
    .hljs-built_in {
      color: #b5bd68;
    }
    
    .hljs-variable,
    .hljs-template-variable,
    .hljs-selector-id,
    .hljs-class .hljs-title {
       color: #ffcc66;
    }
    
    .hljs-section,
    .hljs-name,
    .hljs-strong {
      font-weight: bold;
    }
    
    .hljs-symbol,
    .hljs-bullet,
    .hljs-subst,
    .hljs-meta,
    .hljs-link {
      color: #f99157;
    }
    
    .hljs-deletion {
      color: #dc322f;
    }
    
    .hljs-formula {
      background: #eee8d5;
    }
    
    .hljs-attr,
    .hljs-attribute {
      color: #81a2be;
    }
    
    .hljs-emphasis {
      font-style: italic;
    }
    
    .commentbox_title_left, .commentbox_title_right{display:none !important;}
    #tbCommentBody, input[type=text]{
        margin:10px 0px 2px;
        600px;
    }
    
  • 相关阅读:
    git 分支建立及合并
    git push 冲突
    Ubuntu 16.04下安装64位谷歌Chrome浏览器
    Nginx+uswgi+Django部署
    Deepin下python安装uwsgi报错: Python.h:没有那个文件或目录
    Deepin系统更新apt-get源
    语义化的理解
    尝试Vue3.0
    Vue3.0响应式实现
    Vue2.0响应式原理以及重写数组方法
  • 原文地址:https://www.cnblogs.com/louhancheng/p/10126054.html
Copyright © 2020-2023  润新知