-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
243 lines (241 loc) · 4.24 KB
/
style.css
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
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
@import url("https://fonts.googleapis.com/css2?family=Young+Serif&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700&display=swap");
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
img {
max-width: 100%;
border-radius: 12px;
-webkit-border-radius: 12px;
-moz-border-radius: 12px;
-ms-border-radius: 12px;
-o-border-radius: 12px;
}
ul li::marker {
color: hsl(332, 51%, 32%);
font-size: 12px;
}
ol li::marker {
color: #854632;
font-size: 16px;
font-family: "Outfit", sans-serif;
font-weight: 600;
}
body {
font-family: "Young Serif", sans-serif;
background-color: #f3e5d7;
}
section {
margin-top: 123px;
margin-bottom: 123px;
}
.container {
border-radius: 24px;
padding: 40px;
-webkit-border-radius: 24px;
-moz-border-radius: 24px;
-ms-border-radius: 24px;
-o-border-radius: 24px;
background-color: white;
max-width: 100%;
width: 736px;
margin: 0 auto;
}
.title {
margin-top: 40px;
}
h1 {
font-size: 40px;
color: hsl(24, 5%, 18%);
font-weight: 400;
line-height: 1;
}
.parrafo {
margin-top: 24px;
}
p {
font-family: "Outfit", sans-serif;
font-weight: 400;
font-size: 16px;
line-height: 150%;
color: hsl(30, 10%, 34%);
}
.preparation {
background-color: #fff7fb;
border-radius: 12px;
-webkit-border-radius: 12px;
-moz-border-radius: 12px;
-ms-border-radius: 12px;
-o-border-radius: 12px;
padding: 28px;
margin-top: 32px;
}
.preparation h3 {
font-weight: 600;
font-size: 20px;
font-family: "Outfit", sans-serif;
color: hsl(332, 51%, 32%);
}
.listPreparation {
margin-top: 16px;
padding-left: 28px;
}
.listPreparation ul li {
font-size: 16px;
font-family: "Outfit", sans-serif;
font-weight: 400;
color: hsl(30, 10%, 34%);
padding: 8px;
}
.ingredients,
.instructions,
.nutrition {
margin-top: 32px;
padding-left: 28px;
}
.ingredients h2 {
font-size: 28px;
font-weight: normal;
color: #854632;
}
.ingredients ul li {
font-family: "Outfit", sans-serif;
font-size: 16px;
font-weight: normal;
color: hsl(30, 10%, 34%);
padding: 8px;
}
.ingredients ul li::marker {
color: hsl(30, 10%, 34%);
}
.listIngredients {
margin-top: 24px;
margin-bottom: 24px;
}
hr {
border: 0.1px solid #e3ddd7;
}
.instructions h2 {
font-size: 28px;
font-weight: normal;
color: #854632;
}
.instructions ol li {
font-family: "Outfit", sans-serif;
font-size: 16px;
font-weight: normal;
color: hsl(30, 10%, 34%);
padding: 8px;
line-height: 150%;
}
.instructions ul li::marker {
color: hsl(30, 10%, 34%);
}
.listIntructions {
margin-top: 24px;
margin-bottom: 24px;
}
.nutrition h2 {
font-size: 28px;
font-weight: normal;
color: #854632;
}
.parrafoNutrition {
padding: 24px 0px 24px;
}
.attribution {
font-size: 11px;
text-align: center;
}
table {
color: hsl(30, 10%, 34%);
font-size: 16px;
font-family: "Outfit", sans-serif;
border-collapse: collapse;
width: 100%;
}
td,
th {
border-bottom: 1px solid #dddddd;
text-align: left;
padding: 12px;
}
.color {
color: #854632;
font-weight: 600;
}
.bold {
font-weight: 600;
}
.attribution a {
color: hsl(228, 45%, 44%);
}
@media screen and (max-width: 480px) {
section {
margin: 0;
}
.container {
padding: 0;
border-radius: 0;
-webkit-border-radius: 0;
-moz-border-radius: 0;
-ms-border-radius: 0;
-o-border-radius: 0;
}
.image {
padding: 0;
}
img {
max-width: 100%;
border-radius: 0;
-webkit-border-radius: 0;
-moz-border-radius: 0;
-ms-border-radius: 0;
-o-border-radius: 0;
}
.title,
.ingredients,
.instructions,
.nutrition {
padding: 0 30px 0 30px;
}
.preparation {
margin: 30px;
}
.preparation {
padding: 20px;
}
.listPreparation {
margin-top: 0px;
padding-left: 28px;
padding-top: 10px;
}
.ingredients,
.instructions {
margin: 30px 0px 30px;
padding-left: 45px;
}
.listIngredients {
margin-top: 0px;
padding-top: 10px;
margin-bottom: 0;
}
.listIntructions {
margin-top: 10px;
margin-bottom: 0px;
}
.nutrition {
margin-top: 30px 30px;
padding-bottom: 40px;
}
.nutrition h2 {
font-size: 28px;
font-weight: normal;
color: #854632;
}
.parrafoNutrition {
padding: 24px 0px 24px;
}
}