DynamicMenuApp3 / static /styles.css
nagasurendra's picture
Update static/styles.css
803113c verified
raw
history blame
971 Bytes
body {
font-family: Arial, sans-serif;
margin: 20px;
background-color: #f9f9f9;
}
.menu-item {
border: 1px solid #ddd;
border-radius: 8px;
padding: 10px;
width: 300px;
background-color: white;
text-align: center;
margin-bottom: 20px;
}
.dish-image {
width: 100px;
height: 100px;
object-fit: cover;
margin-bottom: 10px;
}
.add-button {
background-color: #28a745;
color: white;
border: none;
padding: 10px;
border-radius: 5px;
cursor: pointer;
font-size: 16px;
}
.add-button:hover {
background-color: #218838;
}
/* Modal Window */
.popup {
display: none;
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;
}
.popup button {
margin-top: 10px;
}