blocks-mobile.css
3.63 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
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
.blocks-modile {
display: block;
}
.blocks-modile__link-catalog {
margin-top: 36px;
background: #F5851A;
border-radius: 9.375px;
font-weight: 600;
font-style: normal;
font-size: 14px;
line-height: 16px;
letter-spacing: -0.01em;
color: #FFFFFF;
border: 1px solid #F5851A;
cursor: pointer;
text-align: center;
width: 100%;
padding: 16px 0;
}
.blocks-modile__link-catalog:hover {
border: 1px solid #F2994A;
background-color: #FFFFFF;
color: #F2994A;
border-radius: 9.375px;
font-weight: 600;
font-style: normal;
font-size: 14px;
line-height: 16px;
letter-spacing: -0.01em;
}
@media (min-width: 780px) {
.blocks-modile {
display: none;
}
}
.blocks-modile-container {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
}
.blocks-modile-container > *:nth-child(1),
.blocks-modile-container > *:nth-child(3) {
margin-right: 0px;
}
@media (min-width: 375px) {
.blocks-modile-container > *:nth-child(1),
.blocks-modile-container > *:nth-child(3) {
margin-right: 15px;
}
}
.blocks-modile-container > *:nth-child(1),
.blocks-modile-container > *:nth-child(2) {
margin-bottom: 20px;
}
.blocks-modile-container > *:nth-child(3) {
margin-bottom: 20px;
}
@media (min-width: 375px) {
.blocks-modile-container > *:nth-child(3) {
margin-bottom: 0;
}
}
.blocks-modile-item {
width: 100%;
min-width: 155px;
min-height: 149px;
border-radius: 10px;
background-image: url("../img/main/bloks/blocks-mob-bg.png");
background-repeat: no-repeat;
background-size: cover;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
-webkit-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
padding: 0 6px 4px 6px;
}
@media (min-width: 375px) {
.blocks-modile-item {
width: 47%;
}
}
.blocks-modile-item__title {
font-weight: 500;
font-size: 12px;
line-height: 14px;
color: #333B49;
max-width: 130px;
-ms-flex-item-align: start;
align-self: start;
margin-top: 8px;
margin-left: 12px;
}
@media (min-width: 640px) {
.blocks-modile-item__title {
font-size: 14px;
line-height: 17px;
max-width: 100%;
}
}
.modile-item-wrapper {
background-color: #fff;
margin-right: 0;
min-width: 149px;
min-height: 107px;
border-radius: 10px;
margin-top: 8px;
position: relative;
width: 100%;
}
@media (min-width: 640px) {
.modile-item-wrapper {
min-width: 230px;
min-height: 155px;
}
}
.modile-item-wrapper__img {
position: absolute;
top: 14%;
left: 31%;
width: 114px;
height: 85px;
-o-object-fit: cover;
object-fit: cover;
-o-object-position: center center;
object-position: center center;
background-color: #fff;
}
@media (min-width: 375px) {
.modile-item-wrapper__img {
left: 10%;
}
}
@media (min-width: 480px) {
.modile-item-wrapper__img {
left: 22%;
}
}
@media (min-width: 640px) {
.modile-item-wrapper__img {
width: 140px;
height: 106px;
top: 14%;
left: 24%;
}
}
.modile-item-wrapper__img.mobile-img-two {
padding-bottom: 9px;
}
.modile-item-wrapper__img.mobile-img-three {
width: 107px;
height: 93px;
top: -1%;
}
@media (min-width: 640px) {
.modile-item-wrapper__img.mobile-img-three {
width: 140px;
height: 120px;
}
}
.modile-item-wrapper__img.mobile-img-four {
padding-bottom: 15px;
}