reset.css 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. /* http://meyerweb.com/eric/tools/css/reset/
  2. v2.0 | 20110126
  3. License: none (public domain)
  4. */
  5. html,
  6. body,
  7. div,
  8. span,
  9. applet,
  10. object,
  11. iframe,
  12. h1,
  13. h2,
  14. h3,
  15. h4,
  16. h5,
  17. h6,
  18. p,
  19. blockquote,
  20. pre,
  21. a,
  22. abbr,
  23. acronym,
  24. address,
  25. big,
  26. cite,
  27. code,
  28. del,
  29. dfn,
  30. em,
  31. img,
  32. ins,
  33. kbd,
  34. q,
  35. s,
  36. samp,
  37. small,
  38. strike,
  39. strong,
  40. sub,
  41. sup,
  42. tt,
  43. var,
  44. b,
  45. u,
  46. i,
  47. center,
  48. dl,
  49. dt,
  50. dd,
  51. ol,
  52. ul,
  53. li,
  54. fieldset,
  55. form,
  56. label,
  57. legend,
  58. table,
  59. caption,
  60. tbody,
  61. tfoot,
  62. thead,
  63. tr,
  64. th,
  65. td,
  66. article,
  67. aside,
  68. canvas,
  69. details,
  70. embed,
  71. figure,
  72. figcaption,
  73. footer,
  74. header,
  75. hgroup,
  76. menu,
  77. nav,
  78. output,
  79. ruby,
  80. section,
  81. summary,
  82. time,
  83. mark,
  84. audio,
  85. video {
  86. margin: 0;
  87. padding: 0;
  88. border: 0;
  89. font-size: 100%;
  90. font: inherit;
  91. vertical-align: baseline;
  92. }
  93. /* HTML5 display-role reset for older browsers */
  94. article,
  95. aside,
  96. details,
  97. figcaption,
  98. figure,
  99. footer,
  100. header,
  101. hgroup,
  102. menu,
  103. nav,
  104. section {
  105. display: block;
  106. }
  107. body {
  108. line-height: 1;
  109. }
  110. ol,
  111. ul {
  112. list-style: none;
  113. }
  114. blockquote,
  115. q {
  116. quotes: none;
  117. }
  118. blockquote:before,
  119. blockquote:after,
  120. q:before,
  121. q:after {
  122. content: "";
  123. content: none;
  124. }
  125. table {
  126. border-collapse: collapse;
  127. border-spacing: 0;
  128. }
  129. button {
  130. padding: 0;
  131. }
  132. p {
  133. margin-bottom: 0 !important;
  134. }