-
Notifications
You must be signed in to change notification settings - Fork 4.9k
/
grid.css
executable file
·1929 lines (1797 loc) · 64.9 KB
/
grid.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/*!
* # Semantic UI 2.5.0 - Grid
* http://github.com/semantic-org/semantic-ui/
*
*
* Released under the MIT license
* http://opensource.org/licenses/MIT
*
*/
/*******************************
Standard
*******************************/
.ui.grid {
display: flex;
flex-direction: row;
flex-wrap: wrap;
align-items: stretch;
padding: 0em;
}
/*----------------------
Remove Gutters
-----------------------*/
.ui.grid {
margin-top: -1rem;
margin-bottom: -1rem;
margin-left: -1rem;
margin-right: -1rem;
}
.ui.relaxed.grid {
margin-left: -1.5rem;
margin-right: -1.5rem;
}
.ui[class*="very relaxed"].grid {
margin-left: -2.5rem;
margin-right: -2.5rem;
}
/* Preserve Rows Spacing on Consecutive Grids */
.ui.grid + .grid {
margin-top: 1rem;
}
/*-------------------
Columns
--------------------*/
/* Standard 16 column */
.ui.grid > .column:not(.row),
.ui.grid > .row > .column {
position: relative;
display: inline-block;
width: 6.25%;
padding-left: 1rem;
padding-right: 1rem;
vertical-align: top;
}
.ui.grid > * {
padding-left: 1rem;
padding-right: 1rem;
}
/*-------------------
Rows
--------------------*/
.ui.grid > .row {
position: relative;
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: inherit;
align-items: stretch;
width: 100% !important;
padding: 0rem;
padding-top: 1rem;
padding-bottom: 1rem;
}
/*-------------------
Columns
--------------------*/
/* Vertical padding when no rows */
.ui.grid > .column:not(.row) {
padding-top: 1rem;
padding-bottom: 1rem;
}
.ui.grid > .row > .column {
margin-top: 0em;
margin-bottom: 0em;
}
/*-------------------
Content
--------------------*/
.ui.grid > .row > img,
.ui.grid > .row > .column > img {
max-width: 100%;
}
/*-------------------
Loose Coupling
--------------------*/
/* Collapse Margin on Consecutive Grid */
.ui.grid > .ui.grid:first-child {
margin-top: 0em;
}
.ui.grid > .ui.grid:last-child {
margin-bottom: 0em;
}
/* Segment inside Aligned Grid */
.ui.grid .aligned.row > .column > .segment:not(.compact):not(.attached),
.ui.aligned.grid .column > .segment:not(.compact):not(.attached) {
width: 100%;
}
/* Align Dividers with Gutter */
.ui.grid .row + .ui.divider {
flex-grow: 1;
margin: 1rem 1rem;
}
.ui.grid .column + .ui.vertical.divider {
height: calc(50% - (2rem / 2));
}
/* Remove Border on Last Horizontal Segment */
.ui.grid > .row > .column:last-child > .horizontal.segment,
.ui.grid > .column:last-child > .horizontal.segment {
box-shadow: none;
}
/*******************************
Variations
*******************************/
/*-----------------------
Page Grid
-------------------------*/
@media only screen and (max-width: 767px) {
.ui.page.grid {
width: auto;
padding-left: 0em;
padding-right: 0em;
margin-left: 0em;
margin-right: 0em;
}
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
.ui.page.grid {
width: auto;
margin-left: 0em;
margin-right: 0em;
padding-left: 2em;
padding-right: 2em;
}
}
@media only screen and (min-width: 992px) and (max-width: 1199px) {
.ui.page.grid {
width: auto;
margin-left: 0em;
margin-right: 0em;
padding-left: 3%;
padding-right: 3%;
}
}
@media only screen and (min-width: 1200px) and (max-width: 1919px) {
.ui.page.grid {
width: auto;
margin-left: 0em;
margin-right: 0em;
padding-left: 15%;
padding-right: 15%;
}
}
@media only screen and (min-width: 1920px) {
.ui.page.grid {
width: auto;
margin-left: 0em;
margin-right: 0em;
padding-left: 23%;
padding-right: 23%;
}
}
/*-------------------
Column Count
--------------------*/
/* Assume full width with one column */
.ui.grid > .column:only-child,
.ui.grid > .row > .column:only-child {
width: 100%;
}
/* Grid Based */
.ui[class*="one column"].grid > .row > .column,
.ui[class*="one column"].grid > .column:not(.row) {
width: 100%;
}
.ui[class*="two column"].grid > .row > .column,
.ui[class*="two column"].grid > .column:not(.row) {
width: 50%;
}
.ui[class*="three column"].grid > .row > .column,
.ui[class*="three column"].grid > .column:not(.row) {
width: 33.33333333%;
}
.ui[class*="four column"].grid > .row > .column,
.ui[class*="four column"].grid > .column:not(.row) {
width: 25%;
}
.ui[class*="five column"].grid > .row > .column,
.ui[class*="five column"].grid > .column:not(.row) {
width: 20%;
}
.ui[class*="six column"].grid > .row > .column,
.ui[class*="six column"].grid > .column:not(.row) {
width: 16.66666667%;
}
.ui[class*="seven column"].grid > .row > .column,
.ui[class*="seven column"].grid > .column:not(.row) {
width: 14.28571429%;
}
.ui[class*="eight column"].grid > .row > .column,
.ui[class*="eight column"].grid > .column:not(.row) {
width: 12.5%;
}
.ui[class*="nine column"].grid > .row > .column,
.ui[class*="nine column"].grid > .column:not(.row) {
width: 11.11111111%;
}
.ui[class*="ten column"].grid > .row > .column,
.ui[class*="ten column"].grid > .column:not(.row) {
width: 10%;
}
.ui[class*="eleven column"].grid > .row > .column,
.ui[class*="eleven column"].grid > .column:not(.row) {
width: 9.09090909%;
}
.ui[class*="twelve column"].grid > .row > .column,
.ui[class*="twelve column"].grid > .column:not(.row) {
width: 8.33333333%;
}
.ui[class*="thirteen column"].grid > .row > .column,
.ui[class*="thirteen column"].grid > .column:not(.row) {
width: 7.69230769%;
}
.ui[class*="fourteen column"].grid > .row > .column,
.ui[class*="fourteen column"].grid > .column:not(.row) {
width: 7.14285714%;
}
.ui[class*="fifteen column"].grid > .row > .column,
.ui[class*="fifteen column"].grid > .column:not(.row) {
width: 6.66666667%;
}
.ui[class*="sixteen column"].grid > .row > .column,
.ui[class*="sixteen column"].grid > .column:not(.row) {
width: 6.25%;
}
/* Row Based Overrides */
.ui.grid > [class*="one column"].row > .column {
width: 100% !important;
}
.ui.grid > [class*="two column"].row > .column {
width: 50% !important;
}
.ui.grid > [class*="three column"].row > .column {
width: 33.33333333% !important;
}
.ui.grid > [class*="four column"].row > .column {
width: 25% !important;
}
.ui.grid > [class*="five column"].row > .column {
width: 20% !important;
}
.ui.grid > [class*="six column"].row > .column {
width: 16.66666667% !important;
}
.ui.grid > [class*="seven column"].row > .column {
width: 14.28571429% !important;
}
.ui.grid > [class*="eight column"].row > .column {
width: 12.5% !important;
}
.ui.grid > [class*="nine column"].row > .column {
width: 11.11111111% !important;
}
.ui.grid > [class*="ten column"].row > .column {
width: 10% !important;
}
.ui.grid > [class*="eleven column"].row > .column {
width: 9.09090909% !important;
}
.ui.grid > [class*="twelve column"].row > .column {
width: 8.33333333% !important;
}
.ui.grid > [class*="thirteen column"].row > .column {
width: 7.69230769% !important;
}
.ui.grid > [class*="fourteen column"].row > .column {
width: 7.14285714% !important;
}
.ui.grid > [class*="fifteen column"].row > .column {
width: 6.66666667% !important;
}
.ui.grid > [class*="sixteen column"].row > .column {
width: 6.25% !important;
}
/* Celled Page */
.ui.celled.page.grid {
box-shadow: none;
}
/*-------------------
Column Width
--------------------*/
/* Sizing Combinations */
.ui.grid > .row > [class*="one wide"].column,
.ui.grid > .column.row > [class*="one wide"].column,
.ui.grid > [class*="one wide"].column,
.ui.column.grid > [class*="one wide"].column {
width: 6.25% !important;
}
.ui.grid > .row > [class*="two wide"].column,
.ui.grid > .column.row > [class*="two wide"].column,
.ui.grid > [class*="two wide"].column,
.ui.column.grid > [class*="two wide"].column {
width: 12.5% !important;
}
.ui.grid > .row > [class*="three wide"].column,
.ui.grid > .column.row > [class*="three wide"].column,
.ui.grid > [class*="three wide"].column,
.ui.column.grid > [class*="three wide"].column {
width: 18.75% !important;
}
.ui.grid > .row > [class*="four wide"].column,
.ui.grid > .column.row > [class*="four wide"].column,
.ui.grid > [class*="four wide"].column,
.ui.column.grid > [class*="four wide"].column {
width: 25% !important;
}
.ui.grid > .row > [class*="five wide"].column,
.ui.grid > .column.row > [class*="five wide"].column,
.ui.grid > [class*="five wide"].column,
.ui.column.grid > [class*="five wide"].column {
width: 31.25% !important;
}
.ui.grid > .row > [class*="six wide"].column,
.ui.grid > .column.row > [class*="six wide"].column,
.ui.grid > [class*="six wide"].column,
.ui.column.grid > [class*="six wide"].column {
width: 37.5% !important;
}
.ui.grid > .row > [class*="seven wide"].column,
.ui.grid > .column.row > [class*="seven wide"].column,
.ui.grid > [class*="seven wide"].column,
.ui.column.grid > [class*="seven wide"].column {
width: 43.75% !important;
}
.ui.grid > .row > [class*="eight wide"].column,
.ui.grid > .column.row > [class*="eight wide"].column,
.ui.grid > [class*="eight wide"].column,
.ui.column.grid > [class*="eight wide"].column {
width: 50% !important;
}
.ui.grid > .row > [class*="nine wide"].column,
.ui.grid > .column.row > [class*="nine wide"].column,
.ui.grid > [class*="nine wide"].column,
.ui.column.grid > [class*="nine wide"].column {
width: 56.25% !important;
}
.ui.grid > .row > [class*="ten wide"].column,
.ui.grid > .column.row > [class*="ten wide"].column,
.ui.grid > [class*="ten wide"].column,
.ui.column.grid > [class*="ten wide"].column {
width: 62.5% !important;
}
.ui.grid > .row > [class*="eleven wide"].column,
.ui.grid > .column.row > [class*="eleven wide"].column,
.ui.grid > [class*="eleven wide"].column,
.ui.column.grid > [class*="eleven wide"].column {
width: 68.75% !important;
}
.ui.grid > .row > [class*="twelve wide"].column,
.ui.grid > .column.row > [class*="twelve wide"].column,
.ui.grid > [class*="twelve wide"].column,
.ui.column.grid > [class*="twelve wide"].column {
width: 75% !important;
}
.ui.grid > .row > [class*="thirteen wide"].column,
.ui.grid > .column.row > [class*="thirteen wide"].column,
.ui.grid > [class*="thirteen wide"].column,
.ui.column.grid > [class*="thirteen wide"].column {
width: 81.25% !important;
}
.ui.grid > .row > [class*="fourteen wide"].column,
.ui.grid > .column.row > [class*="fourteen wide"].column,
.ui.grid > [class*="fourteen wide"].column,
.ui.column.grid > [class*="fourteen wide"].column {
width: 87.5% !important;
}
.ui.grid > .row > [class*="fifteen wide"].column,
.ui.grid > .column.row > [class*="fifteen wide"].column,
.ui.grid > [class*="fifteen wide"].column,
.ui.column.grid > [class*="fifteen wide"].column {
width: 93.75% !important;
}
.ui.grid > .row > [class*="sixteen wide"].column,
.ui.grid > .column.row > [class*="sixteen wide"].column,
.ui.grid > [class*="sixteen wide"].column,
.ui.column.grid > [class*="sixteen wide"].column {
width: 100% !important;
}
/*----------------------
Width per Device
-----------------------*/
/* Mobile Sizing Combinations */
@media only screen and (min-width: 320px) and (max-width: 767px) {
.ui.grid > .row > [class*="one wide mobile"].column,
.ui.grid > .column.row > [class*="one wide mobile"].column,
.ui.grid > [class*="one wide mobile"].column,
.ui.column.grid > [class*="one wide mobile"].column {
width: 6.25% !important;
}
.ui.grid > .row > [class*="two wide mobile"].column,
.ui.grid > .column.row > [class*="two wide mobile"].column,
.ui.grid > [class*="two wide mobile"].column,
.ui.column.grid > [class*="two wide mobile"].column {
width: 12.5% !important;
}
.ui.grid > .row > [class*="three wide mobile"].column,
.ui.grid > .column.row > [class*="three wide mobile"].column,
.ui.grid > [class*="three wide mobile"].column,
.ui.column.grid > [class*="three wide mobile"].column {
width: 18.75% !important;
}
.ui.grid > .row > [class*="four wide mobile"].column,
.ui.grid > .column.row > [class*="four wide mobile"].column,
.ui.grid > [class*="four wide mobile"].column,
.ui.column.grid > [class*="four wide mobile"].column {
width: 25% !important;
}
.ui.grid > .row > [class*="five wide mobile"].column,
.ui.grid > .column.row > [class*="five wide mobile"].column,
.ui.grid > [class*="five wide mobile"].column,
.ui.column.grid > [class*="five wide mobile"].column {
width: 31.25% !important;
}
.ui.grid > .row > [class*="six wide mobile"].column,
.ui.grid > .column.row > [class*="six wide mobile"].column,
.ui.grid > [class*="six wide mobile"].column,
.ui.column.grid > [class*="six wide mobile"].column {
width: 37.5% !important;
}
.ui.grid > .row > [class*="seven wide mobile"].column,
.ui.grid > .column.row > [class*="seven wide mobile"].column,
.ui.grid > [class*="seven wide mobile"].column,
.ui.column.grid > [class*="seven wide mobile"].column {
width: 43.75% !important;
}
.ui.grid > .row > [class*="eight wide mobile"].column,
.ui.grid > .column.row > [class*="eight wide mobile"].column,
.ui.grid > [class*="eight wide mobile"].column,
.ui.column.grid > [class*="eight wide mobile"].column {
width: 50% !important;
}
.ui.grid > .row > [class*="nine wide mobile"].column,
.ui.grid > .column.row > [class*="nine wide mobile"].column,
.ui.grid > [class*="nine wide mobile"].column,
.ui.column.grid > [class*="nine wide mobile"].column {
width: 56.25% !important;
}
.ui.grid > .row > [class*="ten wide mobile"].column,
.ui.grid > .column.row > [class*="ten wide mobile"].column,
.ui.grid > [class*="ten wide mobile"].column,
.ui.column.grid > [class*="ten wide mobile"].column {
width: 62.5% !important;
}
.ui.grid > .row > [class*="eleven wide mobile"].column,
.ui.grid > .column.row > [class*="eleven wide mobile"].column,
.ui.grid > [class*="eleven wide mobile"].column,
.ui.column.grid > [class*="eleven wide mobile"].column {
width: 68.75% !important;
}
.ui.grid > .row > [class*="twelve wide mobile"].column,
.ui.grid > .column.row > [class*="twelve wide mobile"].column,
.ui.grid > [class*="twelve wide mobile"].column,
.ui.column.grid > [class*="twelve wide mobile"].column {
width: 75% !important;
}
.ui.grid > .row > [class*="thirteen wide mobile"].column,
.ui.grid > .column.row > [class*="thirteen wide mobile"].column,
.ui.grid > [class*="thirteen wide mobile"].column,
.ui.column.grid > [class*="thirteen wide mobile"].column {
width: 81.25% !important;
}
.ui.grid > .row > [class*="fourteen wide mobile"].column,
.ui.grid > .column.row > [class*="fourteen wide mobile"].column,
.ui.grid > [class*="fourteen wide mobile"].column,
.ui.column.grid > [class*="fourteen wide mobile"].column {
width: 87.5% !important;
}
.ui.grid > .row > [class*="fifteen wide mobile"].column,
.ui.grid > .column.row > [class*="fifteen wide mobile"].column,
.ui.grid > [class*="fifteen wide mobile"].column,
.ui.column.grid > [class*="fifteen wide mobile"].column {
width: 93.75% !important;
}
.ui.grid > .row > [class*="sixteen wide mobile"].column,
.ui.grid > .column.row > [class*="sixteen wide mobile"].column,
.ui.grid > [class*="sixteen wide mobile"].column,
.ui.column.grid > [class*="sixteen wide mobile"].column {
width: 100% !important;
}
}
/* Tablet Sizing Combinations */
@media only screen and (min-width: 768px) and (max-width: 991px) {
.ui.grid > .row > [class*="one wide tablet"].column,
.ui.grid > .column.row > [class*="one wide tablet"].column,
.ui.grid > [class*="one wide tablet"].column,
.ui.column.grid > [class*="one wide tablet"].column {
width: 6.25% !important;
}
.ui.grid > .row > [class*="two wide tablet"].column,
.ui.grid > .column.row > [class*="two wide tablet"].column,
.ui.grid > [class*="two wide tablet"].column,
.ui.column.grid > [class*="two wide tablet"].column {
width: 12.5% !important;
}
.ui.grid > .row > [class*="three wide tablet"].column,
.ui.grid > .column.row > [class*="three wide tablet"].column,
.ui.grid > [class*="three wide tablet"].column,
.ui.column.grid > [class*="three wide tablet"].column {
width: 18.75% !important;
}
.ui.grid > .row > [class*="four wide tablet"].column,
.ui.grid > .column.row > [class*="four wide tablet"].column,
.ui.grid > [class*="four wide tablet"].column,
.ui.column.grid > [class*="four wide tablet"].column {
width: 25% !important;
}
.ui.grid > .row > [class*="five wide tablet"].column,
.ui.grid > .column.row > [class*="five wide tablet"].column,
.ui.grid > [class*="five wide tablet"].column,
.ui.column.grid > [class*="five wide tablet"].column {
width: 31.25% !important;
}
.ui.grid > .row > [class*="six wide tablet"].column,
.ui.grid > .column.row > [class*="six wide tablet"].column,
.ui.grid > [class*="six wide tablet"].column,
.ui.column.grid > [class*="six wide tablet"].column {
width: 37.5% !important;
}
.ui.grid > .row > [class*="seven wide tablet"].column,
.ui.grid > .column.row > [class*="seven wide tablet"].column,
.ui.grid > [class*="seven wide tablet"].column,
.ui.column.grid > [class*="seven wide tablet"].column {
width: 43.75% !important;
}
.ui.grid > .row > [class*="eight wide tablet"].column,
.ui.grid > .column.row > [class*="eight wide tablet"].column,
.ui.grid > [class*="eight wide tablet"].column,
.ui.column.grid > [class*="eight wide tablet"].column {
width: 50% !important;
}
.ui.grid > .row > [class*="nine wide tablet"].column,
.ui.grid > .column.row > [class*="nine wide tablet"].column,
.ui.grid > [class*="nine wide tablet"].column,
.ui.column.grid > [class*="nine wide tablet"].column {
width: 56.25% !important;
}
.ui.grid > .row > [class*="ten wide tablet"].column,
.ui.grid > .column.row > [class*="ten wide tablet"].column,
.ui.grid > [class*="ten wide tablet"].column,
.ui.column.grid > [class*="ten wide tablet"].column {
width: 62.5% !important;
}
.ui.grid > .row > [class*="eleven wide tablet"].column,
.ui.grid > .column.row > [class*="eleven wide tablet"].column,
.ui.grid > [class*="eleven wide tablet"].column,
.ui.column.grid > [class*="eleven wide tablet"].column {
width: 68.75% !important;
}
.ui.grid > .row > [class*="twelve wide tablet"].column,
.ui.grid > .column.row > [class*="twelve wide tablet"].column,
.ui.grid > [class*="twelve wide tablet"].column,
.ui.column.grid > [class*="twelve wide tablet"].column {
width: 75% !important;
}
.ui.grid > .row > [class*="thirteen wide tablet"].column,
.ui.grid > .column.row > [class*="thirteen wide tablet"].column,
.ui.grid > [class*="thirteen wide tablet"].column,
.ui.column.grid > [class*="thirteen wide tablet"].column {
width: 81.25% !important;
}
.ui.grid > .row > [class*="fourteen wide tablet"].column,
.ui.grid > .column.row > [class*="fourteen wide tablet"].column,
.ui.grid > [class*="fourteen wide tablet"].column,
.ui.column.grid > [class*="fourteen wide tablet"].column {
width: 87.5% !important;
}
.ui.grid > .row > [class*="fifteen wide tablet"].column,
.ui.grid > .column.row > [class*="fifteen wide tablet"].column,
.ui.grid > [class*="fifteen wide tablet"].column,
.ui.column.grid > [class*="fifteen wide tablet"].column {
width: 93.75% !important;
}
.ui.grid > .row > [class*="sixteen wide tablet"].column,
.ui.grid > .column.row > [class*="sixteen wide tablet"].column,
.ui.grid > [class*="sixteen wide tablet"].column,
.ui.column.grid > [class*="sixteen wide tablet"].column {
width: 100% !important;
}
}
/* Computer/Desktop Sizing Combinations */
@media only screen and (min-width: 992px) {
.ui.grid > .row > [class*="one wide computer"].column,
.ui.grid > .column.row > [class*="one wide computer"].column,
.ui.grid > [class*="one wide computer"].column,
.ui.column.grid > [class*="one wide computer"].column {
width: 6.25% !important;
}
.ui.grid > .row > [class*="two wide computer"].column,
.ui.grid > .column.row > [class*="two wide computer"].column,
.ui.grid > [class*="two wide computer"].column,
.ui.column.grid > [class*="two wide computer"].column {
width: 12.5% !important;
}
.ui.grid > .row > [class*="three wide computer"].column,
.ui.grid > .column.row > [class*="three wide computer"].column,
.ui.grid > [class*="three wide computer"].column,
.ui.column.grid > [class*="three wide computer"].column {
width: 18.75% !important;
}
.ui.grid > .row > [class*="four wide computer"].column,
.ui.grid > .column.row > [class*="four wide computer"].column,
.ui.grid > [class*="four wide computer"].column,
.ui.column.grid > [class*="four wide computer"].column {
width: 25% !important;
}
.ui.grid > .row > [class*="five wide computer"].column,
.ui.grid > .column.row > [class*="five wide computer"].column,
.ui.grid > [class*="five wide computer"].column,
.ui.column.grid > [class*="five wide computer"].column {
width: 31.25% !important;
}
.ui.grid > .row > [class*="six wide computer"].column,
.ui.grid > .column.row > [class*="six wide computer"].column,
.ui.grid > [class*="six wide computer"].column,
.ui.column.grid > [class*="six wide computer"].column {
width: 37.5% !important;
}
.ui.grid > .row > [class*="seven wide computer"].column,
.ui.grid > .column.row > [class*="seven wide computer"].column,
.ui.grid > [class*="seven wide computer"].column,
.ui.column.grid > [class*="seven wide computer"].column {
width: 43.75% !important;
}
.ui.grid > .row > [class*="eight wide computer"].column,
.ui.grid > .column.row > [class*="eight wide computer"].column,
.ui.grid > [class*="eight wide computer"].column,
.ui.column.grid > [class*="eight wide computer"].column {
width: 50% !important;
}
.ui.grid > .row > [class*="nine wide computer"].column,
.ui.grid > .column.row > [class*="nine wide computer"].column,
.ui.grid > [class*="nine wide computer"].column,
.ui.column.grid > [class*="nine wide computer"].column {
width: 56.25% !important;
}
.ui.grid > .row > [class*="ten wide computer"].column,
.ui.grid > .column.row > [class*="ten wide computer"].column,
.ui.grid > [class*="ten wide computer"].column,
.ui.column.grid > [class*="ten wide computer"].column {
width: 62.5% !important;
}
.ui.grid > .row > [class*="eleven wide computer"].column,
.ui.grid > .column.row > [class*="eleven wide computer"].column,
.ui.grid > [class*="eleven wide computer"].column,
.ui.column.grid > [class*="eleven wide computer"].column {
width: 68.75% !important;
}
.ui.grid > .row > [class*="twelve wide computer"].column,
.ui.grid > .column.row > [class*="twelve wide computer"].column,
.ui.grid > [class*="twelve wide computer"].column,
.ui.column.grid > [class*="twelve wide computer"].column {
width: 75% !important;
}
.ui.grid > .row > [class*="thirteen wide computer"].column,
.ui.grid > .column.row > [class*="thirteen wide computer"].column,
.ui.grid > [class*="thirteen wide computer"].column,
.ui.column.grid > [class*="thirteen wide computer"].column {
width: 81.25% !important;
}
.ui.grid > .row > [class*="fourteen wide computer"].column,
.ui.grid > .column.row > [class*="fourteen wide computer"].column,
.ui.grid > [class*="fourteen wide computer"].column,
.ui.column.grid > [class*="fourteen wide computer"].column {
width: 87.5% !important;
}
.ui.grid > .row > [class*="fifteen wide computer"].column,
.ui.grid > .column.row > [class*="fifteen wide computer"].column,
.ui.grid > [class*="fifteen wide computer"].column,
.ui.column.grid > [class*="fifteen wide computer"].column {
width: 93.75% !important;
}
.ui.grid > .row > [class*="sixteen wide computer"].column,
.ui.grid > .column.row > [class*="sixteen wide computer"].column,
.ui.grid > [class*="sixteen wide computer"].column,
.ui.column.grid > [class*="sixteen wide computer"].column {
width: 100% !important;
}
}
/* Large Monitor Sizing Combinations */
@media only screen and (min-width: 1200px) and (max-width: 1919px) {
.ui.grid > .row > [class*="one wide large screen"].column,
.ui.grid > .column.row > [class*="one wide large screen"].column,
.ui.grid > [class*="one wide large screen"].column,
.ui.column.grid > [class*="one wide large screen"].column {
width: 6.25% !important;
}
.ui.grid > .row > [class*="two wide large screen"].column,
.ui.grid > .column.row > [class*="two wide large screen"].column,
.ui.grid > [class*="two wide large screen"].column,
.ui.column.grid > [class*="two wide large screen"].column {
width: 12.5% !important;
}
.ui.grid > .row > [class*="three wide large screen"].column,
.ui.grid > .column.row > [class*="three wide large screen"].column,
.ui.grid > [class*="three wide large screen"].column,
.ui.column.grid > [class*="three wide large screen"].column {
width: 18.75% !important;
}
.ui.grid > .row > [class*="four wide large screen"].column,
.ui.grid > .column.row > [class*="four wide large screen"].column,
.ui.grid > [class*="four wide large screen"].column,
.ui.column.grid > [class*="four wide large screen"].column {
width: 25% !important;
}
.ui.grid > .row > [class*="five wide large screen"].column,
.ui.grid > .column.row > [class*="five wide large screen"].column,
.ui.grid > [class*="five wide large screen"].column,
.ui.column.grid > [class*="five wide large screen"].column {
width: 31.25% !important;
}
.ui.grid > .row > [class*="six wide large screen"].column,
.ui.grid > .column.row > [class*="six wide large screen"].column,
.ui.grid > [class*="six wide large screen"].column,
.ui.column.grid > [class*="six wide large screen"].column {
width: 37.5% !important;
}
.ui.grid > .row > [class*="seven wide large screen"].column,
.ui.grid > .column.row > [class*="seven wide large screen"].column,
.ui.grid > [class*="seven wide large screen"].column,
.ui.column.grid > [class*="seven wide large screen"].column {
width: 43.75% !important;
}
.ui.grid > .row > [class*="eight wide large screen"].column,
.ui.grid > .column.row > [class*="eight wide large screen"].column,
.ui.grid > [class*="eight wide large screen"].column,
.ui.column.grid > [class*="eight wide large screen"].column {
width: 50% !important;
}
.ui.grid > .row > [class*="nine wide large screen"].column,
.ui.grid > .column.row > [class*="nine wide large screen"].column,
.ui.grid > [class*="nine wide large screen"].column,
.ui.column.grid > [class*="nine wide large screen"].column {
width: 56.25% !important;
}
.ui.grid > .row > [class*="ten wide large screen"].column,
.ui.grid > .column.row > [class*="ten wide large screen"].column,
.ui.grid > [class*="ten wide large screen"].column,
.ui.column.grid > [class*="ten wide large screen"].column {
width: 62.5% !important;
}
.ui.grid > .row > [class*="eleven wide large screen"].column,
.ui.grid > .column.row > [class*="eleven wide large screen"].column,
.ui.grid > [class*="eleven wide large screen"].column,
.ui.column.grid > [class*="eleven wide large screen"].column {
width: 68.75% !important;
}
.ui.grid > .row > [class*="twelve wide large screen"].column,
.ui.grid > .column.row > [class*="twelve wide large screen"].column,
.ui.grid > [class*="twelve wide large screen"].column,
.ui.column.grid > [class*="twelve wide large screen"].column {
width: 75% !important;
}
.ui.grid > .row > [class*="thirteen wide large screen"].column,
.ui.grid > .column.row > [class*="thirteen wide large screen"].column,
.ui.grid > [class*="thirteen wide large screen"].column,
.ui.column.grid > [class*="thirteen wide large screen"].column {
width: 81.25% !important;
}
.ui.grid > .row > [class*="fourteen wide large screen"].column,
.ui.grid > .column.row > [class*="fourteen wide large screen"].column,
.ui.grid > [class*="fourteen wide large screen"].column,
.ui.column.grid > [class*="fourteen wide large screen"].column {
width: 87.5% !important;
}
.ui.grid > .row > [class*="fifteen wide large screen"].column,
.ui.grid > .column.row > [class*="fifteen wide large screen"].column,
.ui.grid > [class*="fifteen wide large screen"].column,
.ui.column.grid > [class*="fifteen wide large screen"].column {
width: 93.75% !important;
}
.ui.grid > .row > [class*="sixteen wide large screen"].column,
.ui.grid > .column.row > [class*="sixteen wide large screen"].column,
.ui.grid > [class*="sixteen wide large screen"].column,
.ui.column.grid > [class*="sixteen wide large screen"].column {
width: 100% !important;
}
}
/* Widescreen Sizing Combinations */
@media only screen and (min-width: 1920px) {
.ui.grid > .row > [class*="one wide widescreen"].column,
.ui.grid > .column.row > [class*="one wide widescreen"].column,
.ui.grid > [class*="one wide widescreen"].column,
.ui.column.grid > [class*="one wide widescreen"].column {
width: 6.25% !important;
}
.ui.grid > .row > [class*="two wide widescreen"].column,
.ui.grid > .column.row > [class*="two wide widescreen"].column,
.ui.grid > [class*="two wide widescreen"].column,
.ui.column.grid > [class*="two wide widescreen"].column {
width: 12.5% !important;
}
.ui.grid > .row > [class*="three wide widescreen"].column,
.ui.grid > .column.row > [class*="three wide widescreen"].column,
.ui.grid > [class*="three wide widescreen"].column,
.ui.column.grid > [class*="three wide widescreen"].column {
width: 18.75% !important;
}
.ui.grid > .row > [class*="four wide widescreen"].column,
.ui.grid > .column.row > [class*="four wide widescreen"].column,
.ui.grid > [class*="four wide widescreen"].column,
.ui.column.grid > [class*="four wide widescreen"].column {
width: 25% !important;
}
.ui.grid > .row > [class*="five wide widescreen"].column,
.ui.grid > .column.row > [class*="five wide widescreen"].column,
.ui.grid > [class*="five wide widescreen"].column,
.ui.column.grid > [class*="five wide widescreen"].column {
width: 31.25% !important;
}
.ui.grid > .row > [class*="six wide widescreen"].column,
.ui.grid > .column.row > [class*="six wide widescreen"].column,
.ui.grid > [class*="six wide widescreen"].column,
.ui.column.grid > [class*="six wide widescreen"].column {
width: 37.5% !important;
}
.ui.grid > .row > [class*="seven wide widescreen"].column,
.ui.grid > .column.row > [class*="seven wide widescreen"].column,
.ui.grid > [class*="seven wide widescreen"].column,
.ui.column.grid > [class*="seven wide widescreen"].column {
width: 43.75% !important;
}
.ui.grid > .row > [class*="eight wide widescreen"].column,
.ui.grid > .column.row > [class*="eight wide widescreen"].column,
.ui.grid > [class*="eight wide widescreen"].column,
.ui.column.grid > [class*="eight wide widescreen"].column {
width: 50% !important;
}
.ui.grid > .row > [class*="nine wide widescreen"].column,
.ui.grid > .column.row > [class*="nine wide widescreen"].column,
.ui.grid > [class*="nine wide widescreen"].column,
.ui.column.grid > [class*="nine wide widescreen"].column {
width: 56.25% !important;
}
.ui.grid > .row > [class*="ten wide widescreen"].column,
.ui.grid > .column.row > [class*="ten wide widescreen"].column,
.ui.grid > [class*="ten wide widescreen"].column,
.ui.column.grid > [class*="ten wide widescreen"].column {
width: 62.5% !important;
}
.ui.grid > .row > [class*="eleven wide widescreen"].column,
.ui.grid > .column.row > [class*="eleven wide widescreen"].column,
.ui.grid > [class*="eleven wide widescreen"].column,
.ui.column.grid > [class*="eleven wide widescreen"].column {
width: 68.75% !important;
}
.ui.grid > .row > [class*="twelve wide widescreen"].column,
.ui.grid > .column.row > [class*="twelve wide widescreen"].column,
.ui.grid > [class*="twelve wide widescreen"].column,
.ui.column.grid > [class*="twelve wide widescreen"].column {
width: 75% !important;
}
.ui.grid > .row > [class*="thirteen wide widescreen"].column,
.ui.grid > .column.row > [class*="thirteen wide widescreen"].column,
.ui.grid > [class*="thirteen wide widescreen"].column,
.ui.column.grid > [class*="thirteen wide widescreen"].column {
width: 81.25% !important;
}
.ui.grid > .row > [class*="fourteen wide widescreen"].column,
.ui.grid > .column.row > [class*="fourteen wide widescreen"].column,
.ui.grid > [class*="fourteen wide widescreen"].column,
.ui.column.grid > [class*="fourteen wide widescreen"].column {
width: 87.5% !important;
}
.ui.grid > .row > [class*="fifteen wide widescreen"].column,
.ui.grid > .column.row > [class*="fifteen wide widescreen"].column,
.ui.grid > [class*="fifteen wide widescreen"].column,
.ui.column.grid > [class*="fifteen wide widescreen"].column {
width: 93.75% !important;
}
.ui.grid > .row > [class*="sixteen wide widescreen"].column,
.ui.grid > .column.row > [class*="sixteen wide widescreen"].column,
.ui.grid > [class*="sixteen wide widescreen"].column,
.ui.column.grid > [class*="sixteen wide widescreen"].column {
width: 100% !important;
}
}
/*----------------------
Centered
-----------------------*/
.ui.centered.grid,
.ui.centered.grid > .row,
.ui.grid > .centered.row {
text-align: center;
justify-content: center;
}
.ui.centered.grid > .column:not(.aligned):not(.justified):not(.row),
.ui.centered.grid > .row > .column:not(.aligned):not(.justified),
.ui.grid .centered.row > .column:not(.aligned):not(.justified) {
text-align: left;
}
.ui.grid > .centered.column,
.ui.grid > .row > .centered.column {
display: block;
margin-left: auto;
margin-right: auto;
}
/*----------------------
Relaxed
-----------------------*/
.ui.relaxed.grid > .column:not(.row),
.ui.relaxed.grid > .row > .column,
.ui.grid > .relaxed.row > .column {
padding-left: 1.5rem;
padding-right: 1.5rem;
}
.ui[class*="very relaxed"].grid > .column:not(.row),
.ui[class*="very relaxed"].grid > .row > .column,
.ui.grid > [class*="very relaxed"].row > .column {
padding-left: 2.5rem;
padding-right: 2.5rem;
}
/* Coupling with UI Divider */
.ui.relaxed.grid .row + .ui.divider,
.ui.grid .relaxed.row + .ui.divider {
margin-left: 1.5rem;
margin-right: 1.5rem;
}
.ui[class*="very relaxed"].grid .row + .ui.divider,
.ui.grid [class*="very relaxed"].row + .ui.divider {
margin-left: 2.5rem;
margin-right: 2.5rem;
}
/*----------------------
Padded
-----------------------*/
.ui.padded.grid:not(.vertically):not(.horizontally) {
margin: 0em !important;
}
[class*="horizontally padded"].ui.grid {
margin-left: 0em !important;
margin-right: 0em !important;
}