site-max/scss/_masthead.scss

78 lines
1.8 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
.header-content {
position: relative;
width: 100%;
padding: 100px 15px 100px;
text-align: center;
.header-content-inner {
h1 {
font-size: 30px;
font-weight: 700;
margin-top: 0;
margin-bottom: 0;
text-transform: uppercase;
}
hr {
margin: 30px auto;
}
p {
font-size: 16px;
font-weight: 300;
margin-bottom: 50px;
color: fade-out(white, .3);
}
}
}
a {
position: absolute;
bottom: 2rem;
}
#video-sound {
2017-07-15 16:27:24 +02:00
right: 4rem;
}
#youtube-link {
2017-07-18 23:43:25 +02:00
right: 9rem;
2017-07-14 20:30:10 +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-14 15:51:49 +02:00
.header-content {
position: absolute;
top: 50%;
padding: 0 50px;
-webkit-transform: translateY(-50%);
-ms-transform: translateY(-50%);
transform: translateY(-50%);
.header-content-inner {
max-width: 1000px;
margin-right: auto;
margin-left: auto;
h1 {
font-size: 50px;
}
p {
font-size: 18px;
max-width: 80%;
margin-right: auto;
margin-left: auto;
}
}
}
}
}