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.

429 lines
8.3 KiB

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