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.

905 lines
21 KiB

11 years ago
11 years ago
11 years ago
11 years ago
11 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),
  341. -2px 0px 0px 0px rgba(255, 255, 255, 0.8);
  342. box-shadow: -1px 0px 0px 0px rgba(0, 0, 0, 0.1),
  343. -2px 0px 0px 0px rgba(255, 255, 255, 0.8);
  344. }
  345. .ui.divided.grid > .column.row {
  346. display: table;
  347. }
  348. .ui.divided.grid > .column:first-child,
  349. .ui.divided.grid > .row > .column:first-child {
  350. -webkit-box-shadow: none;
  351. box-shadow: none;
  352. }
  353. /* Vertically Divided */
  354. .ui.vertically.divided.grid > .row {
  355. -webkit-box-shadow: 0px -1px 0px 0px rgba(0, 0, 0, 0.1),
  356. 0px -2px 0px 0px rgba(255, 255, 255, 0.8) !important;
  357. box-shadow: 0px -1px 0px 0px rgba(0, 0, 0, 0.1),
  358. 0px -2px 0px 0px rgba(255, 255, 255, 0.8) !important;
  359. }
  360. .ui.vertically.divided.grid > .row > .column,
  361. .ui.vertically.divided.grid > .column:not(.row),
  362. .ui.vertically.divided.grid > .row:first-child {
  363. -webkit-box-shadow: none !important;
  364. box-shadow: none !important;
  365. }
  366. /*----------------------
  367. Celled
  368. -----------------------*/
  369. .ui.celled.grid {
  370. display: table;
  371. width: 100%;
  372. margin-left: 0% !important;
  373. margin-right: 0% !important;
  374. -webkit-box-shadow: 0px 0px 0px 1px #DFDFDF;
  375. box-shadow: 0px 0px 0px 1px #DFDFDF;
  376. }
  377. .ui.celled.grid > .row,
  378. .ui.celled.grid > .column.row,
  379. .ui.celled.grid > .column.row:first-child {
  380. display: table;
  381. width: 100%;
  382. margin-top: 0em;
  383. padding-top: 0em;
  384. -webkit-box-shadow: 0px -1px 0px 0px #DFDFDF;
  385. box-shadow: 0px -1px 0px 0px #DFDFDF;
  386. }
  387. .ui.celled.grid > .column:not(.row),
  388. .ui.celled.grid > .row > .column {
  389. display: table-cell;
  390. padding: 0.75em;
  391. -webkit-box-shadow: -1px 0px 0px 0px #DFDFDF;
  392. box-shadow: -1px 0px 0px 0px #DFDFDF;
  393. }
  394. .ui.celled.grid > .column:first-child,
  395. .ui.celled.grid > .row > .column:first-child {
  396. -webkit-box-shadow: none;
  397. box-shadow: none;
  398. }
  399. .ui.celled.page.grid {
  400. -webkit-box-shadow: none;
  401. box-shadow: none;
  402. }
  403. /*----------------------
  404. Horizontally Centered
  405. -----------------------*/
  406. /* Vertical Centered */
  407. .ui.left.aligned.grid,
  408. .ui.left.aligned.grid > .row > .column,
  409. .ui.left.aligned.grid > .column,
  410. .ui.grid .left.aligned.column,
  411. .ui.grid > .left.aligned.row > .column {
  412. text-align: left;
  413. }
  414. .ui.center.aligned.grid,
  415. .ui.center.aligned.grid > .row > .column,
  416. .ui.center.aligned.grid > .column,
  417. .ui.grid .center.aligned.column,
  418. .ui.grid > .center.aligned.row > .column {
  419. text-align: center;
  420. }
  421. .ui.right.aligned.grid,
  422. .ui.right.aligned.grid > .row > .column,
  423. .ui.right.aligned.grid > .column,
  424. .ui.grid .right.aligned.column,
  425. .ui.grid > .right.aligned.row > .column {
  426. text-align: right;
  427. }
  428. .ui.justified.grid,
  429. .ui.justified.grid > .row > .column,
  430. .ui.justified.grid > .column,
  431. .ui.grid .justified.column,
  432. .ui.grid > .justified.row > .column {
  433. text-align: justify;
  434. -webkit-hyphens: auto;
  435. -moz-hyphens: auto;
  436. -ms-hyphens: auto;
  437. hyphens: auto;
  438. }
  439. /*----------------------
  440. Vertically Centered
  441. -----------------------*/
  442. /* Vertical Centered */
  443. .ui.top.aligned.grid,
  444. .ui.top.aligned.grid > .row > .column,
  445. .ui.top.aligned.grid > .column,
  446. .ui.grid .top.aligned.column,
  447. .ui.grid > .top.aligned.row > .column {
  448. vertical-align: top;
  449. }
  450. .ui.middle.aligned.grid,
  451. .ui.middle.aligned.grid > .row > .column,
  452. .ui.middle.aligned.grid > .column,
  453. .ui.grid .middle.aligned.column,
  454. .ui.grid > .middle.aligned.row > .column {
  455. vertical-align: middle;
  456. }
  457. .ui.bottom.aligned.grid,
  458. .ui.bottom.aligned.grid > .row > .column,
  459. .ui.bottom.aligned.grid > .column,
  460. .ui.grid .bottom.aligned.column,
  461. .ui.grid > .bottom.aligned.row > .column {
  462. vertical-align: bottom;
  463. }
  464. /*----------------------
  465. Equal Height Columns
  466. -----------------------*/
  467. .ui.grid > .equal.height.row {
  468. display: table;
  469. width: 100%;
  470. }
  471. .ui.grid > .equal.height.row > .column {
  472. display: table-cell;
  473. }
  474. /*----------------------
  475. Only (Device)
  476. -----------------------*/
  477. /* Mobile Only */
  478. @media only screen and (max-width : 767px) {
  479. .ui.mobile.only.grid,
  480. .ui.grid > .mobile.only.row {
  481. display: block !important;
  482. }
  483. .ui.grid > .row > .mobile.only.column {
  484. display: inline-block !important;
  485. }
  486. .ui.divided.mobile.only.grid,
  487. .ui.celled.mobile.only.grid,
  488. .ui.divided.mobile.only.grid .row,
  489. .ui.celled.mobile.only.grid .row,
  490. .ui.divided.grid .mobile.only.row,
  491. .ui.celled.grid .mobile.only.row,
  492. .ui.grid .mobile.only.equal.height.row,
  493. .ui.mobile.only.grid .equal.height.row {
  494. display: table !important;
  495. }
  496. .ui.divided.grid > .row > .mobile.only.column,
  497. .ui.celled.grid > .row > .mobile.only.column,
  498. .ui.divided.mobile.only.grid > .row > .column,
  499. .ui.celled.mobile.only.grid > .row > .column,
  500. .ui.divided.mobile.only.grid > .column,
  501. .ui.celled.mobile.only.grid > .column {
  502. display: table-cell !important;
  503. }
  504. }
  505. @media only screen and (min-width : 768px) {
  506. .ui.mobile.only.grid,
  507. .ui.grid > .mobile.only.row,
  508. .ui.grid > .mobile.only.column,
  509. .ui.grid > .row > .mobile.only.column {
  510. display: none;
  511. }
  512. }
  513. /* Tablet Only */
  514. @media only screen and (min-width : 768px) and (max-width : 991px) {
  515. .ui.tablet.only.grid,
  516. .ui.grid > .tablet.only.row {
  517. display: block !important;
  518. }
  519. .ui.grid > .row > .tablet.only.column {
  520. display: inline-block !important;
  521. }
  522. .ui.divided.tablet.only.grid,
  523. .ui.celled.tablet.only.grid,
  524. .ui.divided.tablet.only.grid .row,
  525. .ui.celled.tablet.only.grid .row,
  526. .ui.divided.grid .tablet.only.row,
  527. .ui.celled.grid .tablet.only.row,
  528. .ui.grid .tablet.only.equal.height.row,
  529. .ui.tablet.only.grid .equal.height.row {
  530. display: table !important;
  531. }
  532. .ui.divided.grid > .row > .tablet.only.column,
  533. .ui.celled.grid > .row > .tablet.only.column,
  534. .ui.divided.tablet.only.grid > .row > .column,
  535. .ui.celled.tablet.only.grid > .row > .column,
  536. .ui.divided.tablet.only.grid > .column,
  537. .ui.celled.tablet.only.grid > .column {
  538. display: table-cell !important;
  539. }
  540. }
  541. @media only screen and (max-width : 767px), (min-width: 992px) {
  542. .ui.tablet.only.grid,
  543. .ui.grid > .tablet.only.row,
  544. .ui.grid > .tablet.only.column,
  545. .ui.grid > .row > .tablet.only.column {
  546. display: none;
  547. }
  548. }
  549. /* Computer Only */
  550. @media only screen and (min-width : 992px) {
  551. .ui.computer.only.grid,
  552. .ui.grid > .computer.only.row {
  553. display: block !important;
  554. }
  555. .ui.grid > .row > .computer.only.column {
  556. display: inline-block !important;
  557. }
  558. .ui.divided.computer.only.grid,
  559. .ui.celled.computer.only.grid,
  560. .ui.divided.computer.only.grid .row,
  561. .ui.celled.computer.only.grid .row,
  562. .ui.divided.grid .computer.only.row,
  563. .ui.celled.grid .computer.only.row,
  564. .ui.grid .computer.only.equal.height.row,
  565. .ui.computer.only.grid .equal.height.row {
  566. display: table !important;
  567. }
  568. .ui.divided.grid > .row > .computer.only.column,
  569. .ui.celled.grid > .row > .computer.only.column,
  570. .ui.divided.computer.only.grid > .row > .column,
  571. .ui.celled.computer.only.grid > .row > .column,
  572. .ui.divided.computer.only.grid > .column,
  573. .ui.celled.computer.only.grid > .column {
  574. display: table-cell !important;
  575. }
  576. }
  577. @media only screen and (max-width : 991px) {
  578. .ui.computer.only.grid,
  579. .ui.grid > .computer.only.row,
  580. .ui.grid > .computer.only.column,
  581. .ui.grid > .row > .computer.only.column {
  582. display: none;
  583. }
  584. }
  585. /*-------------------
  586. Doubling
  587. --------------------*/
  588. /* Mobily Only */
  589. @media only screen and (max-width : 767px) {
  590. .ui.two.column.doubling.grid > .row > .column,
  591. .ui.two.column.doubling.grid > .column,
  592. .ui.grid > .two.column.doubling.row > .column {
  593. width: 100%;
  594. }
  595. .ui.three.column.doubling.grid > .row > .column,
  596. .ui.three.column.doubling.grid > .column,
  597. .ui.grid > .three.column.doubling.row > .column {
  598. width: 100%;
  599. }
  600. .ui.four.column.doubling.grid > .row > .column,
  601. .ui.four.column.doubling.grid > .column,
  602. .ui.grid > .four.column.doubling.row > .column {
  603. width: 100%;
  604. }
  605. .ui.five.column.doubling.grid > .row > .column,
  606. .ui.five.column.doubling.grid > .column,
  607. .ui.grid > .five.column.doubling.row > .column {
  608. width: 100%;
  609. }
  610. .ui.six.column.doubling.grid > .row > .column,
  611. .ui.six.column.doubling.grid > .column,
  612. .ui.grid > .six.column.doubling.row > .column {
  613. width: 50%;
  614. }
  615. .ui.seven.column.doubling.grid > .row > .column,
  616. .ui.seven.column.doubling.grid > .column,
  617. .ui.grid > .seven.column.doubling.row > .column {
  618. width: 50%;
  619. }
  620. .ui.eight.column.doubling.grid > .row > .column,
  621. .ui.eight.column.doubling.grid > .column,
  622. .ui.grid > .eight.column.doubling.row > .column {
  623. width: 50%;
  624. }
  625. .ui.nine.column.doubling.grid > .row > .column,
  626. .ui.nine.column.doubling.grid > .column,
  627. .ui.grid > .nine.column.doubling.row > .column {
  628. width: 50%;
  629. }
  630. .ui.ten.column.doubling.grid > .row > .column,
  631. .ui.ten.column.doubling.grid > .column,
  632. .ui.grid > .ten.column.doubling.row > .column {
  633. width: 50%;
  634. }
  635. .ui.twelve.column.doubling.grid > .row > .column,
  636. .ui.twelve.column.doubling.grid > .column,
  637. .ui.grid > .twelve.column.doubling.row > .column {
  638. width: 33.3333333333333%;
  639. }
  640. .ui.fourteen.column.doubling.grid > .row > .column,
  641. .ui.fourteen.column.doubling.grid > .column,
  642. .ui.grid > .fourteen.column.doubling.row > .column {
  643. width: 33.3333333333333%;
  644. }
  645. .ui.sixteen.column.doubling.grid > .row > .column,
  646. .ui.sixteen.column.doubling.grid > .column,
  647. .ui.grid > .sixteen.column.doubling.row > .column {
  648. width: 25%;
  649. }
  650. }
  651. /* Tablet Only */
  652. @media only screen and (min-width : 768px) and (max-width : 991px) {
  653. .ui.two.column.doubling.grid > .row > .column,
  654. .ui.two.column.doubling.grid > .column,
  655. .ui.grid > .two.column.doubling.row > .column {
  656. width: 100%;
  657. }
  658. .ui.three.column.doubling.grid > .row > .column,
  659. .ui.three.column.doubling.grid > .column,
  660. .ui.grid > .three.column.doubling.row > .column {
  661. width: 50%;
  662. }
  663. .ui.four.column.doubling.grid > .row > .column,
  664. .ui.four.column.doubling.grid > .column,
  665. .ui.grid > .four.column.doubling.row > .column {
  666. width: 50%;
  667. }
  668. .ui.five.column.doubling.grid > .row > .column,
  669. .ui.five.column.doubling.grid > .column,
  670. .ui.grid > .five.column.doubling.row > .column {
  671. width: 33.3333333%;
  672. }
  673. .ui.six.column.doubling.grid > .row > .column,
  674. .ui.six.column.doubling.grid > .column,
  675. .ui.grid > .six.column.doubling.row > .column {
  676. width: 33.3333333%;
  677. }
  678. .ui.eight.column.doubling.grid > .row > .column,
  679. .ui.eight.column.doubling.grid > .column,
  680. .ui.grid > .eight.column.doubling.row > .column {
  681. width: 33.3333333%;
  682. }
  683. .ui.eight.column.doubling.grid > .row > .column,
  684. .ui.eight.column.doubling.grid > .column,
  685. .ui.grid > .eight.column.doubling.row > .column {
  686. width: 25%;
  687. }
  688. .ui.nine.column.doubling.grid > .row > .column,
  689. .ui.nine.column.doubling.grid > .column,
  690. .ui.grid > .nine.column.doubling.row > .column {
  691. width: 25%;
  692. }
  693. .ui.ten.column.doubling.grid > .row > .column,
  694. .ui.ten.column.doubling.grid > .column,
  695. .ui.grid > .ten.column.doubling.row > .column {
  696. width: 20%;
  697. }
  698. .ui.twelve.column.doubling.grid > .row > .column,
  699. .ui.twelve.column.doubling.grid > .column,
  700. .ui.grid > .twelve.column.doubling.row > .column {
  701. width: 16.6666666%;
  702. }
  703. .ui.fourteen.column.doubling.grid > .row > .column,
  704. .ui.fourteen.column.doubling.grid > .column,
  705. .ui.grid > .fourteen.column.doubling.row > .column {
  706. width: 14.28571428571429%;
  707. }
  708. .ui.sixteen.column.doubling.grid > .row > .column,
  709. .ui.sixteen.column.doubling.grid > .column,
  710. .ui.grid > .sixteen.column.doubling.row > .column {
  711. width: 12.5%;
  712. }
  713. }
  714. /*-------------------
  715. Stackable
  716. --------------------*/
  717. @media only screen and (max-width : 767px) {
  718. .ui.stackable.grid {
  719. display: block !important;
  720. padding: 0em;
  721. margin: 0em;
  722. }
  723. .ui.stackable.grid > .row > .column,
  724. .ui.stackable.grid > .column {
  725. display: block !important;
  726. width: auto !important;
  727. margin: 1em 0em 0em !important;
  728. padding: 1em 0em 0em !important;
  729. -webkit-box-shadow: none !important;
  730. box-shadow: none !important;
  731. }
  732. .ui.stackable.divided.grid .column,
  733. .ui.stackable.celled.grid .column {
  734. border-top: 1px dotted rgba(0, 0, 0, 0.1);
  735. }
  736. .ui.stackable.grid > .row:first-child > .column:first-child,
  737. .ui.stackable.grid > .column:first-child {
  738. margin-top: 0em !important;
  739. padding-top: 0em !important;
  740. }
  741. .ui.stackable.divided.grid > .row:first-child > .column:first-child,
  742. .ui.stackable.celled.grid > .row:first-child > .column:first-child,
  743. .ui.stackable.divided.grid > .column:first-child,
  744. .ui.stackable.celled.grid > .column:first-child {
  745. border-top: none !important;
  746. }
  747. .ui.stackable.page.grid > .row > .column,
  748. .ui.stackable.page.grid > .column {
  749. padding-left: 1em !important;
  750. padding-right: 1em !important;
  751. }
  752. /* Remove pointers from vertical menus */
  753. .ui.stackable.grid .vertical.pointing.menu .item:after {
  754. display: none;
  755. }
  756. }