site-max/scss/_masthead.scss

39 lines
982 B
SCSS
Raw Normal View History

2017-07-14 15:51:49 +02:00
// Styling for the masthead
header.masthead {
position: relative;
width: 100%;
min-height: auto;
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;
}
@media (min-width: 768px) {
.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;
}
}
}
}
}