_reset.scss 6.3 KB

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