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.

947 lines
20 KiB

  1. /*!
  2. * # Semantic UI 2.1.6 - Item
  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. Standard
  13. *******************************/
  14. /*--------------
  15. Card
  16. ---------------*/
  17. .ui.cards > .card,
  18. .ui.card {
  19. max-width: 100%;
  20. position: relative;
  21. display: -webkit-box;
  22. display: -webkit-flex;
  23. display: -ms-flexbox;
  24. display: flex;
  25. -webkit-box-orient: vertical;
  26. -webkit-box-direction: normal;
  27. -webkit-flex-direction: column;
  28. -ms-flex-direction: column;
  29. flex-direction: column;
  30. width: 290px;
  31. min-height: 0px;
  32. background: #FFFFFF;
  33. padding: 0em;
  34. border: none;
  35. border-radius: 0.2307em;
  36. box-shadow: 0px 1px 3px 0px #DDDDDD, 0px 0px 0px 1px #DDDDDD;
  37. -webkit-transition: box-shadow 0.1s ease, -webkit-transform 0.1s ease;
  38. transition: box-shadow 0.1s ease, transform 0.1s ease;
  39. z-index: '';
  40. }
  41. .ui.card {
  42. margin: 1em 0em;
  43. }
  44. .ui.cards > .card a,
  45. .ui.card a {
  46. cursor: pointer;
  47. }
  48. .ui.card:first-child {
  49. margin-top: 0em;
  50. }
  51. .ui.card:last-child {
  52. margin-bottom: 0em;
  53. }
  54. /*--------------
  55. Cards
  56. ---------------*/
  57. .ui.cards {
  58. display: -webkit-box;
  59. display: -webkit-flex;
  60. display: -ms-flexbox;
  61. display: flex;
  62. margin: -0.875em -0.5em;
  63. -webkit-flex-wrap: wrap;
  64. -ms-flex-wrap: wrap;
  65. flex-wrap: wrap;
  66. }
  67. .ui.cards > .card {
  68. display: -webkit-box;
  69. display: -webkit-flex;
  70. display: -ms-flexbox;
  71. display: flex;
  72. margin: 0.875em 0.5em;
  73. float: none;
  74. }
  75. /* Clearing */
  76. .ui.cards:after,
  77. .ui.card:after {
  78. display: block;
  79. content: ' ';
  80. height: 0px;
  81. clear: both;
  82. overflow: hidden;
  83. visibility: hidden;
  84. }
  85. /* Consecutive Card Groups Preserve Row Spacing */
  86. .ui.cards ~ .ui.cards {
  87. margin-top: 0.875em;
  88. }
  89. /*--------------
  90. Rounded Edges
  91. ---------------*/
  92. .ui.cards > .card > :first-child,
  93. .ui.card > :first-child {
  94. border-radius: 0.2307em 0.2307em 0em 0em !important;
  95. border-top: none !important;
  96. }
  97. .ui.cards > .card > :last-child,
  98. .ui.card > :last-child {
  99. border-radius: 0em 0em 0.2307em 0.2307em !important;
  100. }
  101. .ui.cards > .card > :only-child,
  102. .ui.card > :only-child {
  103. border-radius: 0.2307em !important;
  104. }
  105. /*--------------
  106. Images
  107. ---------------*/
  108. .ui.cards > .card > .image,
  109. .ui.card > .image {
  110. position: relative;
  111. display: block;
  112. -webkit-box-flex: 0;
  113. -webkit-flex: 0 0 auto;
  114. -ms-flex: 0 0 auto;
  115. flex: 0 0 auto;
  116. padding: 0em;
  117. background: rgba(0, 0, 0, 0.05);
  118. }
  119. .ui.cards > .card > .image > img,
  120. .ui.card > .image > img {
  121. display: block;
  122. width: 100%;
  123. height: auto;
  124. border-radius: inherit;
  125. }
  126. .ui.cards > .card > .image:not(.ui) > img,
  127. .ui.card > .image:not(.ui) > img {
  128. border: none;
  129. }
  130. /*--------------
  131. Content
  132. ---------------*/
  133. .ui.cards > .card > .content,
  134. .ui.card > .content {
  135. -webkit-box-flex: 1;
  136. -webkit-flex-grow: 1;
  137. -ms-flex-positive: 1;
  138. flex-grow: 1;
  139. border: none;
  140. border-top: 1px solid rgba(0, 0, 0, 0.06);
  141. background: none;
  142. margin: 0em;
  143. padding: 1em 1em;
  144. box-shadow: none;
  145. font-size: 1em;
  146. border-radius: 0em;
  147. }
  148. .ui.cards > .card > .content:after,
  149. .ui.card > .content:after {
  150. display: block;
  151. content: ' ';
  152. height: 0px;
  153. clear: both;
  154. overflow: hidden;
  155. visibility: hidden;
  156. }
  157. .ui.cards > .card > .content > .header,
  158. .ui.card > .content > .header {
  159. display: block;
  160. margin: '';
  161. font-family: 'Arial', 'Helvetica Neue', Arial, Helvetica, sans-serif;
  162. color: rgba(0, 0, 0, 0.85);
  163. }
  164. /* Default Header Size */
  165. .ui.cards > .card > .content > .header:not(.ui),
  166. .ui.card > .content > .header:not(.ui) {
  167. font-weight: bold;
  168. font-size: 1.30769231em;
  169. margin-top: -0.21425em;
  170. line-height: 1.2857em;
  171. }
  172. .ui.cards > .card > .content > .meta + .description,
  173. .ui.cards > .card > .content > .header + .description,
  174. .ui.card > .content > .meta + .description,
  175. .ui.card > .content > .header + .description {
  176. margin-top: 0.5em;
  177. }
  178. /*----------------
  179. Floated Content
  180. -----------------*/
  181. .ui.cards > .card [class*="left floated"],
  182. .ui.card [class*="left floated"] {
  183. float: left;
  184. }
  185. .ui.cards > .card [class*="right floated"],
  186. .ui.card [class*="right floated"] {
  187. float: right;
  188. }
  189. /*--------------
  190. Aligned
  191. ---------------*/
  192. .ui.cards > .card [class*="left aligned"],
  193. .ui.card [class*="left aligned"] {
  194. text-align: left;
  195. }
  196. .ui.cards > .card [class*="center aligned"],
  197. .ui.card [class*="center aligned"] {
  198. text-align: center;
  199. }
  200. .ui.cards > .card [class*="right aligned"],
  201. .ui.card [class*="right aligned"] {
  202. text-align: right;
  203. }
  204. /*--------------
  205. Content Image
  206. ---------------*/
  207. .ui.cards > .card .content img,
  208. .ui.card .content img {
  209. display: inline-block;
  210. vertical-align: middle;
  211. width: '';
  212. }
  213. .ui.cards > .card img.avatar,
  214. .ui.cards > .card .avatar img,
  215. .ui.card img.avatar,
  216. .ui.card .avatar img {
  217. width: 2em;
  218. height: 2em;
  219. border-radius: 500rem;
  220. }
  221. /*--------------
  222. Description
  223. ---------------*/
  224. .ui.cards > .card > .content > .description,
  225. .ui.card > .content > .description {
  226. clear: both;
  227. color: rgba(0, 0, 0, 0.68);
  228. }
  229. /*--------------
  230. Paragraph
  231. ---------------*/
  232. .ui.cards > .card > .content p,
  233. .ui.card > .content p {
  234. margin: 0em 0em 0.5em;
  235. }
  236. .ui.cards > .card > .content p:last-child,
  237. .ui.card > .content p:last-child {
  238. margin-bottom: 0em;
  239. }
  240. /*--------------
  241. Meta
  242. ---------------*/
  243. .ui.cards > .card .meta,
  244. .ui.card .meta {
  245. font-size: 1em;
  246. color: rgba(0, 0, 0, 0.4);
  247. }
  248. .ui.cards > .card .meta *,
  249. .ui.card .meta * {
  250. margin-right: 0.3em;
  251. }
  252. .ui.cards > .card .meta :last-child,
  253. .ui.card .meta :last-child {
  254. margin-right: 0em;
  255. }
  256. .ui.cards > .card .meta [class*="right floated"],
  257. .ui.card .meta [class*="right floated"] {
  258. margin-right: 0em;
  259. margin-left: 0.3em;
  260. }
  261. /*--------------
  262. Links
  263. ---------------*/
  264. /* Generic */
  265. .ui.cards > .card > .content a:not(.ui),
  266. .ui.card > .content a:not(.ui) {
  267. color: '';
  268. -webkit-transition: color 0.1s ease;
  269. transition: color 0.1s ease;
  270. }
  271. .ui.cards > .card > .content a:not(.ui):hover,
  272. .ui.card > .content a:not(.ui):hover {
  273. color: '';
  274. }
  275. /* Header */
  276. .ui.cards > .card > .content > a.header,
  277. .ui.card > .content > a.header {
  278. color: rgba(0, 0, 0, 0.85);
  279. }
  280. .ui.cards > .card > .content > a.header:hover,
  281. .ui.card > .content > a.header:hover {
  282. color: #4078C0;
  283. }
  284. /* Meta */
  285. .ui.cards > .card .meta > a:not(.ui),
  286. .ui.card .meta > a:not(.ui) {
  287. color: rgba(0, 0, 0, 0.4);
  288. }
  289. .ui.cards > .card .meta > a:not(.ui):hover,
  290. .ui.card .meta > a:not(.ui):hover {
  291. color: rgba(0, 0, 0, 0.87);
  292. }
  293. /*--------------
  294. Buttons
  295. ---------------*/
  296. .ui.cards > .card > .buttons,
  297. .ui.card > .buttons,
  298. .ui.cards > .card > .button,
  299. .ui.card > .button {
  300. margin: 0px -1px;
  301. width: calc(100% + 2px );
  302. }
  303. /*--------------
  304. Dimmer
  305. ---------------*/
  306. .ui.cards > .card .dimmer,
  307. .ui.card .dimmer {
  308. background-color: '';
  309. z-index: 10;
  310. }
  311. /*--------------
  312. Labels
  313. ---------------*/
  314. /*-----Star----- */
  315. /* Icon */
  316. .ui.cards > .card > .content .star.icon,
  317. .ui.card > .content .star.icon {
  318. cursor: pointer;
  319. opacity: 0.75;
  320. -webkit-transition: color 0.1s ease;
  321. transition: color 0.1s ease;
  322. }
  323. .ui.cards > .card > .content .star.icon:hover,
  324. .ui.card > .content .star.icon:hover {
  325. opacity: 1;
  326. color: #FFB70A;
  327. }
  328. .ui.cards > .card > .content .active.star.icon,
  329. .ui.card > .content .active.star.icon {
  330. color: #FFE623;
  331. }
  332. /*-----Like----- */
  333. /* Icon */
  334. .ui.cards > .card > .content .like.icon,
  335. .ui.card > .content .like.icon {
  336. cursor: pointer;
  337. opacity: 0.75;
  338. -webkit-transition: color 0.1s ease;
  339. transition: color 0.1s ease;
  340. }
  341. .ui.cards > .card > .content .like.icon:hover,
  342. .ui.card > .content .like.icon:hover {
  343. opacity: 1;
  344. color: #FF2733;
  345. }
  346. .ui.cards > .card > .content .active.like.icon,
  347. .ui.card > .content .active.like.icon {
  348. color: #FF2733;
  349. }
  350. /*----------------
  351. Extra Content
  352. -----------------*/
  353. .ui.cards > .card > .extra,
  354. .ui.card > .extra {
  355. max-width: 100%;
  356. min-height: 0em !important;
  357. -webkit-box-flex: 0;
  358. -webkit-flex-grow: 0;
  359. -ms-flex-positive: 0;
  360. flex-grow: 0;
  361. border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
  362. position: static;
  363. background: none;
  364. width: auto;
  365. margin: 0em 0em;
  366. padding: 0.75em 1em;
  367. top: 0em;
  368. left: 0em;
  369. color: rgba(0, 0, 0, 0.4);
  370. box-shadow: none;
  371. -webkit-transition: color 0.1s ease;
  372. transition: color 0.1s ease;
  373. }
  374. .ui.cards > .card > .extra a:not(.ui),
  375. .ui.card > .extra a:not(.ui) {
  376. color: rgba(0, 0, 0, 0.4);
  377. }
  378. .ui.cards > .card > .extra a:not(.ui):hover,
  379. .ui.card > .extra a:not(.ui):hover {
  380. color: #4078C0;
  381. }
  382. /*******************************
  383. Variations
  384. *******************************/
  385. /*-------------------
  386. Centered
  387. --------------------*/
  388. .ui.centered.cards {
  389. -webkit-box-pack: center;
  390. -webkit-justify-content: center;
  391. -ms-flex-pack: center;
  392. justify-content: center;
  393. }
  394. .ui.centered.card {
  395. margin-left: auto;
  396. margin-right: auto;
  397. }
  398. /*-------------------
  399. Fluid
  400. --------------------*/
  401. .ui.fluid.card {
  402. width: 100%;
  403. max-width: 9999px;
  404. }
  405. /*-------------------
  406. Link
  407. --------------------*/
  408. .ui.cards a.card,
  409. .ui.link.cards .card,
  410. a.ui.card,
  411. .ui.link.card {
  412. -webkit-transform: none;
  413. transform: none;
  414. }
  415. .ui.cards a.card:hover,
  416. .ui.link.cards .card:hover,
  417. a.ui.card:hover,
  418. .ui.link.card:hover {
  419. cursor: pointer;
  420. z-index: 5;
  421. background: #FFFFFF;
  422. border: none;
  423. box-shadow: 0px 1px 3px 0px #BCBDBD, 0px 0px 0px 1px #DDDDDD;
  424. -webkit-transform: translateY(-3px);
  425. transform: translateY(-3px);
  426. }
  427. /*-------------------
  428. Colors
  429. --------------------*/
  430. /* Red */
  431. .ui.red.cards > .card,
  432. .ui.cards > .red.card,
  433. .ui.red.card {
  434. box-shadow: 0px 0px 0px 1px #DDDDDD, 0px 2px 0px 0px #DB2828, 0px 1px 3px 0px #DDDDDD;
  435. }
  436. .ui.red.cards > .card:hover,
  437. .ui.cards > .red.card:hover,
  438. .ui.red.card:hover {
  439. box-shadow: 0px 0px 0px 1px #DDDDDD, 0px 2px 0px 0px #d01919, 0px 1px 3px 0px #BCBDBD;
  440. }
  441. /* Orange */
  442. .ui.orange.cards > .card,
  443. .ui.cards > .orange.card,
  444. .ui.orange.card {
  445. box-shadow: 0px 0px 0px 1px #DDDDDD, 0px 2px 0px 0px #D26911, 0px 1px 3px 0px #DDDDDD;
  446. }
  447. .ui.orange.cards > .card:hover,
  448. .ui.cards > .orange.card:hover,
  449. .ui.orange.card:hover {
  450. box-shadow: 0px 0px 0px 1px #DDDDDD, 0px 2px 0px 0px #c35c07, 0px 1px 3px 0px #BCBDBD;
  451. }
  452. /* Yellow */
  453. .ui.yellow.cards > .card,
  454. .ui.cards > .yellow.card,
  455. .ui.yellow.card {
  456. box-shadow: 0px 0px 0px 1px #DDDDDD, 0px 2px 0px 0px #FBBD08, 0px 1px 3px 0px #DDDDDD;
  457. }
  458. .ui.yellow.cards > .card:hover,
  459. .ui.cards > .yellow.card:hover,
  460. .ui.yellow.card:hover {
  461. box-shadow: 0px 0px 0px 1px #DDDDDD, 0px 2px 0px 0px #eaae00, 0px 1px 3px 0px #BCBDBD;
  462. }
  463. /* Olive */
  464. .ui.olive.cards > .card,
  465. .ui.cards > .olive.card,
  466. .ui.olive.card {
  467. box-shadow: 0px 0px 0px 1px #DDDDDD, 0px 2px 0px 0px #B5CC18, 0px 1px 3px 0px #DDDDDD;
  468. }
  469. .ui.olive.cards > .card:hover,
  470. .ui.cards > .olive.card:hover,
  471. .ui.olive.card:hover {
  472. box-shadow: 0px 0px 0px 1px #DDDDDD, 0px 2px 0px 0px #a7bd0d, 0px 1px 3px 0px #BCBDBD;
  473. }
  474. /* Green */
  475. .ui.green.cards > .card,
  476. .ui.cards > .green.card,
  477. .ui.green.card {
  478. box-shadow: 0px 0px 0px 1px #DDDDDD, 0px 2px 0px 0px #78CB5B, 0px 1px 3px 0px #DDDDDD;
  479. }
  480. .ui.green.cards > .card:hover,
  481. .ui.cards > .green.card:hover,
  482. .ui.green.card:hover {
  483. box-shadow: 0px 0px 0px 1px #DDDDDD, 0px 2px 0px 0px #65cb41, 0px 1px 3px 0px #BCBDBD;
  484. }
  485. /* Teal */
  486. .ui.teal.cards > .card,
  487. .ui.cards > .teal.card,
  488. .ui.teal.card {
  489. box-shadow: 0px 0px 0px 1px #DDDDDD, 0px 2px 0px 0px #00B5AD, 0px 1px 3px 0px #DDDDDD;
  490. }
  491. .ui.teal.cards > .card:hover,
  492. .ui.cards > .teal.card:hover,
  493. .ui.teal.card:hover {
  494. box-shadow: 0px 0px 0px 1px #DDDDDD, 0px 2px 0px 0px #009c95, 0px 1px 3px 0px #BCBDBD;
  495. }
  496. /* Blue */
  497. .ui.blue.cards > .card,
  498. .ui.cards > .blue.card,
  499. .ui.blue.card {
  500. box-shadow: 0px 0px 0px 1px #DDDDDD, 0px 2px 0px 0px #80A6CD, 0px 1px 3px 0px #DDDDDD;
  501. }
  502. .ui.blue.cards > .card:hover,
  503. .ui.cards > .blue.card:hover,
  504. .ui.blue.card:hover {
  505. box-shadow: 0px 0px 0px 1px #DDDDDD, 0px 2px 0px 0px #6999ca, 0px 1px 3px 0px #BCBDBD;
  506. }
  507. /* Violet */
  508. .ui.violet.cards > .card,
  509. .ui.cards > .violet.card,
  510. .ui.violet.card {
  511. box-shadow: 0px 0px 0px 1px #DDDDDD, 0px 2px 0px 0px #6435C9, 0px 1px 3px 0px #DDDDDD;
  512. }
  513. .ui.violet.cards > .card:hover,
  514. .ui.cards > .violet.card:hover,
  515. .ui.violet.card:hover {
  516. box-shadow: 0px 0px 0px 1px #DDDDDD, 0px 2px 0px 0px #5829bb, 0px 1px 3px 0px #BCBDBD;
  517. }
  518. /* Purple */
  519. .ui.purple.cards > .card,
  520. .ui.cards > .purple.card,
  521. .ui.purple.card {
  522. box-shadow: 0px 0px 0px 1px #DDDDDD, 0px 2px 0px 0px #A333C8, 0px 1px 3px 0px #DDDDDD;
  523. }
  524. .ui.purple.cards > .card:hover,
  525. .ui.cards > .purple.card:hover,
  526. .ui.purple.card:hover {
  527. box-shadow: 0px 0px 0px 1px #DDDDDD, 0px 2px 0px 0px #9627ba, 0px 1px 3px 0px #BCBDBD;
  528. }
  529. /* Pink */
  530. .ui.pink.cards > .card,
  531. .ui.cards > .pink.card,
  532. .ui.pink.card {
  533. box-shadow: 0px 0px 0px 1px #DDDDDD, 0px 2px 0px 0px #E03997, 0px 1px 3px 0px #DDDDDD;
  534. }
  535. .ui.pink.cards > .card:hover,
  536. .ui.cards > .pink.card:hover,
  537. .ui.pink.card:hover {
  538. box-shadow: 0px 0px 0px 1px #DDDDDD, 0px 2px 0px 0px #e61a8d, 0px 1px 3px 0px #BCBDBD;
  539. }
  540. /* Brown */
  541. .ui.brown.cards > .card,
  542. .ui.cards > .brown.card,
  543. .ui.brown.card {
  544. box-shadow: 0px 0px 0px 1px #DDDDDD, 0px 2px 0px 0px #A5673F, 0px 1px 3px 0px #DDDDDD;
  545. }
  546. .ui.brown.cards > .card:hover,
  547. .ui.cards > .brown.card:hover,
  548. .ui.brown.card:hover {
  549. box-shadow: 0px 0px 0px 1px #DDDDDD, 0px 2px 0px 0px #975b33, 0px 1px 3px 0px #BCBDBD;
  550. }
  551. /* Grey */
  552. .ui.grey.cards > .card,
  553. .ui.cards > .grey.card,
  554. .ui.grey.card {
  555. box-shadow: 0px 0px 0px 1px #DDDDDD, 0px 2px 0px 0px #767676, 0px 1px 3px 0px #DDDDDD;
  556. }
  557. .ui.grey.cards > .card:hover,
  558. .ui.cards > .grey.card:hover,
  559. .ui.grey.card:hover {
  560. box-shadow: 0px 0px 0px 1px #DDDDDD, 0px 2px 0px 0px #838383, 0px 1px 3px 0px #BCBDBD;
  561. }
  562. /* Black */
  563. .ui.black.cards > .card,
  564. .ui.cards > .black.card,
  565. .ui.black.card {
  566. box-shadow: 0px 0px 0px 1px #DDDDDD, 0px 2px 0px 0px #333333, 0px 1px 3px 0px #DDDDDD;
  567. }
  568. .ui.black.cards > .card:hover,
  569. .ui.cards > .black.card:hover,
  570. .ui.black.card:hover {
  571. box-shadow: 0px 0px 0px 1px #DDDDDD, 0px 2px 0px 0px #404040, 0px 1px 3px 0px #BCBDBD;
  572. }
  573. /*--------------
  574. Card Count
  575. ---------------*/
  576. .ui.one.cards {
  577. margin-left: 0em;
  578. margin-right: 0em;
  579. }
  580. .ui.one.cards > .card {
  581. width: 100%;
  582. }
  583. .ui.two.cards {
  584. margin-left: -1em;
  585. margin-right: -1em;
  586. }
  587. .ui.two.cards > .card {
  588. width: calc( 50% - 2em );
  589. margin-left: 1em;
  590. margin-right: 1em;
  591. }
  592. .ui.three.cards {
  593. margin-left: -1em;
  594. margin-right: -1em;
  595. }
  596. .ui.three.cards > .card {
  597. width: calc( 33.33333333% - 2em );
  598. margin-left: 1em;
  599. margin-right: 1em;
  600. }
  601. .ui.four.cards {
  602. margin-left: -0.75em;
  603. margin-right: -0.75em;
  604. }
  605. .ui.four.cards > .card {
  606. width: calc( 25% - 1.5em );
  607. margin-left: 0.75em;
  608. margin-right: 0.75em;
  609. }
  610. .ui.five.cards {
  611. margin-left: -0.75em;
  612. margin-right: -0.75em;
  613. }
  614. .ui.five.cards > .card {
  615. width: calc( 20% - 1.5em );
  616. margin-left: 0.75em;
  617. margin-right: 0.75em;
  618. }
  619. .ui.six.cards {
  620. margin-left: -0.75em;
  621. margin-right: -0.75em;
  622. }
  623. .ui.six.cards > .card {
  624. width: calc( 16.66666667% - 1.5em );
  625. margin-left: 0.75em;
  626. margin-right: 0.75em;
  627. }
  628. .ui.seven.cards {
  629. margin-left: -0.5em;
  630. margin-right: -0.5em;
  631. }
  632. .ui.seven.cards > .card {
  633. width: calc( 14.28571429% - 1em );
  634. margin-left: 0.5em;
  635. margin-right: 0.5em;
  636. }
  637. .ui.eight.cards {
  638. margin-left: -0.5em;
  639. margin-right: -0.5em;
  640. }
  641. .ui.eight.cards > .card {
  642. width: calc( 12.5% - 1em );
  643. margin-left: 0.5em;
  644. margin-right: 0.5em;
  645. font-size: 11px;
  646. }
  647. .ui.nine.cards {
  648. margin-left: -0.5em;
  649. margin-right: -0.5em;
  650. }
  651. .ui.nine.cards > .card {
  652. width: calc( 11.11111111% - 1em );
  653. margin-left: 0.5em;
  654. margin-right: 0.5em;
  655. font-size: 10px;
  656. }
  657. .ui.ten.cards {
  658. margin-left: -0.5em;
  659. margin-right: -0.5em;
  660. }
  661. .ui.ten.cards > .card {
  662. width: calc( 10% - 1em );
  663. margin-left: 0.5em;
  664. margin-right: 0.5em;
  665. }
  666. /*-------------------
  667. Doubling
  668. --------------------*/
  669. /* Mobily Only */
  670. @media only screen and (max-width: 687px) {
  671. .ui.two.doubling.cards {
  672. margin-left: 0em;
  673. margin-right: 0em;
  674. }
  675. .ui.two.doubling.cards .card {
  676. width: 100%;
  677. margin-left: 0em;
  678. margin-right: 0em;
  679. }
  680. .ui.three.doubling.cards {
  681. margin-left: -1em;
  682. margin-right: -1em;
  683. }
  684. .ui.three.doubling.cards .card {
  685. width: calc( 50% - 2em );
  686. margin-left: 1em;
  687. margin-right: 1em;
  688. }
  689. .ui.four.doubling.cards {
  690. margin-left: -1em;
  691. margin-right: -1em;
  692. }
  693. .ui.four.doubling.cards .card {
  694. width: calc( 50% - 2em );
  695. margin-left: 1em;
  696. margin-right: 1em;
  697. }
  698. .ui.five.doubling.cards {
  699. margin-left: -1em;
  700. margin-right: -1em;
  701. }
  702. .ui.five.doubling.cards .card {
  703. width: calc( 50% - 2em );
  704. margin-left: 1em;
  705. margin-right: 1em;
  706. }
  707. .ui.six.doubling.cards {
  708. margin-left: -1em;
  709. margin-right: -1em;
  710. }
  711. .ui.six.doubling.cards .card {
  712. width: calc( 50% - 2em );
  713. margin-left: 1em;
  714. margin-right: 1em;
  715. }
  716. .ui.seven.doubling.cards {
  717. margin-left: -1em;
  718. margin-right: -1em;
  719. }
  720. .ui.seven.doubling.cards .card {
  721. width: calc( 33.33333333% - 2em );
  722. margin-left: 1em;
  723. margin-right: 1em;
  724. }
  725. .ui.eight.doubling.cards {
  726. margin-left: -1em;
  727. margin-right: -1em;
  728. }
  729. .ui.eight.doubling.cards .card {
  730. width: calc( 33.33333333% - 2em );
  731. margin-left: 1em;
  732. margin-right: 1em;
  733. }
  734. .ui.nine.doubling.cards {
  735. margin-left: -1em;
  736. margin-right: -1em;
  737. }
  738. .ui.nine.doubling.cards .card {
  739. width: calc( 33.33333333% - 2em );
  740. margin-left: 1em;
  741. margin-right: 1em;
  742. }
  743. .ui.ten.doubling.cards {
  744. margin-left: -1em;
  745. margin-right: -1em;
  746. }
  747. .ui.ten.doubling.cards .card {
  748. width: calc( 33.33333333% - 2em );
  749. margin-left: 1em;
  750. margin-right: 1em;
  751. }
  752. }
  753. /* Tablet Only */
  754. @media only screen and (min-width: 688px) and (max-width: 687px) {
  755. .ui.two.doubling.cards {
  756. margin-left: 0em;
  757. margin-right: 0em;
  758. }
  759. .ui.two.doubling.cards .card {
  760. width: 100%;
  761. margin-left: 0em;
  762. margin-right: 0em;
  763. }
  764. .ui.three.doubling.cards {
  765. margin-left: -1em;
  766. margin-right: -1em;
  767. }
  768. .ui.three.doubling.cards .card {
  769. width: calc( 50% - 2em );
  770. margin-left: 1em;
  771. margin-right: 1em;
  772. }
  773. .ui.four.doubling.cards {
  774. margin-left: -1em;
  775. margin-right: -1em;
  776. }
  777. .ui.four.doubling.cards .card {
  778. width: calc( 50% - 2em );
  779. margin-left: 1em;
  780. margin-right: 1em;
  781. }
  782. .ui.five.doubling.cards {
  783. margin-left: -1em;
  784. margin-right: -1em;
  785. }
  786. .ui.five.doubling.cards .card {
  787. width: calc( 33.33333333% - 2em );
  788. margin-left: 1em;
  789. margin-right: 1em;
  790. }
  791. .ui.six.doubling.cards {
  792. margin-left: -1em;
  793. margin-right: -1em;
  794. }
  795. .ui.six.doubling.cards .card {
  796. width: calc( 33.33333333% - 2em );
  797. margin-left: 1em;
  798. margin-right: 1em;
  799. }
  800. .ui.eight.doubling.cards {
  801. margin-left: -1em;
  802. margin-right: -1em;
  803. }
  804. .ui.eight.doubling.cards .card {
  805. width: calc( 33.33333333% - 2em );
  806. margin-left: 1em;
  807. margin-right: 1em;
  808. }
  809. .ui.eight.doubling.cards {
  810. margin-left: -0.75em;
  811. margin-right: -0.75em;
  812. }
  813. .ui.eight.doubling.cards .card {
  814. width: calc( 25% - 1.5em );
  815. margin-left: 0.75em;
  816. margin-right: 0.75em;
  817. }
  818. .ui.nine.doubling.cards {
  819. margin-left: -0.75em;
  820. margin-right: -0.75em;
  821. }
  822. .ui.nine.doubling.cards .card {
  823. width: calc( 25% - 1.5em );
  824. margin-left: 0.75em;
  825. margin-right: 0.75em;
  826. }
  827. .ui.ten.doubling.cards {
  828. margin-left: -0.75em;
  829. margin-right: -0.75em;
  830. }
  831. .ui.ten.doubling.cards .card {
  832. width: calc( 20% - 1.5em );
  833. margin-left: 0.75em;
  834. margin-right: 0.75em;
  835. }
  836. }
  837. /*-------------------
  838. Stackable
  839. --------------------*/
  840. @media only screen and (max-width: 687px) {
  841. .ui.stackable.cards {
  842. display: block !important;
  843. }
  844. .ui.stackable.cards .card:first-child {
  845. margin-top: 0em !important;
  846. }
  847. .ui.stackable.cards > .card {
  848. display: block !important;
  849. height: auto !important;
  850. margin: 1em 1em;
  851. padding: 0 !important;
  852. width: calc( 100% - 2em ) !important;
  853. }
  854. }
  855. /*--------------
  856. Size
  857. ---------------*/
  858. .ui.cards > .card {
  859. font-size: 1em;
  860. }
  861. /*******************************
  862. User Variable Overrides
  863. *******************************/