_reset.scss 6.7 KB

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