This commit is contained in:
kitkatpotato16
2025-02-19 13:43:25 +01:00

View File

@@ -21,7 +21,6 @@ body {
top: 60%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 1000; /* Ensure it is above other elements */
transition: all 0.3s ease; /* Add transition for position and background color */
}
@@ -35,6 +34,10 @@ body {
flex-wrap: nowrap; /* Ensure all items are in a single row */
}
.menu-bar.dark {
background-color: #ff8c00; /* Darker background color when modal is open */
}
.menu-item {
background-color: #ff8c00;
padding: 10px 20px;
@@ -61,10 +64,6 @@ body {
margin-top: 60px; /* Add margin to ensure it starts below the top bar */
}
.menu-bar.top + .product-display {
margin-top: 120px; /* Adjust margin when the menu bar is at the top */
}
.product-box {
width: 200px; /* Keep the width fixed */
margin: 10px;
@@ -102,7 +101,7 @@ body {
.modal-content {
background-color: white;
margin: 5% auto;
margin: 7% auto;
padding: 20px;
border-radius: 8px;
width: 80%;