_reset.scss 6.4 KB

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