-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcart.css
233 lines (187 loc) · 3.91 KB
/
cart.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
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
/* CSS Reset */
*{
margin: 0;
padding: 0;
}
html{
scroll-behavior: smooth;
}
/* CSS Variables */
:root{
--navbar-height: 59px;
}
/* Navbar Styles */
#navbar {
display: flex;
align-items: center;
background-color: black; /* Coral color */
padding: 10px 20px;
position: relative;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
/* Logo styling */
#logo img {
height: 50px; /* Adjust as necessary */
border-radius: 30px 30px 30px 30px;
}
/* Styles for the navigation list */
#navbar ul {
display: flex;
list-style-type: none;
padding: 0;
margin: 0;
margin-left: 0; /* Align list to the left */
}
/* Individual items within the navbar */
#navbar .home,
#navbar .about,
#navbar .Food,
#navbar .con,
#navbar .car {
display: flex;
align-items: center;
margin-right: 20px; /* Spacing between items */
}
#navbar .item a {
text-decoration: none; /* Remove underline */
color: white; /* Link color */
padding: 10px;
transition: color 0.3s; /* Smooth transition for hover effect */
}
#navbar .item a:hover {
color: #FFD700; /* Gold color on hover */
background-color: white;
border-radius: 25px;
}
#navbar ul {
margin-left: auto;
}
/* Icon styling */
.material-symbols-outlined {
margin-right: 1px; /* Space between icon and text */
font-size: 20px; /* Size of the icon */
color: white; /* Icon color */
}
/* Additional styling for all items to align left */
#navbar > div,
#navbar ul > div {
display: flex; /* Ensure all items use flex layout */
align-items: center; /* Center items vertically */
margin: 0; /* Remove default margins */
}
.container {
max-width: 800px;
margin: 50px auto;
padding: 20px;
background-color: #fff;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
h1 {
text-align: center;
margin-bottom: 20px;
color: #333;
}
.cart-items {
display: flex;
flex-direction: column;
gap: 15px;
}
.cart-item {
display: flex;
align-items: center;
justify-content: space-between;
padding: 15px;
border: 1px solid #ddd;
border-radius: 5px;
}
.cart-item img {
width: 60px; /* Decrease the width */
height: 60px; /* Decrease the height */
border-radius: 5px;
}
.cart-item h3 {
margin: 0 10px;
flex-grow: 1;
}
.total-price {
text-align: right;
margin-top: 20px;
font-size: 1.5em;
}
.checkout-btn {
background-color: #28a745;
color: #fff;
border: none;
border-radius: 5px;
padding: 10px 20px;
font-size: 1.2em;
cursor: pointer;
transition: background-color 0.3s;
}
.checkout-btn:hover {
background-color: #218838;
}
footer, footer * {
margin: 0;
padding: 0;
background-color:#ccc;
}
/* Main Footer Styling */
footer {
display: flex;
flex-wrap: wrap;
margin-top: 250px;
justify-content: space-between;
padding: 0; /* Remove any padding from the footer itself */
}
/* Column Styling */
footer .col {
margin-top: 40px;
display: flex;
flex-direction: column;
align-items: flex-start;
}
/* Logo Styling */
/* footer .logo {
margin-top: 20px;
margin-bottom: 10px;
height: 20%;
} */
/* Text Styling */
footer h4 {
font-size: 14px;
padding-bottom: 20px;
}
footer p {
font-size: 13px;
margin: 0 0 8px 0;
}
footer a {
font-size: 13px;
text-decoration: none;
color: #222;
margin-bottom: 10px;
}
/* Image Styling */
footer .install .row img {
border: 1px solid #088178;
border-radius: 6px;
}
footer .install img {
margin: 10px 0 15px 0;
}
/* Hover Effects */
footer .follow i:hover,
footer a:hover {
color: #088178;
}
/* Copyright Section Styling */
footer .copyright {
width: 100%;
text-align: center;
margin: 0; /* Ensure no margin */
padding: 0; /* Ensure no padding */
margin-top: 0; /* Remove any top margin */
margin-top: 20px;
}