Files
Blink/src/routes/home/home.module.scss
T

131 lines
2.3 KiB
SCSS

/** @format */
.home {
&-background {
&-container {
position: fixed !important;
width: 100vw;
height: 100vh;
}
}
&-backdrop {
width: 100vw;
height: 100vh;
& > * {
all: inherit;
}
}
}
.hero-carousel {
position: relative;
overflow: hidden;
isolation: isolate;
&-slide {
position: relative;
height: 100%;
border-radius: 0px !important;
overflow: hidden;
margin: 0 auto;
}
&-background {
&-blurhash {
width: 100%;
height: 100%;
position: absolute;
z-index: 1;
filter: brightness(0.7);
}
&-container {
position: absolute;
z-index: 0;
top: 0;
left: 0;
right: 0;
bottom: 0;
opacity: 0.8;
mask-image: linear-gradient(to bottom, black 40%, transparent),
linear-gradient(to left, black 40%, transparent);
-webkit-mask-image: linear-gradient(
to bottom,
black 40%,
transparent
),
linear-gradient(to left, black 40%, transparent);
mask-composite: source-in;
-webkit-mask-composite: source-in;
}
&-image {
position: absolute;
background-size: cover;
z-index: 1;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-position: center;
opacity: 1;
}
&-icon {
position: absolute;
font-size: 15em !important;
left: 70%;
top: 50%;
transform: translate(-50%, -50%);
fill: url(#clr-gradient-default) !important;
&-container {
position: absolute;
background: $clr-gradient-dark;
// background: url("/public/assetsStatic//meshbackground.png");
z-index: 0;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
}
}
&-text {
display: -webkit-box;
overflow: hidden;
-webkit-line-clamp: 2;
margin-bottom: 0.5em;
&-logo {
max-width: 12em;
height: 2em;
object-fit: contain;
object-position: bottom;
}
}
&-detail {
position: relative;
z-index: 0;
display: flex;
height: 100%;
width: 80%;
padding: 2em;
flex-direction: column;
justify-content: flex-end;
align-items: flex-start;
padding-bottom: 5em;
}
&-indicator {
&-container {
width: calc(100% - 2em) !important;
margin-top: -1em !important;
margin-left: 1em !important;
margin-right: 1em !important;
}
width: 100%;
height: 5px;
border-radius: 0;
}
}
.backdropContainer {
background: linear-gradient(
45deg,
$clr-background-default,
$clr-background-light
);
}