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