reset.scss 3.0 KB

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