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.

424 lines
7.4 KiB

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