reset.css 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. @charset "utf-8";
  2. /* CSS reset for c_b */
  3. body , div , dl , dt , dd , ul , ol , li , h1 , h2 , h3 , h4 , h5 , h6 , pre , form , fieldset , input , textarea , p , blockquote , th , td { margin: 0; padding: 0; font-weight: normal;}
  4. table {border-collapse:collapse; border-spacing:0;}
  5. table th , table td {padding:5px;}
  6. fieldset , img {border:0;}
  7. address , caption , cite , code , dfn , em , th , var {font-style:normal; font-weight:normal;}
  8. ol , ul {list-style:none;}
  9. ception , th{text-align:left;}
  10. q:before , q:after{content:'';}
  11. abbr , acronym{border:0;}
  12. /*定位*/
  13. .tl {text-align:left;}
  14. .tc {text-align:center;}
  15. .tr {text-align:right;}
  16. .bc {margin-left:auto; margin-right:auto;}
  17. .fl {float:left; display:inline;}
  18. .fr {float:right; display:inline;}
  19. .cb {clear:both;}
  20. .cl {clear:left;}
  21. .cr {clear:right;}
  22. .clearfix:after {content:'.'; display:block; height:0; clear:both; visibility:hidden;}
  23. *html .clearfix {height:1%}
  24. .Clearfix {display:block;}
  25. .vm {vertical-align:center;}
  26. .pr {position:relative;}
  27. .pa {position:absolute;}
  28. .abs-right {position:absolute;right:0;}
  29. .zoom {zoom:1}
  30. .hidden {visibility:hidden;}
  31. .none {display:none;}
  32. /*边框去除*/
  33. .no_bt {border-top:none;}
  34. .no_bb {border-bottom:none;}
  35. .no_bl {border-left:none;}
  36. .no_br {border-right:none;}
  37. /*其他*/
  38. .curp{cursor:pointer};
  39. /*原reset*/
  40. sup{vertical-align:baseline;}
  41. sub{vertical-align:baseline;}
  42. input,button,textarea,select,optgroup,option{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;}
  43. input,button,textarea,select{*font-size:100%;}
  44. input,select{vertical-align:middle;}
  45. body{font:12px/1.231 Microsoft YaHei; font-size:63%;}
  46. select,input,button,textarea,button{font:99% arial,helvetica,clean,sans-serif;}
  47. table{font-size:inherit;font:100%; border-collapse:collapse;}
  48. pre,code,kbd,samp,tt{font-family:monospace;*font-size:108%;line-height:100%;}
  49. /*title*/
  50. h1 { font-size:32px;}
  51. h2 { font-size:26px;}
  52. h3 { font-size:20px;}
  53. h4 { font-size:14px;}
  54. h5 { font-size:12px;}
  55. h6 { font-size:10px;}