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.

909 lines
19 KiB

9 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
10 years ago
10 years ago
9 years ago
10 years ago
10 years ago
10 years ago
10 years ago
  1. /*!
  2. * # Semantic UI 1.11.4 - Item
  3. * http://github.com/semantic-org/semantic-ui/
  4. *
  5. *
  6. * Copyright 2014 Contributorss
  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.2857rem;
  36. box-shadow: 0px 3px 0px 0px #d4d4d5, 0px 0px 0px 1px #d4d4d5;
  37. -webkit-transition: box-shadow 0.2s ease;
  38. transition: box-shadow 0.2s 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.2857rem 0.2857rem 0em 0em !important;
  95. }
  96. .ui.cards > .card > :last-child,
  97. .ui.card > :last-child {
  98. border-radius: 0em 0em 0.2857rem 0.2857rem !important;
  99. }
  100. /*--------------
  101. Images
  102. ---------------*/
  103. .ui.cards > .card > .image,
  104. .ui.card > .image {
  105. display: block;
  106. position: relative;
  107. padding: 0em;
  108. background: rgba(0, 0, 0, 0.05);
  109. }
  110. .ui.cards > .card > .image > img,
  111. .ui.card > .image > img {
  112. display: block;
  113. width: 100%;
  114. height: auto;
  115. border-radius: 0.2857rem 0.2857rem 0em 0em;
  116. border: none;
  117. }
  118. .ui.cards > .card > .image:only-child > img,
  119. .ui.card > .image:only-child > img {
  120. border-radius: 0.2857rem;
  121. }
  122. /*--------------
  123. Content
  124. ---------------*/
  125. .ui.cards > .card > .content,
  126. .ui.card > .content {
  127. -webkit-box-flex: 1;
  128. -webkit-flex-grow: 1;
  129. -ms-flex-positive: 1;
  130. flex-grow: 1;
  131. background: none;
  132. margin: 0em;
  133. padding: 1em 1em;
  134. box-shadow: none;
  135. font-size: 1em;
  136. border: none;
  137. border-radius: 0em;
  138. }
  139. .ui.cards > .card > .content:after,
  140. .ui.card > .content:after {
  141. display: block;
  142. content: ' ';
  143. height: 0px;
  144. clear: both;
  145. overflow: hidden;
  146. visibility: hidden;
  147. }
  148. .ui.cards > .card > .content > .header,
  149. .ui.card > .content > .header {
  150. display: block;
  151. margin: 0em;
  152. font-family: 'Lato', 'Helvetica Neue', Arial, Helvetica, sans-serif;
  153. color: rgba(0, 0, 0, 0.85);
  154. }
  155. /* Default Header Size */
  156. .ui.cards > .card > .content > .header:not(.ui),
  157. .ui.card > .content > .header:not(.ui) {
  158. font-weight: bold;
  159. font-size: 1.2em;
  160. margin-top: -0.165em;
  161. line-height: 1.33em;
  162. }
  163. .ui.cards > .card > .content > .meta + .description,
  164. .ui.cards > .card > .content > .header + .description,
  165. .ui.card > .content > .meta + .description,
  166. .ui.card > .content > .header + .description {
  167. margin-top: 0.5em;
  168. }
  169. /*--------------
  170. Floated
  171. ---------------*/
  172. .ui.cards > .card [class*="left floated"],
  173. .ui.card [class*="left floated"] {
  174. float: left;
  175. }
  176. .ui.cards > .card [class*="right floated"],
  177. .ui.card [class*="right floated"] {
  178. float: right;
  179. }
  180. /*--------------
  181. Aligned
  182. ---------------*/
  183. .ui.cards > .card [class*="left aligned"],
  184. .ui.card [class*="left aligned"] {
  185. text-align: left;
  186. }
  187. .ui.cards > .card [class*="center aligned"],
  188. .ui.card [class*="center aligned"] {
  189. text-align: center;
  190. }
  191. .ui.cards > .card [class*="right aligned"],
  192. .ui.card [class*="right aligned"] {
  193. text-align: right;
  194. }
  195. /*--------------
  196. Content Image
  197. ---------------*/
  198. .ui.cards > .card .content img,
  199. .ui.card .content img {
  200. display: inline-block;
  201. vertical-align: middle;
  202. width: auto;
  203. }
  204. .ui.cards > .card img.avatar,
  205. .ui.cards > .card .avatar img,
  206. .ui.card img.avatar,
  207. .ui.card .avatar img {
  208. width: 2.5em;
  209. height: 2.5em;
  210. border-radius: 500rem;
  211. }
  212. /*--------------
  213. Description
  214. ---------------*/
  215. .ui.cards > .card > .content > .description,
  216. .ui.card > .content > .description {
  217. clear: both;
  218. color: rgba(0, 0, 0, 0.5);
  219. }
  220. /*--------------
  221. Paragraph
  222. ---------------*/
  223. .ui.cards > .card > .content p,
  224. .ui.card > .content p {
  225. margin: 0em 0em 0.5em;
  226. }
  227. .ui.cards > .card > .content p:last-child,
  228. .ui.card > .content p:last-child {
  229. margin-bottom: 0em;
  230. }
  231. /*--------------
  232. Meta
  233. ---------------*/
  234. .ui.cards > .card .meta,
  235. .ui.card .meta {
  236. font-size: 0.9em;
  237. color: rgba(0, 0, 0, 0.4);
  238. }
  239. .ui.cards > .card .meta *,
  240. .ui.card .meta * {
  241. margin-right: 0.3em;
  242. }
  243. .ui.cards > .card .meta :last-child,
  244. .ui.card .meta :last-child {
  245. margin-right: 0em;
  246. }
  247. .ui.cards > .card .meta [class*="right floated"],
  248. .ui.card .meta [class*="right floated"] {
  249. margin-right: 0em;
  250. margin-left: 0.3em;
  251. }
  252. /*--------------
  253. Links
  254. ---------------*/
  255. /* Generic */
  256. .ui.cards > .card > .content a:not(.ui),
  257. .ui.card > .content a:not(.ui) {
  258. color: '';
  259. -webkit-transition: color 0.2s ease;
  260. transition: color 0.2s ease;
  261. }
  262. .ui.cards > .card > .content a:not(.ui):hover,
  263. .ui.card > .content a:not(.ui):hover {
  264. color: '';
  265. }
  266. /* Header */
  267. .ui.cards > .card > .content > a.header,
  268. .ui.card > .content > a.header {
  269. color: rgba(0, 0, 0, 0.85);
  270. }
  271. .ui.cards > .card > .content > a.header:hover,
  272. .ui.card > .content > a.header:hover {
  273. color: #00b2f3;
  274. }
  275. /* Meta */
  276. .ui.cards > .card .meta > a:not(.ui),
  277. .ui.card .meta > a:not(.ui) {
  278. color: rgba(0, 0, 0, 0.4);
  279. }
  280. .ui.cards > .card .meta > a:not(.ui):hover,
  281. .ui.card .meta > a:not(.ui):hover {
  282. color: rgba(0, 0, 0, 0.8);
  283. }
  284. /*--------------
  285. Buttons
  286. ---------------*/
  287. .ui.cards > .card > .buttons:last-child,
  288. .ui.card > .buttons:last-child,
  289. .ui.cards > .card > .button:last-child,
  290. .ui.card > .button:last-child {
  291. margin: 0em 0em -1px;
  292. width: 100%;
  293. }
  294. /*--------------
  295. Dimmer
  296. ---------------*/
  297. .ui.cards > .card .dimmer,
  298. .ui.card .dimmer {
  299. background: '';
  300. z-index: 10;
  301. }
  302. /*--------------
  303. Labels
  304. ---------------*/
  305. /*-----Star----- */
  306. /* Icon */
  307. .ui.cards > .card > .content .star.icon,
  308. .ui.card > .content .star.icon {
  309. cursor: pointer;
  310. opacity: 0.75;
  311. -webkit-transition: color 0.2s ease;
  312. transition: color 0.2s ease;
  313. }
  314. .ui.cards > .card > .content .star.icon:hover,
  315. .ui.card > .content .star.icon:hover {
  316. opacity: 1;
  317. color: #ffb70a;
  318. }
  319. .ui.cards > .card > .content .active.star.icon,
  320. .ui.card > .content .active.star.icon {
  321. color: #ffe623;
  322. }
  323. /*-----Like----- */
  324. /* Icon */
  325. .ui.cards > .card > .content .like.icon,
  326. .ui.card > .content .like.icon {
  327. cursor: pointer;
  328. opacity: 0.75;
  329. -webkit-transition: color 0.2s ease;
  330. transition: color 0.2s ease;
  331. }
  332. .ui.cards > .card > .content .like.icon:hover,
  333. .ui.card > .content .like.icon:hover {
  334. opacity: 1;
  335. color: #ff2733;
  336. }
  337. .ui.cards > .card > .content .active.like.icon,
  338. .ui.card > .content .active.like.icon {
  339. color: #ff2733;
  340. }
  341. /*----------------
  342. Extra Content
  343. -----------------*/
  344. .ui.cards > .card > .extra,
  345. .ui.card > .extra {
  346. max-width: 100%;
  347. min-height: 0em !important;
  348. -webkit-box-flex: 0;
  349. -webkit-flex-grow: 0;
  350. -ms-flex-positive: 0;
  351. flex-grow: 0;
  352. position: static;
  353. background: none;
  354. width: auto;
  355. margin: 0em 0em;
  356. padding: 0.75em 1em;
  357. top: 0em;
  358. left: 0em;
  359. color: rgba(0, 0, 0, 0.4);
  360. box-shadow: none;
  361. -webkit-transition: color 0.2s ease;
  362. transition: color 0.2s ease;
  363. border-top: 1px solid rgba(0, 0, 0, 0.05);
  364. }
  365. .ui.cards > .card > .extra a:not(.ui),
  366. .ui.card > .extra a:not(.ui) {
  367. color: rgba(0, 0, 0, 0.4);
  368. }
  369. .ui.cards > .card > .extra a:not(.ui):hover,
  370. .ui.card > .extra a:not(.ui):hover {
  371. color: #00b2f3;
  372. }
  373. /*******************************
  374. Variations
  375. *******************************/
  376. /*-------------------
  377. Fluid
  378. --------------------*/
  379. .ui.fluid.card {
  380. width: 100%;
  381. max-width: 9999px;
  382. }
  383. /*-------------------
  384. Link
  385. --------------------*/
  386. .ui.cards a.card:hover,
  387. .ui.link.cards .card:hover,
  388. a.ui.card:hover,
  389. .ui.link.card:hover {
  390. cursor: pointer;
  391. z-index: 5;
  392. background: '';
  393. border: none;
  394. box-shadow: 0px 3px 0px 0px #bebebf, 0px 0px 0px 1px rgba(39, 41, 43, 0.3);
  395. }
  396. /*-------------------
  397. Colors
  398. --------------------*/
  399. .ui.black.cards > .card,
  400. .ui.cards > .black.card,
  401. .ui.black.card {
  402. box-shadow: 0px 3px 0px 0px #1b1c1d, 0px 0px 0px 1px #d4d4d5;
  403. }
  404. .ui.blue.cards > .card,
  405. .ui.cards > .blue.card,
  406. .ui.blue.card {
  407. box-shadow: 0px 3px 0px 0px #3b83c0, 0px 0px 0px 1px #d4d4d5;
  408. }
  409. .ui.green.cards > .card,
  410. .ui.cards > .green.card,
  411. .ui.green.card {
  412. box-shadow: 0px 3px 0px 0px #5bbd72, 0px 0px 0px 1px #d4d4d5;
  413. }
  414. .ui.orange.cards > .card,
  415. .ui.cards > .orange.card,
  416. .ui.orange.card {
  417. box-shadow: 0px 3px 0px 0px #e07b53, 0px 0px 0px 1px #d4d4d5;
  418. }
  419. .ui.pink.cards > .card,
  420. .ui.cards > .pink.card,
  421. .ui.pink.card {
  422. box-shadow: 0px 3px 0px 0px #d9499a, 0px 0px 0px 1px #d4d4d5;
  423. }
  424. .ui.purple.cards > .card,
  425. .ui.cards > .purple.card,
  426. .ui.purple.card {
  427. box-shadow: 0px 3px 0px 0px #564f8a, 0px 0px 0px 1px #d4d4d5;
  428. }
  429. .ui.red.cards > .card,
  430. .ui.cards > .red.card,
  431. .ui.red.card {
  432. box-shadow: 0px 3px 0px 0px #d95c5c, 0px 0px 0px 1px #d4d4d5;
  433. }
  434. .ui.teal.cards > .card,
  435. .ui.cards > .teal.card,
  436. .ui.teal.card {
  437. box-shadow: 0px 3px 0px 0px #00b5ad, 0px 0px 0px 1px #d4d4d5;
  438. }
  439. .ui.yellow.cards > .card,
  440. .ui.cards > .yellow.card,
  441. .ui.yellow.card {
  442. box-shadow: 0px 3px 0px 0px #f2c61f, 0px 0px 0px 1px #d4d4d5;
  443. }
  444. /* Hover */
  445. .ui.black.cards > .card:hover,
  446. .ui.cards > .black.card:hover,
  447. .ui.black.card:hover {
  448. box-shadow: 0px 3px 0px 0px #1b1c1d, 0px 0px 0px 1px #d4d4d5;
  449. }
  450. .ui.blue.cards > .card:hover,
  451. .ui.cards > .blue.card:hover,
  452. .ui.blue.card:hover {
  453. box-shadow: 0px 3px 0px 0px #458ac6, 0px 0px 0px 1px #d4d4d5;
  454. }
  455. .ui.green.cards > .card:hover,
  456. .ui.cards > .green.card:hover,
  457. .ui.green.card:hover {
  458. box-shadow: 0px 3px 0px 0px #66c17b, 0px 0px 0px 1px #d4d4d5;
  459. }
  460. .ui.orange.cards > .card:hover,
  461. .ui.cards > .orange.card:hover,
  462. .ui.orange.card:hover {
  463. box-shadow: 0px 3px 0px 0px #e28560, 0px 0px 0px 1px #d4d4d5;
  464. }
  465. .ui.pink.cards > .card:hover,
  466. .ui.cards > .pink.card:hover,
  467. .ui.pink.card:hover {
  468. box-shadow: 0px 3px 0px 0px #dc56a1, 0px 0px 0px 1px #d4d4d5;
  469. }
  470. .ui.purple.cards > .card:hover,
  471. .ui.cards > .purple.card:hover,
  472. .ui.purple.card:hover {
  473. box-shadow: 0px 3px 0px 0px #5c5594, 0px 0px 0px 1px #d4d4d5;
  474. }
  475. .ui.red.cards > .card:hover,
  476. .ui.cards > .red.card:hover,
  477. .ui.red.card:hover {
  478. box-shadow: 0px 3px 0px 0px #dc6868, 0px 0px 0px 1px #d4d4d5;
  479. }
  480. .ui.teal.cards > .card:hover,
  481. .ui.cards > .teal.card:hover,
  482. .ui.teal.card:hover {
  483. box-shadow: 0px 3px 0px 0px #00c4bc, 0px 0px 0px 1px #d4d4d5;
  484. }
  485. .ui.yellow.cards > .card:hover,
  486. .ui.cards > .yellow.card:hover,
  487. .ui.yellow.card:hover {
  488. box-shadow: 0px 3px 0px 0px #f3ca2d, 0px 0px 0px 1px #d4d4d5;
  489. }
  490. /*--------------
  491. Card Count
  492. ---------------*/
  493. .ui.one.cards {
  494. margin-left: 0em;
  495. margin-right: 0em;
  496. }
  497. .ui.one.cards > .card {
  498. width: 100%;
  499. }
  500. .ui.two.cards {
  501. margin-left: -1em;
  502. margin-right: -1em;
  503. }
  504. .ui.two.cards > .card {
  505. width: -webkit-calc( 50% - 2em );
  506. width: calc( 50% - 2em );
  507. margin-left: 1em;
  508. margin-right: 1em;
  509. }
  510. .ui.two.cards > .card:nth-child(2n+1) {
  511. clear: left;
  512. }
  513. .ui.three.cards {
  514. margin-left: -1em;
  515. margin-right: -1em;
  516. }
  517. .ui.three.cards > .card {
  518. width: -webkit-calc( 33.33333333% - 2em );
  519. width: calc( 33.33333333% - 2em );
  520. margin-left: 1em;
  521. margin-right: 1em;
  522. }
  523. .ui.three.cards > .card:nth-child(3n+1) {
  524. clear: left;
  525. }
  526. .ui.four.cards {
  527. margin-left: -0.75em;
  528. margin-right: -0.75em;
  529. }
  530. .ui.four.cards > .card {
  531. width: -webkit-calc( 25% - 1.5em );
  532. width: calc( 25% - 1.5em );
  533. margin-left: 0.75em;
  534. margin-right: 0.75em;
  535. }
  536. .ui.four.cards > .card:nth-child(4n+1) {
  537. clear: left;
  538. }
  539. .ui.five.cards {
  540. margin-left: -0.75em;
  541. margin-right: -0.75em;
  542. }
  543. .ui.five.cards > .card {
  544. width: -webkit-calc( 20% - 1.5em );
  545. width: calc( 20% - 1.5em );
  546. margin-left: 0.75em;
  547. margin-right: 0.75em;
  548. }
  549. .ui.five.cards > .card:nth-child(5n+1) {
  550. clear: left;
  551. }
  552. .ui.six.cards {
  553. margin-left: -0.75em;
  554. margin-right: -0.75em;
  555. }
  556. .ui.six.cards > .card {
  557. width: -webkit-calc( 16.66666667% - 1.5em );
  558. width: calc( 16.66666667% - 1.5em );
  559. margin-left: 0.75em;
  560. margin-right: 0.75em;
  561. }
  562. .ui.six.cards > .card:nth-child(6n+1) {
  563. clear: left;
  564. }
  565. .ui.seven.cards {
  566. margin-left: -0.5em;
  567. margin-right: -0.5em;
  568. }
  569. .ui.seven.cards > .card {
  570. width: -webkit-calc( 14.28571429% - 1em );
  571. width: calc( 14.28571429% - 1em );
  572. margin-left: 0.5em;
  573. margin-right: 0.5em;
  574. }
  575. .ui.seven.cards > .card:nth-child(7n+1) {
  576. clear: left;
  577. }
  578. .ui.eight.cards {
  579. margin-left: -0.5em;
  580. margin-right: -0.5em;
  581. }
  582. .ui.eight.cards > .card {
  583. width: -webkit-calc( 12.5% - 1em );
  584. width: calc( 12.5% - 1em );
  585. margin-left: 0.5em;
  586. margin-right: 0.5em;
  587. font-size: 11px;
  588. }
  589. .ui.eight.cards > .card:nth-child(8n+1) {
  590. clear: left;
  591. }
  592. .ui.nine.cards {
  593. margin-left: -0.5em;
  594. margin-right: -0.5em;
  595. }
  596. .ui.nine.cards > .card {
  597. width: -webkit-calc( 11.11111111% - 1em );
  598. width: calc( 11.11111111% - 1em );
  599. margin-left: 0.5em;
  600. margin-right: 0.5em;
  601. font-size: 10px;
  602. }
  603. .ui.nine.cards > .card:nth-child(9n+1) {
  604. clear: left;
  605. }
  606. .ui.ten.cards {
  607. margin-left: -0.5em;
  608. margin-right: -0.5em;
  609. }
  610. .ui.ten.cards > .card {
  611. width: -webkit-calc( 10% - 1em );
  612. width: calc( 10% - 1em );
  613. margin-left: 0.5em;
  614. margin-right: 0.5em;
  615. }
  616. .ui.ten.cards > .card:nth-child(10n+1) {
  617. clear: left;
  618. }
  619. /*-------------------
  620. Doubling
  621. --------------------*/
  622. /* Mobily Only */
  623. @media only screen and (max-width: 767px) {
  624. .ui.two.doubling.cards {
  625. margin-left: 0em;
  626. margin-right: 0em;
  627. }
  628. .ui.two.doubling.cards .card {
  629. width: 100%;
  630. margin-left: 0em;
  631. margin-right: 0em;
  632. }
  633. .ui.three.doubling.cards {
  634. margin-left: -1em;
  635. margin-right: -1em;
  636. }
  637. .ui.three.doubling.cards .card {
  638. width: -webkit-calc( 50% - 2em );
  639. width: calc( 50% - 2em );
  640. margin-left: 1em;
  641. margin-right: 1em;
  642. }
  643. .ui.four.doubling.cards {
  644. margin-left: -1em;
  645. margin-right: -1em;
  646. }
  647. .ui.four.doubling.cards .card {
  648. width: -webkit-calc( 50% - 2em );
  649. width: calc( 50% - 2em );
  650. margin-left: 1em;
  651. margin-right: 1em;
  652. }
  653. .ui.five.doubling.cards {
  654. margin-left: -1em;
  655. margin-right: -1em;
  656. }
  657. .ui.five.doubling.cards .card {
  658. width: -webkit-calc( 50% - 2em );
  659. width: calc( 50% - 2em );
  660. margin-left: 1em;
  661. margin-right: 1em;
  662. }
  663. .ui.six.doubling.cards {
  664. margin-left: -1em;
  665. margin-right: -1em;
  666. }
  667. .ui.six.doubling.cards .card {
  668. width: -webkit-calc( 50% - 2em );
  669. width: calc( 50% - 2em );
  670. margin-left: 1em;
  671. margin-right: 1em;
  672. }
  673. .ui.seven.doubling.cards {
  674. margin-left: -1em;
  675. margin-right: -1em;
  676. }
  677. .ui.seven.doubling.cards .card {
  678. width: -webkit-calc( 33.33333333% - 2em );
  679. width: calc( 33.33333333% - 2em );
  680. margin-left: 1em;
  681. margin-right: 1em;
  682. }
  683. .ui.eight.doubling.cards {
  684. margin-left: -1em;
  685. margin-right: -1em;
  686. }
  687. .ui.eight.doubling.cards .card {
  688. width: -webkit-calc( 33.33333333% - 2em );
  689. width: calc( 33.33333333% - 2em );
  690. margin-left: 1em;
  691. margin-right: 1em;
  692. }
  693. .ui.nine.doubling.cards {
  694. margin-left: -1em;
  695. margin-right: -1em;
  696. }
  697. .ui.nine.doubling.cards .card {
  698. width: -webkit-calc( 33.33333333% - 2em );
  699. width: calc( 33.33333333% - 2em );
  700. margin-left: 1em;
  701. margin-right: 1em;
  702. }
  703. .ui.ten.doubling.cards {
  704. margin-left: -1em;
  705. margin-right: -1em;
  706. }
  707. .ui.ten.doubling.cards .card {
  708. width: -webkit-calc( 33.33333333% - 2em );
  709. width: calc( 33.33333333% - 2em );
  710. margin-left: 1em;
  711. margin-right: 1em;
  712. }
  713. }
  714. /* Tablet Only */
  715. @media only screen and (min-width: 768px) and (max-width: 991px) {
  716. .ui.two.doubling.cards {
  717. margin-left: 0em;
  718. margin-right: 0em;
  719. }
  720. .ui.two.doubling.cards .card {
  721. width: 100%;
  722. margin-left: 0em;
  723. margin-right: 0em;
  724. }
  725. .ui.three.doubling.cards {
  726. margin-left: -1em;
  727. margin-right: -1em;
  728. }
  729. .ui.three.doubling.cards .card {
  730. width: -webkit-calc( 50% - 2em );
  731. width: calc( 50% - 2em );
  732. margin-left: 1em;
  733. margin-right: 1em;
  734. }
  735. .ui.four.doubling.cards {
  736. margin-left: -1em;
  737. margin-right: -1em;
  738. }
  739. .ui.four.doubling.cards .card {
  740. width: -webkit-calc( 50% - 2em );
  741. width: calc( 50% - 2em );
  742. margin-left: 1em;
  743. margin-right: 1em;
  744. }
  745. .ui.five.doubling.cards {
  746. margin-left: -1em;
  747. margin-right: -1em;
  748. }
  749. .ui.five.doubling.cards .card {
  750. width: -webkit-calc( 33.33333333% - 2em );
  751. width: calc( 33.33333333% - 2em );
  752. margin-left: 1em;
  753. margin-right: 1em;
  754. }
  755. .ui.six.doubling.cards {
  756. margin-left: -1em;
  757. margin-right: -1em;
  758. }
  759. .ui.six.doubling.cards .card {
  760. width: -webkit-calc( 33.33333333% - 2em );
  761. width: calc( 33.33333333% - 2em );
  762. margin-left: 1em;
  763. margin-right: 1em;
  764. }
  765. .ui.eight.doubling.cards {
  766. margin-left: -1em;
  767. margin-right: -1em;
  768. }
  769. .ui.eight.doubling.cards .card {
  770. width: -webkit-calc( 33.33333333% - 2em );
  771. width: calc( 33.33333333% - 2em );
  772. margin-left: 1em;
  773. margin-right: 1em;
  774. }
  775. .ui.eight.doubling.cards {
  776. margin-left: -0.75em;
  777. margin-right: -0.75em;
  778. }
  779. .ui.eight.doubling.cards .card {
  780. width: -webkit-calc( 25% - 1.5em );
  781. width: calc( 25% - 1.5em );
  782. margin-left: 0.75em;
  783. margin-right: 0.75em;
  784. }
  785. .ui.nine.doubling.cards {
  786. margin-left: -0.75em;
  787. margin-right: -0.75em;
  788. }
  789. .ui.nine.doubling.cards .card {
  790. width: -webkit-calc( 25% - 1.5em );
  791. width: calc( 25% - 1.5em );
  792. margin-left: 0.75em;
  793. margin-right: 0.75em;
  794. }
  795. .ui.ten.doubling.cards {
  796. margin-left: -0.75em;
  797. margin-right: -0.75em;
  798. }
  799. .ui.ten.doubling.cards .card {
  800. width: -webkit-calc( 20% - 1.5em );
  801. width: calc( 20% - 1.5em );
  802. margin-left: 0.75em;
  803. margin-right: 0.75em;
  804. }
  805. }
  806. /*-------------------
  807. Stackable
  808. --------------------*/
  809. @media only screen and (max-width: 767px) {
  810. .ui.stackable.cards {
  811. display: block !important;
  812. }
  813. .ui.stackable.cards .card:first-child {
  814. margin-top: 0em !important;
  815. }
  816. .ui.stackable.cards > .card {
  817. display: block !important;
  818. height: auto !important;
  819. margin: 1em 1em;
  820. padding: 0 !important;
  821. width: -webkit-calc( 100% - 2em ) !important;
  822. width: calc( 100% - 2em ) !important;
  823. }
  824. }
  825. /*--------------
  826. Size
  827. ---------------*/
  828. .ui.cards > .card {
  829. font-size: 1em;
  830. }
  831. /*******************************
  832. Theme Overrides
  833. *******************************/
  834. /*******************************
  835. User Variable Overrides
  836. *******************************/