File tree Expand file tree Collapse file tree 3 files changed +368
-136
lines changed
starter/07-Omnifood-Desktop Expand file tree Collapse file tree 3 files changed +368
-136
lines changed Original file line number Diff line number Diff line change 1
- z /*****************************************/
1
+ /*****************************************/
2
2
/************** GENERAL *************/
3
3
/*****************************************/
4
4
@@ -34,6 +34,10 @@ body {
34
34
justify-content : space-between;
35
35
}
36
36
37
+ .justify-content--space-around {
38
+ justify-content : space-around;
39
+ }
40
+
37
41
.align-item--center {
38
42
align-items : center;
39
43
}
@@ -198,4 +202,8 @@ body {
198
202
199
203
.margin-bottom-sm {
200
204
margin-bottom : 1.6rem ;
205
+ }
206
+
207
+ strong {
208
+ font-weight : 500 ;
201
209
}
Original file line number Diff line number Diff line change 116
116
117
117
/* FEATURED-IN SECTION */
118
118
.featured-in {
119
-
119
+ padding : 4.8 rem 0 3.2 rem 0 ;
120
120
}
121
121
.featured-in-tile {
122
+ font-size : 1.4rem ;
123
+ text-transform : uppercase;
124
+ letter-spacing : 0.75px ;
125
+ font-weight : 500 ;
122
126
text-align : center;
127
+ margin-bottom : 2.4rem ;
128
+ text-align : center;
129
+ color : # 888 ;
123
130
}
124
131
.featured-in-logo {
125
- width : 100% ;
132
+ height : 3.2rem ;
133
+ filter : brightness (0 );
134
+ opacity : 50% ;
126
135
}
127
136
128
137
186
195
187
196
.step-img {
188
197
width : 35% ;
198
+ }
199
+
200
+ /*****************************************/
201
+ /************** HOW IT WORKS SECTION *************/
202
+ /*****************************************/
203
+
204
+ .meals {
205
+ padding : 9.6rem 0 ;
206
+ }
207
+
208
+ .meal {
209
+ box-shadow : 0 2.4rem 4.8rem rgba (0 , 0 , 0 , 0.075 );
210
+ border-radius : 11px ;
211
+ overflow : hidden;
212
+ }
213
+
214
+ .meal-content {
215
+ padding : 3.2rem 4.8rem 4.8rem 4.8rem ;
216
+ }
217
+
218
+ .meal-tags {
219
+ margin-bottom : 1.2rem ;
220
+ display : flex;
221
+ gap : 0.4rem ;
222
+ }
223
+
224
+ .tag {
225
+ display : inline-block;
226
+ padding : 0.4rem 0.8rem ;
227
+ font-size : 1.2rem ;
228
+ text-transform : uppercase;
229
+ color : # 333 ;
230
+ border-radius : 100px ;
231
+ font-weight : 600 ;
232
+ }
233
+
234
+ .tag--vegeterian {
235
+ background-color : # 51cf66 ;
236
+ }
237
+ .tag--vegan {
238
+ background-color : # 94d82d ;
239
+ }
240
+ .tag--paleo {
241
+ background-color : # ffd43b ;
242
+ }
243
+
244
+
245
+ .meal-title {
246
+ font-size : 2rem ;
247
+ color : # 333 ;
248
+ font-weight : 600 ;
249
+ margin-bottom : 3.2rem ;
250
+ }
251
+
252
+ .meal-attributes {
253
+ list-style : none;
254
+ display : flex;
255
+ flex-direction : column;
256
+ gap : 2rem ;
257
+ }
258
+
259
+ .meal-attribute {
260
+ font-size : 1.8rem ;
261
+ display : flex;
262
+ align-items : center;
263
+ gap : 1.6rem ;
264
+ }
265
+
266
+ .meal-icon {
267
+ height : 2.4rem ;
268
+ width : 2.4rem ;
269
+ color : # e67e22 ;
270
+ }
271
+
272
+ .meal-img {
273
+ width : 100% ;
189
274
}
You can’t perform that action at this time.
0 commit comments