_reset.scss 6.5 KB

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