reset.css 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485
  1. /*!
  2. * # Semantic UI 2.3.3 - Reset
  3. * http://github.com/semantic-org/semantic-ui/
  4. *
  5. *
  6. * Released under the MIT license
  7. * http://opensource.org/licenses/MIT
  8. *
  9. */
  10. /*******************************
  11. Reset
  12. *******************************/
  13. /* Border-Box */
  14. *,
  15. *:before,
  16. *:after {
  17. -webkit-box-sizing: inherit;
  18. box-sizing: inherit;
  19. }
  20. html {
  21. -webkit-box-sizing: border-box;
  22. box-sizing: border-box;
  23. }
  24. /* iPad Input Shadows */
  25. input[type="text"],
  26. input[type="email"],
  27. input[type="search"],
  28. input[type="password"] {
  29. -webkit-appearance: none;
  30. -moz-appearance: none;
  31. /* mobile firefox too! */
  32. }
  33. /*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */
  34. /* Document
  35. ========================================================================== */
  36. /**
  37. * 1. Correct the line height in all browsers.
  38. * 2. Prevent adjustments of font size after orientation changes in
  39. * IE on Windows Phone and in iOS.
  40. */
  41. html {
  42. line-height: 1.15;
  43. /* 1 */
  44. -ms-text-size-adjust: 100%;
  45. /* 2 */
  46. -webkit-text-size-adjust: 100%;
  47. /* 2 */
  48. }
  49. /* Sections
  50. ========================================================================== */
  51. /**
  52. * Remove the margin in all browsers (opinionated).
  53. */
  54. body {
  55. margin: 0;
  56. }
  57. /**
  58. * Add the correct display in IE 9-.
  59. */
  60. article,
  61. aside,
  62. footer,
  63. header,
  64. nav,
  65. section {
  66. display: block;
  67. }
  68. /**
  69. * Correct the font size and margin on `h1` elements within `section` and
  70. * `article` contexts in Chrome, Firefox, and Safari.
  71. */
  72. h1 {
  73. font-size: 2em;
  74. margin: 0.67em 0;
  75. }
  76. /* Grouping content
  77. ========================================================================== */
  78. /**
  79. * Add the correct display in IE 9-.
  80. * 1. Add the correct display in IE.
  81. */
  82. figcaption,
  83. figure,
  84. main {
  85. /* 1 */
  86. display: block;
  87. }
  88. /**
  89. * Add the correct margin in IE 8.
  90. */
  91. figure {
  92. margin: 1em 40px;
  93. }
  94. /**
  95. * 1. Add the correct box sizing in Firefox.
  96. * 2. Show the overflow in Edge and IE.
  97. */
  98. hr {
  99. -webkit-box-sizing: content-box;
  100. box-sizing: content-box;
  101. /* 1 */
  102. height: 0;
  103. /* 1 */
  104. overflow: visible;
  105. /* 2 */
  106. }
  107. /**
  108. * 1. Correct the inheritance and scaling of font size in all browsers.
  109. * 2. Correct the odd `em` font sizing in all browsers.
  110. */
  111. pre {
  112. font-family: monospace, monospace;
  113. /* 1 */
  114. font-size: 1em;
  115. /* 2 */
  116. }
  117. /* Text-level semantics
  118. ========================================================================== */
  119. /**
  120. * 1. Remove the gray background on active links in IE 10.
  121. * 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
  122. */
  123. a {
  124. background-color: transparent;
  125. /* 1 */
  126. -webkit-text-decoration-skip: objects;
  127. /* 2 */
  128. }
  129. /**
  130. * 1. Remove the bottom border in Chrome 57- and Firefox 39-.
  131. * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
  132. */
  133. abbr[title] {
  134. border-bottom: none;
  135. /* 1 */
  136. text-decoration: underline;
  137. /* 2 */
  138. -webkit-text-decoration: underline dotted;
  139. text-decoration: underline dotted;
  140. /* 2 */
  141. }
  142. /**
  143. * Prevent the duplicate application of `bolder` by the next rule in Safari 6.
  144. */
  145. b,
  146. strong {
  147. font-weight: inherit;
  148. }
  149. /**
  150. * Add the correct font weight in Chrome, Edge, and Safari.
  151. */
  152. b,
  153. strong {
  154. font-weight: bolder;
  155. }
  156. /**
  157. * 1. Correct the inheritance and scaling of font size in all browsers.
  158. * 2. Correct the odd `em` font sizing in all browsers.
  159. */
  160. code,
  161. kbd,
  162. samp {
  163. font-family: monospace, monospace;
  164. /* 1 */
  165. font-size: 1em;
  166. /* 2 */
  167. }
  168. /**
  169. * Add the correct font style in Android 4.3-.
  170. */
  171. dfn {
  172. font-style: italic;
  173. }
  174. /**
  175. * Add the correct background and color in IE 9-.
  176. */
  177. mark {
  178. background-color: #ff0;
  179. color: #000;
  180. }
  181. /**
  182. * Add the correct font size in all browsers.
  183. */
  184. small {
  185. font-size: 80%;
  186. }
  187. /**
  188. * Prevent `sub` and `sup` elements from affecting the line height in
  189. * all browsers.
  190. */
  191. sub,
  192. sup {
  193. font-size: 75%;
  194. line-height: 0;
  195. position: relative;
  196. vertical-align: baseline;
  197. }
  198. sub {
  199. bottom: -0.25em;
  200. }
  201. sup {
  202. top: -0.5em;
  203. }
  204. /* Embedded content
  205. ========================================================================== */
  206. /**
  207. * Add the correct display in IE 9-.
  208. */
  209. audio,
  210. video {
  211. display: inline-block;
  212. }
  213. /**
  214. * Add the correct display in iOS 4-7.
  215. */
  216. audio:not([controls]) {
  217. display: none;
  218. height: 0;
  219. }
  220. /**
  221. * Remove the border on images inside links in IE 10-.
  222. */
  223. img {
  224. border-style: none;
  225. }
  226. /**
  227. * Hide the overflow in IE.
  228. */
  229. svg:not(:root) {
  230. overflow: hidden;
  231. }
  232. /* Forms
  233. ========================================================================== */
  234. /**
  235. * 1. Change the font styles in all browsers (opinionated).
  236. * 2. Remove the margin in Firefox and Safari.
  237. */
  238. button,
  239. input,
  240. optgroup,
  241. select,
  242. textarea {
  243. font-family: sans-serif;
  244. /* 1 */
  245. font-size: 100%;
  246. /* 1 */
  247. line-height: 1.15;
  248. /* 1 */
  249. margin: 0;
  250. /* 2 */
  251. }
  252. /**
  253. * Show the overflow in IE.
  254. * 1. Show the overflow in Edge.
  255. */
  256. button,
  257. input {
  258. /* 1 */
  259. overflow: visible;
  260. }
  261. /**
  262. * Remove the inheritance of text transform in Edge, Firefox, and IE.
  263. * 1. Remove the inheritance of text transform in Firefox.
  264. */
  265. button,
  266. select {
  267. /* 1 */
  268. text-transform: none;
  269. }
  270. /**
  271. * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
  272. * controls in Android 4.
  273. * 2. Correct the inability to style clickable types in iOS and Safari.
  274. */
  275. button,
  276. html [type="button"],
  277. [type="reset"],
  278. [type="submit"] {
  279. -webkit-appearance: button;
  280. /* 2 */
  281. }
  282. /**
  283. * Remove the inner border and padding in Firefox.
  284. */
  285. button::-moz-focus-inner,
  286. [type="button"]::-moz-focus-inner,
  287. [type="reset"]::-moz-focus-inner,
  288. [type="submit"]::-moz-focus-inner {
  289. border-style: none;
  290. padding: 0;
  291. }
  292. /**
  293. * Restore the focus styles unset by the previous rule.
  294. */
  295. button:-moz-focusring,
  296. [type="button"]:-moz-focusring,
  297. [type="reset"]:-moz-focusring,
  298. [type="submit"]:-moz-focusring {
  299. outline: 1px dotted ButtonText;
  300. }
  301. /**
  302. * Correct the padding in Firefox.
  303. */
  304. fieldset {
  305. padding: 0.35em 0.75em 0.625em;
  306. }
  307. /**
  308. * 1. Correct the text wrapping in Edge and IE.
  309. * 2. Correct the color inheritance from `fieldset` elements in IE.
  310. * 3. Remove the padding so developers are not caught out when they zero out
  311. * `fieldset` elements in all browsers.
  312. */
  313. legend {
  314. -webkit-box-sizing: border-box;
  315. box-sizing: border-box;
  316. /* 1 */
  317. color: inherit;
  318. /* 2 */
  319. display: table;
  320. /* 1 */
  321. max-width: 100%;
  322. /* 1 */
  323. padding: 0;
  324. /* 3 */
  325. white-space: normal;
  326. /* 1 */
  327. }
  328. /**
  329. * 1. Add the correct display in IE 9-.
  330. * 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
  331. */
  332. progress {
  333. display: inline-block;
  334. /* 1 */
  335. vertical-align: baseline;
  336. /* 2 */
  337. }
  338. /**
  339. * Remove the default vertical scrollbar in IE.
  340. */
  341. textarea {
  342. overflow: auto;
  343. }
  344. /**
  345. * 1. Add the correct box sizing in IE 10-.
  346. * 2. Remove the padding in IE 10-.
  347. */
  348. [type="checkbox"],
  349. [type="radio"] {
  350. -webkit-box-sizing: border-box;
  351. box-sizing: border-box;
  352. /* 1 */
  353. padding: 0;
  354. /* 2 */
  355. }
  356. /**
  357. * Correct the cursor style of increment and decrement buttons in Chrome.
  358. */
  359. [type="number"]::-webkit-inner-spin-button,
  360. [type="number"]::-webkit-outer-spin-button {
  361. height: auto;
  362. }
  363. /**
  364. * 1. Correct the odd appearance in Chrome and Safari.
  365. * 2. Correct the outline style in Safari.
  366. */
  367. [type="search"] {
  368. -webkit-appearance: textfield;
  369. /* 1 */
  370. outline-offset: -2px;
  371. /* 2 */
  372. }
  373. /**
  374. * Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
  375. */
  376. [type="search"]::-webkit-search-cancel-button,
  377. [type="search"]::-webkit-search-decoration {
  378. -webkit-appearance: none;
  379. }
  380. /**
  381. * 1. Correct the inability to style clickable types in iOS and Safari.
  382. * 2. Change font properties to `inherit` in Safari.
  383. */
  384. ::-webkit-file-upload-button {
  385. -webkit-appearance: button;
  386. /* 1 */
  387. font: inherit;
  388. /* 2 */
  389. }
  390. /* Interactive
  391. ========================================================================== */
  392. /*
  393. * Add the correct display in IE 9-.
  394. * 1. Add the correct display in Edge, IE, and Firefox.
  395. */
  396. details,
  397. menu {
  398. display: block;
  399. }
  400. /*
  401. * Add the correct display in all browsers.
  402. */
  403. summary {
  404. display: list-item;
  405. }
  406. /* Scripting
  407. ========================================================================== */
  408. /**
  409. * Add the correct display in IE 9-.
  410. */
  411. canvas {
  412. display: inline-block;
  413. }
  414. /**
  415. * Add the correct display in IE.
  416. */
  417. template {
  418. display: none;
  419. }
  420. /* Hidden
  421. ========================================================================== */
  422. /**
  423. * Add the correct display in IE 10-.
  424. */
  425. [hidden] {
  426. display: none;
  427. }
  428. /*******************************
  429. Site Overrides
  430. *******************************/