_reset.scss 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233
  1. body,
  2. div,
  3. dl,
  4. dt,
  5. dd,
  6. ul,
  7. ol,
  8. li,
  9. h1,
  10. h2,
  11. h3,
  12. h4,
  13. h5,
  14. h6,
  15. pre,
  16. form,
  17. fieldset,
  18. input,
  19. textarea,
  20. p,
  21. blockquote,
  22. th,
  23. td,
  24. article,
  25. aside,
  26. details,
  27. figcaption,
  28. figure,
  29. footer,
  30. header,
  31. hgroup,
  32. menu,
  33. nav,
  34. section {
  35. margin: 0;
  36. padding: 0;
  37. }
  38. html,
  39. body {
  40. width: 100%;
  41. height: 100%;
  42. -webkit-text-size-adjust: none;
  43. -ms-text-size-adjust: none;
  44. text-size-adjust: none;
  45. }
  46. a {
  47. outline: 0;
  48. border: 0;
  49. }
  50. table {
  51. border-collapse: collapse;
  52. border-spacing: 0;
  53. }
  54. fieldset,
  55. img {
  56. border: 0;
  57. }
  58. address,
  59. caption,
  60. cite,
  61. code,
  62. dfn,
  63. th,
  64. var {
  65. font-style: normal;
  66. font-weight: normal;
  67. }
  68. ol,
  69. ul,
  70. nav,
  71. menu {
  72. list-style: none;
  73. }
  74. caption,
  75. th {
  76. text-align: left;
  77. }
  78. h1,
  79. h2,
  80. h3,
  81. h4,
  82. h5,
  83. h6 {
  84. font-size: 100%;
  85. font-weight: normal;
  86. }
  87. q:before,
  88. q:after {
  89. content: ''
  90. }
  91. abbr,
  92. acronym {
  93. border: 0;
  94. }
  95. header,
  96. footer,
  97. nav,
  98. aside {
  99. display: block;
  100. }
  101. input,
  102. textarea,
  103. button {
  104. outline: 0;
  105. border: 0;
  106. -webkit-appearance: none;
  107. appearance: none;
  108. }
  109. input:active,
  110. textarea:active {
  111. outline: 0;
  112. border: 0;
  113. }
  114. .clearfix:before,
  115. .clearfix:after {
  116. content: "";
  117. display: table;
  118. }
  119. .clearfix:after {
  120. clear: both;
  121. }
  122. .clearfix {
  123. zoom: 1;
  124. }
  125. article,
  126. aside,
  127. details,
  128. figcaption,
  129. figure,
  130. footer,
  131. header,
  132. hgroup,
  133. menu,
  134. nav,
  135. section {
  136. display: block;
  137. }
  138. input,
  139. label,
  140. select,
  141. button,
  142. textarea {
  143. margin: 0;
  144. border: 0;
  145. padding: 0;
  146. display: inline-block;
  147. vertical-align: middle;
  148. white-space: normal;
  149. background: 0;
  150. line-height: 1;
  151. font-size: 13px;
  152. font-family: Arial;
  153. }
  154. input:focus {
  155. outline: 0;
  156. }
  157. input,
  158. textarea {
  159. -webkit-box-sizing: content-box;
  160. -moz-box-sizing: content-box;
  161. box-sizing: content-box;
  162. }
  163. button,
  164. input[type=reset],
  165. input[type=button],
  166. input[type=submit],
  167. input[type=checkbox],
  168. input[type=radio],
  169. select {
  170. -webkit-box-sizing: border-box;
  171. -moz-box-sizing: border-box;
  172. box-sizing: border-box;
  173. }
  174. input[type=checkbox],
  175. input[type=radio] {
  176. width: 13px;
  177. height: 13px;
  178. }
  179. input[type=search] {
  180. -webkit-appearance: textfield;
  181. -webkit-box-sizing: content-box;
  182. }
  183. ::-webkit-search-decoration {
  184. display: none;
  185. }
  186. button,
  187. input[type="reset"],
  188. input[type="button"],
  189. input[type="submit"] {
  190. overflow: visible;
  191. width: auto;
  192. }
  193. ::-webkit-file-upload-button {
  194. padding: 0;
  195. border: 0;
  196. background: 0;
  197. }
  198. textarea {
  199. vertical-align: top;
  200. overflow: auto;
  201. }
  202. select[multiple] {
  203. vertical-align: top;
  204. }