normalize.scss 6.1 KB

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