Skip to content

Commit 4afa8ad

Browse files
committed
update
1 parent 8ccccc6 commit 4afa8ad

File tree

3 files changed

+368
-136
lines changed

3 files changed

+368
-136
lines changed

starter/07-Omnifood-Desktop/genreral.css renamed to starter/07-Omnifood-Desktop/css/genreral.css

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
z/*****************************************/
1+
/*****************************************/
22
/************** GENERAL *************/
33
/*****************************************/
44

@@ -34,6 +34,10 @@ body {
3434
justify-content: space-between;
3535
}
3636

37+
.justify-content--space-around {
38+
justify-content: space-around;
39+
}
40+
3741
.align-item--center {
3842
align-items: center;
3943
}
@@ -198,4 +202,8 @@ body {
198202

199203
.margin-bottom-sm {
200204
margin-bottom: 1.6rem;
205+
}
206+
207+
strong {
208+
font-weight: 500;
201209
}

starter/07-Omnifood-Desktop/style.css renamed to starter/07-Omnifood-Desktop/css/style.css

Lines changed: 87 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,13 +116,22 @@
116116

117117
/* FEATURED-IN SECTION */
118118
.featured-in {
119-
119+
padding: 4.8rem 0 3.2rem 0;
120120
}
121121
.featured-in-tile {
122+
font-size: 1.4rem;
123+
text-transform: uppercase;
124+
letter-spacing: 0.75px;
125+
font-weight: 500;
122126
text-align: center;
127+
margin-bottom: 2.4rem;
128+
text-align: center;
129+
color: #888;
123130
}
124131
.featured-in-logo {
125-
width: 100%;
132+
height: 3.2rem;
133+
filter: brightness(0);
134+
opacity: 50%;
126135
}
127136

128137

@@ -186,4 +195,80 @@
186195

187196
.step-img {
188197
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%;
189274
}

0 commit comments

Comments
 (0)