global.css 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. *{margin:0;padding:0}
  2. html { width: 100%; }
  3. body { overflow: hidden;margin:0 auto; width:100%;font-family:"微软雅黑";background-size: auto;}
  4. a:link, a:visited { text-decoration:none}
  5. article, aside, footer, header, hgroup, nav, section, figure, figcaption { display: block}
  6. img{ vertical-align:middle}
  7. ul, ol { list-style:none}
  8. img, fieldset { border:0}
  9. img, input, button, select, textarea { vertical-align:middle}
  10. input,button,select,textarea{outline:none} textarea{resize:none;}
  11. h1, h2, h3, h4, h5, h6, th, td, table, input, button, select, textarea, sub{ font-size:1em}
  12. body, input, button, select, textarea, sub{ font-family:Arial, sans-serif}
  13. /*article,aside,details,figcaption,figure,footer,header,hgroup,nav,section,summary{ display:block}
  14. audio,canvas,video{ display:inline-block; *display:inline; *zoom:1}*/
  15. audio:not([controls]){ display:none; height:0}
  16. [hidden]{ display:none}
  17. html,button,input,select,textarea{ font-size:100%;}
  18. html{ -webkit-text-size-adjust:100%; -ms-text-size-adjust:100%}
  19. body,div,dl,dt,dd,ul,ol,menu,li,h1,h2,h3,h4,h5,h6,p,pre,code,form,fieldset,legend,blockquote,figure{ margin:0; padding:0;}
  20. body{ font-size:10px; font-family:"Microsoft Yahei", Helvetica; line-height:1.5;}
  21. a{ text-decoration:none}
  22. h1,h2,h3,h4,h5,h6{ font-size:100%; font-weight:normal}
  23. abbr[title]{ border-bottom:1px dotted}
  24. b,strong{ font-weight:bold}
  25. q{ quotes:none}
  26. q:before,q:after{ content:''; content:none}
  27. sub,sup{ position:relative; vertical-align:baseline}
  28. ul,ol,menu{ list-style:none outside none}
  29. img{ border:0; -ms-interpolation-mode:bicubic; max-width:100%; vertical-align:middle}
  30. svg:not(:root){ overflow:hidden}
  31. fieldset{ border:0}
  32. legend{ border:0; white-space:normal; *margin-left:-7px}
  33. button,input,select,textarea{ margin:0; vertical-align:baseline; *vertical-align:middle;}
  34. button,input{ line-height:normal}
  35. button,input[type="button"],input[type="reset"],input[type="submit"]{ -webkit-appearance:button; cursor:pointer; *overflow:visible}
  36. button[disabled],input[disabled]{ cursor:default}
  37. input[type="checkbox"],input[type="radio"]{ box-sizing:border-box; *height:13px; *width:13px}
  38. input[type="search"]{ -webkit-appearance:textfield; -moz-box-sizing:content-box; -webkit-box-sizing:content-box; box-sizing:content-box}
  39. input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{ -webkit-appearance:none}
  40. button::-moz-focus-inner,input::-moz-focus-inner{ border:0; padding:0}
  41. textarea{ overflow:auto; vertical-align:top;}
  42. table{ border-collapse:collapse; border-spacing:0}
  43. /*
  44. * common styles
  45. */
  46. /*
  47. .clearfix:before,.clearfix:after{content:' '; display:table; clear:both}
  48. .clearfix{ *zoom:1}
  49. */