-
Notifications
You must be signed in to change notification settings - Fork 0
/
grid.css
94 lines (88 loc) · 1.44 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
@import url('https://fonts.googleapis.com/css2?family=Varela+Round&display=swap');
*{
margin:0;
padding:0;
}
.f-vl{
font-family: 'Varela Round', sans-serif;
}
.grid{
display:grid;
column-gap:0.125rem;
row-gap:0.125rem;
padding:0.7%;
}
.flex{
display:flex;
}
.flex-row{
flex-direction:row;
}
.flex-col{
flex-direction:column;
}
.justify-center{
justify-content:center;
}
.center{
text-align:center;
}
.grid-cont{
padding:3%;
text-align:center;
}
.auto{
grid-template-columns:auto auto auto;
}
.auto4{
grid-template-columns:auto auto auto auto;
}
.auto5{
grid-template-columns:auto auto auto auto auto;
}
.g01{
grid-template-columns:auto;
}
.g73{
grid-template-columns:70% 30%;
}
.g64{
grid-template-columns:60% 40%;
}
.g55{
grid-template-columns:50% 50%;
}
.g46{
grid-template-columns:40% 60%;
}
.g37{
grid-template-columns:30% 70%;
}
.g03{
grid-template-columns:33.33% 33.33% 33.33%;
}
.g02{
grid-template-columns:50% 50%;
}
.img{
width:100%;
}
@media (max-width:767px) and (orientation: portrait) {
.grid{
display:flex;
flex-direction:column;
row-gap:1rem;
padding:10%;
}
.m-hide{
display:none;
}
}
@media (max-width:991px) and (min-width:768px) and (orientation: portrait){
.grid{
display:grid;
grid-template-columns:auto auto auto;
column-gap:0.125rem;
padding:3%;
}
}