main_.css 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. @charset "utf-8";
  2. /* CSS Document */
  3. html,body,div,span,h1,h2,h3,h4,h5,h6,p,pre,a,code,em,img,small,strong,sub,sup,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}
  4. a{color:#007bc4/*#424242*/; text-decoration:none;}
  5. a:hover{text-decoration:underline}
  6. ol,ul{list-style:none}
  7. table{border-collapse:collapse;border-spacing:0}
  8. html{background:url(../images/bg.png)}
  9. body{height:100%; font:14px/18px "Microsoft Yahei", Tahoma, Helvetica, Arial, Verdana, "\5b8b\4f53", sans-serif; color:#51555C; background: url(../images/body_bg.gif) repeat-x}
  10. img{border:none}
  11. #header{width:980px; height:92px; margin:0 auto; position:relative;}
  12. #logo{width:240px; height:90px; background:url(../images/logo_demo.gif) no-repeat}
  13. #logo h1{text-indent:-999em}
  14. #logo h1 a{display:block; width:240px; height:90px}
  15. #main{width:980px; min-height:600px; margin:30px auto 0 auto; border:1px solid #d3d3d3; background:#fff; -moz-border-radius:5px;-khtml-border-radius: 5px;-webkit-border-radius: 5px; border-radius:5px;}
  16. h2.top_title{margin:4px 20px; padding-top:15px; padding-left:20px; padding-bottom:10px; border-bottom:1px solid #d3d3d3; font-size:18px; color:#a84c10; background:url(../images/arrL.gif) no-repeat 2px 16px}
  17. #footer{height:60px;}
  18. #footer p{ padding:10px 2px; line-height:24px; text-align:center}
  19. #footer p a:hover{color:#51555C}
  20. #stat{display:none}
  21. .google_ad{width:728px; height:90px; margin:50px auto}
  22. .ad_76090,.ad_demo{width:760px; height:90px; margin:40px auto}
  23. .demo_topad{position:absolute; top:15px; right:0px; width:470px; height:60px;}
  24. @media screen and (min-width: 320px) and (max-width : 480px) {
  25. html{-webkit-text-size-adjust: none;}
  26. #header{width:100%}
  27. #main{width:100%; margin:10px auto; -moz-border-radius:0px;-khtml-border-radius: 0px;-webkit-border-radius: 0px; border-radius:0px;}
  28. .demo_topad{display:none}
  29. .google_ad{width:100%; margin:40px auto; text-align:center}
  30. .ad_76090,.ad_demo{width:100%; height:auto; margin:40px auto;text-align:center}
  31. .demo{width:98%; margin:10px auto}
  32. }