-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
146 lines (141 loc) · 3.16 KB
/
index.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
* {
margin: 0;
padding: 0;
font-family: cascadia code;
background: #dde1e7;
outline: none;
border: none;
}
.content {
display: flex;
text-transform: capitalize;
font-style: italic;
margin: 40px auto;
font-size: 20px;
font-weight: bolder;
justify-content: center;
}
.mealSearch {
display: flex;
justify-content: center;
width: 50%;
margin: 2.5% auto;
}
.mealSearch input {
padding: 0.5rem 1rem;
font-size: 30px;
text-transform: capitalize;
font-weight: bolder;
background: #dde1e7;
border-radius: 10px;
height: 40px;
width: 60%;
box-shadow: inset 2px 2px 5px #babecc, inset -5px -5px 10px rgba(255, 255, 255, 0.4509803922);
}
.mealSearch button {
margin-left: 20px;
background: green;
border-radius: 5px;
box-shadow: 2px 2px 5px #babecc, -5px -5px 10px rgba(255, 255, 255, 0.4509803922);
}
.mealSearch button .favorite {
color: white;
border-radius: 5px;
background: green;
font-size: 30px;
padding: 0.5rem;
}
.mealDisplay {
margin: 30px;
display: flex;
justify-content: center;
flex-wrap: wrap;
}
.mealDisplay .meal {
margin: 20px;
padding: 1.5rem;
border-radius: 10px;
background: #dde1e7;
box-shadow: 2px 2px 5px #babecc, -5px -5px 10px rgba(255, 255, 255, 0.4509803922);
}
.mealDisplay .meal img {
width: 370px;
border-radius: 10px;
}
.mealDisplay .meal .wrapper {
display: flex;
justify-content: center;
}
.mealDisplay .meal .wrapper h3 {
padding: 0.5rem;
display: flex;
margin-top: 14px;
font-size: 30px;
justify-content: center;
font-weight: bolder;
border-radius: 10px;
box-shadow: inset 2px 2px 5px #babecc, inset -5px -5px 10px rgba(255, 255, 255, 0.4509803922);
}
.mealDisplay .meal .wrapper button {
font-size: 25px;
padding: 0.5rem;
height: 50px;
margin-left: 20px;
margin-top: 13px;
border-radius: 10px;
box-shadow: inset 2px 2px 5px #babecc, inset -5px -5px 10px rgba(255, 255, 255, 0.4509803922);
}
.mealDisplay .meal .wrapper button .fav {
border-radius: 10px;
}
.mealDisplay .mealDetails {
display: flex;
background: #dde1e7;
padding: 1rem;
border-radius: 10px;
box-shadow: 2px 2px 5px #babecc, -5px -5px 10px rgba(255, 255, 255, 0.4509803922);
}
.mealDisplay .mealDetails img {
width: 400px;
height: 400px;
margin: 1rem;
border-radius: 10px;
}
.mealDisplay .mealDetails .detailsWrapper {
display: flex;
flex-direction: column;
margin: -20px 20px 20px 40px;
}
.mealDisplay .mealDetails .detailsWrapper p {
margin: 10px 0px;
}
.mealDisplay .mealDetails .detailsWrapper ul li {
list-style: none;
margin: 5px 0px;
font-weight: bolder;
}
.mealDisplay .mealDetails .detailsWrapper button {
padding: 0.5rem;
width: -moz-fit-content;
width: fit-content;
margin: 20px auto;
border-radius: 10px;
font-size: large;
font-weight: bolder;
background: #dde1e7;
box-shadow: 2px 2px 5px #babecc, -5px -5px 10px rgba(255, 255, 255, 0.4509803922);
}
h2 {
display: flex;
margin-top: 50px;
justify-content: center;
font-weight: bolder;
font-size: 30px;
font-style: italic;
}
.addToList .fav, .removeFromList .fav {
color: black;
}
.addToList.selected .fav, .removeFromList.selected .fav {
color: red;
}/*# sourceMappingURL=index.css.map */