site-max/scss/_masthead.scss

87 lines
1.6 KiB
SCSS
Raw Normal View History

2017-07-14 15:51:49 +02:00
// Styling for the masthead
header.masthead {
position: relative;
width: 100%;
2017-07-14 17:20:34 +02:00
overflow: hidden;
2017-07-14 15:51:49 +02:00
min-height: auto;
2017-07-14 17:31:25 +02:00
display: flex;
align-items: center;
2017-07-14 18:13:15 +02:00
justify-content: center;
2017-07-14 15:51:49 +02:00
video {
2017-07-14 16:07:40 +02:00
right: 0;
2017-07-14 15:51:49 +02:00
bottom: 0;
2017-07-14 16:07:40 +02:00
width: 100%;
2017-07-14 15:51:49 +02:00
z-index: -100;
background-size: cover;
overflow: hidden;
}
2017-07-14 18:13:15 +02:00
a {
position: absolute;
bottom: 2rem;
}
#video-sound {
2017-07-24 23:20:00 +02:00
right: 2rem;
2017-07-15 16:27:24 +02:00
}
2019-07-14 11:44:46 +02:00
#vimeo-link {
2017-07-24 23:20:00 +02:00
left: 2rem;
}
2019-07-14 11:44:46 +02:00
#artstation-link {
left: 4rem;
}
2017-07-24 23:20:00 +02:00
.icone {
width: 1.1rem;
height: 1rem;
}
.fa-2x {
font-size: inherit;
}
.btn-xl {
padding: .5rem 1rem;
2017-07-20 13:37:09 +02:00
}
2019-02-10 17:42:09 +01:00
.master_button {
color: white;
opacity: 0.5;
&:hover {
opacity: 1;
}
}
2018-04-28 17:57:11 +02:00
2018-04-28 19:08:52 +02:00
.video-container, iframe {
2018-04-28 17:57:11 +02:00
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
}
2018-04-28 19:08:52 +02:00
@media (min-aspect-ratio: 16/9) {
.video-container { height: 300%; top: -100%; }
}
@media (max-aspect-ratio: 16/9) {
.video-container { width: 300%; left: -100%; }
}
2018-04-28 17:57:11 +02:00
2017-07-14 15:51:49 +02:00
@media (min-width: 768px) {
2017-07-14 17:24:02 +02:00
height: 100%;
2017-07-24 23:20:00 +02:00
#video-sound {
right: 4rem;
}
2019-07-14 11:44:46 +02:00
#vimeo-link {
2017-07-24 23:20:00 +02:00
left: 4rem;
}
2019-07-14 11:44:46 +02:00
#artstation-link {
left: 6rem;
}
2017-07-24 23:20:00 +02:00
.icone {
width: 2.2rem;
height: 2rem;
}
.fa-2x {
font-size: 2em;
}
.btn-xl {
padding: 15px 30px;
2017-07-14 15:51:49 +02:00
}
}
}