Spaces:
Sleeping
Sleeping
File size: 1,661 Bytes
add9e3d 2df4b7f 56e9f63 2df4b7f 56e9f63 2df4b7f 56e9f63 |
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 |
body {
font-family: Arial, sans-serif;
margin: 20px;
background-color: #f9f9f9;
}
h1 {
text-align: center;
margin-bottom: 30px;
}
.menu-category {
margin-bottom: 30px;
}
.menu-items {
display: flex;
flex-wrap: wrap;
gap: 20px;
}
.menu-item {
border: 1px solid #ddd;
border-radius: 8px;
padding: 10px;
width: 200px;
background-color: white;
text-align: center;
}
.menu-item img {
width: 100px;
height: 100px;
object-fit: cover;
margin-bottom: 10px;
}
.menu-item h3 {
font-size: 18px;
margin: 10px 0;
}
.menu-item p {
font-size: 16px;
color: #333;
}
.menu-item button {
background-color: #28a745;
color: white;
border: none;
padding: 10px;
border-radius: 5px;
cursor: pointer;
font-size: 16px;
}
.menu-item button:hover {
background-color: #218838;
}
/* Pop-Up Modal */
/* Modal Window */
.popup {
display: none; /* Hidden by default */
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 50%;
background-color: white;
padding: 20px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
border-radius: 8px;
z-index: 1000;
}
.popup.show {
display: block; /* Show when modal is triggered */
}
.popup button {
margin-top: 10px;
}
body {
overflow-y: scroll; /* Keep background scrollable */
}
/* Menu Item */
.menu-item img {
width: 100px;
height: 100px;
object-fit: cover;
}
.add-button {
background-color: #28a745;
color: white;
border: none;
padding: 10px;
border-radius: 5px;
cursor: pointer;
font-size: 14px;
}
|