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.

913 lines
19 KiB

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