Skip to content

Commit 25da934

Browse files
committed
testimonials apricing features
1 parent a309470 commit 25da934

File tree

4 files changed

+381
-12
lines changed

4 files changed

+381
-12
lines changed

starter/07-Omnifood-Desktop/content.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ Starter: $399 per month
8585

8686
Complete: $649 per month
8787

88-
- 2 meal2 per day
88+
- 2 meals per day
8989
- Order 24/7
9090
- Delivery is free
9191
- Get access to latest recipes

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

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,12 @@ Paragraph default: 1.6
3131
- Shades: #cf711f
3232
- Accents:
3333
- Greys:
34+
#6f6f6f lightest gray allowed on #fdf2e9
3435
#555
3536
#333
3637
3738
39+
3840
--- 05 Shadows
3941
4042
@@ -87,6 +89,14 @@ body {
8789
gap: 9.6rem 6.4rem;
8890
}
8991

92+
/* .grid:last-child {
93+
margin-bottom: 0;
94+
} */
95+
96+
.grid:not(:last-child) {
97+
margin-bottom: 9.6rem;
98+
}
99+
90100
.grid--2-cols {
91101
grid-template-columns: repeat(2, 1fr);
92102
}
@@ -195,6 +205,26 @@ body {
195205
border-bottom: 1px solid transparent;
196206
}
197207

208+
.list {
209+
list-style: none;
210+
display: flex;
211+
flex-flow: column;
212+
gap: 1.6rem;
213+
}
214+
215+
.list-item {
216+
font-size: 1.8rem;
217+
display: flex;
218+
align-items: center;
219+
gap: 1.6rem;
220+
}
221+
222+
.list-icon {
223+
width: 3rem;
224+
height: 3rem;
225+
color: #e67e22;
226+
}
227+
198228
/* Helper & settings classes*/
199229
.margin-right-sm {
200230
margin-right: 1.6rem !important;

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

Lines changed: 155 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -290,22 +290,166 @@
290290
font-size: 1.8rem;
291291
}
292292

293-
.list {
294-
list-style: none;
295-
display: flex;
296-
flex-flow: column;
297-
gap: 1.6rem;
293+
/***********************************/
294+
/* Testimonials section */
295+
/***********************************/
296+
297+
.section-testimonials {
298+
background-color: #fdf2e9;
299+
300+
display: grid;
301+
grid-template-columns: 55fr 45fr;
302+
align-items: center;
303+
}
304+
305+
.testimonials-container {
306+
padding: 9.6rem;
298307
}
299308

300-
.list-item {
309+
.testimonials {
310+
display: grid;
311+
grid-template-columns: 1fr 1fr;
312+
gap: 4.9rem 8rem;
313+
}
314+
315+
.testimonial-img {
316+
width: 6.4rem;
317+
border-radius: 50%;
318+
margin-bottom: 1.2rem;
319+
}
320+
321+
.testimonial-text {
301322
font-size: 1.8rem;
302-
display: flex;
303-
align-items: center;
323+
line-height: 1.8;
324+
margin-bottom: 1.6rem;
325+
}
326+
327+
.testimonial-name {
328+
font-size: 1.6rem;
329+
color: #6f6f6f;
330+
}
331+
332+
.gallery {
333+
display: grid;
334+
grid-template-columns: 1fr 1fr 1fr;
304335
gap: 1.6rem;
336+
padding: 1.6rem;
337+
}
338+
339+
.gallery-item {
340+
overflow: hidden;
341+
}
342+
343+
.gallery-item img {
344+
display: block;
345+
width: 100%;
346+
transition: all 0.4s ease-out;
347+
}
348+
349+
.gallery img:hover {
350+
transform: scale(1.1);
351+
}
352+
353+
/***********************************/
354+
/* Testimonials section */
355+
/***********************************/
356+
357+
.section-pricing {
358+
padding: 9.6rem;
359+
}
360+
361+
.pricing-plan {
362+
border-radius: 11px;
363+
width: 75%;
364+
}
365+
366+
.pricing-plan--starter {
367+
justify-self: end;
368+
border: 0.2rem solid #fdf2e9;
369+
padding: 4.6rem;
370+
}
371+
372+
.pricing-plan--complete {
373+
background-color: #fdf2e9;
374+
padding: 4.8rem;
375+
position: relative;
376+
overflow: hidden;
377+
}
378+
379+
.pricing-plan--complete::after {
380+
content: "Best value";
381+
position: absolute;
382+
top: 6%;
383+
right: -19%;
384+
text-transform: uppercase;
385+
color: #333;
386+
font-size: 1.4rem;
387+
font-weight: 700;
388+
background-color: #ffd43b;
389+
padding: 0.8rem 8rem;
390+
transform: rotate(45deg);
391+
}
392+
393+
.plan-header {
394+
text-align: center;
395+
margin-bottom: 4.8rem;
396+
}
397+
398+
.plan-name {
399+
color: #cf711f;
400+
font-weight: 600;
401+
font-size: 2rem;
402+
text-transform: uppercase;
403+
letter-spacing: 0.3rem;
404+
margin-bottom: 3.2rem;
405+
}
406+
407+
.plan-price {
408+
font-size: 6.2rem;
409+
font-weight: 600;
410+
color: #333;
411+
margin-bottom: 1.6rem;
412+
}
413+
414+
.plan-price span {
415+
font-size: 3rem;
416+
font-weight: 500;
417+
margin-right: 0.8rem;
418+
}
419+
420+
.plan-text {
421+
font-size: 1.6rem;
422+
line-height: 1.6;
423+
color: #6f6f6f;
305424
}
306425

307-
.list-icon {
308-
width: 3rem;
309-
height: 3rem;
426+
.plan-sign-up {
427+
text-align: center;
428+
margin-top: 4.8rem;
429+
}
430+
431+
.plan-details {
432+
font-size: 1.6rem;
433+
line-height: 1.6;
434+
text-align: center;
435+
}
436+
437+
.feature-icon {
310438
color: #e67e22;
439+
height: 3.2rem;
440+
width: 3.2rem;
441+
background-color: #fdf2e9;
442+
padding: 1.6rem;
443+
border-radius: 50%;
444+
margin-bottom: 3.2rem;
445+
}
446+
.feature-title {
447+
font-size: 2.4rem;
448+
color: #333;
449+
font-weight: 700;
450+
margin-bottom: 1.6rem;
451+
}
452+
.feature-text {
453+
font-size: 1.8rem;
454+
line-height: 1.8;
311455
}

0 commit comments

Comments
 (0)