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.

405 lines
7.4 KiB

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