Skip to content

Commit 89a95f9

Browse files
committed
Update
1 parent 4afa8ad commit 89a95f9

File tree

3 files changed

+465
-19
lines changed

3 files changed

+465
-19
lines changed

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

Lines changed: 49 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,10 @@ body {
5353
align-items: center;
5454
}
5555

56+
.grid--center-h {
57+
justify-items: center;
58+
}
59+
5660
.grid--2-cols {
5761
grid-template-columns: repeat(2, 1fr);
5862
}
@@ -169,13 +173,29 @@ body {
169173
text-decoration: none;
170174
font-weight: 500;
171175
font-size: 1.6rem;
172-
transition: background-color 0.3s;
176+
transition: all 0.3s;
173177
}
174178

175179
.btn-padding-sm {
176180
padding: 1.6rem 3.2rem;
177181
}
178182

183+
.link:link,
184+
.link:visited {
185+
display: inline-block;
186+
color: #e67e22;
187+
text-decoration: none;
188+
border-bottom: 1px solid currentColor;
189+
padding-bottom: 2px;
190+
transition: all 0.3s;
191+
}
192+
193+
.link:hover,
194+
.link:active {
195+
color: #cf711f;
196+
border-bottom: 1px solid transparent;
197+
}
198+
179199
.margin-right-sm {
180200
margin-right: 1.6rem;
181201
}
@@ -204,6 +224,34 @@ body {
204224
margin-bottom: 1.6rem;
205225
}
206226

227+
.margin-bottom-md {
228+
margin-bottom: 4.8rem !important;
229+
}
230+
231+
.center-text {
232+
text-align: center;
233+
}
234+
235+
.list {
236+
list-style: none;
237+
display: flex;
238+
flex-direction: column;
239+
gap: 1.6rem;
240+
}
241+
242+
.list-item {
243+
font-size: 1.8rem;
244+
display: flex;
245+
align-items: center;
246+
gap: 1.6rem;
247+
}
248+
249+
.list-icon {
250+
width: 3rem;
251+
height: 3rem;
252+
color: #e67e22;
253+
}
254+
207255
strong {
208256
font-weight: 500;
209257
}

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

Lines changed: 119 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@
198198
}
199199

200200
/*****************************************/
201-
/************** HOW IT WORKS SECTION *************/
201+
/************** MEALS SECTION *************/
202202
/*****************************************/
203203

204204
.meals {
@@ -209,6 +209,12 @@
209209
box-shadow: 0 2.4rem 4.8rem rgba(0,0,0,0.075);
210210
border-radius: 11px;
211211
overflow: hidden;
212+
transition: transform 0.3s;
213+
}
214+
215+
.meal:hover {
216+
transform: translateY(-1.2rem);
217+
box-shadow: 0 2.4rem 6.4rem rgba(0,0,0,0.06);
212218
}
213219

214220
.meal-content {
@@ -271,4 +277,116 @@
271277

272278
.meal-img {
273279
width: 100%;
280+
}
281+
282+
.all-receipes {
283+
text-align: center;
284+
font-size: 1.8rem;
285+
}
286+
287+
/*****************************************/
288+
/************** TESTIMONIALS SECTION *************/
289+
/*****************************************/
290+
.testimonials {
291+
background-color: #fdf2e9;
292+
display: grid;
293+
grid-template-columns: 55fr 45fr;
294+
align-items: center;
295+
}
296+
297+
.testimonials-container {
298+
padding: 9.6rem;
299+
}
300+
301+
.testimonials-side {
302+
display: grid;
303+
grid-template-columns: 1fr 1fr;
304+
row-gap: 4.8rem;
305+
column-gap: 8rem;
306+
}
307+
308+
.testimonial-img {
309+
width: 6.4rem;
310+
border-radius: 50%;
311+
margin-bottom: 1.2rem;
312+
}
313+
314+
.testimonial-text {
315+
font-size: 1.8rem;
316+
line-height: 1.8;
317+
margin-bottom: 1.6rem;
318+
}
319+
320+
.testimonial-name {
321+
font-size: 1.6rem;
322+
color: #6f6f6f;
323+
}
324+
325+
.gallery {
326+
display: grid;
327+
grid-template-columns: repeat(3, 1fr);
328+
gap: 1.6rem;
329+
padding: 1.6rem;
330+
}
331+
332+
.gallery-item {
333+
overflow: hidden;
334+
}
335+
336+
.gallery-item img {
337+
display: block;
338+
width: 100%;
339+
transition: transform 0.4s;
340+
}
341+
342+
.gallery-item img:hover {
343+
transform: scale(1.1);
344+
}
345+
346+
/*****************************************/
347+
/************** PRICING SECTION *************/
348+
/*****************************************/
349+
.pricing {
350+
padding: 9.6rem 0;
351+
}
352+
.pricing-plan {
353+
background-color: #fdf2e9;
354+
border-radius: 11px;
355+
padding: 4.8rem;
356+
width: 75%;
357+
}
358+
.pricing-plan--stater {
359+
justify-self: end;
360+
}
361+
.plan-header {
362+
text-align: center;
363+
margin-bottom: 4.8rem;
364+
}
365+
.plan-name {
366+
color: #cf711f;
367+
font-weight: 600;
368+
font-size: 2rem;
369+
text-transform: uppercase;
370+
letter-spacing: 0.75;
371+
margin-bottom: 3.2rem;
372+
}
373+
.plan-price {
374+
font-size: 6.2rem;
375+
font-weight: 600;
376+
color: #333;
377+
margin-bottom: 1.6rem;
378+
}
379+
.plan-price span {
380+
font-size: 3rem;
381+
font-weight: 500;
382+
margin-right: 0.8rem;
383+
}
384+
.plan-text {
385+
font-size: 1.6rem;
386+
line-height: 1.6;
387+
color: #6f6f6f;
388+
}
389+
.plan-sign-up {
390+
text-align: center;
391+
margin-top: 4.8rem;
274392
}

0 commit comments

Comments
 (0)