-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
155 lines (120 loc) · 2.56 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
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800;900&display=swap');
* {
padding: 0;
margin: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}
body {
width: 100%;
background-image: linear-gradient(to left, rgb(16 18 18), #00574f);
color: white;
}
/* header heading section */
#heading {
margin-top: 100px;
}
/* header navbar */
#nav {
box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
background-image: linear-gradient(-180deg, #000000, #607D8B);
}
.app_name {
font-size: 2rem;
font-weight: bolder;
letter-spacing: 2px;
font-family: 'Courier New', Courier, fangsong;
color: #ffffff;
text-shadow: 2px 0px 6px #f7fafa;
}
/* app's logo */
#logo {
height: 50px;
width: 50px;
margin: 0 20px 0 10px;
border-radius: 100%;
animation-name: rotating;
animation-timing-function: ease-in-out;
animation-duration: 15s;
animation-iteration-count: infinite;
}
/* animation for the website logo */
@keyframes rotating {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
/* header search bar section */
#search-bar {
max-width: 600px;
}
#search-bar input {
height: 50px;
border-radius: 20px;
}
/* meal card */
#card {
background-image: linear-gradient(-180deg, #5D4037, #FFEB3B);
padding: 10px;
color: white;
box-shadow: rgb(158 158 158) 0px 1px 10px;
}
#card h5 {
color: black;
font-family: 'Poppins';
font-weight: bold;
letter-spacing: 2px;
text-align: center;
font-size: 1.6rem;
}
#card img {
border-radius: 50%;
}
#card-title {
color: black;
font-weight: bold;
letter-spacing: 2px;
font-family: monospace;
font-size: 1.5rem;
text-align: center;
}
/* meal details container */
#meal-details {
width: 100%;
padding: 20px;
border-radius: 20px;
background-color: hsl(235, 24%, 19%);
}
#meal-header {
width: 70%;
margin: auto;
}
#meal-thumbail img {
height: 250px;
max-width: 250px;
object-fit: cover;
border-radius: 20px;
}
#details {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
font-style: italic;
}
#meal-instruction {
margin: auto;
text-align: center;
}
/* favourites offcanvus */
#favourites-body {
background-color: #212529;
}
#fav {
margin: 0 20px;
letter-spacing: 3px;
font-weight: bold;
}