-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathstyle.css
88 lines (76 loc) · 1.28 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
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
background-color: #a5ef9d;
height: 100vh;
}
.container {
background-color: #fff;
padding: 20px;
border-radius: 10px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
width: 70%;
max-width: 1000px;
}
h1 {
text-align: center;
font-size: 32px;
}
.menu {
display: flex;
justify-content: space-around;
margin-bottom: 20px;
}
.menu-item {
text-align: center;
width: 30%;
background-color: #f9f9f9;
padding: 10px;
border-radius: 10px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.menu-item img {
width: 100%;
max-height: 200px;
object-fit: cover;
border-radius: 10px;
}
.add-to-cart {
margin-top: 10px;
padding: 10px 20px;
background-color: #28a745;
color: #fff;
border: none;
border-radius: 5px;
cursor: pointer;
}
.add-to-cart:hover {
background-color: #218838;
}
.cart {
margin-top: 30px;
text-align: center;
}
.cart ul {
list-style-type: none;
padding: 0;
}
.cart li {
margin: 10px 0;
}
#place-order {
padding: 10px 20px;
background-color: #007bff;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
}
#place-order:disabled {
background-color: #aaa;
cursor: not-allowed;
}