-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
159 lines (141 loc) · 3.17 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
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;700&family=Outfit:wght@400;600;700&family=Pacifico&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Young+Serif&display=swap");
* {
box-sizing: border-box;
font-family: "Outfit", sans-serif;
margin: 0px;
padding: 0px;
color: hsl(30, 10%, 34%);
}
body {
margin: 0px;
background-color: hsl(30, 54%, 90%);
}
.container {
width: 100%;
background-color: white;
}
.dish-img {
width: 100%;
}
.content {
padding: 26px 32px;
}
.dish-title {
font-family: "Young Serif", serif;
padding-bottom: 20px;
font-size: 36px;
color: black;
line-height: 36px;
}
.dish-discription{
padding-bottom: 26px;
line-height: 24px;
}
.preparation-container {
background-color: hsl(330, 100%, 98%);
padding: 20px 24px;
border-radius: 10px;
}
.preparation-container h2{
color: hsl(332, 51%, 32%);
font-weight: 700;
font-size: larger;
padding-bottom: 16px;
}
.preparation-container ul, .ingredients-container ul{
list-style: none;
font-size: 16px;
padding: 0px 8px;
}
.preparation-container ul li, .ingredients-container ul li{
position: relative;
display:flex;
align-items:center;
}
.preparation-container ul li::before, .ingredients-container ul li::before{
content: "•";
color: hsl(332, 51%, 32%);
font-size: x-large;
text-align: center;
vertical-align: middle;
margin-right:22px;
}
.preparation-container ul li::marker {
color: hsl(332, 51%, 32%);
}
.preparation-container ul li span {
font-size: 16px;
font-weight: 700;
color: hsl(30, 10%, 34%);
line-height: 24px;
}
.ingredients-container, .instruction-container, .nutrition-container{
padding: 24px 0px;
/* padding-bottom: 16px; */
}
.ingredients-container div:first-child, .instruction-container div:first-child, .nutrition-container div:first-child{
padding-bottom: 16px;
font-family: "Young Serif", serif;
font-size: 26px;
color: hsl(14, 45%, 36%);
}
.ingredients-container ul li::before , .instruction-container ol li::before{
color: hsl(14, 45%, 36%);
}
.instruction-container ol {
padding-left: 26px;
}
.instruction-container ol li {
position: relative;
padding-left: 12px;
}
.instruction-container ol li::marker {
color: hsl(14, 45%, 36%);
font-weight: 600;
}
.instruction-container ol li span {
font-size: 16px;
font-weight: 700;
color: hsl(30, 10%, 34%);
line-height: 24px;
}
.nutrition-container p {
padding-bottom: 24px;
}
.nutrition-container table {
width: 100%;
border-collapse: collapse;
}
.nutrition-container table tr td {
padding: 12px 0px;
border-bottom: 2px solid hsl(0, 0%, 90%);
}
.nutrition-container table tr td:first-child {
padding-left: 36px;
}
.nutrition-container table tr td:last-child {
color: hsl(14, 45%, 36%);
font-weight: 700;
}
@media screen and (min-width: 376px) {
body {
background-color: hsl(30, 54%, 90%);
}
.container {
max-width: 768px;
border-radius: 10px;
}
.img-container {
padding: 24px 24px 0px 24px;
}
.dish-img {
margin: 0px auto;
border-radius: 10px;
}
}
@media screen and (min-width: 768px) {
.container{
margin: 100px auto;
}
}