Premier commit

This commit is contained in:
nyanloutre 2017-07-14 15:51:49 +02:00
commit 08d105b7c0
No known key found for this signature in database
GPG key ID: 4177A74B460FAFD2
102 changed files with 40084 additions and 0 deletions

74
scss/_masthead.scss Normal file
View file

@ -0,0 +1,74 @@
// Styling for the masthead
header.masthead {
position: relative;
width: 100%;
min-height: auto;
text-align: center;
color: white;
background-image: url('../img/header.jpg');
background-position: center;
@include background-cover;
.header-content {
position: relative;
width: 100%;
padding: 100px 15px 100px;
text-align: center;
.header-content-inner {
color: black;
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(black, .3);
}
}
}
video {
position: absolute;
right: 0;
bottom: 0;
min-width: 100%;
min-height: 100%;
width: auto;
height: auto;
z-index: -100;
background-size: cover;
overflow: hidden;
}
@media (min-width: 768px) {
height: 100%;
min-height: 600px;
.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;
}
}
}
}
}