_normalize.scss 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  1. html {
  2. font-family: sans-serif;
  3. -webkit-text-size-adjust: 100%;
  4. -ms-text-size-adjust: 100%;
  5. }
  6. body {
  7. margin: 0;
  8. }
  9. article,
  10. aside,
  11. details,
  12. figcaption,
  13. figure,
  14. footer,
  15. header,
  16. main,
  17. menu,
  18. nav,
  19. section,
  20. summary {
  21. display: block;
  22. }
  23. audio,
  24. canvas,
  25. progress,
  26. video {
  27. display: inline-block;
  28. vertical-align: baseline;
  29. }
  30. audio:not([controls]) {
  31. display: none;
  32. height: 0;
  33. }
  34. [hidden],
  35. template {
  36. display: none;
  37. }
  38. a {
  39. background-color: transparent;
  40. }
  41. a:active,
  42. a:hover {
  43. outline: 0;
  44. }
  45. abbr[title] {
  46. border-bottom: 1px dotted;
  47. }
  48. b,
  49. strong {
  50. font-weight: bold;
  51. }
  52. dfn {
  53. font-style: italic;
  54. }
  55. h1 {
  56. font-size: 2em;
  57. margin: 0.67em 0;
  58. }
  59. mark {
  60. background: #ff0;
  61. color: #000;
  62. }
  63. small {
  64. font-size: 80%;
  65. }
  66. sub,
  67. sup {
  68. font-size: 75%;
  69. line-height: 0;
  70. position: relative;
  71. vertical-align: baseline;
  72. }
  73. sup {
  74. top: -0.5em;
  75. }
  76. sub {
  77. bottom: -0.25em;
  78. }
  79. img {
  80. border: 0;
  81. }
  82. svg:not(:root) {
  83. overflow: hidden;
  84. }
  85. figure {
  86. margin: 1em 40px;
  87. }
  88. hr {
  89. box-sizing: content-box;
  90. height: 0;
  91. }
  92. pre {
  93. overflow: auto;
  94. }
  95. code,
  96. kbd,
  97. pre,
  98. samp {
  99. font-family: monospace, monospace;
  100. font-size: 1em;
  101. }
  102. button,
  103. input,
  104. optgroup,
  105. select,
  106. textarea {
  107. color: inherit;
  108. font: inherit;
  109. margin: 0;
  110. }
  111. button {
  112. overflow: visible;
  113. }
  114. button,
  115. select {
  116. text-transform: none;
  117. }
  118. button,
  119. html input[type="button"],
  120. input[type="reset"],
  121. input[type="submit"] {
  122. -webkit-appearance: button;
  123. cursor: pointer;
  124. }
  125. button[disabled],
  126. html input[disabled] {
  127. cursor: default;
  128. }
  129. button::-moz-focus-inner,
  130. input::-moz-focus-inner {
  131. border: 0;
  132. padding: 0;
  133. }
  134. input {
  135. line-height: normal;
  136. }
  137. input[type="checkbox"],
  138. input[type="radio"] {
  139. box-sizing: border-box;
  140. padding: 0;
  141. }
  142. input[type="number"]::-webkit-inner-spin-button,
  143. input[type="number"]::-webkit-outer-spin-button {
  144. height: auto;
  145. }
  146. input[type="search"]::-webkit-search-cancel-button,
  147. input[type="search"]::-webkit-search-decoration {
  148. -webkit-appearance: none;
  149. }
  150. fieldset {
  151. border: 1px solid #c0c0c0;
  152. margin: 0 2px;
  153. padding: 0.35em 0.625em 0.75em;
  154. }
  155. legend {
  156. border: 0;
  157. padding: 0;
  158. }
  159. textarea {
  160. overflow: auto;
  161. }
  162. optgroup {
  163. font-weight: bold;
  164. }
  165. table {
  166. border-collapse: collapse;
  167. border-spacing: 0;
  168. }
  169. td,
  170. th {
  171. padding: 0;
  172. }