Spaces:
Sleeping
Sleeping
/* Styling for the vertical food list */ | |
#food-list { | |
display: flex; | |
flex-direction: column; | |
align-items: center; | |
gap: 10px; | |
} | |
button { | |
width: 80%; | |
max-width: 400px; | |
padding: 10px; | |
font-size: 16px; | |
border-radius: 8px; | |
border: 1px solid #ddd; | |
cursor: pointer; | |
transition: background-color 0.3s ease, box-shadow 0.3s ease; | |
} | |
button:hover { | |
background-color: #f5f5f5; | |
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); | |
} | |
/* Modal styling */ | |
.modal-content { | |
width: 400px; | |
max-width: 90%; | |
background-color: #fff; | |
border-radius: 12px; | |
padding: 20px; | |
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); | |
text-align: center; | |
position: relative; | |
} | |
.modal-content img { | |
width: 100%; | |
max-height: 200px; | |
object-fit: cover; | |
border-radius: 12px 12px 0 0; | |
} | |
.modal-content h3 { | |
margin-top: 20px; | |
font-size: 24px; | |
} | |
.modal-content table { | |
width: 100%; | |
margin-top: 10px; | |
border-collapse: collapse; | |
} | |
.modal-content table td { | |
padding: 10px; | |
border: 1px solid #ddd; | |
} | |