Files
MilenBunCard/public/css/guestbook.css
T
DeSqBlocki bab51615c9 init
2026-08-15 08:38:49 +02:00

152 lines
3.3 KiB
CSS

/* Basic styling for the entire page */
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
background-image: url('../images/background.gif');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
font-family: 'Great Vibes', cursive; /* Use Great Vibes font */
font-style: italic;
backdrop-filter: blur(4px); /* Apply blur effect */
}
.card {
background: rgba(255, 255, 255, 0.8); /* Semi-transparent white background */
}
.card-img-top {
border-radius: 0; /* Remove rounded edges for the image */
}
.btn-primary {
background-color: #007bff; /* Bootstrap primary color */
border: none;
}
.btn-primary:hover {
background-color: #0056b3; /* Darker shade on hover */
}
/* Language switcher styles */
.language-switcher {
position: absolute;
top: 20px;
right: 20px;
}
.language-switcher a {
color: white;
text-decoration: none;
padding: 10px 20px;
background-color: rgba(0, 0, 0, 0.6);
border-radius: 5px;
margin: 0 5px;
transition: background-color 0.3s ease;
}
.language-switcher a:hover {
background-color: rgba(0, 0, 0, 0.8);
}
/* Menu styles similar to language switcher */
.menu-button {
color: white;
background-color: rgba(0, 0, 0, 0.6);
border: none;
padding: 10px 20px;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s ease;
position: absolute;
top: 20px;
left: 20px;
}
.menu-button:hover {
background-color: rgba(0, 0, 0, 0.8);
}
.retractable-menu {
display: none;
position: absolute;
top: 60px;
left: 20px;
background-color: rgba(0, 0, 0, 0.6);
border-radius: 5px;
padding: 10px 20px;
}
.retractable-menu.open {
display: block;
}
.retractable-menu ul {
list-style: none;
padding: 0;
margin: 0;
}
.retractable-menu ul li {
margin: 10px 0;
}
.retractable-menu ul li a {
color: white;
text-decoration: none;
padding: 10px 20px;
display: block;
background-color: rgba(0, 0, 0, 0.6);
border-radius: 5px;
transition: background-color 0.3s ease;
}
.retractable-menu ul li a:hover {
background-color: rgba(0, 0, 0, 0.8);
}
/* Scrollable messages section */
.scrollable-messages {
max-height: 400px; /* Set the maximum height */
overflow-y: auto; /* Enable vertical scroll */
padding: 10px;
background-color: rgba(255, 255, 255, 0.8); /* Same background for consistency */
border-radius: 8px;
}
/* Style for each individual message */
.uploaded-image {
max-width: 100%;
max-height: 200px;
object-fit: cover;
border-radius: 10px;
cursor: pointer;
}
.list-group-item {
margin-bottom: 15px; /* Space between messages */
}
/* Mobile responsiveness */
@media (max-width: 600px) {
body {
height: auto;
padding: 20px;
background-size: cover;
}
.invitation-card {
max-width: 95vw; /* Adjust the card width for mobile devices */
max-height: 80vh; /* Adjust the card height for mobile */
}
}
/* Ensure the modal image scales properly */
.modal-body img {
max-width: 100%;
height: auto;
}