-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
216 lines (170 loc) · 5.3 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- displays site properly based on user's device -->
<link rel="icon" type="image/png" sizes="32x32" href="./assets/images/favicon-32x32.png">
<title>Frontend Mentor | Recipe page</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&family=Young+Serif&display=swap" rel="stylesheet">
<style>
:root {
--color-white: hsl(0, 0%, 100%);
--color-stone-100: hsl(30, 54%, 90%);
--color-stone-150: hsl(30, 18%, 87%);
--color-stone-600: hsl(30, 10%, 34%);
--color-stone-900: hsl(24, 5%, 18%);
--color-brown-800: hsl(14, 45%, 36%);
--color-rose-800: hsl(332, 51%, 32%);
--color-rose-50: hsl(330, 100%, 98%);
}
body{
margin: 0;
background-color: var(--color-stone-100) ;
min-height: 100vh;
margin: 50px 20px ;
display: flex;
justify-content: center;
align-items: center;
}
.young-serif-regular {
font-family: "Young Serif", serif;
font-weight: 400;
font-style: normal;
}
.container{
background-color: var(--color-white);
border-radius: 20px;
border: 2px sloid;
margin: 30px;
align-content: center;
max-width: 600px;
padding: 30px;
box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
p{
font-size: 16px;
}
h2{
color: var(--color-brown-800);
}
img{
max-width: 100%;
height: auto;
border-radius: 10px;
align-content: center;
}
hr{
color: var(--color-brown-800);
background-color: var(--color-brown-800);
}
.preparation{
justify-content: space-between;
background-color: var(--color-rose-50);
padding: 15px;
margin: 20px 0;
}
.preparation h2{
color: var(--color-rose-800);
}
ol li::marker {
color: var(--color-brown-800);
}
ul li::marker{
color: var(--color-brown-800);
}
tbody tr {
border-bottom: 1px solid brown;
}
tbody tr td:nth-child(2) {
color: var(--color-brown-800);
}
td {
padding: 8px;
}
.attribution{
margin: 30px;
}
.attribution a{
text-decoration: none;
text-align: none;
color:var(--color-brown-800) ;
}
@media screen and (max-width: 375px) {
body {
max-width: 100%;
box-shadow: none;
margin: 0px;
}
}
</style>
</head>
<body>
<div class="container">
<img src="assets/images/image-omelette.jpeg" alt="omelette" srcset="">
<h1>Simple Omelette Recipe</h1><br>
<p>An easy and quick dish, perfect for any meal. This classic omelette combines beaten eggs cooked
to perfection, optionally filled with your choice of cheese, vegetables, or meats.</p>
<div class="preparation">
<h2 class="unique">Preparation time</h2>
<ul >
<li> Total: Approximately 10 minutes</li>
<li> Preparation: 5 minutes</li>
<li>Cooking: 5 minutes</li>
</ul>
</div>
<div class="ingrediant">
<h2>Ingredients</h2>
<ul >
<li>2-3 large eggs</li>
<li> Salt, to taste</li>
<li>1 tablespoon of butter or oil</li>
<li> Optional fillings: cheese, diced vegetables, cooked meats, herbs</li>
</ul>
</div>
<hr>
<div class="instructions">
<h2>Instructions</h2>
<ol type="1">
<li><strong>Beat the eggs:</strong>
In a bowl, beat the eggs with a pinch of salt and pepper until they are well mixed.
You can add a tablespoon of water or milk for a fluffier texture.</li>
<li><strong>Heat the pan:</strong> Place a non-stick frying pan over medium heat and add butter or oil.</li>
<li><strong>Cook the omelette: </strong> Once the butter is melted and bubbling, pour in the eggs. Tilt the pan to ensure
the eggs evenly coat the surface.</li>
<li> <strong>Add fillings (optional):</strong> When the eggs begin to set at the edges but are still slightly runny in the
middle, sprinkle your chosen fillings over one half of the omelette.</li>
<li> <strong>Fold and serve:</strong> As the omelette continues to cook, carefully lift one edge and fold it over the
fillings. Let it cook for another minute, then slide it onto a plate.</li>
<li> <strong>Enjoy:</strong> Serve hot, with additional salt and pepper if needed.</li>
</ol>
</div>
<h2>Nutrition</h2>
<p>The table below shows nutritional values per serving without the additional fillings.</p>
<table>
<tbody>
<tr>
<td>Calories</td>
<td>277 kcal</td>
</tr>
<tr>
<td>Carbs</td>
<td>0 g</td>
</tr>
<tr>
<td>Protein</td>
<td>20 g</td>
</tr>
<tr>
<td>Fat</td>
<td>22 g</td>
</tr>
</tbody>
</table>
<div class="attribution">
Challenge by <a href="https://www.frontendmentor.io?ref=challenge" target="_blank">Frontend Mentor</a>.
</div>
</div>
</body>
</html>