DynamicMenuApp3 / static /styles.css
nagasurendra's picture
Update static/styles.css
8ac09ad verified
/* Main Page Styling */
body {
font-family: Arial, sans-serif;
background-color: #f9f9f9;
}
.menu-card {
display: flex;
justify-content: space-between;
align-items: center;
border: 1px solid #ddd;
padding: 15px;
margin-bottom: 10px;
border-radius: 8px;
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
background-color: white;
}
.menu-card-details {
flex: 1;
margin-right: 15px;
}
.menu-card-details h3 {
margin: 0;
font-size: 18px;
}
.menu-card-details p {
margin: 5px 0;
font-size: 14px;
}
.menu-card-actions {
text-align: center;
}
.menu-card-image {
width: 100px;
height: 100px;
object-fit: cover;
border-radius: 8px;
margin-bottom: 10px;
}
.add-button {
background-color: #28a745;
color: white;
border: none;
padding: 8px 15px;
font-size: 14px;
border-radius: 5px;
cursor: pointer;
}
/* Modal Window Styling */
.modal {
display: none;
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 1000;
width: 50%;
background-color: white;
border-radius: 8px;
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
padding: 20px;
}
.modal-content {
text-align: center;
}
.modal-image {
max-width: 100%;
height: auto;
margin-bottom: 20px;
}
.close-button {
position: absolute;
top: 10px;
right: 10px;
font-size: 18px;
cursor: pointer;
}