-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCSS.css
More file actions
127 lines (110 loc) · 2.09 KB
/
CSS.css
File metadata and controls
127 lines (110 loc) · 2.09 KB
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
/* General Styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Arial', sans-serif;
background-color: #f4f4f4;
color: #333;
line-height: 1.6;
}
header {
text-align: center;
padding: 20px;
background-color: #ff6347;
color: white;
}
h1 {
font-size: 2.5rem;
}
p {
font-size: 1.2rem;
}
/* Menu Section */
#menu {
max-width: 900px;
margin: 40px auto;
padding: 20px;
background: white;
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}
h2 {
text-align: center;
font-size: 2rem;
margin-bottom: 20px;
color: #ff6347;
}
.menu-section {
margin-bottom: 40px;
}
.menu-section h3 {
font-size: 1.5rem;
margin-bottom: 10px;
color: #333;
}
.image-container {
position: absolute;
right: 0;
top: 50%;
transform: translateY(-50%);
}
.image-container img {
width: 100%;
max-width: 296px; /* Adjust max-width as needed Extra Added samosa*/
height: auto;
}
.image-containers {
position: absolute;
left: 0;
top: 50%;
transform: translateY(-50%);
}
.image-containers img {
width: 100%;
max-width: 324px; /* Adjust max-width as needed Extra Added samosa*/
height: auto;
}
.menu-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px;
border-bottom: 1px solid #ddd;
transition: background-color 0.3s ease;
}
.menu-item:hover {
background-color: #f0f0f0;
}
.menu-item h4 {
margin-bottom: 5px;
font-size: 1.2rem;
}
.menu-item p {
color: #666;
font-size: 0.9rem;
}
.price {
font-weight: bold;
color: #ff6347;
font-size: 1.1rem;
}
/* Footer */
footer {
text-align: center;
padding: 20px;
background-color: #333;
color: white;
margin-top: 40px;
}
/* Responsive Styles */
@media (max-width: 768px) {
.menu-item {
flex-direction: column;
align-items: flex-start;
}
.price {
margin-top: 5px;
}
}