website/assets/sass/landing.scss

89 lines
1.5 KiB
SCSS
Raw Normal View History

2023-03-31 22:14:22 +00:00
.cover__container {
margin-top: 1px;
position: relative;
min-height: 40rem;
}
2023-03-31 22:14:22 +00:00
.cover__back {
position: absolute;
height: 100%;
width: 100%;
background-size: cover;
background-repeat: no-repeat;
background-position-x: center;
background-position-y: center;
z-index: 1;
}
.cover__content {
z-index: 10;
position: absolute;
width: 100%;
height: 100%;
}
.cover__content .page-container {
display: flex;
height: 100%;
flex-direction: column;
justify-content: flex-end;
padding-bottom: 1em;
}
.cover__overlay {
position: absolute;
width: 100%;
height: 100%;
position: absolute;
z-index: 2;
background-color: rgba(14, 14, 14, 0.2);
}
@keyframes cover_title_in {
0% {
left: -10rem;
}
100% {
left: 0;
}
}
2023-04-10 17:25:39 +00:00
.cover__title-container {
position: relative;
animation: cover_title_in 0.5s cubic-bezier(.39,.58,.57,1);
2023-04-10 17:25:39 +00:00
}
2023-03-31 22:14:22 +00:00
.cover__title {
font-weight: bold;
color: white;
font-size: 3em;
2023-04-10 17:25:39 +00:00
margin: 0;
margin-bottom: 0.3em;
z-index: 2;
// position: absolute;
display: inline;
padding: 0.4rem 0.75rem;
background: rgba(1, 1, 1, 0.5);
}
.cover__backdrop {
2023-03-31 22:14:22 +00:00
}
.landing__title {
font-weight: 2rem;
}
.accent-separator {
width: 100%;
height: 0;
border-bottom: .3rem solid $accent;
}
@media (min-width: $lg-breakpoint) {
.cover__back {
background-position-x: center;
background-position-y: -1.5rem;
}
}