_reset.scss 6.5 KB

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