本站博客园样式CSS

步骤

1.管理
2.设置
3.博客皮肤选择BlueSky
4.在“页面定制CSS代码”中插入以下CSS代码

CODE

    #main {
        margin-top: 16px;
        background:none;
    }
    /*列表*/
    #mainContent {
        box-shadow: 1px 2px 8px #999;
        -moz-box-shadow: 1px 2px 8px #999;
        -web-kit-shadow: 1px 2px 8px #999;
        border-radius: 2px;
        margin-bottom:20px;
    }
    .forFlow {
        padding-top:16px;
    }
    /*列表item & 文章*/
    .day,.PostList, .entrylistItem,.post {
        margin:0;
        padding:12px 24px;
    }
    #myposts .PostList {
        margin-top: 0;
        padding: 4px 24px;
    }

    /*列表date*/
    .dayTitle {
        display:none;
    }
    /*列表item title*/
    .postTitle a:hover,.postTitl2 a:hover,.postTitle a:hover,.entrylistPosttitle a:hover {
        color:#2175bc;
    }
    .postTitl2{
        border-left-width: 3px;
        border-left-style: solid;
        border-left-color: #2175bc; 
    }
    .postTitl2 a{
        vertical-align:bottom;
    }
    /*列表item bottom desc*/
    .postDesc, .postDesc2, .entrylistItemPostDesc {
        margin-bottom: 0;
    }
    /*引用*/
    .postBody blockquote, .postCon blockquote {
        background-size: 32px;
        background-position: 6px 6px
    }

    /*侧边栏*/
    #sideBarMain .newsItem h3{
        margin-top:0;
    }
    #sideBar{
        box-shadow: 1px 2px 8px #999;
        -moz-box-shadow: 1px 2px 8px #999;
        -web-kit-shadow: 1px 2px 8px #999;
        border-radius: 2px;
        background: #fff;
        width: 180px;
        margin-left: 20px;
    }

猜你喜欢

转载自www.cnblogs.com/yanjiez/p/10106868.html