reset.less 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  1. @import './var';
  2. html,
  3. body,
  4. div,
  5. span,
  6. applet,
  7. object,
  8. iframe,
  9. h1,
  10. h2,
  11. h3,
  12. h4,
  13. h5,
  14. h6,
  15. p,
  16. blockquote,
  17. pre,
  18. a,
  19. abbr,
  20. acronym,
  21. address,
  22. big,
  23. cite,
  24. code,
  25. del,
  26. dfn,
  27. em,
  28. img,
  29. ins,
  30. kbd,
  31. q,
  32. s,
  33. samp,
  34. small,
  35. strike,
  36. strong,
  37. sub,
  38. sup,
  39. tt,
  40. var,
  41. b,
  42. u,
  43. i,
  44. center,
  45. dl,
  46. dt,
  47. dd,
  48. ol,
  49. ul,
  50. li,
  51. fieldset,
  52. form,
  53. label,
  54. legend,
  55. table,
  56. caption,
  57. tbody,
  58. tfoot,
  59. thead,
  60. tr,
  61. th,
  62. td,
  63. article,
  64. aside,
  65. canvas,
  66. details,
  67. embed,
  68. figure,
  69. figcaption,
  70. footer,
  71. header,
  72. hgroup,
  73. menu,
  74. nav,
  75. output,
  76. ruby,
  77. section,
  78. summary,
  79. time,
  80. mark,
  81. audio,
  82. video {
  83. margin: 0;
  84. padding: 0;
  85. font: inherit;
  86. font-size: 100%;
  87. vertical-align: baseline;
  88. border: 0;
  89. }
  90. html {
  91. line-height: 1;
  92. -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  93. }
  94. ol,
  95. ul {
  96. list-style: none;
  97. }
  98. table {
  99. border-collapse: collapse;
  100. border-spacing: 0;
  101. }
  102. caption,
  103. th,
  104. td {
  105. font-weight: normal;
  106. vertical-align: middle;
  107. }
  108. q,
  109. blockquote {
  110. quotes: none;
  111. }
  112. q::before,
  113. q::after,
  114. blockquote::before,
  115. blockquote::after {
  116. content: '';
  117. content: none;
  118. }
  119. a img {
  120. border: none;
  121. }
  122. article,
  123. aside,
  124. details,
  125. figcaption,
  126. figure,
  127. footer,
  128. header,
  129. hgroup,
  130. menu,
  131. nav,
  132. section,
  133. summary {
  134. display: block;
  135. }
  136. * {
  137. box-sizing: content-box;
  138. }
  139. body {
  140. color: @text-color;
  141. background-color: @background-color;
  142. }
  143. a {
  144. text-decoration: none;
  145. background: transparent;
  146. }
  147. button,
  148. input[type='number'],
  149. input[type='text'],
  150. input[type='password'],
  151. input[type='email'],
  152. input[type='search'],
  153. select,
  154. textarea {
  155. margin: 0;
  156. font-family: inherit;
  157. -webkit-appearance: none;
  158. }