_reset.scss 6.6 KB

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