site/_src/_assets/styles/page-front.scss

96 lines
1.7 KiB
SCSS

//
// Page: front
// ---
// bigchain.io
//
.hero {
text-align: center;
overflow: hidden;
position: relative;
text-shadow: 0 1px 0 rgba(0,0,0,.3);
// background
background: url('../img/photo1.jpg') no-repeat center bottom;
background-size: cover;
// color overlay
&:before {
content: "";
width: 100%;
height: 100%;
position: absolute;
left: 0;
top: 0;
bottom: 0;
right: 0;
//background: $brand-main-brown;
background: linear-gradient(to top left, $brand-main-blue 0%, $brand-main-brown 100%);
opacity: .7;
z-index: 0;
}
.hero__content {
position: relative;
z-index: 1;
}
@media ($screen-sm) {
height: 100vh;
}
.logo {
fill-opacity: .6;
margin: auto;
margin-top: -($spacer * 8);
margin-bottom: ($spacer * 2);
max-width: 31em;
}
.section-title {
color: #fff;
font-size: $font-size-h1;
margin-bottom: ($spacer * 3);
}
.btn {
&:hover,
&:focus,
&:active {
text-shadow: none;
}
}
// intro animation
.logo,
.section-title,
.btn {
@extend .animation-slide-in-from-bottom;
animation-fill-mode: backwards;
}
.section-title { animation-delay: .2s; }
.btn { animation-delay: .4s; }
}
.section-benchmarks {
text-align: center;
border-bottom: 1px solid lighten($brand-main-gray, 40%);
.icon {
display: block;
margin: auto;
margin-bottom: $spacer;
}
}
.section-earlyaccess {
form {
max-width: $screen-sm-min;
margin: auto;
}
}