“dengzhiguo 7 jaren geleden
bovenliggende
commit
5ab3e9040e
1 gewijzigde bestanden met toevoegingen van 9 en 9 verwijderingen
  1. 9 9
      src/css/index_home.css

+ 9 - 9
src/css/index_home.css

@@ -33,22 +33,22 @@ ul,ol{padding: 0;margin: 0;list-style: none;}
 
 /*active的css*/
 #active{width:1200px;height:240px;margin:0 auto;padding-top:50px;position: relative;}
-#active>.title{width:70px;height:160px;padding-top:10px; }
+#active>.title{width:70px;height:160px;padding-top:12px; }
 #active>.title>p{width:25px;height:160px;font-size: 2rem;color:#074F88;
-    margin:0 0 50px 45px;font-weight: bold;}
+    margin:0 0 50px 45px;font-weight: bold;line-height: 22px;}
 #active>.coupon{width:1130px;height:160px;padding:1px 0 0 40px; }
 #active .lf{background: url(../../img/coupon.jpg) no-repeat;}
 #active>.coupon>.coupon_cont{position: relative;width:232px;height:157px;
     margin-right: 25px;}
 #active>.coupon>.coupon_cont>h2{position: absolute;width:100%;height:92px;
-    text-align: center;line-height:92px;font-size: 30px;color:#FF8400;}
+    text-align: center;line-height:92px;font-size: 2.7rem;color:#FF8400;}
 #active>.coupon>.coupon_cont>p{position: absolute;width:100%;height:56px;
-    text-align: center;line-height:56px;top:92px;font-size: 1.8rem;}
-#active>.line{position: absolute;left:45px;bottom:0;
-    width:1110px;height:15px;background-image:url(../../img/coupon_line.png);}
+    text-align: center;line-height:56px;top:92px;font-size: 1.6rem;}
+#active>.line{position: absolute;left:35px;bottom:0;
+    width:1122px;height:15px;background-image:url(../../img/coupon_line.png);}
 
 /*product的css*/
-#product{width:1200px;height:450px;margin:0 auto;position: relative;}
+#product{width:1200px;height:450px;margin:0 auto;position: relative;margin-top:5px;}
 .caption{width:100%;height:50px;font-size: 2rem;color:#074F88;
     line-height: 50px;padding-left:30px;}
 #product>.content{width:1140px;height:400px;margin-left:30px;position: relative;  }
@@ -112,10 +112,10 @@ display:inline-block;position: absolute;top:0;left:0;}
 .cont_left{width:455px;height:90px;display:inline-block;margin-left:45px;}
 .cont_left>img{margin-left:85px;}
 .cont_center{width:200px;height:90px;display:inline-block;text-align: center;}
-.cont_right{width:455px;height:90px;display:inline-block;text-align: right;}
+.cont_right{width:455px;height:90px;display:inline-block;text-align: right;vertical-align:bottom;}
 .text_center p{color:#F5F6F9;line-height:50px;font-weight: bold;}
 .cont_center p{line-height:20px;}
-.cont_right p{display:inline-block;}
+.cont_right p{display:inline-block;vertical-align:bottom;line-height: 20px;}
 .text_bottom{width:100%;height:75px;position: absolute;top:285px;left:0;color:#fff;
     padding-left:45px;margin-top:15px;}
 .text_bottom p{font-weight: bold;line-height: 25px;}