Spaces:
Sleeping
Sleeping
Create static/css/style.css
Browse files- static/css/style.css +119 -0
static/css/style.css
ADDED
@@ -0,0 +1,119 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/* General Styles */
|
2 |
+
body {
|
3 |
+
font-family: Arial, sans-serif;
|
4 |
+
margin: 0;
|
5 |
+
padding: 0;
|
6 |
+
background-color: #f9f9f9;
|
7 |
+
}
|
8 |
+
|
9 |
+
/* Header */
|
10 |
+
h1 {
|
11 |
+
text-align: center;
|
12 |
+
color: #333;
|
13 |
+
margin: 20px 0;
|
14 |
+
}
|
15 |
+
|
16 |
+
/* Forms */
|
17 |
+
form {
|
18 |
+
width: 300px;
|
19 |
+
margin: 0 auto;
|
20 |
+
padding: 20px;
|
21 |
+
background: #fff;
|
22 |
+
border-radius: 8px;
|
23 |
+
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
24 |
+
}
|
25 |
+
|
26 |
+
form label {
|
27 |
+
font-weight: bold;
|
28 |
+
margin-top: 10px;
|
29 |
+
display: block;
|
30 |
+
}
|
31 |
+
|
32 |
+
form input {
|
33 |
+
width: 100%;
|
34 |
+
padding: 10px;
|
35 |
+
margin-top: 5px;
|
36 |
+
margin-bottom: 15px;
|
37 |
+
border: 1px solid #ccc;
|
38 |
+
border-radius: 4px;
|
39 |
+
}
|
40 |
+
|
41 |
+
form button {
|
42 |
+
width: 100%;
|
43 |
+
padding: 10px;
|
44 |
+
background-color: #007bff;
|
45 |
+
color: #fff;
|
46 |
+
border: none;
|
47 |
+
border-radius: 4px;
|
48 |
+
cursor: pointer;
|
49 |
+
}
|
50 |
+
|
51 |
+
form button:hover {
|
52 |
+
background-color: #0056b3;
|
53 |
+
}
|
54 |
+
|
55 |
+
/* Buttons */
|
56 |
+
button {
|
57 |
+
margin: 5px 0;
|
58 |
+
padding: 10px;
|
59 |
+
background-color: #28a745;
|
60 |
+
color: white;
|
61 |
+
border: none;
|
62 |
+
border-radius: 5px;
|
63 |
+
cursor: pointer;
|
64 |
+
}
|
65 |
+
|
66 |
+
button:hover {
|
67 |
+
background-color: #218838;
|
68 |
+
}
|
69 |
+
|
70 |
+
/* Menu Items */
|
71 |
+
.menu-item {
|
72 |
+
display: flex;
|
73 |
+
flex-direction: column;
|
74 |
+
align-items: center;
|
75 |
+
margin: 10px;
|
76 |
+
padding: 10px;
|
77 |
+
background: #fff;
|
78 |
+
border-radius: 8px;
|
79 |
+
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
80 |
+
}
|
81 |
+
|
82 |
+
.menu-item img {
|
83 |
+
width: 100px;
|
84 |
+
height: 100px;
|
85 |
+
border-radius: 50%;
|
86 |
+
margin-bottom: 10px;
|
87 |
+
}
|
88 |
+
|
89 |
+
.menu-item h3 {
|
90 |
+
margin: 5px 0;
|
91 |
+
color: #333;
|
92 |
+
}
|
93 |
+
|
94 |
+
.menu-item p {
|
95 |
+
margin: 5px 0;
|
96 |
+
color: #555;
|
97 |
+
}
|
98 |
+
|
99 |
+
/* Cart Page */
|
100 |
+
.cart-items {
|
101 |
+
list-style-type: none;
|
102 |
+
padding: 0;
|
103 |
+
}
|
104 |
+
|
105 |
+
.cart-items li {
|
106 |
+
margin: 10px 0;
|
107 |
+
padding: 10px;
|
108 |
+
background: #fff;
|
109 |
+
border-radius: 8px;
|
110 |
+
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
111 |
+
}
|
112 |
+
|
113 |
+
.total {
|
114 |
+
font-size: 1.5em;
|
115 |
+
text-align: center;
|
116 |
+
margin-top: 20px;
|
117 |
+
font-weight: bold;
|
118 |
+
color: #333;
|
119 |
+
}
|