You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

448 lines
7.5KB

  1. /*! normalize.css v7.0.0 | 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
  7. * IE on Windows Phone and in iOS.
  8. */
  9. html {
  10. line-height: 1.15; /* 1 */
  11. -ms-text-size-adjust: 100%; /* 2 */
  12. -webkit-text-size-adjust: 100%; /* 2 */
  13. }
  14. /* Sections
  15. ========================================================================== */
  16. /**
  17. * Remove the margin in all browsers (opinionated).
  18. */
  19. body {
  20. margin: 0;
  21. }
  22. /**
  23. * Add the correct display in IE 9-.
  24. */
  25. article,
  26. aside,
  27. footer,
  28. header,
  29. nav,
  30. section {
  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. * Add the correct display in IE 9-.
  45. * 1. Add the correct display in IE.
  46. */
  47. figcaption,
  48. figure,
  49. main { /* 1 */
  50. display: block;
  51. }
  52. /**
  53. * Add the correct margin in IE 8.
  54. */
  55. figure {
  56. margin: 1em 40px;
  57. }
  58. /**
  59. * 1. Add the correct box sizing in Firefox.
  60. * 2. Show the overflow in Edge and IE.
  61. */
  62. hr {
  63. box-sizing: content-box; /* 1 */
  64. height: 0; /* 1 */
  65. overflow: visible; /* 2 */
  66. }
  67. /**
  68. * 1. Correct the inheritance and scaling of font size in all browsers.
  69. * 2. Correct the odd `em` font sizing in all browsers.
  70. */
  71. pre {
  72. font-family: monospace, monospace; /* 1 */
  73. font-size: 1em; /* 2 */
  74. }
  75. /* Text-level semantics
  76. ========================================================================== */
  77. /**
  78. * 1. Remove the gray background on active links in IE 10.
  79. * 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
  80. */
  81. a {
  82. background-color: transparent; /* 1 */
  83. -webkit-text-decoration-skip: objects; /* 2 */
  84. }
  85. /**
  86. * 1. Remove the bottom border in Chrome 57- and Firefox 39-.
  87. * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
  88. */
  89. abbr[title] {
  90. border-bottom: none; /* 1 */
  91. text-decoration: underline; /* 2 */
  92. text-decoration: underline dotted; /* 2 */
  93. }
  94. /**
  95. * Prevent the duplicate application of `bolder` by the next rule in Safari 6.
  96. */
  97. b,
  98. strong {
  99. font-weight: inherit;
  100. }
  101. /**
  102. * Add the correct font weight in Chrome, Edge, and Safari.
  103. */
  104. b,
  105. strong {
  106. font-weight: bolder;
  107. }
  108. /**
  109. * 1. Correct the inheritance and scaling of font size in all browsers.
  110. * 2. Correct the odd `em` font sizing in all browsers.
  111. */
  112. code,
  113. kbd,
  114. samp {
  115. font-family: monospace, monospace; /* 1 */
  116. font-size: 1em; /* 2 */
  117. }
  118. /**
  119. * Add the correct font style in Android 4.3-.
  120. */
  121. dfn {
  122. font-style: italic;
  123. }
  124. /**
  125. * Add the correct background and color in IE 9-.
  126. */
  127. mark {
  128. background-color: #ff0;
  129. color: #000;
  130. }
  131. /**
  132. * Add the correct font size in all browsers.
  133. */
  134. small {
  135. font-size: 80%;
  136. }
  137. /**
  138. * Prevent `sub` and `sup` elements from affecting the line height in
  139. * all browsers.
  140. */
  141. sub,
  142. sup {
  143. font-size: 75%;
  144. line-height: 0;
  145. position: relative;
  146. vertical-align: baseline;
  147. }
  148. sub {
  149. bottom: -0.25em;
  150. }
  151. sup {
  152. top: -0.5em;
  153. }
  154. /* Embedded content
  155. ========================================================================== */
  156. /**
  157. * Add the correct display in IE 9-.
  158. */
  159. audio,
  160. video {
  161. display: inline-block;
  162. }
  163. /**
  164. * Add the correct display in iOS 4-7.
  165. */
  166. audio:not([controls]) {
  167. display: none;
  168. height: 0;
  169. }
  170. /**
  171. * Remove the border on images inside links in IE 10-.
  172. */
  173. img {
  174. border-style: none;
  175. }
  176. /**
  177. * Hide the overflow in IE.
  178. */
  179. svg:not(:root) {
  180. overflow: hidden;
  181. }
  182. /* Forms
  183. ========================================================================== */
  184. /**
  185. * 1. Change the font styles in all browsers (opinionated).
  186. * 2. Remove the margin in Firefox and Safari.
  187. */
  188. button,
  189. input,
  190. optgroup,
  191. select,
  192. textarea {
  193. font-family: sans-serif; /* 1 */
  194. font-size: 100%; /* 1 */
  195. line-height: 1.15; /* 1 */
  196. margin: 0; /* 2 */
  197. }
  198. /**
  199. * Show the overflow in IE.
  200. * 1. Show the overflow in Edge.
  201. */
  202. button,
  203. input { /* 1 */
  204. overflow: visible;
  205. }
  206. /**
  207. * Remove the inheritance of text transform in Edge, Firefox, and IE.
  208. * 1. Remove the inheritance of text transform in Firefox.
  209. */
  210. button,
  211. select { /* 1 */
  212. text-transform: none;
  213. }
  214. /**
  215. * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
  216. * controls in Android 4.
  217. * 2. Correct the inability to style clickable types in iOS and Safari.
  218. */
  219. button,
  220. html [type="button"], /* 1 */
  221. [type="reset"],
  222. [type="submit"] {
  223. -webkit-appearance: button; /* 2 */
  224. }
  225. /**
  226. * Remove the inner border and padding in Firefox.
  227. */
  228. button::-moz-focus-inner,
  229. [type="button"]::-moz-focus-inner,
  230. [type="reset"]::-moz-focus-inner,
  231. [type="submit"]::-moz-focus-inner {
  232. border-style: none;
  233. padding: 0;
  234. }
  235. /**
  236. * Restore the focus styles unset by the previous rule.
  237. */
  238. button:-moz-focusring,
  239. [type="button"]:-moz-focusring,
  240. [type="reset"]:-moz-focusring,
  241. [type="submit"]:-moz-focusring {
  242. outline: 1px dotted ButtonText;
  243. }
  244. /**
  245. * Correct the padding in Firefox.
  246. */
  247. fieldset {
  248. padding: 0.35em 0.75em 0.625em;
  249. }
  250. /**
  251. * 1. Correct the text wrapping in Edge and IE.
  252. * 2. Correct the color inheritance from `fieldset` elements in IE.
  253. * 3. Remove the padding so developers are not caught out when they zero out
  254. * `fieldset` elements in all browsers.
  255. */
  256. legend {
  257. box-sizing: border-box; /* 1 */
  258. color: inherit; /* 2 */
  259. display: table; /* 1 */
  260. max-width: 100%; /* 1 */
  261. padding: 0; /* 3 */
  262. white-space: normal; /* 1 */
  263. }
  264. /**
  265. * 1. Add the correct display in IE 9-.
  266. * 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
  267. */
  268. progress {
  269. display: inline-block; /* 1 */
  270. vertical-align: baseline; /* 2 */
  271. }
  272. /**
  273. * Remove the default vertical scrollbar in IE.
  274. */
  275. textarea {
  276. overflow: auto;
  277. }
  278. /**
  279. * 1. Add the correct box sizing in IE 10-.
  280. * 2. Remove the padding in IE 10-.
  281. */
  282. [type="checkbox"],
  283. [type="radio"] {
  284. box-sizing: border-box; /* 1 */
  285. padding: 0; /* 2 */
  286. }
  287. /**
  288. * Correct the cursor style of increment and decrement buttons in Chrome.
  289. */
  290. [type="number"]::-webkit-inner-spin-button,
  291. [type="number"]::-webkit-outer-spin-button {
  292. height: auto;
  293. }
  294. /**
  295. * 1. Correct the odd appearance in Chrome and Safari.
  296. * 2. Correct the outline style in Safari.
  297. */
  298. [type="search"] {
  299. -webkit-appearance: textfield; /* 1 */
  300. outline-offset: -2px; /* 2 */
  301. }
  302. /**
  303. * Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
  304. */
  305. [type="search"]::-webkit-search-cancel-button,
  306. [type="search"]::-webkit-search-decoration {
  307. -webkit-appearance: none;
  308. }
  309. /**
  310. * 1. Correct the inability to style clickable types in iOS and Safari.
  311. * 2. Change font properties to `inherit` in Safari.
  312. */
  313. ::-webkit-file-upload-button {
  314. -webkit-appearance: button; /* 1 */
  315. font: inherit; /* 2 */
  316. }
  317. /* Interactive
  318. ========================================================================== */
  319. /*
  320. * Add the correct display in IE 9-.
  321. * 1. Add the correct display in Edge, IE, and Firefox.
  322. */
  323. details, /* 1 */
  324. menu {
  325. display: block;
  326. }
  327. /*
  328. * Add the correct display in all browsers.
  329. */
  330. summary {
  331. display: list-item;
  332. }
  333. /* Scripting
  334. ========================================================================== */
  335. /**
  336. * Add the correct display in IE 9-.
  337. */
  338. canvas {
  339. display: inline-block;
  340. }
  341. /**
  342. * Add the correct display in IE.
  343. */
  344. template {
  345. display: none;
  346. }
  347. /* Hidden
  348. ========================================================================== */
  349. /**
  350. * Add the correct display in IE 10-.
  351. */
  352. [hidden] {
  353. display: none;
  354. }