码迷,mamicode.com
首页 > Web开发 > 详细

CSS备份1

时间:2015-03-04 14:29:58      阅读:156      评论:0      收藏:0      [点我收藏+]

标签:

#navigator { background: #666;}
#navList { font-size: 16px; color: #fff;}
.blogStats { font-size: 12px; }
body { background-color: #f0eee4; color: #000; font-size: 14px; }
h1, h2, h3, h4, h5, h6, th, .feedbackCon, .blogStats { color: #000; }
/*#main { border: 1px solid #e5e5e5; }*/
.day { margin: 20px 0px; }
.postTitle { padding-left: 20px; font-size: 16px;
             border-bottom-color: #666; }
.postBody, .postCon { padding: 0px 20px 10px; 
                      border-bottom: 1px solid #666; }
.postDesc { padding-right: 20px; }
a, .postCon a, .postBody a, .feedbackCon a { color: #000; }
    a:hover, a:active, a:focus { color: #ff8; text-decoration: none; }
#navigator, #MySignature, .day, .post,*#sideBar { border: 1px solid #e5e5e5; 
    border-radius: 8px; box-shadow: 2px 2px 10px #aaa; }
#navigator { border-radius: 8px 8px 0px 0px; }
.post { border-right: none; border-top: none; 
        border-radius: 0px 0px 8px 8px; padding-top: 1px; }
.cnblogs_code, .cnblogs_code div { 
    color: #000; font-family: consolas, monospace, sans-serif; }
body 
{ 
   /*其它主要浏览器不需要这个样式,
   但在IE6/7居中是必须的*/
   text-align:center; 
}
#home 
{ 
   /*margin: 0px auto;可以使内容在除IE6/7外的其它
   主要浏览器内居中*/
   margin: 0px auto; 
   /*因为body的text-align:center;样式具有继承性,
   所以要重置文本向左对齐*/
   text-align:left; 
   /*max-width:960px;*/
}
#navigator {  height:auto; overflow:hidden; *zoom:1;}
/*名为.blogStats的div在选择的模板中已经进行了右浮动
不必再进行设置*/
#navList { float:left; }
#navList li { display: inline; float: none; color: #fff;}
#mainContent { width: 100%; margin-left: -250px; float: right; }
/*#sideBar { width: 190px; float: left; }/*左边*/*
#sideBarMain {
    padding:0 10px 0 0;
    /*background:#fff;*/
    margin:0 0 20px 0;
    width:190px;
    font-size:12px;
    line-height:22px;
    border: none;
}
#main {
    padding:10px;
}

/*导航栏*/
#navigator {
    height:48px;
    background:#666;
    text-align:center;
    margin-top:20px;
    margin-bottom:20px;
}
#navList li {
    margin:0;
    line-height:48px;
    display:inline-block;
    float:left;
}
#navList li:hover {
    background:#777;
}
#navList li a {
    padding:0 10px;
    text-decoration:none;
    line-height:48px;
    border:0;
    color:#fff;
    display:-moz-inline-box;
    display:inline-block;
    font-size:20px;
}
.blogStats {
    height:48px;
    color:#fff;
    line-height:48px;
}
/*博客标题*/
#blogTitle,#blogTitle a {
    font-weight:bold;
    color:#666;
}
#blogTitle .title {
    margin-top:10px;
    height:100px;
    line-height:100px;
    font-size:36px;
    padding-left:120px;
    background: url(‘http://images.cnblogs.com/cnblogs_com/libaoheng/305804/o_light2.png‘) no-repeat;

}
.headermaintitle {
    }#blogTitle,#blogTitle a:hover {
    text-decoration:none;
}
/*子标题*/
.subtitle {
    padding-left:30px;
    font-size:14px;
    color:#999;
    font-weight:normal;
    margin:10px 0;
}

 

CSS备份1

标签:

原文地址:http://www.cnblogs.com/gaowf/p/4313080.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!