site-max/scss/_masthead.scss

87 lines
1.6 KiB
SCSS

// Styling for the masthead
header.masthead {
position: relative;
width: 100%;
overflow: hidden;
min-height: auto;
display: flex;
align-items: center;
justify-content: center;
video {
right: 0;
bottom: 0;
width: 100%;
z-index: -100;
background-size: cover;
overflow: hidden;
}
a {
position: absolute;
bottom: 2rem;
}
#video-sound {
right: 2rem;
}
#vimeo-link {
left: 2rem;
}
#artstation-link {
left: 5rem;
}
.icone {
width: 1.1rem;
height: 1rem;
}
.fa-2x {
font-size: inherit;
}
.btn-xl {
padding: .5rem 1rem;
}
.master_button {
color: white;
opacity: 0.5;
&:hover {
opacity: 1;
}
}
.video-container, iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
}
@media (min-aspect-ratio: 16/9) {
.video-container { height: 300%; top: -100%; }
}
@media (max-aspect-ratio: 16/9) {
.video-container { width: 300%; left: -100%; }
}
@media (min-width: 768px) {
height: 100%;
#video-sound {
right: 4rem;
}
#vimeo-link {
left: 4rem;
}
#artstation-link {
left: 7.5rem;
}
.icone {
width: 2.2rem;
height: 2rem;
}
.fa-2x {
font-size: 2em;
}
.btn-xl {
padding: 15px 30px;
}
}
}