SCSS Framework (Beta)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

350 lines
6.0 KiB

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