_reset.scss 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377
  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. vertical-align: bottom;
  143. }
  144. /* Forms
  145. ========================================================================== */
  146. /**
  147. * 1. Change the font styles in all browsers.
  148. * 2. Remove the margin in Firefox and Safari.
  149. */
  150. button,
  151. input,
  152. optgroup,
  153. select,
  154. textarea {
  155. font-family: inherit; /* 1 */
  156. font-size: 100%; /* 1 */
  157. line-height: 1.15; /* 1 */
  158. margin: 0; /* 2 */
  159. }
  160. /**
  161. * Show the overflow in IE.
  162. * 1. Show the overflow in Edge.
  163. */
  164. button,
  165. input { /* 1 */
  166. overflow: visible;
  167. }
  168. /**
  169. * Remove the inheritance of text transform in Edge, Firefox, and IE.
  170. * 1. Remove the inheritance of text transform in Firefox.
  171. */
  172. button,
  173. select { /* 1 */
  174. text-transform: none;
  175. }
  176. /**
  177. * Correct the inability to style clickable types in iOS and Safari.
  178. */
  179. button,
  180. [type="button"],
  181. [type="reset"],
  182. [type="submit"] {
  183. -webkit-appearance: button;
  184. }
  185. /**
  186. * Remove the inner border and padding in Firefox.
  187. */
  188. button::-moz-focus-inner,
  189. [type="button"]::-moz-focus-inner,
  190. [type="reset"]::-moz-focus-inner,
  191. [type="submit"]::-moz-focus-inner {
  192. border-style: none;
  193. padding: 0;
  194. }
  195. /**
  196. * Restore the focus styles unset by the previous rule.
  197. */
  198. button:-moz-focusring,
  199. [type="button"]:-moz-focusring,
  200. [type="reset"]:-moz-focusring,
  201. [type="submit"]:-moz-focusring {
  202. outline: 1px dotted ButtonText;
  203. }
  204. /**
  205. * Correct the padding in Firefox.
  206. */
  207. fieldset {
  208. padding: 0.35em 0.75em 0.625em;
  209. }
  210. /**
  211. * 1. Correct the text wrapping in Edge and IE.
  212. * 2. Correct the color inheritance from `fieldset` elements in IE.
  213. * 3. Remove the padding so developers are not caught out when they zero out
  214. * `fieldset` elements in all browsers.
  215. */
  216. legend {
  217. -webkit-box-sizing: border-box;
  218. box-sizing: border-box; /* 1 */
  219. color: inherit; /* 2 */
  220. display: table; /* 1 */
  221. max-width: 100%; /* 1 */
  222. padding: 0; /* 3 */
  223. white-space: normal; /* 1 */
  224. }
  225. /**
  226. * Add the correct vertical alignment in Chrome, Firefox, and Opera.
  227. */
  228. progress {
  229. vertical-align: baseline;
  230. }
  231. /**
  232. * Remove the default vertical scrollbar in IE 10+.
  233. */
  234. textarea {
  235. overflow: auto;
  236. }
  237. /**
  238. * 1. Add the correct box sizing in IE 10.
  239. * 2. Remove the padding in IE 10.
  240. */
  241. [type="checkbox"],
  242. [type="radio"] {
  243. -webkit-box-sizing: border-box;
  244. box-sizing: border-box; /* 1 */
  245. padding: 0; /* 2 */
  246. }
  247. /**
  248. * Correct the cursor style of increment and decrement buttons in Chrome.
  249. */
  250. [type="number"]::-webkit-inner-spin-button,
  251. [type="number"]::-webkit-outer-spin-button {
  252. height: auto;
  253. }
  254. /**
  255. * 1. Correct the odd appearance in Chrome and Safari.
  256. * 2. Correct the outline style in Safari.
  257. */
  258. [type="search"] {
  259. -webkit-appearance: textfield; /* 1 */
  260. outline-offset: -2px; /* 2 */
  261. }
  262. /**
  263. * Remove the inner padding in Chrome and Safari on macOS.
  264. */
  265. [type="search"]::-webkit-search-decoration {
  266. -webkit-appearance: none;
  267. }
  268. /**
  269. * 1. Correct the inability to style clickable types in iOS and Safari.
  270. * 2. Change font properties to `inherit` in Safari.
  271. */
  272. ::-webkit-file-upload-button {
  273. -webkit-appearance: button; /* 1 */
  274. font: inherit; /* 2 */
  275. }
  276. /* Interactive
  277. ========================================================================== */
  278. /*
  279. * Add the correct display in Edge, IE 10+, and Firefox.
  280. */
  281. details {
  282. display: block;
  283. }
  284. /*
  285. * Add the correct display in all browsers.
  286. */
  287. summary {
  288. display: list-item;
  289. }
  290. /* Misc
  291. ========================================================================== */
  292. /**
  293. * Add the correct display in IE 10+.
  294. */
  295. template {
  296. display: none;
  297. }
  298. /**
  299. * Add the correct display in IE 10.
  300. */
  301. [hidden] {
  302. display: none;
  303. }