Skip to content

Commit ee43a04

Browse files
committed
how works section p1
1 parent 828e855 commit ee43a04

File tree

2 files changed

+99
-8
lines changed

2 files changed

+99
-8
lines changed

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

Lines changed: 33 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,12 @@ Bold: 700
1414
- Line heights:
1515
Default: 1
1616
Small: 1.05
17+
Medium: 1.2
1718
Paragraph default: 1.6
1819
20+
-- Letter spacing
21+
-0.5px
22+
0.75px
1923
2024
--- 02 Colors System
2125
@@ -85,15 +89,37 @@ body {
8589
grid-template-columns: repeat(4, 1fr);
8690
}
8791

88-
.heading-primary {
89-
font-size: 5.2rem;
92+
.heading-primary,
93+
.heading-secondary {
9094
font-weight: 700;
91-
line-height: 1.05;
9295
color: #333;
9396
letter-spacing: -0.5px;
97+
}
98+
.heading-primary {
99+
font-size: 5.2rem;
100+
line-height: 1.05;
94101
margin-bottom: 3.2rem;
95102
}
96103

104+
.heading-secondary {
105+
font-size: 4.4rem;
106+
line-height: 1.2;
107+
margin-bottom: 9.6rem;
108+
}
109+
110+
.subheading {
111+
display: block;
112+
font-size: 1.6rem;
113+
font-weight: 500;
114+
color: #cf711f;
115+
text-transform: uppercase;
116+
margin-bottom: 1.6rem;
117+
letter-spacing: 0.75px;
118+
}
119+
120+
.heading-terrtiary {
121+
}
122+
97123
.btn:link,
98124
.btn:visited {
99125
display: inline-block;
@@ -255,5 +281,8 @@ body {
255281

256282
.section-how {
257283
padding: 9.6rem 0;
258-
background-color: orangered;
284+
}
285+
286+
.step-img {
287+
width: 50%;
259288
}

starter/07-Omnifood-Desktop/index.html

Lines changed: 66 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,73 @@ <h1 class="heading-primary">
6868
</section>
6969

7070
<section class="section-how">
71+
<div class="container">
72+
<span class="subheading">How it works</span>
73+
<h2 class="heading-secondary">
74+
Your daily dose of health in 3 simple steps
75+
</h2>
76+
</div>
77+
7178
<div class="container grid grid--2-cols">
72-
<div>Test 1</div>
73-
<div>Test 2</div>
74-
<div>Test 3</div>
75-
<div>Test 4</div>
79+
<!-- step 01 -->
80+
<div class="step-text-box">
81+
<p class="step-number">01</p>
82+
<h3 class="heading-terrtiary">
83+
Tell us what you like (and what not)
84+
</h3>
85+
<p class="step-description">
86+
Never again waste time thinking about what to eat! Omnifood AI
87+
will create a 100% personalized weekly meal plan just for you. It
88+
makes sure you get all the nutrients and vitamins you need, no
89+
matter what diet you follow!
90+
</p>
91+
</div>
92+
<div class="step-img-box">
93+
<img
94+
src="img/app/app-screen-1.png"
95+
class="step-img"
96+
alt="iPhone app
97+
preferences selection screen"
98+
/>
99+
</div>
100+
101+
<!-- step 02 -->
102+
<div class="step-img-box">
103+
<img
104+
src="img/app/app-screen-2.png"
105+
class="step-img"
106+
alt="iPhone app
107+
meal approving plan screen"
108+
/>
109+
</div>
110+
<div class="step-text-box">
111+
<p class="step-number">02</p>
112+
<h3 class="heading-terrtiary">Approve your weekly meal plan</h3>
113+
<p class="step-description">
114+
Once per week, approve the meal plan generated for you by Omnifood
115+
AI. You can change ingredients, swap entire meals, or even add
116+
your own recipes.
117+
</p>
118+
</div>
119+
<!-- step 03 -->
120+
121+
<div class="step-text-box">
122+
<p class="step-number">03</p>
123+
<h3 class="heading-terrtiary">Receive meals at convenient time</h3>
124+
<p class="step-description">
125+
Best chefs in town will cook your selected meal every day, and we
126+
will deliver it to your door whenever works best for you. You can
127+
change delivery schedule and address daily!
128+
</p>
129+
</div>
130+
<div class="step-img-box">
131+
<img
132+
src="img/app/app-screen-3.png"
133+
class="step-img"
134+
alt="iPhone app
135+
delivery screen"
136+
/>
137+
</div>
76138
</div>
77139
</section>
78140
</main>

0 commit comments

Comments
 (0)