mirror of
https://github.com/Alvin-Zilverstand/Schoolkantine.git
synced 2026-03-07 05:53:00 +01:00
117 lines
1.8 KiB
CSS
117 lines
1.8 KiB
CSS
/* Algemene body */
|
|
body {
|
|
font-family: Arial, sans-serif;
|
|
margin: 0;
|
|
display: flex;
|
|
}
|
|
|
|
/* Linkerkant menu */
|
|
.menu-list {
|
|
width: 30%;
|
|
background-color: #f2c14e;
|
|
padding: 20px;
|
|
height: 100vh;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.menu-list h2 {
|
|
color: #d32f2f;
|
|
font-size: 2em;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.menu-item {
|
|
background-color: #fff;
|
|
padding: 15px;
|
|
margin: 10px 0;
|
|
border-radius: 8px;
|
|
cursor: pointer;
|
|
font-size: 1.2em;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.menu-item:hover {
|
|
background-color: #f59e42;
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
/* Productweergave in mooie hokjes */
|
|
.product-display {
|
|
width: 70%;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
padding: 20px;
|
|
}
|
|
|
|
.product-box {
|
|
width: 200px;
|
|
margin: 10px;
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
|
text-align: center;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.product-box img {
|
|
width: 100%;
|
|
height: auto;
|
|
transition: transform 0.3s ease;
|
|
}
|
|
|
|
.product-box:hover img {
|
|
transform: scale(1.1);
|
|
}
|
|
|
|
.product-box h3 {
|
|
font-size: 1.1em;
|
|
color: #d32f2f;
|
|
margin: 10px 0;
|
|
}
|
|
|
|
/* Modaal venster (pop-up) */
|
|
.modal {
|
|
display: none;
|
|
position: fixed;
|
|
z-index: 1;
|
|
left: 0;
|
|
top: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
}
|
|
|
|
.modal-content {
|
|
background-color: white;
|
|
margin: 15% auto;
|
|
padding: 20px;
|
|
border-radius: 8px;
|
|
width: 60%;
|
|
text-align: center;
|
|
}
|
|
|
|
.modal img {
|
|
width: 100%;
|
|
max-width: 500px;
|
|
margin: 20px 0;
|
|
}
|
|
|
|
.close {
|
|
position: absolute;
|
|
top: 10px;
|
|
right: 20px;
|
|
font-size: 30px;
|
|
font-weight: bold;
|
|
cursor: pointer;
|
|
}
|
|
|
|
/* Footer */
|
|
footer {
|
|
text-align: center;
|
|
padding: 20px;
|
|
background-color: #f2c14e;
|
|
position: fixed;
|
|
bottom: 0;
|
|
width: 100%;
|
|
}
|