2
0

_normalize.scss 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528
  1. /* stylelint-disable declaration-block-no-duplicate-properties, property-no-vendor-prefix, scale-unlimited/declaration-strict-value */
  2. /*! normalize.css v1.1.1 | MIT License | git.io/normalize */
  3. /* ==========================================================================
  4. HTML5 display definitions
  5. ========================================================================== */
  6. /**
  7. * Correct `block` display not defined in IE 6/7/8/9 and Firefox 3.
  8. */
  9. article,
  10. aside,
  11. details,
  12. figcaption,
  13. figure,
  14. footer,
  15. header,
  16. hgroup,
  17. main,
  18. nav,
  19. section,
  20. summary {
  21. display: block;
  22. }
  23. /**
  24. * Correct `inline-block` display not defined in IE 6/7/8/9 and Firefox 3.
  25. */
  26. audio,
  27. canvas,
  28. video {
  29. display: inline-block;
  30. *display: inline;
  31. *zoom: 1;
  32. }
  33. /**
  34. * Prevent modern browsers from displaying `audio` without controls.
  35. * Remove excess height in iOS 5 devices.
  36. */
  37. audio:not([controls]) {
  38. display: none;
  39. height: 0;
  40. }
  41. /**
  42. * Address styling not present in IE 7/8/9, Firefox 3, and Safari 4.
  43. * Known issue: no IE 6 support.
  44. */
  45. [hidden] {
  46. /* stylelint-disable-next-line declaration-no-important */
  47. display: none !important;
  48. }
  49. // See https://github.com/necolas/normalize.css/pull/879.
  50. [hidden='until-found'] {
  51. /* stylelint-disable-next-line declaration-no-important */
  52. display: revert !important;
  53. }
  54. /* ==========================================================================
  55. Base
  56. ========================================================================== */
  57. /**
  58. * 1. Prevent system color scheme's background color being used in Firefox, IE,
  59. * and Opera.
  60. * 2. Prevent system color scheme's text color being used in Firefox, IE, and
  61. * Opera.
  62. * 3. Correct text resizing oddly in IE 6/7 when body `font-size` is set using
  63. * `em` units.
  64. * 4. Prevent iOS text size adjust after orientation change, without disabling
  65. * user zoom.
  66. */
  67. html {
  68. background: #fff; /* 1 */
  69. color: #000; /* 2 */
  70. font-size: 100%; /* 3 */
  71. -webkit-text-size-adjust: 100%; /* 4 */
  72. -ms-text-size-adjust: 100%; /* 4 */
  73. }
  74. /**
  75. * Address `font-family` inconsistency between `textarea` and other form
  76. * elements.
  77. */
  78. html,
  79. button,
  80. input,
  81. select,
  82. textarea {
  83. font-family: inherit;
  84. }
  85. /**
  86. * Address margins handled incorrectly in IE 6/7.
  87. */
  88. body {
  89. margin: 0;
  90. }
  91. /* ==========================================================================
  92. Links
  93. ========================================================================== */
  94. /**
  95. * Address `outline` inconsistency between Chrome and other browsers.
  96. */
  97. a:focus {
  98. outline: thin dotted;
  99. }
  100. /**
  101. * Improve readability when focused and also mouse hovered in all browsers.
  102. */
  103. a:active,
  104. a:hover {
  105. outline: 0;
  106. }
  107. /* ==========================================================================
  108. Typography
  109. ========================================================================== */
  110. /**
  111. * Address font sizes and margins set differently in IE 6/7.
  112. * Address font sizes within `section` and `article` in Firefox 4+, Safari 5,
  113. * and Chrome.
  114. */
  115. h1 {
  116. font-size: 2em;
  117. margin: 0.67em 0;
  118. }
  119. h2 {
  120. font-size: 1.5em;
  121. margin: 0.83em 0;
  122. }
  123. h3 {
  124. font-size: 1.17em;
  125. margin: 1em 0;
  126. }
  127. h4 {
  128. font-size: 1em;
  129. margin: 1.33em 0;
  130. }
  131. h5 {
  132. font-size: 0.83em;
  133. margin: 1.67em 0;
  134. }
  135. h6 {
  136. font-size: 0.67em;
  137. margin: 2.33em 0;
  138. }
  139. /**
  140. * Address styling not present in IE 7/8/9, Safari 5, and Chrome.
  141. */
  142. abbr[title] {
  143. border-bottom: 1px dotted;
  144. }
  145. /**
  146. * Address style set to `bolder` in Firefox 3+, Safari 4/5, and Chrome.
  147. */
  148. b,
  149. strong {
  150. font-weight: bold;
  151. }
  152. blockquote {
  153. margin: 1em 40px;
  154. }
  155. /**
  156. * Address styling not present in Safari 5 and Chrome.
  157. */
  158. dfn {
  159. font-style: italic;
  160. }
  161. /**
  162. * Address differences between Firefox and other browsers.
  163. * Known issue: no IE 6/7 normalization.
  164. */
  165. hr {
  166. -moz-box-sizing: content-box;
  167. box-sizing: content-box;
  168. height: 0;
  169. }
  170. /**
  171. * Address styling not present in IE 6/7/8/9.
  172. */
  173. mark {
  174. background: #ff0;
  175. color: #000;
  176. }
  177. /**
  178. * Address margins set differently in IE 6/7.
  179. */
  180. p,
  181. pre {
  182. margin: 1em 0;
  183. }
  184. /**
  185. * Correct font family set oddly in IE 6, Safari 4/5, and Chrome.
  186. */
  187. code,
  188. kbd,
  189. pre,
  190. samp {
  191. font-size: 1em;
  192. }
  193. /**
  194. * Improve readability of pre-formatted text in all browsers.
  195. */
  196. pre {
  197. white-space: pre;
  198. white-space: pre-wrap;
  199. word-wrap: break-word;
  200. }
  201. /**
  202. * Address CSS quotes not supported in IE 6/7.
  203. */
  204. q {
  205. quotes: none;
  206. }
  207. /**
  208. * Address `quotes` property not supported in Safari 4.
  209. */
  210. q:before,
  211. q:after {
  212. content: '';
  213. content: none;
  214. }
  215. /**
  216. * Address inconsistent and variable font size in all browsers.
  217. */
  218. small {
  219. font-size: 80%;
  220. }
  221. /**
  222. * Prevent `sub` and `sup` affecting `line-height` in all browsers.
  223. */
  224. sub,
  225. sup {
  226. font-size: 75%;
  227. line-height: 0;
  228. position: relative;
  229. vertical-align: baseline;
  230. }
  231. sup {
  232. top: -0.5em;
  233. }
  234. sub {
  235. bottom: -0.25em;
  236. }
  237. /* ==========================================================================
  238. Lists
  239. ========================================================================== */
  240. /**
  241. * Address margins set differently in IE 6/7.
  242. */
  243. dl,
  244. menu,
  245. ol,
  246. ul {
  247. margin: 1em 0;
  248. }
  249. dd {
  250. margin: 0 0 0 40px;
  251. }
  252. /**
  253. * Address paddings set differently in IE 6/7.
  254. */
  255. menu,
  256. ol,
  257. ul {
  258. padding: 0 0 0 40px;
  259. }
  260. /**
  261. * Correct list images handled incorrectly in IE 7.
  262. */
  263. nav ul,
  264. nav ol {
  265. list-style: none;
  266. list-style-image: none;
  267. }
  268. /* ==========================================================================
  269. Embedded content
  270. ========================================================================== */
  271. /**
  272. * 1. Remove border when inside `a` element in IE 6/7/8/9 and Firefox 3.
  273. * 2. Improve image quality when scaled in IE 7.
  274. */
  275. img {
  276. border: 0; /* 1 */
  277. -ms-interpolation-mode: bicubic; /* 2 */
  278. }
  279. /**
  280. * Correct overflow displayed oddly in IE 9.
  281. */
  282. svg:not(:root) {
  283. overflow: hidden;
  284. }
  285. /* ==========================================================================
  286. Figures
  287. ========================================================================== */
  288. /**
  289. * Address margin not present in IE 6/7/8/9, Safari 5, and Opera 11.
  290. */
  291. figure {
  292. margin: 0;
  293. }
  294. /* ==========================================================================
  295. Forms
  296. ========================================================================== */
  297. /**
  298. * Correct margin displayed oddly in IE 6/7.
  299. */
  300. form {
  301. margin: 0;
  302. }
  303. /**
  304. * Define consistent border, margin, and padding.
  305. */
  306. fieldset {
  307. border: 1px solid #c0c0c0;
  308. margin: 0 2px;
  309. padding: 0.35em 0.625em 0.75em;
  310. }
  311. /**
  312. * 1. Correct color not being inherited in IE 6/7/8/9.
  313. * 2. Correct text not wrapping in Firefox 3.
  314. * 3. Correct alignment displayed oddly in IE 6/7.
  315. */
  316. legend {
  317. border: 0; /* 1 */
  318. padding: 0;
  319. white-space: normal; /* 2 */
  320. *margin-inline-start: -7px; /* 3 */
  321. }
  322. /**
  323. * 1. Correct font size not being inherited in all browsers.
  324. * 2. Address margins set differently in IE 6/7, Firefox 3+, Safari 5,
  325. * and Chrome.
  326. * 3. Improve appearance and consistency in all browsers.
  327. */
  328. button,
  329. input,
  330. select,
  331. textarea {
  332. font-size: 100%; /* 1 */
  333. margin: 0; /* 2 */
  334. vertical-align: baseline; /* 3 */
  335. *vertical-align: middle; /* 3 */
  336. }
  337. /**
  338. * Address Firefox 3+ setting `line-height` on `input` using `!important` in
  339. * the UA stylesheet.
  340. */
  341. button,
  342. input {
  343. line-height: normal;
  344. }
  345. /**
  346. * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
  347. * and `video` controls.
  348. * 2. Correct inability to style clickable `input` types in iOS.
  349. * 3. Improve usability and consistency of cursor style between image-type
  350. * `input` and others.
  351. * 4. Remove inner spacing in IE 7 without affecting normal text inputs.
  352. * Known issue: inner spacing remains in IE 6.
  353. */
  354. button,
  355. html input[type="button"], /* 1 */
  356. input[type="reset"],
  357. input[type="submit"] {
  358. -webkit-appearance: button; /* 2 */
  359. cursor: pointer; /* 3 */
  360. *overflow: visible; /* 4 */
  361. }
  362. /**
  363. * 1. Remove excess padding in IE 8/9.
  364. * 2. Remove excess padding in IE 7.
  365. * Known issue: excess padding remains in IE 6.
  366. */
  367. input[type='checkbox'],
  368. input[type='radio'] {
  369. padding: 0; /* 1 */
  370. *height: 13px; /* 2 */
  371. *width: 13px; /* 2 */
  372. }
  373. /**
  374. * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
  375. * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
  376. * (include `-moz` to future-proof).
  377. */
  378. input[type='search'] {
  379. -webkit-appearance: textfield; /* 1 */
  380. -moz-box-sizing: content-box;
  381. -webkit-box-sizing: content-box; /* 2 */
  382. box-sizing: content-box;
  383. }
  384. /**
  385. * Remove inner padding and search cancel button in Safari 5 and Chrome
  386. * on OS X.
  387. */
  388. input[type='search']::-webkit-search-cancel-button,
  389. input[type='search']::-webkit-search-decoration {
  390. -webkit-appearance: none;
  391. }
  392. /**
  393. * Special styles to counteract Firefox's completely unwarranted assumptions
  394. * about button styles
  395. */
  396. input[type='submit'],
  397. input[type='reset'],
  398. input[type='button'],
  399. button {
  400. padding: 0 1em;
  401. }
  402. /**
  403. * Remove inner padding and border in Firefox 3+.
  404. */
  405. button::-moz-focus-inner,
  406. input::-moz-focus-inner {
  407. border: 0;
  408. padding: 0;
  409. }
  410. /**
  411. * 1. Remove default vertical scrollbar in IE 6/7/8/9.
  412. * 2. Improve readability and alignment in all browsers.
  413. */
  414. textarea {
  415. overflow: auto; /* 1 */
  416. vertical-align: top; /* 2 */
  417. }
  418. /* ==========================================================================
  419. Tables
  420. ========================================================================== */
  421. /**
  422. * Remove most spacing between table cells.
  423. */
  424. table {
  425. border-collapse: collapse;
  426. border-spacing: 0;
  427. }