Files
liceo-ariosto/media/templates/site/cassiopeia/scss/blocks/_banner.scss
2025-06-17 11:53:18 +02:00

48 lines
924 B
SCSS

// Banner
.container-banner {
img {
display: block;
margin: auto;
}
.banner-overlay {
height: 70vh;
color: $white;
background-repeat: no-repeat;
background-attachment: fixed;
background-position: top,center;
background-size: cover;
.overlay {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100%;
padding: $cassiopeia-grid-gutter;
text-align: center;
background-color: hsla(0, 0%, 0%, .5);
.text-thin {
font-weight: $font-weight-lighter;
&::after {
display: block;
width: 30%;
height: 4px;
margin: 1rem auto 2rem;
content: "";
background: $white;
}
.lead {
font-size: 150vh;
}
}
}
@media screen and (max-height: 740px) {
height: 100vh;
}
}
}