DynamicMenuApp3 / static /styles.css
nagasurendra's picture
Update static/styles.css
2b426ed verified
raw
history blame
816 Bytes
body {
font-family: Arial, sans-serif;
}
.menu-card {
border: 1px solid #ddd;
border-radius: 8px;
padding: 10px;
width: 300px;
margin-bottom: 20px;
background: white;
text-align: center;
}
.menu-image {
width: 100%;
height: 200px;
object-fit: cover;
border-radius: 8px;
}
.menu-title, .menu-description, .menu-price {
margin: 10px 0;
}
.add-button {
background-color: #28a745;
color: white;
padding: 10px 15px;
border: none;
border-radius: 5px;
cursor: pointer;
}
.popup {
position: fixed;
z-index: 1000;
top: 20%;
left: 50%;
transform: translate(-50%, -20%);
width: 50%;
background-color: white;
padding: 20px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
border-radius: 8px;
display: none;
}