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.

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