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.

752 lines
20 KiB

10 years ago
  1. /*
  2. * # Semantic - Grid
  3. * http://github.com/jlukic/semantic-ui/
  4. *
  5. *
  6. * Copyright 2013 Contributors
  7. * Released under the MIT license
  8. * http://opensource.org/licenses/MIT
  9. *
  10. */
  11. /*******************************
  12. Grid
  13. *******************************/
  14. .ui.grid {
  15. display: block;
  16. text-align: left;
  17. font-size: 0em;
  18. margin: 0% -1.5%;
  19. padding: 0%;
  20. -webkit-box-sizing: border-box;
  21. -moz-box-sizing: border-box;
  22. box-sizing: border-box;
  23. }
  24. body > .ui.grid {
  25. margin-left: 0% !important;
  26. margin-right: 0% !important;
  27. }
  28. .ui.grid:after,
  29. .ui.row:after {
  30. content: ".";
  31. display: block;
  32. height: 0;
  33. clear: both;
  34. visibility: hidden;
  35. }
  36. /*-------------------
  37. Columns
  38. --------------------*/
  39. /* Standard 16 column */
  40. .ui.grid > .column,
  41. .ui.grid > .row > .column {
  42. display: inline-block;
  43. text-align: left;
  44. font-size: 1rem;
  45. width: 6.25%;
  46. padding-left: 1.5%;
  47. padding-right: 1.5%;
  48. -webkit-box-sizing: border-box;
  49. -moz-box-sizing: border-box;
  50. box-sizing: border-box;
  51. vertical-align: top;
  52. }
  53. /* Vertical padding when no rows */
  54. .ui.grid > .column {
  55. margin-top: 1rem;
  56. margin-bottom: 1rem;
  57. }
  58. /*-------------------
  59. Rows
  60. --------------------*/
  61. .ui.grid > .row {
  62. display: block;
  63. width: 100% !important;
  64. margin-top: 1.5%;
  65. padding: 1rem 0% 0%;
  66. font-size: 0rem;
  67. }
  68. .ui.grid > .row:first-child {
  69. padding-top: 0rem;
  70. margin-top: 0rem;
  71. }
  72. /*-------------------
  73. Content
  74. --------------------*/
  75. .ui.grid > .row > img,
  76. .ui.grid > .row > .column > img {
  77. max-width: 100%;
  78. }
  79. .ui.grid .column > .ui.segment:only-child {
  80. margin: 0em;
  81. }
  82. /*******************************
  83. Variations
  84. *******************************/
  85. /*-----------------------
  86. Page Grid (Responsive)
  87. -------------------------*/
  88. .ui.page.grid {
  89. min-width: 320px;
  90. margin-left: 0%;
  91. margin-right: 0%;
  92. }
  93. @media only screen and (max-width: 991px) {
  94. .ui.page.grid {
  95. padding: 0% 4%;
  96. }
  97. }
  98. @media only screen and (min-width: 992px) {
  99. .ui.page.grid {
  100. padding: 0% 8%;
  101. }
  102. }
  103. @media only screen and (min-width: 1500px) {
  104. .ui.page.grid {
  105. padding: 0% 13%;
  106. }
  107. }
  108. @media only screen and (min-width: 1750px) {
  109. .ui.page.grid {
  110. padding: 0% 18%;
  111. }
  112. }
  113. @media only screen and (min-width: 2000px) {
  114. .ui.page.grid {
  115. padding: 0% 23%;
  116. }
  117. }
  118. /*-------------------
  119. Column Width
  120. --------------------*/
  121. /* Sizing Combinations */
  122. .ui.grid > .row > .one.wide.column,
  123. .ui.grid > .column.row > .one.wide.column,
  124. .ui.grid > .one.wide.column,
  125. .ui.column.grid > .one.wide.column {
  126. width: 6.25%;
  127. }
  128. .ui.grid > .row > .two.wide.column,
  129. .ui.grid > .column.row > .two.wide.column,
  130. .ui.grid > .two.wide.column,
  131. .ui.column.grid > .two.wide.column {
  132. width: 12.5%;
  133. }
  134. .ui.grid > .row > .three.wide.column,
  135. .ui.grid > .column.row > .three.wide.column,
  136. .ui.grid > .three.wide.column,
  137. .ui.column.grid > .three.wide.column {
  138. width: 18.75%;
  139. }
  140. .ui.grid > .row > .four.wide.column,
  141. .ui.grid > .column.row > .four.wide.column,
  142. .ui.grid > .four.wide.column,
  143. .ui.column.grid > .four.wide.column {
  144. width: 25%;
  145. }
  146. .ui.grid > .row > .five.wide.column,
  147. .ui.grid > .column.row > .five.wide.column,
  148. .ui.grid > .five.wide.column,
  149. .ui.column.grid > .five.wide.column {
  150. width: 31.25%;
  151. }
  152. .ui.grid > .row > .six.wide.column,
  153. .ui.grid > .column.row > .six.wide.column,
  154. .ui.grid > .six.wide.column,
  155. .ui.column.grid > .six.wide.column {
  156. width: 37.5%;
  157. }
  158. .ui.grid > .row > .seven.wide.column,
  159. .ui.grid > .column.row > .seven.wide.column,
  160. .ui.grid > .seven.wide.column,
  161. .ui.column.grid > .seven.wide.column {
  162. width: 43.75%;
  163. }
  164. .ui.grid > .row > .eight.wide.column,
  165. .ui.grid > .column.row > .eight.wide.column,
  166. .ui.grid > .eight.wide.column,
  167. .ui.column.grid > .eight.wide.column {
  168. width: 50%;
  169. }
  170. .ui.grid > .row > .nine.wide.column,
  171. .ui.grid > .column.row > .nine.wide.column,
  172. .ui.grid > .nine.wide.column,
  173. .ui.column.grid > .nine.wide.column {
  174. width: 56.25%;
  175. }
  176. .ui.grid > .row > .ten.wide.column,
  177. .ui.grid > .column.row > .ten.wide.column,
  178. .ui.grid > .ten.wide.column,
  179. .ui.column.grid > .ten.wide.column {
  180. width: 62.5%;
  181. }
  182. .ui.grid > .row > .eleven.wide.column,
  183. .ui.grid > .column.row > .eleven.wide.column,
  184. .ui.grid > .eleven.wide.column,
  185. .ui.column.grid > .eleven.wide.column {
  186. width: 68.75%;
  187. }
  188. .ui.grid > .row > .twelve.wide.column,
  189. .ui.grid > .column.row > .twelve.wide.column,
  190. .ui.grid > .twelve.wide.column,
  191. .ui.column.grid > .twelve.wide.column {
  192. width: 75%;
  193. }
  194. .ui.grid > .row > .thirteen.wide.column,
  195. .ui.grid > .column.row > .thirteen.wide.column,
  196. .ui.grid > .thirteen.wide.column,
  197. .ui.column.grid > .thirteen.wide.column {
  198. width: 81.25%;
  199. }
  200. .ui.grid > .row > .fourteen.wide.column,
  201. .ui.grid > .column.row > .fourteen.wide.column,
  202. .ui.grid > .fourteen.wide.column,
  203. .ui.column.grid > .fourteen.wide.column {
  204. width: 87.5%;
  205. }
  206. .ui.grid > .row > .fifteen.wide.column,
  207. .ui.grid > .column.row > .fifteen.wide.column,
  208. .ui.grid > .fifteen.wide.column,
  209. .ui.column.grid > .fifteen.wide.column {
  210. width: 93.75%;
  211. }
  212. .ui.grid > .row > .sixteen.wide.column,
  213. .ui.grid > .column.row > .sixteen.wide.column,
  214. .ui.grid > .sixteen.wide.column,
  215. .ui.column.grid > .sixteen.wide.column {
  216. width: 100%;
  217. }
  218. /*-------------------
  219. Column Count
  220. --------------------*/
  221. /* Assume full width with one column */
  222. .ui.one.column.grid > .row > .column,
  223. .ui.one.column.grid > .column,
  224. .ui.grid > .one.column.row > .column {
  225. width: 100%;
  226. }
  227. .ui.two.column.grid > .row > .column,
  228. .ui.two.column.grid > .column,
  229. .ui.grid > .two.column.row > .column {
  230. width: 50%;
  231. }
  232. .ui.three.column.grid > .row > .column,
  233. .ui.three.column.grid > .column,
  234. .ui.grid > .three.column.row > .column {
  235. width: 33.3333%;
  236. }
  237. .ui.four.column.grid > .row > .column,
  238. .ui.four.column.grid > .column,
  239. .ui.grid > .four.column.row > .column {
  240. width: 25%;
  241. }
  242. .ui.five.column.grid > .row > .column,
  243. .ui.five.column.grid > .column,
  244. .ui.grid > .five.column.row > .column {
  245. width: 20%;
  246. }
  247. .ui.six.column.grid > .row > .column,
  248. .ui.six.column.grid > .column,
  249. .ui.grid > .six.column.row > .column {
  250. width: 16.66667%;
  251. }
  252. .ui.seven.column.grid > .row > .column,
  253. .ui.seven.column.grid > .column,
  254. .ui.grid > .seven.column.row > .column {
  255. width: 14.2857%;
  256. }
  257. .ui.eight.column.grid > .row > .column,
  258. .ui.eight.column.grid > .column,
  259. .ui.grid > .eight.column.row > .column {
  260. width: 12.5%;
  261. }
  262. .ui.nine.column.grid > .row > .column,
  263. .ui.nine.column.grid > .column,
  264. .ui.grid > .nine.column.row > .column {
  265. width: 11.1111%;
  266. }
  267. .ui.ten.column.grid > .row > .column,
  268. .ui.ten.column.grid > .column,
  269. .ui.grid > .ten.column.row > .column {
  270. width: 10%;
  271. }
  272. .ui.eleven.column.grid > .row > .column,
  273. .ui.eleven.column.grid > .column,
  274. .ui.grid > .eleven.column.row > .column {
  275. width: 9.0909%;
  276. }
  277. .ui.twelve.column.grid > .row > .column,
  278. .ui.twelve.column.grid > .column,
  279. .ui.grid > .twelve.column.row > .column {
  280. width: 8.3333%;
  281. }
  282. .ui.thirteen.column.grid > .row > .column,
  283. .ui.thirteen.column.grid > .column,
  284. .ui.grid > .thirteen.column.row > .column {
  285. width: 7.6923%;
  286. }
  287. .ui.fourteen.column.grid > .row > .column,
  288. .ui.fourteen.column.grid > .column,
  289. .ui.grid > .fourteen.column.row > .column {
  290. width: 7.1428%;
  291. }
  292. .ui.fifteen.column.grid > .row > .column,
  293. .ui.fifteen.column.grid > .column,
  294. .ui.grid > .fifteen.column.row > .column {
  295. width: 6.6666%;
  296. }
  297. .ui.sixteen.column.grid > .row > .column,
  298. .ui.sixteen.column.grid > .column,
  299. .ui.grid > .sixteen.column.row > .column {
  300. width: 6.25%;
  301. }
  302. /* Assume full width with one column */
  303. .ui.grid > .column:only-child,
  304. .ui.grid > .row > .column:only-child {
  305. width: 100%;
  306. }
  307. /*----------------------
  308. Relaxed
  309. -----------------------*/
  310. .ui.relaxed.grid {
  311. margin: 0% -2.5%;
  312. }
  313. .ui.relaxed.grid > .column,
  314. .ui.relaxed.grid > .row > .column {
  315. padding-left: 2.5%;
  316. padding-right: 2.5%;
  317. }
  318. /*----------------------
  319. "Floated"
  320. -----------------------*/
  321. .ui.grid .left.floated.column {
  322. float: left;
  323. }
  324. .ui.grid .right.floated.column {
  325. float: right;
  326. }
  327. /*----------------------
  328. Divided
  329. -----------------------*/
  330. .ui.divided.grid,
  331. .ui.divided.grid > .row {
  332. display: table;
  333. width: 100%;
  334. margin-left: 0% !important;
  335. margin-right: 0% !important;
  336. }
  337. .ui.divided.grid > .column:not(.row),
  338. .ui.divided.grid > .row > .column {
  339. display: table-cell;
  340. -webkit-box-shadow: -1px 0px 0px 0px rgba(0, 0, 0, 0.1), -2px 0px 0px 0px rgba(255, 255, 255, 0.8);
  341. box-shadow: -1px 0px 0px 0px rgba(0, 0, 0, 0.1), -2px 0px 0px 0px rgba(255, 255, 255, 0.8);
  342. }
  343. .ui.divided.grid > .column.row {
  344. display: table;
  345. }
  346. .ui.divided.grid > .column:first-child,
  347. .ui.divided.grid > .row > .column:first-child {
  348. -webkit-box-shadow: none;
  349. box-shadow: none;
  350. }
  351. /* Vertically Divided */
  352. .ui.vertically.divided.grid > .row {
  353. -webkit-box-shadow: 0px -1px 0px 0px rgba(0, 0, 0, 0.1), 0px -2px 0px 0px rgba(255, 255, 255, 0.8) !important;
  354. box-shadow: 0px -1px 0px 0px rgba(0, 0, 0, 0.1), 0px -2px 0px 0px rgba(255, 255, 255, 0.8) !important;
  355. }
  356. .ui.vertically.divided.grid > .row > .column,
  357. .ui.vertically.divided.grid > .column:not(.row),
  358. .ui.vertically.divided.grid > .row:first-child {
  359. -webkit-box-shadow: none !important;
  360. box-shadow: none !important;
  361. }
  362. /*----------------------
  363. Celled
  364. -----------------------*/
  365. .ui.celled.grid {
  366. display: table;
  367. width: 100%;
  368. margin-left: 0% !important;
  369. margin-right: 0% !important;
  370. -webkit-box-shadow: 0px 0px 0px 1px #DFDFDF;
  371. box-shadow: 0px 0px 0px 1px #DFDFDF;
  372. }
  373. .ui.celled.grid > .row,
  374. .ui.celled.grid > .column.row,
  375. .ui.celled.grid > .column.row:first-child {
  376. display: table;
  377. width: 100%;
  378. margin-top: 0em;
  379. padding-top: 0em;
  380. -webkit-box-shadow: 0px -1px 0px 0px #dfdfdf;
  381. box-shadow: 0px -1px 0px 0px #dfdfdf;
  382. }
  383. .ui.celled.grid > .column:not(.row),
  384. .ui.celled.grid > .row > .column {
  385. display: table-cell;
  386. padding: 0.75em;
  387. -webkit-box-shadow: -1px 0px 0px 0px #dfdfdf;
  388. box-shadow: -1px 0px 0px 0px #dfdfdf;
  389. }
  390. .ui.celled.grid > .column:first-child,
  391. .ui.celled.grid > .row > .column:first-child {
  392. -webkit-box-shadow: none;
  393. box-shadow: none;
  394. }
  395. .ui.celled.page.grid {
  396. -webkit-box-shadow: none;
  397. box-shadow: none;
  398. }
  399. /*----------------------
  400. Horizontally Centered
  401. -----------------------*/
  402. /* Vertical Centered */
  403. .ui.left.aligned.grid,
  404. .ui.left.aligned.grid > .row > .column,
  405. .ui.left.aligned.grid > .column,
  406. .ui.grid .left.aligned.column,
  407. .ui.grid > .left.aligned.row > .column {
  408. text-align: left;
  409. }
  410. .ui.center.aligned.grid,
  411. .ui.center.aligned.grid > .row > .column,
  412. .ui.center.aligned.grid > .column,
  413. .ui.grid .center.aligned.column,
  414. .ui.grid > .center.aligned.row > .column {
  415. text-align: center;
  416. }
  417. .ui.right.aligned.grid,
  418. .ui.right.aligned.grid > .row > .column,
  419. .ui.right.aligned.grid > .column,
  420. .ui.grid .right.aligned.column,
  421. .ui.grid > .right.aligned.row > .column {
  422. text-align: right;
  423. }
  424. .ui.justified.grid,
  425. .ui.justified.grid > .row > .column,
  426. .ui.justified.grid > .column,
  427. .ui.grid .justified.column,
  428. .ui.grid > .justified.row > .column {
  429. text-align: justify;
  430. -webkit-hyphens: auto;
  431. -moz-hyphens: auto;
  432. -ms-hyphens: auto;
  433. hyphens: auto;
  434. }
  435. /*----------------------
  436. Vertically Centered
  437. -----------------------*/
  438. /* Vertical Centered */
  439. .ui.top.aligned.grid,
  440. .ui.top.aligned.grid > .row > .column,
  441. .ui.top.aligned.grid > .column,
  442. .ui.grid .top.aligned.column,
  443. .ui.grid > .top.aligned.row > .column {
  444. vertical-align: top;
  445. }
  446. .ui.middle.aligned.grid,
  447. .ui.middle.aligned.grid > .row > .column,
  448. .ui.middle.aligned.grid > .column,
  449. .ui.grid .middle.aligned.column,
  450. .ui.grid > .middle.aligned.row > .column {
  451. vertical-align: middle;
  452. }
  453. .ui.bottom.aligned.grid,
  454. .ui.bottom.aligned.grid > .row > .column,
  455. .ui.bottom.aligned.grid > .column,
  456. .ui.grid .bottom.aligned.column,
  457. .ui.grid > .bottom.aligned.row > .column {
  458. vertical-align: bottom;
  459. }
  460. /*----------------------
  461. Equal Height Columns
  462. -----------------------*/
  463. .ui.grid > .equal.height.row {
  464. display: table;
  465. width: 100%;
  466. }
  467. .ui.grid > .equal.height.row > .column {
  468. display: table-cell;
  469. }
  470. /*----------------------
  471. Only (Device)
  472. -----------------------*/
  473. /* Mobile Only */
  474. @media only screen and (max-width: 767px) {
  475. .ui.mobile.only.grid,
  476. .ui.grid > .mobile.only.row {
  477. display: block !important;
  478. }
  479. .ui.grid > .row > .mobile.only.column {
  480. display: inline-block !important;
  481. }
  482. .ui.divided.mobile.only.grid,
  483. .ui.celled.mobile.only.grid,
  484. .ui.divided.mobile.only.grid .row,
  485. .ui.celled.mobile.only.grid .row,
  486. .ui.divided.grid .mobile.only.row,
  487. .ui.celled.grid .mobile.only.row,
  488. .ui.grid .mobile.only.equal.height.row,
  489. .ui.mobile.only.grid .equal.height.row {
  490. display: table !important;
  491. }
  492. .ui.divided.grid > .row > .mobile.only.column,
  493. .ui.celled.grid > .row > .mobile.only.column,
  494. .ui.divided.mobile.only.grid > .row > .column,
  495. .ui.celled.mobile.only.grid > .row > .column,
  496. .ui.divided.mobile.only.grid > .column,
  497. .ui.celled.mobile.only.grid > .column {
  498. display: table-cell !important;
  499. }
  500. }
  501. @media only screen and (min-width: 768px) {
  502. .ui.mobile.only.grid,
  503. .ui.grid > .mobile.only.row,
  504. .ui.grid > .mobile.only.column,
  505. .ui.grid > .row > .mobile.only.column {
  506. display: none;
  507. }
  508. }
  509. /* Tablet Only */
  510. @media only screen and (min-width: 768px) and (max-width: 991px) {
  511. .ui.tablet.only.grid,
  512. .ui.grid > .tablet.only.row {
  513. display: block !important;
  514. }
  515. .ui.grid > .row > .tablet.only.column {
  516. display: inline-block !important;
  517. }
  518. .ui.divided.tablet.only.grid,
  519. .ui.celled.tablet.only.grid,
  520. .ui.divided.tablet.only.grid .row,
  521. .ui.celled.tablet.only.grid .row,
  522. .ui.divided.grid .tablet.only.row,
  523. .ui.celled.grid .tablet.only.row,
  524. .ui.grid .tablet.only.equal.height.row,
  525. .ui.tablet.only.grid .equal.height.row {
  526. display: table !important;
  527. }
  528. .ui.divided.grid > .row > .tablet.only.column,
  529. .ui.celled.grid > .row > .tablet.only.column,
  530. .ui.divided.tablet.only.grid > .row > .column,
  531. .ui.celled.tablet.only.grid > .row > .column,
  532. .ui.divided.tablet.only.grid > .column,
  533. .ui.celled.tablet.only.grid > .column {
  534. display: table-cell !important;
  535. }
  536. }
  537. @media only screen and (max-width: 767px), (min-width: 992px) {
  538. .ui.tablet.only.grid,
  539. .ui.grid > .tablet.only.row,
  540. .ui.grid > .tablet.only.column,
  541. .ui.grid > .row > .tablet.only.column {
  542. display: none;
  543. }
  544. }
  545. /* Computer Only */
  546. @media only screen and (min-width: 992px) {
  547. .ui.computer.only.grid,
  548. .ui.grid > .computer.only.row {
  549. display: block !important;
  550. }
  551. .ui.grid > .row > .computer.only.column {
  552. display: inline-block !important;
  553. }
  554. .ui.divided.computer.only.grid,
  555. .ui.celled.computer.only.grid,
  556. .ui.divided.computer.only.grid .row,
  557. .ui.celled.computer.only.grid .row,
  558. .ui.divided.grid .computer.only.row,
  559. .ui.celled.grid .computer.only.row,
  560. .ui.grid .computer.only.equal.height.row,
  561. .ui.computer.only.grid .equal.height.row {
  562. display: table !important;
  563. }
  564. .ui.divided.grid > .row > .computer.only.column,
  565. .ui.celled.grid > .row > .computer.only.column,
  566. .ui.divided.computer.only.grid > .row > .column,
  567. .ui.celled.computer.only.grid > .row > .column,
  568. .ui.divided.computer.only.grid > .column,
  569. .ui.celled.computer.only.grid > .column {
  570. display: table-cell !important;
  571. }
  572. }
  573. @media only screen and (max-width: 991px) {
  574. .ui.computer.only.grid,
  575. .ui.grid > .computer.only.row,
  576. .ui.grid > .computer.only.column,
  577. .ui.grid > .row > .computer.only.column {
  578. display: none;
  579. }
  580. }
  581. /*-------------------
  582. Doubling
  583. --------------------*/
  584. /* Mobily Only */
  585. @media only screen and (max-width: 767px) {
  586. .ui.two.column.doubling.grid > .row > .column,
  587. .ui.two.column.doubling.grid > .column,
  588. .ui.grid > .two.column.doubling.row > .column {
  589. width: 100%;
  590. }
  591. .ui.three.column.doubling.grid > .row > .column,
  592. .ui.three.column.doubling.grid > .column,
  593. .ui.grid > .three.column.doubling.row > .column {
  594. width: 100%;
  595. }
  596. .ui.four.column.doubling.grid > .row > .column,
  597. .ui.four.column.doubling.grid > .column,
  598. .ui.grid > .four.column.doubling.row > .column {
  599. width: 100%;
  600. }
  601. .ui.five.column.doubling.grid > .row > .column,
  602. .ui.five.column.doubling.grid > .column,
  603. .ui.grid > .five.column.doubling.row > .column {
  604. width: 100%;
  605. }
  606. .ui.six.column.doubling.grid > .row > .column,
  607. .ui.six.column.doubling.grid > .column,
  608. .ui.grid > .six.column.doubling.row > .column {
  609. width: 50%;
  610. }
  611. .ui.seven.column.doubling.grid > .row > .column,
  612. .ui.seven.column.doubling.grid > .column,
  613. .ui.grid > .seven.column.doubling.row > .column {
  614. width: 50%;
  615. }
  616. .ui.eight.column.doubling.grid > .row > .column,
  617. .ui.eight.column.doubling.grid > .column,
  618. .ui.grid > .eight.column.doubling.row > .column {
  619. width: 50%;
  620. }
  621. .ui.nine.column.doubling.grid > .row > .column,
  622. .ui.nine.column.doubling.grid > .column,
  623. .ui.grid > .nine.column.doubling.row > .column {
  624. width: 50%;
  625. }
  626. .ui.ten.column.doubling.grid > .row > .column,
  627. .ui.ten.column.doubling.grid > .column,
  628. .ui.grid > .ten.column.doubling.row > .column {
  629. width: 50%;
  630. }
  631. .ui.twelve.column.doubling.grid > .row > .column,
  632. .ui.twelve.column.doubling.grid > .column,
  633. .ui.grid > .twelve.column.doubling.row > .column {
  634. width: 33.3333333333333%;
  635. }
  636. .ui.fourteen.column.doubling.grid > .row > .column,
  637. .ui.fourteen.column.doubling.grid > .column,
  638. .ui.grid > .fourteen.column.doubling.row > .column {
  639. width: 33.3333333333333%;
  640. }
  641. .ui.sixteen.column.doubling.grid > .row > .column,
  642. .ui.sixteen.column.doubling.grid > .column,
  643. .ui.grid > .sixteen.column.doubling.row > .column {
  644. width: 25%;
  645. }
  646. }
  647. /* Tablet Only */
  648. @media only screen and (min-width: 768px) and (max-width: 991px) {
  649. .ui.two.column.doubling.grid > .row > .column,
  650. .ui.two.column.doubling.grid > .column,
  651. .ui.grid > .two.column.doubling.row > .column {
  652. width: 100%;
  653. }
  654. .ui.three.column.doubling.grid > .row > .column,
  655. .ui.three.column.doubling.grid > .column,
  656. .ui.grid > .three.column.doubling.row > .column {
  657. width: 50%;
  658. }
  659. .ui.four.column.doubling.grid > .row > .column,
  660. .ui.four.column.doubling.grid > .column,
  661. .ui.grid > .four.column.doubling.row > .column {
  662. width: 50%;
  663. }
  664. .ui.five.column.doubling.grid > .row > .column,
  665. .ui.five.column.doubling.grid > .column,
  666. .ui.grid > .five.column.doubling.row > .column {
  667. width: 33.3333333%;
  668. }
  669. .ui.six.column.doubling.grid > .row > .column,
  670. .ui.six.column.doubling.grid > .column,
  671. .ui.grid > .six.column.doubling.row > .column {
  672. width: 33.3333333%;
  673. }
  674. .ui.eight.column.doubling.grid > .row > .column,
  675. .ui.eight.column.doubling.grid > .column,
  676. .ui.grid > .eight.column.doubling.row > .column {
  677. width: 33.3333333%;
  678. }
  679. .ui.eight.column.doubling.grid > .row > .column,
  680. .ui.eight.column.doubling.grid > .column,
  681. .ui.grid > .eight.column.doubling.row > .column {
  682. width: 25%;
  683. }
  684. .ui.nine.column.doubling.grid > .row > .column,
  685. .ui.nine.column.doubling.grid > .column,
  686. .ui.grid > .nine.column.doubling.row > .column {
  687. width: 25%;
  688. }
  689. .ui.ten.column.doubling.grid > .row > .column,
  690. .ui.ten.column.doubling.grid > .column,
  691. .ui.grid > .ten.column.doubling.row > .column {
  692. width: 20%;
  693. }
  694. .ui.twelve.column.doubling.grid > .row > .column,
  695. .ui.twelve.column.doubling.grid > .column,
  696. .ui.grid > .twelve.column.doubling.row > .column {
  697. width: 16.6666666%;
  698. }
  699. .ui.fourteen.column.doubling.grid > .row > .column,
  700. .ui.fourteen.column.doubling.grid > .column,
  701. .ui.grid > .fourteen.column.doubling.row > .column {
  702. width: 14.28571428571429%;
  703. }
  704. .ui.sixteen.column.doubling.grid > .row > .column,
  705. .ui.sixteen.column.doubling.grid > .column,
  706. .ui.grid > .sixteen.column.doubling.row > .column {
  707. width: 12.5%;
  708. }
  709. }
  710. /*-------------------
  711. Stackable
  712. --------------------*/
  713. @media only screen and (max-width: 767px) {
  714. .ui.stackable.grid {
  715. display: block !important;
  716. padding: 0em;
  717. margin: 0em;
  718. }
  719. .ui.stackable.grid > .row > .column,
  720. .ui.stackable.grid > .column {
  721. display: block !important;
  722. width: auto !important;
  723. margin: 1em 0em 0em !important;
  724. padding: 1em 0em 0em !important;
  725. -webkit-box-shadow: none !important;
  726. box-shadow: none !important;
  727. }
  728. .ui.stackable.divided.grid .column,
  729. .ui.stackable.celled.grid .column {
  730. border-top: 1px dotted rgba(0, 0, 0, 0.1);
  731. }
  732. .ui.stackable.grid > .row:first-child > .column:first-child,
  733. .ui.stackable.grid > .column:first-child {
  734. margin-top: 0em !important;
  735. padding-top: 0em !important;
  736. }
  737. .ui.stackable.divided.grid > .row:first-child > .column:first-child,
  738. .ui.stackable.celled.grid > .row:first-child > .column:first-child,
  739. .ui.stackable.divided.grid > .column:first-child,
  740. .ui.stackable.celled.grid > .column:first-child {
  741. border-top: none !important;
  742. }
  743. .ui.stackable.page.grid > .row > .column,
  744. .ui.stackable.page.grid > .column {
  745. padding-left: 1em !important;
  746. padding-right: 1em !important;
  747. }
  748. /* Remove pointers from vertical menus */
  749. .ui.stackable.grid .vertical.pointing.menu .item:after {
  750. display: none;
  751. }
  752. }