_reset.scss 6.4 KB

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