博客园CSS例子

/*-----------------------body start---------------------------*/
body {
    /*全局字体设置*/
    /*font-family: Consolas, "楷体" !important;*/
    /*font-family: Consolas, "楷体" !important;*/
    /*加载图片*/
    background-image: url("https://api.xygeng.cn/Bing/");
    /*水平垂直居中*/
    background-position: center, center;
    /*图片不平埔*/
    background-repeat: no-repeat;
    /*图片位置固定在窗口中*/
    background-attachment: fixed;
    /*图片填充*/
    background-size: cover;
}

/*-----------------------home start---------------------------*/
#home {
    /*设置背景透明度*/
    background-color:rgba(255, 255, 255, 0.95);
}

.buryit {
    display: none;
}
.diggit {
    display: none;
}

.comment_bury {
    display: none;
} 
#div_digg {
        display: none;
}

/*-----------------------hide ads---------------------------*/
#ad_t2,#cnblogs_c1,#under_post_news,#cnblogs_c2,#under_post_kb {
    display:none; !important
}

#author_profile {
    display:none;
}

#green_channel {
    display:none;
}

.footer{position:absolute;bottom:0;width:10%;height:6px;/*footer的高度*/} 

#blog_post_info_block {
    display:none;
}

#comment_nav {
    display:none;
}

#footer {
    display:none;
}

#post-date {
    display:none;
}


.postDesc {
    display:none;
} 

#auto_div {
        display: none;
        width: 257px;
        border: 1px #74c0f9 solid;
        background: #FFF;
        position: absolute;
        top: 24px;
        left: 0;
        margin-top: 15px;
        color: #323232;
        /*设置显示在当前页面的上一层*/
        z-index: 1;
    }
 
    .side_search {
        float: left;
        position: relative;
        height: 31px;
        margin-left: 25px;
        display: inline-block;
    }
 
        .side_search:hover {
            -webkit-box-shadow: 0 0 3px #999;
            -moz-box-shadow: 0 0 3px #999
        }
 
    .search_input {
        width: 210px;
        vertical-align: middle;
        height: 30px;
        line-height: 30px;
        border: 1px solid #999;
        border-radius: 2px 0 0 2px;
        padding: 4px 7px;
        background-color: #fbfbfb;
    }
 
    .delete_btn {
        background: #fbfbfb;
        margin-left: -6px;
        border: 1px solid #fbfbfb;
        border-radius: 0 3px 3px 0;
        cursor: pointer;
        display: inline-block;
        vertical-align: middle;
        color: red;
        font-weight: bold;
        width: 38px;
        font-size: 25px;
        height: 38px;
        padding-bottom: inherit;
    }
 
    .search_btn {
        border-radius: 3px 3px 3px 3px;
        background: #4d90fe;
        margin-left: -7px;
        border: 1px solid #4d90fe;
        cursor: pointer;
        display: inline-block;
        vertical-align: middle;
        color: #f3f7fc;
        font-weight: bold;
        width: 100px;
        font-size: 18px;
        height: 41px;
    }
 
        .search_btn:hover {
            background: #1874CD
        }
 
    .search_btn2 {
        border-radius: 3px 3px 3px 3px;
        background: #F0CB85;
        border: 1px solid #F0CB85;
        cursor: pointer;
        display: inline-block;
        vertical-align: middle;
        color: #DC143C;
        font-weight: bold;
        width: 100px;
        font-size: 18px;
        height: 41px;
    }
 
        .search_btn2:hover {
            background: #DEB887
        }
 
    input, button, textarea, select, optgroup, option {
        font-family: inherit;
        font-size: inherit;
        font-style: inherit;
        font-weight: inherit;
    }

 

posted @ 2020-07-16 16:04  reasoner  阅读(87)  评论(0编辑  收藏  举报