-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinline-grid.css
More file actions
74 lines (71 loc) · 2.17 KB
/
inline-grid.css
File metadata and controls
74 lines (71 loc) · 2.17 KB
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
/* Simple Inline Grid system START */
html {
-webkit-box-sizing: border-box !important;
-moz-box-sizing: border-box !important;
box-sizing: border-box !important;
}
*, *:before, *:after {
-webkit-box-sizing: inherit;
-moz-box-sizing: inherit;
box-sizing: inherit;
}
.inline-grid{
display: inline-block;
margin: 0;
padding: 10px 5px 10px 0;
vertical-align: top;
}
.xl-1-4{ width: calc(25% - 3.5px);}
.xl-3-4{ width: calc(75% - 3.5px);}
.xl-1-5{ width: calc(20% - 4px);}
.xl-2-5{ width: calc(40% - 4px);}
.xl-3-5{ width: calc(60% - 4px);}
.xl-4-5{ width: calc(80% - 4px);}
.xl-1-3{ width: calc(33.33% - 3.5px);}
.xl-2-3{ width: calc(66.66% - 3.5px);}
.xl-1-2{ width: calc(50% - 3.5px);}
.xl-1-6{ width: calc(16.667% - 4px);}
.xl-1-7{ width: calc(14.285% - 4px);}
.xl-1-1{ width:100%;}
@media screen and (min-width: 993px) and (max-width: 1200px) {
.l-1-4{ width: calc(25% - 3.5px);}
.l-3-4{ width: calc(75% - 3.5px);}
.l-1-5{ width: calc(20% - 4px);}
.l-2-5{ width: calc(40% - 4px);}
.l-3-5{ width: calc(60% - 4px);}
.l-4-5{ width: calc(80% - 4px);}
.l-1-3{ width: calc(33.33% - 3.5px);}
.l-2-3{ width: calc(66.66% - 3.5px);}
.l-1-2{ width: calc(50% - 3.5px);}
.l-1-6{ width: calc(16.667% - 4px);}
.l-1-7{ width: calc(14.285% - 4px);}
.l-1-1{ width:100%;}
}
@media screen and (min-width: 768px) and (max-width: 992px) {
.m-1-4{ width: calc(25% - 3.5px);}
.m-3-4{ width: calc(75% - 3.5px);}
.m-1-5{ width: calc(20% - 4px);}
.m-2-5{ width: calc(40% - 4px);}
.m-3-5{ width: calc(60% - 4px);}
.m-4-5{ width: calc(80% - 4px);}
.m-1-3{ width: calc(33.33% - 3.5px);}
.m-2-3{ width: calc(66.66% - 3.5px);}
.m-1-2{ width: calc(50% - 3.5px);}
.m-1-6{ width: calc(16.667% - 4px);}
.m-1-7{ width: calc(14.285% - 4px);}
.m-1-1{ width:100%;}
}
@media screen and (max-width: 767px) {
.s-1-4{ width: calc(25% - 3.5px);}
.s-3-4{ width: calc(25% - 3.5px);}
.s-1-5{ width: calc(20% - 4px);}
.s-2-5{ width: calc(40% - 4px);}
.s-3-5{ width: calc(60% - 4px);}
.s-4-5{ width: calc(80% - 4px);}
.s-1-3{ width: calc(33.33% - 3.5px);}
.s-1-2{ width: calc(50% - 3.5px);}
.s-1-6{ width: calc(16.667% - 4px);}
.s-1-7{ width: calc(14.285% - 4px);}
.s-1-1{ width:100%;}
}
/* Simple Inline Grid system END*/