-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
186 lines (159 loc) · 2.88 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Outfit";
font-size: 16px;
font-weight: 400;
color: hsl(30, 10%, 34%);
}
.attribution {
font-size: 11px;
text-align: center;
}
.attribution a {
color: hsl(228, 45%, 44%);
}
.main {
background-color: hsl(30, 54%, 90%);
min-height: 100vh;
flex-direction: column;
display: flex;
align-items: center;
}
.container-recipe {
background-color: hsl(0, 0%, 100%);
width: 100%;
max-width: 850px;
padding: 40px;
margin: 100px 0;
border-radius: 20px;
}
.image-omelette {
width: 100%;
border-radius: 10px;
}
.title {
margin: 20px 0;
font-weight: 600;
color: hsl(24, 5%, 18%);
font-size: 40px;
font-family: "Young Serif";
}
.introduction {
font-size: 18px;
padding-bottom: 25px;
}
.container-preparation {
background-color: hsl(330, 100%, 98%);
border-radius: 14px;
padding: 20px;
}
.title-preparation {
color: hsl(332, 51%, 32%);
font-size: 20px;
font-weight: 600;
padding-bottom: 5px;
}
.time-preparation {
list-style-position: inside;
padding-left: 10px;
}
.time-preparation li {
padding: 6px;
}
.time-preparation li::marker {
color: hsl(332, 51%, 32%);
font-size: 12px;
}
.time-preparation li span {
color: hsl(30, 10%, 34%);
font-weight: 600;
padding-left: 10px;
}
.title-section {
font-weight: 600;
color: hsl(14, 45%, 36%);
font-size: 30px;
padding: 5px 0px 15px;
font-family: "Young Serif";
}
.title-ingredients {
font-weight: 600;
color: hsl(14, 45%, 36%);
font-size: 30px;
padding: 30px 0px 15px;
font-family: "Young Serif";
}
.ingredients {
padding-bottom: 20px;
}
.ingredients li {
padding: 6px;
margin-left: 20px;
padding-left: 20px;
}
.ingredients li::marker {
font-size: 12px;
color: hsl(14, 45%, 36%);
}
.instructions {
padding-left: 15px;
font-size: 13px;
margin-bottom: 30px;
}
.instructions li {
padding: 6px;
}
.instructions li span {
font-weight: bold;
}
.instructions li::marker {
color: hsl(14, 45%, 36%);
padding-left: 20px;
font-weight: bold;
}
.table-information {
margin-bottom: 20px;
}
.serving {
color: hsl(14, 45%, 36%);
font-weight: 600;
}
td {
padding: 15px;
width: 50%;
text-align: left;
border-bottom: 1px solid hsl(30, 18%, 87%);
}
.last-td {
border: 0;
}
.macronutrient {
padding-left: 40px;
}
hr {
display: block;
height: 1px;
border: 0;
border-top: 1px solid hsl(30, 18%, 87%);
margin: 1em 0;
padding: 0;
}
.nutrition {
border-collapse: collapse;
width: 100%;
}
@media screen and (max-width: 767px) {
.container-mobile {
padding: 20px;
}
.container-recipe {
padding: 0;
border-radius: 0;
margin: 0px 0px;
}
.image-omelette {
border-radius: 0;
}
}