-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproject.css
More file actions
145 lines (120 loc) · 3.33 KB
/
project.css
File metadata and controls
145 lines (120 loc) · 3.33 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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
body {
background-color: black; /* Set background image */
background-size: cover; /* Cover full page */
font-family: Arial, sans-serif;
position: relative;
}
/* Add a pseudo-element to create a blur effect */
body::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.4);
background: inherit; /* Use the same background */
filter: blur(8px); /* Adjust the blur level */
z-index: -1; /* Place it behind the content */
}
p { color: white; }
h3 { color: red; font-style: italic; }
h1 { color: red; font-weight: 300; text-align: center; }
h2 { color: white; text-align: center; font-size: 35px;
background: rgba(222, 91, 15, 0.6);
padding: 10px 30px;
border-radius: 10px;
box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5); /* Adds a subtle shadow */
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);}
hr { border-color: rgb(255, 222, 6); }
h4 { color: white; text-align: center; }
ul { color: white; }
li { color: white; }
h1, h4 {
margin-bottom: 20px;
}
/* Container for menu items */
.menu-section {
display: flex;
flex-wrap: wrap;
justify-content: center; /* Centers items horizontally */
gap: 20px; /* Adds space between items */
padding: 20px;
}
menu-section {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 20px;
}
/* Individual menu item */
.menu-item {
width: 300px; /* Ensures a uniform width */
padding: 15px;
border: 1px solid #ff5733;
border-radius: 10px;
background-color: #121111e6;
text-align: center;
box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
display: flex;
flex-direction: column;
align-items: center;
}
/* Standardize image size */
.menu-item img {
width: 100%; /* Makes image responsive within its container */
height: 200px;
object-fit: cover; /* Ensures images fit uniformly */
border-radius: 5px;
}
/* Price and item description */
.menu-item p {
font-size: 25px;
font-weight: bold;
margin: 10px 0;
}
/* Align dropdown and button */
.menu-item .controls {
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
padding: 15px;
}
.menu-item select {
padding: 5px 15px;
font-size: 14px;
}
/* Add to Cart button */
.menu-item button {
background-color: #ff5733;
color: white;
border: none;
padding: 14px 20px;
cursor: pointer;
font-size: 14px;
border-radius: 5px;
}
.menu-item button:hover {
background-color: #d9432a;
}
/* Add to Cart button */
.menu-item button {
background-color: #ff5733;
color: white;
border: none;
padding: 16px 14x;
cursor: pointer;
font-size: 14px;
border-radius: 5px;
transition: all 0.3s ease-in-out; /* Smooth transition */
}
/* Hover effect */
.menu-item button:hover {
background-color: #d9432a; /* Darker red */
transform: scale(1.1); /* Slightly enlarges the button */
box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2); /* Adds shadow for depth */
}
.menu-section {
display: none; /* Hide all sections initially */
}