-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
119 lines (104 loc) · 2.22 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
/* Using REM, san-serif Font */
@import url('https://fonts.googleapis.com/css2?family=REM:wght@300&display=swap');
:root {
--primary-color: #ff4200;
--background-color: #4b4b4b;
--card-background-color: #ff9001;
--font-primary: #fff;
--font-secondary: #e2ded3;
--font-family: 'REM', sans-serif;
--base-font-size: 16px;
--letter-spacing: 2px;
--border-radius: 20px;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: var(--font-family)
}
body {
background-color: var(--background-color);
color: var(--font-primary);
}
/* Navbar section */
.nav-heading {
letter-spacing: var(--letter-spacing);
font-family: var(--font-family);
font-size: 1.5rem;
}
.prim-color {
background-color: var(--primary-color);
}
button span i {
color: var(--font-primary);
font-size: 2rem;
}
/* offcanvas section and card Heading */
h5 {
font-family: var(--font-family);
font-size: 1.5rem;
}
/* Heading Section */
#heading {
margin-top: 4rem;
}
.quote {
letter-spacing: var(--letter-spacing);
font-style: italic;
font-size: 20px;
}
/* Header Serach bar */
#search-bar {
max-width: 600px;
}
#search-bar input {
height: 2.8rem;
border-radius: var(--border-radius);
padding: 0 20px !important;
font-size: 1.2rem;
}
/* Card section */
#card {
background-color: var(--card-background-color);
color: var(--font-primary);
border-radius: var(--border-radius);
}
#card img {
border-top-left-radius: var(--border-radius);
border-top-right-radius: var(--border-radius);
}
.card-title {
letter-spacing: var(--letter-spacing);
}
/* meal details container */
#meal-details{
width: 100%;
padding: 20px;
border-radius: var(--border-radius);
background-color: var(--primary-color);
}
#meal-header{
width: 70%;
margin: auto;
}
#meal-thumbnail img{
height: 300px;
width: 300px;
border-radius: var(--border-radius);
}
#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:#000000;
}