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.

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