1
Fork 0

restyle headers

This commit is contained in:
Jake Howard 2016-08-25 21:53:33 +01:00
parent a8c5bdd6c2
commit ae7d29e05f
Signed by: jake
GPG key ID: 57AFB45680EDD477
4 changed files with 40 additions and 1 deletions

View file

@ -11,9 +11,11 @@
<h1>Welcome to my website</h1> <h1>Welcome to my website</h1>
<hr> <hr>
<p>The place where my knowledge lies, or at least most of it!</p> <p>The place where my knowledge lies, or at least most of it!</p>
<a href="#about" class="btn btn-primary btn-xl page-scroll">Find Out More</a>
</div> </div>
</div> </div>
<a href="#about" class="page-scroll">
<i class="fa fa-chevron-down animated pulse infinite" aria-hidden="true"></i>
</a>
</header> </header>
<section class="bg-primary" id="about"> <section class="bg-primary" id="about">

View file

@ -6,3 +6,7 @@
background-image: url("../img/header.jpg"); background-image: url("../img/header.jpg");
background-position: center; background-position: center;
} }
.text-shadow {
text-shadow: 0px 5px 3px $brand-grey-dark;
}

View file

@ -2,7 +2,22 @@ header {
background-image: url("../img/header.jpg"); background-image: url("../img/header.jpg");
min-height: 100%; min-height: 100%;
h1 {
font-size: $font-size-h1 * 1.5;
@extend .text-shadow;
}
.page-scroll {
position: absolute;
bottom: 10%;
color: $white;
& > i {
font-size: $font-size-h1;
}
}
.header-content-inner p { .header-content-inner p {
@extend .text-shadow;
font-size: $font-size-h3 !important; font-size: $font-size-h3 !important;
font-weight: 400 !important; font-weight: 400 !important;
} }

View file

@ -41,3 +41,21 @@ $btn-srobo-border: darken($btn-srobo-bg, 5%);
section { section {
padding: 75px 0; padding: 75px 0;
} }
hr {
max-width: 100px;
}
@keyframes pulse {
from {
transform: scale3d(1, 1, 1);
}
50% {
transform: scale3d(1.1, 1.1, 1.1);
}
to {
transform: scale3d(1, 1, 1);
}
}