博客园 CSS 代码定制

@charset "utf-8";
body {
    font-size: 15px;
    padding: 0;
    margin: 0;
    font-family: "微软雅黑", "宋体", Arial;
    background: url(‘http://images.cnblogs.com/cnblogs_com/LOVE0612/843803/o_%E8%83%8C%E6%99%AF.jpg‘) no-repeat top center fixed;
    min-width: 1000px;
}

#home {
    box-shadow: 0 0 10px #000;
    margin: auto;
    width: 1050px;
    overflow: auto;
    margin-top: 30px;
    margin-bottom: 30px;
    background-color: #ecf0f5;
    border-radius: 8px;
}

.postBody p, .postCon p {
    margin: 7px 0;
    line-height: 24px;
}

h1 {
    
}

h3 {
    font-size: 15px;
    font-weight: bold;
}

a {
    color: #3498DB;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a:visited, a:hover {
    color: #3498DB;
}

ul {
    list-style: none;
    margin: 0;
    padding: 5px;
}

image {
    border: none;
}

#header {
    padding: 20px;
}

#blogTitle {
    background-color: #fff;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 5px 5px 5px #ccc;
}

#blogTitle a {
    font-weight: bold;
    color: #666;
}

#blogTitle .title {
    margin-top: 7px;
    height: 140px;
    line-height: 140px;
    font-size: 36px;
    padding-left: 180px;
    background: #fff url(‘http://images.cnblogs.com/cnblogs_com/LOVE0612/843803/o_%E5%A4%B4%E5%83%8F.png‘) no-repeat;
    background-size: 140px;
    background-color: rgba(0,0,0,0);
    font-weight: bold;
}

.headermaintitle {

}

#blogTitle a:hover {
    text-decoration: none;
}

.subtitle {
    padding-left: 5px;
    font-size: 14px;
    color: #999;
    font-weight: normal;
    margin: 10px 0;
}

#navigator {
    font-size: 16px;
    background: #fff;
    text-align: center;
    margin-top: 20px;
    border-radius: 10px;
    box-shadow: 5px 5px 5px#ccc;
}

#navList li {
    margin: 0;
    line-height: 48px;
    display: inline-block;
    float: left;
    margin: 0px 5px;
}

#navList li:hover {
    display: inline-block;
    background-color: rgba(204, 204, 204, 0.22);
    border-radius: 10px;
}

#navList li a {
    padding: 0 20px;
    text-decoration: none;
    line-height: 48px;
    border: 0;
    color: #444;
}

.blogStats {
    height: 48px;
    color: #fff;
    line-height: 48px;
}

#main {
    padding: 20px;
    background-color: #fff;
    margin: 0px 20px;
    border-radius: 10px;
    box-shadow: 5px 5px 5px #ccc;
}

#sideBarMain {
    padding: 0 10px 0 0;
    background: #fff;
    margin: 0 0 20px 0;
    width: 190px;
    font-size: 12px;
    line-height: 22px;
}

#sideBarMain a {
    color: #666;
}

#leftcontentcontainer {
    color: #666;
}

.newsItem {
    color: #666;
    margin-bottom: 10px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
}

#profile_block {
    margin-top: 0px;
    line-height: 24px;
    text-align: left;
}

#mainContent {
    margin-top: 0px;
    padding-top: 0px;
    padding-right: 0px;
    background: #fff;
    padding-bottom: 0px;
    float: right;
    width: 760px;
    padding-left: 0px;
}

.day {
    background: #fff;
    padding: 0;
    margin: 0 0 20px 0;
}

.postTitle a {
    color:#343434;
}

.postTitle {
    padding-bottom: 10px;
    font-size: 20px;
    font-weight: bold;
    color: #464646;
    background: url(‘http://images.cnblogs.com/cnblogs_com/LOVE0612/843803/o_%e5%9b%be%e6%a0%872.png‘) no-repeat 0 3px;
    padding-left: 30px;
}

.dayTitle {
    display: inline-block;
    float: right;
    line-height: 30px;
}

.dayTitle a {
    color: #aaa;
    font-size: 10px;
}

.c_b_p_desc {
    padding: 10px;
    line-height: 24px;
    color: #888;
}

.c_b_p_desc a {
    color: #888;
}

.c_b_p_desc a:hover {
    text-decoration: none;
    border-bottom-width: 1px;
    border-bottom-style: dotted;
}

.desc_img {
    margin-left: 10px;
    border: solid 1px #fff;
    box-shadow: 0 0 10px #aaa;
}

#topics .post {
    background: #fff;
}

.postCon {
    padding: 10px 20px 0 20px;
}

.postDesc {
    margin: 0 30px;
    margin-bottom: 2px;
    padding: 8px 0px;
    font-size: 12px;
    color: #aaa;
    background: #fff;
    text-align: right;
}

.postDesc a {
    color: #AAA;
}

.postBody {
    padding: 0;
}

#google_q, #q {
    height: 22px;
    width: 120px;
    border: solid 1px #ccc;
    box-shadow: inset 0 0 3px #ddd;
    border-radius: 4px;
}

.btn_my_zzk {
    font-family: ‘Microsoft Yahei‘;
    border: none;
    height: 26px;
    width: 60px;
    padding: 1px;
    font-size: 14px;
    cursor: pointer;
    position: relative;
    vertical-align: middle;
    display: inline-block;
    background: #159B76;
    border-radius: 4px;
    color: #fff;
}

.btn_my_zzk:hover {
    background: #159B76;
}

#btn_comment_submit {
    border: none;
    height: 38px;
    width: 80px;
    border-radius: 5px;
    font-size: 15px;
}

.comment_btn {
    font-family: ‘Microsoft Yahei‘;
    border: none;
    height: 48px;
    width: 120px;
    font-size: 18px;
    cursor: pointer;
    position: relative;
    vertical-align: middle;
    display: inline-block;
    background: #159B76;
    color: #fff;
}

#btn_comment_submit:hover {
    background: #159B76;
}

.feedback_area_title {
    color: #159B76;
    background-image: none;
    background-repeat: no-repeat;
    margin-bottom: 10px;
    padding: 5px 0px 5px 0px;
    font-size: 22px;
    font-weight: bold;
    border-bottom: solid 2px #159B76;
}

.feedbackListSubtitle {
    font-size: 12px;
    color: #888;
}

.feedbackListSubtitle a {
    color: #888;
}

.comment_quote {
    background: #FCFAAC;
    padding: 15px;
    border: 1px solid #CCC;
}

#commentform_title {
    color: #159B76;
    background-image: none;
    background-repeat: no-repeat;
    margin-bottom: 10px;
    padding: 5px 0px 5px 0px;
    font-size: 22px;
    font-weight: bold;
    border-bottom: solid 2px #159B76;
}

#comment_form {
    margin: 10px 0;
    padding: 0;
}

.commentform {
    margin: 10px 0;
    padding: 10px 20px;
    background: #fff;
}

#tbCommentBody {
    font-family: ‘MIcrosoft Yahei‘;
    margin-top: 10px;
    width: 740px;
    max-width: 740px;
    min-width: 740px;
    background: white;
    color: #333;
    border: 2px solid #fff;
    box-shadow: inset 0 0 8px #aaa;
    padding: 10px;
    height: 120px;
    font-size: 14px;
    min-height: 120px;
    border-radius: 10px;
}

.feedbackItem {
    font-size: 14px;
    line-height: 24px;
    margin: 10px 0;
    padding: 10px;
    background: #F2F2F2;
    box-shadow: 0 0 5px #aaa;
}

.feedbackListSubtitle {
    font-weight: normal;
}

.entrylist {
    padding: 10px 20px;
    background: #fff;
}

.entrylistItem {
    margin: 10px 0;
    padding: 10px;
}

.entrylistPosttitle {
    font-size: 18px;
    font-weight: bold;
    background: url(‘http://images.cnblogs.com/cnblogs_com/libaoheng/305804/o_br229512.link(en-us,MSDN.10).gif‘) no-repeat 0 3px;
    padding-left: 30px;
}

.entrylistPostSummary {
    padding: 10px;
}

.entrylistItemPostDesc {
    font-size: 12px;
    color: #999;
    padding-left: 40px;
}

#footer {
    font-size: 12px;
    margin: 20px 0px 10px 0px;
    text-align: center;
    color: #353535;
    font-size: 10px;
    border-radius: 10px;
}

#cnblogs_post_body p img {
    margin: 10px;
}

.diggnum {
    font-size: 18px;
    color: #159B76;
    font-family: ‘Microsoft Yahei‘;
}

#div_digg {
    position: fixed;
    border-radius: 5px;
    background-color: #fff;
    width: 47px;
    padding: 10px;
    right: 0;
    bottom: 0;
    border: solid 1px #ddd;
    z-index: 200;
}

.buryit {
    float:none;
    margin: 0px;
}

.diggit {
    float:none;
}

.diggword {
    display: none;
}

#green_channel { 
    margin-bottom: 10px;
    font-size: 12px;
    width: 350px;
    border: none;
    padding: 0px;
    margin: 0px 0px 10px 0px;
    text-align: left;
}

#green_channel a { 
    margin-right: 0px;
}

#myposts .PostList {
    font-size: 14px;
    line-height: 24px;
    margin: 10px 0;
    padding: 20px;
    background: #F2F2F2;
    box-shadow: 0 0 5px #aaa;
}

#comment_nav {
    display: none;
}

#author_profile_info {
    position: fixed;
    bottom: 170px;
    right: 24px;
    background-color: #fff;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
}

#author_profile_info > a {
    display: inline-block;
}

#author_profile_detail {
    float: none;
}

.commentbox_title{
    width: 750px;
}

.commentbox_title_left {
    float: left;
    font-size: 14px;
    margin-left: 1px;
}

#MySignature {
    font-size: 12px;
    background-color: rgba(238, 238, 238, 0.22);
    border-radius: 5px;
    padding: 10px;
    box-shadow: 2px 2px 2px #eee;
}

#BlogPostCategory {
    margin-bottom: 10px;    
    font-size: 12px;
}

.sidebar-block {
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;        
}

#homepage_top_pager {
    display: none;
}

.pager {
    font-size: 12px;
    margin: 10px 0;
    color: #3498DB;
    line-height: 200%;
    text-align: right;
}

.pager a {
    border: none;
}

#ad_c1, #ad_c2, #ad_t2, #under_post_news, #under_post_kb {
    display: none;
}

#commentbox_opt {
    margin-left: 1px;
}

div.commentform input.author {
    background-position: 3px -3px;
    border-radius: 5px;
}

.comment_vote {
    text-align: right;
    font-size: 12px;    
}

#sidebar_categories > div {
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
}

以上是 博客园 CSS代码定制简洁版, 主题选择 imetro

posted @ 2017-05-08 19:43  _tham  阅读(334)  评论(0编辑  收藏  举报