2016-01-17 17:57:55 +01:00
|
|
|
//
|
|
|
|
// Hero
|
|
|
|
// ---
|
|
|
|
// bigchain.io
|
|
|
|
//
|
|
|
|
|
2016-11-14 11:59:16 +01:00
|
|
|
$menu-height-md: 66px;
|
2016-01-17 17:57:55 +01:00
|
|
|
|
|
|
|
.hero {
|
2016-01-29 18:45:09 +01:00
|
|
|
@extend .background--photo;
|
2017-03-02 14:27:08 +01:00
|
|
|
background-image: url('/assets/img/hero-berlin.jpg');
|
2016-01-17 17:57:55 +01:00
|
|
|
text-align: center;
|
|
|
|
overflow: hidden;
|
|
|
|
position: relative;
|
|
|
|
|
2016-02-10 02:16:04 +01:00
|
|
|
// vertically center everything
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2017-03-02 14:27:08 +01:00
|
|
|
min-height: 480px;
|
2016-02-10 02:16:04 +01:00
|
|
|
flex-wrap: wrap;
|
|
|
|
|
2017-03-02 14:27:08 +01:00
|
|
|
@media ($screen-md) {
|
|
|
|
height: 100vh;
|
2016-01-17 17:57:55 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.section-title {
|
2016-02-01 14:56:46 +01:00
|
|
|
color: #fff;
|
2016-02-14 14:43:12 +01:00
|
|
|
font-size: $font-size-h3;
|
|
|
|
|
|
|
|
@media ($screen-sm) {
|
|
|
|
font-size: $font-size-h2;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media ($screen-md) {
|
|
|
|
font-size: $font-size-h1;
|
|
|
|
}
|
2016-01-17 17:57:55 +01:00
|
|
|
|
|
|
|
&:after { display: none }
|
|
|
|
}
|
|
|
|
|
2016-11-14 11:59:16 +01:00
|
|
|
.btn-link {
|
2016-01-17 17:57:55 +01:00
|
|
|
color: #fff;
|
|
|
|
opacity: .8;
|
2016-02-01 14:56:46 +01:00
|
|
|
position: absolute;
|
2017-03-02 14:27:08 +01:00
|
|
|
bottom: $spacer;
|
2016-02-01 14:56:46 +01:00
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
width: 100%;
|
|
|
|
display: none;
|
|
|
|
|
2016-02-01 16:31:29 +01:00
|
|
|
@media ($screen-md) {
|
2016-02-01 14:56:46 +01:00
|
|
|
display: block;
|
|
|
|
}
|
2016-01-17 17:57:55 +01:00
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus { opacity: 1; }
|
|
|
|
|
|
|
|
// the caret
|
|
|
|
.icon {
|
|
|
|
width: 12px;
|
|
|
|
height: 12px;
|
|
|
|
stroke: #fff;
|
|
|
|
display: block;
|
|
|
|
margin: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// intro animation
|
|
|
|
.section-title,
|
|
|
|
.btn {
|
|
|
|
@extend .animation-slide-in-from-bottom;
|
|
|
|
animation-duration: 1s;
|
|
|
|
animation-fill-mode: backwards;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn {
|
2017-03-02 14:27:08 +01:00
|
|
|
animation-delay: .5s;
|
2016-01-17 17:57:55 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.hero__content {
|
2017-03-02 14:27:08 +01:00
|
|
|
margin-bottom: $spacer * 4;
|
2016-02-01 14:56:46 +01:00
|
|
|
|
2016-02-06 17:55:17 +01:00
|
|
|
@media ($screen-md) {
|
2017-03-02 14:27:08 +01:00
|
|
|
align-self: flex-start;
|
|
|
|
margin-bottom: 0;
|
2016-02-06 17:55:17 +01:00
|
|
|
}
|
2016-02-01 14:56:46 +01:00
|
|
|
}
|