大国工匠CSS接上文

body,
ul,
li,
from,
input,
h1,
h2,
h3,
h4,
nav,
a,
div,
p {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

ul,
li,
ol {
    list-style: none;
}

#top {
    width: 1000px;
    height:40px;
    line-height: 40px;
    margin: 0 auto;
}

#top_left {
    float: left;
}

#top_right {
    float: right;
}

.clearfix {
    clear: both;
}

#top ul li {
    float: left;
    margin-right: 20px;
}

#top ul li a {
    color: #666666;
    font-size: 14px;
}

#banner {
    width: 100%;
    height:296px;
    background-image: url(.././img/banner.jpg);
    background-size: 100% 295px;
}
#nav_bg{
    width:100%;
    height:44px;
    line-height:44px;
    background:url(../img/bg_nav.jpg) repeat-x left center;
}
nav{
    width:1000px;
    margin:0 auto;
    font-size:0px;
}
nav li{
    display:inline-block;
    width:100px;
    text-align:center;
}
nav li:nth-child(4){
    width:140px;
}
nav a {
    font-weight: bold;
    font-size: 18px;
    color: #FFf8d6;
}

nav a:hover {
    color: #7d2a00;
}

#main {
    width: 1000px;
    margin: 0 auto;
    margin-top: 30px;
    overflow: hidden;
}

#news {
    width: 650px;
    float: left;
}

#video {
    width: 320px;
    float: right;
}

h3 {
    wdith: 100%;
    height: 36px;
    line-height: 36px;
    color: #ffffff;
    background: #ec8c25 url(../img/h2_bg.jpg) no-repeat left center;
    font-size: 16px;
    text-indent: 10px;
}

.img_bar {
    width: 100%;
    height: 36px;
    line-height: 36px;
    color: #ffffff;
    background: #ec8c25 url(../img/h2_bg.jpg) no-repeat left center;
    font-size: 16px;
    text-indent: 10px;
}

#main h2 {
    width: 100%;
    font-size: 20px;
    margin-top: 15px;
    margin-bottom: 15px;
    font-weight: normal;
    margin-left: 10px;
}

#main h2 a {
    color: #000;
}

#main h2 a:hover {
    color: #ff0000;
}

.news_list {
    border-bottom: 1px dashed #ccc;
    padding-bottom: 20px;
}

.news_list li {
    height: 25px;
    line-height: 25px;
    background: url(../img/arrow.jpg)no-repeat left center;
    text-indent: 10px;
}

.news_list li a {
    color: #333333;
    font-size: 14px;
}

.new_list li a:hover {
    color: #ec8c25;
}

.news_list2 {
    margin-top: 15px;
}

.news_list2 li {
    background: url(../img/vidicon.gif) no-repeat left center;
    height: 26px;
    line-height: 26px;
    text-indent: 20px;
}

.news_list2 li a {
    font-size: 14px;
    color: #333333;
}

.news_list2 li a:hover {
    color: #005fe9;
}

#origin {
    width: 1000px;
    margin: 30px auto;
    pverflow: hidden;
}

#origin ul {
    margin-top: 20px;
}

#origin li {
    float: left;
    width: 160px;
    margin-right: 50px;
    text-align: center;
}

#origin li:nth-child(5) {
    margin-right: 0;
}

#origin li a {
    color: #333333;
    font-weight: bold;
}

#origin li a:hover {
    color: #EC8C25
}

footer {
    width: 1000px;
    margin: 210px auto;
    padding-top: 30px;
    border-top: 2px solid #666;
}

footer p {
    text-align: center;
    line-height: 30px;
    font-size: 14px;
    color: #666;
}

  • 2
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 2
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值