_reset.scss 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373
  1. /*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
  2. /* Document
  3. ========================================================================== */
  4. /**
  5. * 1. Correct the line height in all browsers.
  6. * 2. Prevent adjustments of font size after orientation changes in iOS.
  7. */
  8. html {
  9. margin: 0;
  10. padding: 0;
  11. line-height: 1.15; /* 1 */
  12. -webkit-text-size-adjust: 100%; /* 2 */
  13. font-size: 16px;
  14. }
  15. /* Sections
  16. ========================================================================== */
  17. /**
  18. * Remove the margin in all browsers.
  19. */
  20. body {
  21. margin: 0;
  22. padding: 0;
  23. }
  24. /**
  25. * Render the `main` element consistently in IE.
  26. */
  27. main {
  28. display: block;
  29. }
  30. /**
  31. * Correct the font size and margin on `h1` elements within `section` and
  32. * `article` contexts in Chrome, Firefox, and Safari.
  33. */
  34. h1 {
  35. font-size: auto;
  36. margin:0;
  37. }
  38. /* Grouping content
  39. ========================================================================== */
  40. /**
  41. * 1. Add the correct box sizing in Firefox.
  42. * 2. Show the overflow in Edge and IE.
  43. */
  44. hr {
  45. -webkit-box-sizing: content-box;
  46. box-sizing: content-box; /* 1 */
  47. height: 0; /* 1 */
  48. overflow: visible; /* 2 */
  49. }
  50. /**
  51. * 1. Correct the inheritance and scaling of font size in all browsers.
  52. * 2. Correct the odd `em` font sizing in all browsers.
  53. */
  54. pre {
  55. font-family: monospace, monospace; /* 1 */
  56. font-size: 1em; /* 2 */
  57. }
  58. /* Text-level semantics
  59. ========================================================================== */
  60. /**
  61. * Remove the gray background on active links in IE 10.
  62. */
  63. p{
  64. margin: 0;
  65. }
  66. ul{
  67. list-style: none;
  68. }
  69. ul,li{
  70. margin: 0;
  71. padding: 0;
  72. }
  73. a {
  74. background-color: transparent;
  75. color: black;
  76. text-decoration: none;
  77. }
  78. /**
  79. * 1. Remove the bottom border in Chrome 57-
  80. * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
  81. */
  82. abbr[title] {
  83. border-bottom: none; /* 1 */
  84. text-decoration: underline; /* 2 */
  85. -webkit-text-decoration: underline dotted;
  86. text-decoration: underline dotted; /* 2 */
  87. }
  88. /**
  89. * Add the correct font weight in Chrome, Edge, and Safari.
  90. */
  91. b,
  92. strong {
  93. font-weight: bolder;
  94. }
  95. /**
  96. * 1. Correct the inheritance and scaling of font size in all browsers.
  97. * 2. Correct the odd `em` font sizing in all browsers.
  98. */
  99. code,
  100. kbd,
  101. samp {
  102. font-family: monospace, monospace; /* 1 */
  103. font-size: 1em; /* 2 */
  104. }
  105. /**
  106. * Add the correct font size in all browsers.
  107. */
  108. small {
  109. font-size: 80%;
  110. }
  111. /**
  112. * Prevent `sub` and `sup` elements from affecting the line height in
  113. * all browsers.
  114. */
  115. sub,
  116. sup {
  117. font-size: 75%;
  118. line-height: 0;
  119. position: relative;
  120. vertical-align: baseline;
  121. }
  122. sub {
  123. bottom: -0.25em;
  124. }
  125. sup {
  126. top: -0.5em;
  127. }
  128. /* Embedded content
  129. ========================================================================== */
  130. /**
  131. * Remove the border on images inside links in IE 10.
  132. */
  133. img {
  134. border-style: none;
  135. width: 100%;
  136. height: 100%;
  137. vertical-align: bottom;
  138. }
  139. /* Forms
  140. ========================================================================== */
  141. /**
  142. * 1. Change the font styles in all browsers.
  143. * 2. Remove the margin in Firefox and Safari.
  144. */
  145. button,
  146. input,
  147. optgroup,
  148. select,
  149. textarea {
  150. font-family: inherit; /* 1 */
  151. font-size: 100%; /* 1 */
  152. line-height: 1.15; /* 1 */
  153. margin: 0; /* 2 */
  154. }
  155. /**
  156. * Show the overflow in IE.
  157. * 1. Show the overflow in Edge.
  158. */
  159. button,
  160. input { /* 1 */
  161. overflow: visible;
  162. }
  163. /**
  164. * Remove the inheritance of text transform in Edge, Firefox, and IE.
  165. * 1. Remove the inheritance of text transform in Firefox.
  166. */
  167. button,
  168. select { /* 1 */
  169. text-transform: none;
  170. }
  171. /**
  172. * Correct the inability to style clickable types in iOS and Safari.
  173. */
  174. button,
  175. [type="button"],
  176. [type="reset"],
  177. [type="submit"] {
  178. -webkit-appearance: button;
  179. }
  180. /**
  181. * Remove the inner border and padding in Firefox.
  182. */
  183. button::-moz-focus-inner,
  184. [type="button"]::-moz-focus-inner,
  185. [type="reset"]::-moz-focus-inner,
  186. [type="submit"]::-moz-focus-inner {
  187. border-style: none;
  188. padding: 0;
  189. }
  190. /**
  191. * Restore the focus styles unset by the previous rule.
  192. */
  193. button:-moz-focusring,
  194. [type="button"]:-moz-focusring,
  195. [type="reset"]:-moz-focusring,
  196. [type="submit"]:-moz-focusring {
  197. outline: 1px dotted ButtonText;
  198. }
  199. /**
  200. * Correct the padding in Firefox.
  201. */
  202. fieldset {
  203. padding: 0.35em 0.75em 0.625em;
  204. }
  205. /**
  206. * 1. Correct the text wrapping in Edge and IE.
  207. * 2. Correct the color inheritance from `fieldset` elements in IE.
  208. * 3. Remove the padding so developers are not caught out when they zero out
  209. * `fieldset` elements in all browsers.
  210. */
  211. legend {
  212. -webkit-box-sizing: border-box;
  213. box-sizing: border-box; /* 1 */
  214. color: inherit; /* 2 */
  215. display: table; /* 1 */
  216. max-width: 100%; /* 1 */
  217. padding: 0; /* 3 */
  218. white-space: normal; /* 1 */
  219. }
  220. /**
  221. * Add the correct vertical alignment in Chrome, Firefox, and Opera.
  222. */
  223. progress {
  224. vertical-align: baseline;
  225. }
  226. /**
  227. * Remove the default vertical scrollbar in IE 10+.
  228. */
  229. textarea {
  230. overflow: auto;
  231. }
  232. /**
  233. * 1. Add the correct box sizing in IE 10.
  234. * 2. Remove the padding in IE 10.
  235. */
  236. [type="checkbox"],
  237. [type="radio"] {
  238. -webkit-box-sizing: border-box;
  239. box-sizing: border-box; /* 1 */
  240. padding: 0; /* 2 */
  241. }
  242. /**
  243. * Correct the cursor style of increment and decrement buttons in Chrome.
  244. */
  245. [type="number"]::-webkit-inner-spin-button,
  246. [type="number"]::-webkit-outer-spin-button {
  247. height: auto;
  248. }
  249. /**
  250. * 1. Correct the odd appearance in Chrome and Safari.
  251. * 2. Correct the outline style in Safari.
  252. */
  253. [type="search"] {
  254. -webkit-appearance: textfield; /* 1 */
  255. outline-offset: -2px; /* 2 */
  256. }
  257. /**
  258. * Remove the inner padding in Chrome and Safari on macOS.
  259. */
  260. [type="search"]::-webkit-search-decoration {
  261. -webkit-appearance: none;
  262. }
  263. /**
  264. * 1. Correct the inability to style clickable types in iOS and Safari.
  265. * 2. Change font properties to `inherit` in Safari.
  266. */
  267. ::-webkit-file-upload-button {
  268. -webkit-appearance: button; /* 1 */
  269. font: inherit; /* 2 */
  270. }
  271. /* Interactive
  272. ========================================================================== */
  273. /*
  274. * Add the correct display in Edge, IE 10+, and Firefox.
  275. */
  276. details {
  277. display: block;
  278. }
  279. /*
  280. * Add the correct display in all browsers.
  281. */
  282. summary {
  283. display: list-item;
  284. }
  285. /* Misc
  286. ========================================================================== */
  287. /**
  288. * Add the correct display in IE 10+.
  289. */
  290. template {
  291. display: none;
  292. }
  293. /**
  294. * Add the correct display in IE 10.
  295. */
  296. [hidden] {
  297. display: none;
  298. }