reset.css 1.5 KB

123456789101112131415161718192021222324252627282930313233343536
  1. /* 初始化CSS */
  2. html, body, ul, li, ol, dl, dd, dt, p, h1, h2, h3, h4, h5, h6, form, fieldset, legend, img { margin:0; padding:0; font-size: 15px;}
  3. fieldset, img { border:none; }
  4. img{display: inline-block;vertical-align: middle;max-width: 100%;max-height: 100%;}
  5. address, caption, cite, code, dfn, th, var { font-style:normal; font-weight:normal; }
  6. ul, ol { list-style:none; }
  7. input { padding-top:0; padding-bottom:0; font-family: "SimSun","黑体";}
  8. input::-moz-focus-inner { border:none; padding:0; }
  9. select, input { vertical-align:middle; }
  10. select, input, textarea { font-size:12px; margin:0; }
  11. input[type="text"], input[type="password"], textarea { outline-style:none; -webkit-appearance:none; }
  12. textarea { resize:none; }
  13. table { border-collapse:collapse; }
  14. body { color:#333; padding:0px 0; font:14px/20px "SimSun","黑体","Arial Narrow",HELVETICA; background:#fff;/* overflow-y:scroll;*/ }
  15. .clearfix:after { content:"."; display:block; height:0; visibility:hidden; clear:both; }
  16. .clearfix { zoom:1; }
  17. .clearit { clear:both; height:0; font-size:0; overflow:hidden; }
  18. a { color:#666; text-decoration:none; }
  19. a:visited { color:#666; }
  20. a:hover, a:active, a:focus { color:#ff8400; text-decoration:underline; }
  21. body blockquote {
  22. display: block;
  23. border-left: 8px solid #d0e5f2;
  24. padding: 5px 10px;
  25. margin: 10px 0;
  26. line-height: 1.4;
  27. font-size: 100%;
  28. background-color: #f1f1f1;
  29. }
  30. body code{
  31. display: inline-block;
  32. background-color: #f1f1f1;
  33. border-radius: 3px;
  34. padding:3px 5px;
  35. margin: 0 3px;
  36. }