Files
Showy/frontend/src/app/features/entry/alternate-entry-page/alternate-entry-page.component.css
T
2025-02-15 23:38:02 +01:00

84 lines
1.5 KiB
CSS

body {
background-color: transparent !important;
}
/* Make the background wrapper fixed */
.background-wrapper {
position: fixed;
width: 100%;
height: 100vh;
top: 0;
left: 0;
z-index: -1;
overflow: hidden;
display: flex;
justify-content: center;
align-items: center;
}
/* Keep the image fixed and apply blur */
.banner-img {
width: 100%;
height: 100%;
object-fit: cover;
position: absolute;
top: 0;
left: 0;
filter: blur(10px) brightness(50%);
}
/* Make sure the content scrolls over the fixed background */
.content-wrapper {
position: relative;
z-index: 2;
color: white;
/* Keep text readable */
padding-top: 50px;
}
.banner-img {
width: 100%;
height: 100%;
object-fit: cover;
filter: blur(4px) brightness(50%);
}
.banner-overlay {
position: absolute;
width: 100%;
height: 100%;
background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 40%, rgba(255, 255, 255, 0.8) 90%);
}
.fade-overlay {
position: absolute;
width: 100%;
height: 200px;
bottom: 0;
left: 0;
background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, white 100%);
z-index: 1;
}
.title, .sub-title{
color: white;
}
.card-img-overlay:hover h5 {
color: var(--shz-blue-default) !important;
}
.card-img-overlay {
cursor: pointer;
}
.collection-card:hover{
transform: translateY(-20px);
transition: transform 0.3s ease-in-out;
}
.collection-card,
.collection-card img {
aspect-ratio: 16/9;
height: 100%;
}