Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 
 
 
 

428 Zeilen
7.6 KiB

  1. /*! normalize.scss v0.1.0 | MIT License | based on git.io/normalize */
  2. /**
  3. * 1. Set default font family to sans-serif.
  4. * 2. Prevent iOS text size adjust after orientation change, without disabling
  5. * user zoom.
  6. */
  7. html {
  8. font-family: sans-serif; /* 1 */
  9. -ms-text-size-adjust: 100%; /* 2 */
  10. -webkit-text-size-adjust: 100%; /* 2 */
  11. }
  12. /**
  13. * Remove default margin.
  14. */
  15. body {
  16. margin: 0;
  17. }
  18. /* HTML5 display definitions
  19. ========================================================================== */
  20. /**
  21. * Correct `block` display not defined for any HTML5 element in IE 8/9.
  22. * Correct `block` display not defined for `details` or `summary` in IE 10/11
  23. * and Firefox.
  24. * Correct `block` display not defined for `main` in IE 11.
  25. */
  26. article,
  27. aside,
  28. details,
  29. figcaption,
  30. figure,
  31. footer,
  32. header,
  33. hgroup,
  34. main,
  35. menu,
  36. nav,
  37. section,
  38. summary {
  39. display: block;
  40. }
  41. /**
  42. * 1. Correct `inline-block` display not defined in IE 8/9.
  43. * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
  44. */
  45. audio,
  46. canvas,
  47. progress,
  48. video {
  49. display: inline-block; /* 1 */
  50. vertical-align: baseline; /* 2 */
  51. }
  52. /**
  53. * Prevent modern browsers from displaying `audio` without controls.
  54. * Remove excess height in iOS 5 devices.
  55. */
  56. audio:not([controls]) {
  57. display: none;
  58. height: 0;
  59. }
  60. /**
  61. * Address `[hidden]` styling not present in IE 8/9/10.
  62. * Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
  63. */
  64. [hidden],
  65. template {
  66. display: none;
  67. }
  68. /* Links
  69. ========================================================================== */
  70. /**
  71. * Remove the gray background color from active links in IE 10.
  72. */
  73. a {
  74. background-color: transparent;
  75. }
  76. /**
  77. * Improve readability when focused and also mouse hovered in all browsers.
  78. */
  79. a:active,
  80. a:hover {
  81. outline: 0;
  82. }
  83. /* Text-level semantics
  84. ========================================================================== */
  85. /**
  86. * Address styling not present in IE 8/9/10/11, Safari, and Chrome.
  87. */
  88. abbr[title] {
  89. border-bottom: 1px dotted;
  90. }
  91. /**
  92. * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
  93. */
  94. b,
  95. strong {
  96. font-weight: bold;
  97. }
  98. /**
  99. * Address styling not present in Safari and Chrome.
  100. */
  101. dfn {
  102. font-style: italic;
  103. }
  104. /**
  105. * Address variable `h1` font-size and margin within `section` and `article`
  106. * contexts in Firefox 4+, Safari, and Chrome.
  107. */
  108. h1 {
  109. font-size: 2em;
  110. margin: 0.67em 0;
  111. }
  112. /**
  113. * Address styling not present in IE 8/9.
  114. */
  115. mark {
  116. background: #ff0;
  117. color: #000;
  118. }
  119. /**
  120. * Address inconsistent and variable font size in all browsers.
  121. */
  122. small {
  123. font-size: 80%;
  124. }
  125. /**
  126. * Prevent `sub` and `sup` affecting `line-height` in all browsers.
  127. */
  128. sub,
  129. sup {
  130. font-size: 75%;
  131. line-height: 0;
  132. position: relative;
  133. vertical-align: baseline;
  134. }
  135. sup {
  136. top: -0.5em;
  137. }
  138. sub {
  139. bottom: -0.25em;
  140. }
  141. /* Embedded content
  142. ========================================================================== */
  143. /**
  144. * Remove border when inside `a` element in IE 8/9/10.
  145. */
  146. img {
  147. border: 0;
  148. }
  149. /**
  150. * Correct overflow not hidden in IE 9/10/11.
  151. */
  152. svg:not(:root) {
  153. overflow: hidden;
  154. }
  155. /* Grouping content
  156. ========================================================================== */
  157. /**
  158. * Address margin not present in IE 8/9 and Safari.
  159. */
  160. figure {
  161. margin: 1em 40px;
  162. }
  163. /**
  164. * Address differences between Firefox and other browsers.
  165. */
  166. hr {
  167. -moz-box-sizing: content-box;
  168. box-sizing: content-box;
  169. height: 0;
  170. }
  171. /**
  172. * Contain overflow in all browsers.
  173. */
  174. pre {
  175. overflow: auto;
  176. }
  177. /**
  178. * Address odd `em`-unit font size rendering in all browsers.
  179. */
  180. code,
  181. kbd,
  182. pre,
  183. samp {
  184. font-family: monospace, monospace;
  185. font-size: 1em;
  186. }
  187. /* Forms
  188. ========================================================================== */
  189. /**
  190. * Known limitation: by default, Chrome and Safari on OS X allow very limited
  191. * styling of `select`, unless a `border` property is set.
  192. */
  193. /**
  194. * 1. Correct color not being inherited.
  195. * Known issue: affects color of disabled elements.
  196. * 2. Correct font properties not being inherited.
  197. * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
  198. */
  199. button,
  200. input,
  201. optgroup,
  202. select,
  203. textarea {
  204. color: inherit; /* 1 */
  205. font: inherit; /* 2 */
  206. margin: 0; /* 3 */
  207. }
  208. /**
  209. * Address `overflow` set to `hidden` in IE 8/9/10/11.
  210. */
  211. button {
  212. overflow: visible;
  213. }
  214. /**
  215. * Address inconsistent `text-transform` inheritance for `button` and `select`.
  216. * All other form control elements do not inherit `text-transform` values.
  217. * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
  218. * Correct `select` style inheritance in Firefox.
  219. */
  220. button,
  221. select {
  222. text-transform: none;
  223. }
  224. /**
  225. * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
  226. * and `video` controls.
  227. * 2. Correct inability to style clickable `input` types in iOS.
  228. * 3. Improve usability and consistency of cursor style between image-type
  229. * `input` and others.
  230. */
  231. button,
  232. html input[type="button"], /* 1 */
  233. input[type="reset"],
  234. input[type="submit"] {
  235. -webkit-appearance: button; /* 2 */
  236. cursor: pointer; /* 3 */
  237. }
  238. /**
  239. * Re-set default cursor for disabled elements.
  240. */
  241. button[disabled],
  242. html input[disabled] {
  243. cursor: default;
  244. }
  245. /**
  246. * Remove inner padding and border in Firefox 4+.
  247. */
  248. button::-moz-focus-inner,
  249. input::-moz-focus-inner {
  250. border: 0;
  251. padding: 0;
  252. }
  253. /**
  254. * Address Firefox 4+ setting `line-height` on `input` using `!important` in
  255. * the UA stylesheet.
  256. */
  257. input {
  258. line-height: normal;
  259. }
  260. /**
  261. * It's recommended that you don't attempt to style these elements.
  262. * Firefox's implementation doesn't respect box-sizing, padding, or width.
  263. *
  264. * 1. Address box sizing set to `content-box` in IE 8/9/10.
  265. * 2. Remove excess padding in IE 8/9/10.
  266. */
  267. input[type="checkbox"],
  268. input[type="radio"] {
  269. box-sizing: border-box; /* 1 */
  270. padding: 0; /* 2 */
  271. }
  272. /**
  273. * Fix the cursor style for Chrome's increment/decrement buttons. For certain
  274. * `font-size` values of the `input`, it causes the cursor style of the
  275. * decrement button to change from `default` to `text`.
  276. */
  277. input[type="number"]::-webkit-inner-spin-button,
  278. input[type="number"]::-webkit-outer-spin-button {
  279. height: auto;
  280. }
  281. /**
  282. * 1. Address `appearance` set to `searchfield` in Safari and Chrome.
  283. * 2. Address `box-sizing` set to `border-box` in Safari and Chrome
  284. * (include `-moz` to future-proof).
  285. */
  286. input[type="search"] {
  287. -webkit-appearance: textfield; /* 1 */
  288. -moz-box-sizing: content-box;
  289. -webkit-box-sizing: content-box; /* 2 */
  290. box-sizing: content-box;
  291. }
  292. /**
  293. * Remove inner padding and search cancel button in Safari and Chrome on OS X.
  294. * Safari (but not Chrome) clips the cancel button when the search input has
  295. * padding (and `textfield` appearance).
  296. */
  297. input[type="search"]::-webkit-search-cancel-button,
  298. input[type="search"]::-webkit-search-decoration {
  299. -webkit-appearance: none;
  300. }
  301. /**
  302. * Define consistent border, margin, and padding.
  303. */
  304. fieldset {
  305. border: 1px solid #c0c0c0;
  306. margin: 0 2px;
  307. padding: 0.35em 0.625em 0.75em;
  308. }
  309. /**
  310. * 1. Correct `color` not being inherited in IE 8/9/10/11.
  311. * 2. Remove padding so people aren't caught out if they zero out fieldsets.
  312. */
  313. legend {
  314. border: 0; /* 1 */
  315. padding: 0; /* 2 */
  316. }
  317. /**
  318. * Remove default vertical scrollbar in IE 8/9/10/11.
  319. */
  320. textarea {
  321. overflow: auto;
  322. }
  323. /**
  324. * Don't inherit the `font-weight` (applied by a rule above).
  325. * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
  326. */
  327. optgroup {
  328. font-weight: bold;
  329. }
  330. /* Tables
  331. ========================================================================== */
  332. /**
  333. * Remove most spacing between table cells.
  334. */
  335. table {
  336. border-collapse: collapse;
  337. border-spacing: 0;
  338. }
  339. td,
  340. th {
  341. padding: 0;
  342. }