2016-01-17 17:57:55 +01:00
|
|
|
//
|
|
|
|
// Hero
|
|
|
|
// ---
|
2017-05-29 21:15:48 +02:00
|
|
|
// bigchaindb.com
|
2016-01-17 17:57:55 +01:00
|
|
|
//
|
|
|
|
|
2016-11-14 11:59:16 +01:00
|
|
|
$menu-height-md: 66px;
|
2016-01-17 17:57:55 +01:00
|
|
|
|
|
|
|
.hero {
|
2017-05-15 17:32:12 +02:00
|
|
|
@include background--photo();
|
2017-04-10 17:14:35 +02:00
|
|
|
background-image: url('../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
|
|
|
|
2017-05-31 00:22:14 +02:00
|
|
|
&:after { display: none; }
|
2016-01-17 17:57:55 +01:00
|
|
|
}
|
2017-04-18 12:44:17 +02:00
|
|
|
|
|
|
|
.section-subtitle {
|
|
|
|
font-size: $font-size-h4;
|
|
|
|
|
|
|
|
@media ($screen-sm) {
|
|
|
|
font-size: $font-size-h3;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media ($screen-md) {
|
|
|
|
font-size: $font-size-h2;
|
|
|
|
}
|
|
|
|
}
|
2017-05-06 18:12:55 +02:00
|
|
|
}
|
2016-01-17 17:57:55 +01:00
|
|
|
|
2017-05-06 18:12:55 +02:00
|
|
|
|
|
|
|
//
|
|
|
|
// intro animation
|
|
|
|
//
|
|
|
|
.hero .section-title,
|
2017-05-15 11:30:21 +02:00
|
|
|
.hero .section-description,
|
2017-05-18 19:33:14 +02:00
|
|
|
.hero__action,
|
|
|
|
.logo-enterprise {
|
2017-05-06 18:12:55 +02:00
|
|
|
.wf-active &,
|
|
|
|
.wf-inactive & {
|
|
|
|
@include animation-slide-in-from-bottom;
|
|
|
|
animation-fill-mode: backwards;
|
2016-01-17 17:57:55 +01:00
|
|
|
}
|
2017-05-06 18:12:55 +02:00
|
|
|
}
|
2016-01-17 17:57:55 +01:00
|
|
|
|
2017-05-15 11:36:31 +02:00
|
|
|
.hero .section-description {
|
|
|
|
.wf-active &,
|
|
|
|
.wf-inactive & {
|
|
|
|
animation-delay: .3s;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-05-06 18:12:55 +02:00
|
|
|
.hero__action {
|
|
|
|
.wf-active &,
|
|
|
|
.wf-inactive & {
|
|
|
|
animation-delay: .5s;
|
2017-04-10 17:14:35 +02:00
|
|
|
}
|
2017-05-06 18:12:55 +02:00
|
|
|
}
|
2017-04-10 17:14:35 +02:00
|
|
|
|
2017-05-06 18:12:55 +02:00
|
|
|
.page-front .menu--main,
|
|
|
|
.hero__community,
|
|
|
|
.hero__more {
|
|
|
|
@include transition;
|
|
|
|
opacity: 0;
|
|
|
|
transition-delay: .8s;
|
|
|
|
|
|
|
|
.wf-active &,
|
|
|
|
.wf-inactive & {
|
|
|
|
opacity: 1;
|
2016-01-17 17:57:55 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-05-04 14:27:12 +02:00
|
|
|
|
2016-01-17 17:57:55 +01:00
|
|
|
.hero__content {
|
2017-05-04 14:27:12 +02:00
|
|
|
margin-top: $spacer * 2;
|
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;
|
2017-05-04 14:27:12 +02:00
|
|
|
margin-top: $spacer * 4;
|
2017-03-02 14:27:08 +01:00
|
|
|
margin-bottom: 0;
|
2016-02-06 17:55:17 +01:00
|
|
|
}
|
2016-02-01 14:56:46 +01:00
|
|
|
}
|
2017-05-04 14:27:12 +02:00
|
|
|
|
|
|
|
|
|
|
|
.hero__community {
|
|
|
|
align-self: flex-end;
|
|
|
|
width: 100%;
|
|
|
|
|
2017-05-04 17:43:43 +02:00
|
|
|
// resemble menu background, but a bit darker background
|
|
|
|
background: rgba($brand-main-blue-dark, .6);
|
2017-05-04 14:27:12 +02:00
|
|
|
backdrop-filter: saturate(150%) blur(10px);
|
|
|
|
border-top: 1px solid rgba($brand-main-gray, .5);
|
|
|
|
border-bottom: 1px solid rgba($brand-main-gray, .5);
|
|
|
|
|
|
|
|
.btn {
|
|
|
|
font-weight: $font-weight-normal;
|
|
|
|
box-shadow: none;
|
|
|
|
background: none;
|
2017-05-10 00:10:27 +02:00
|
|
|
opacity: .95;
|
2017-05-04 14:27:12 +02:00
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
display: block;
|
|
|
|
|
|
|
|
@media ($screen-sm) {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
}
|
2017-05-10 00:10:27 +02:00
|
|
|
|
|
|
|
.icon {
|
|
|
|
transform: translateY(1px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.stars,
|
2017-05-29 16:32:03 +02:00
|
|
|
.release,
|
|
|
|
.meetup-title {
|
2017-05-10 00:10:27 +02:00
|
|
|
display: inline-block;
|
|
|
|
opacity: 0;
|
|
|
|
transition: opacity .2s ease-out;
|
2017-05-04 14:27:12 +02:00
|
|
|
}
|
|
|
|
|
2017-05-29 16:32:03 +02:00
|
|
|
strong {
|
|
|
|
font-weight: $font-weight-normal;
|
|
|
|
}
|
|
|
|
|
2017-05-10 00:10:27 +02:00
|
|
|
.stars {
|
2017-05-04 14:27:12 +02:00
|
|
|
font-size: .6rem;
|
|
|
|
background: rgba($brand-main-gray-lighter, .15);
|
|
|
|
padding: .1rem .3rem;
|
|
|
|
border-radius: 1rem;
|
2017-05-10 00:10:27 +02:00
|
|
|
display: inline-block;
|
|
|
|
transform: translateY(-1px);
|
|
|
|
min-width: 34px; // approx. width with 4 numbers
|
|
|
|
}
|
|
|
|
|
|
|
|
.release {
|
|
|
|
min-width: 44px;
|
2017-05-04 14:27:12 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-05-29 16:32:03 +02:00
|
|
|
.hero__community__label {
|
|
|
|
opacity: .5;
|
|
|
|
}
|
|
|
|
|
2017-05-04 14:27:12 +02:00
|
|
|
|
|
|
|
.hero__more {
|
2017-05-06 18:12:55 +02:00
|
|
|
position: relative;
|
|
|
|
z-index: 2;
|
|
|
|
color: rgba(#fff, .6);
|
2017-05-04 14:27:12 +02:00
|
|
|
align-self: flex-end;
|
|
|
|
margin-bottom: $spacer;
|
|
|
|
width: 100%;
|
|
|
|
display: none;
|
|
|
|
|
|
|
|
@media ($screen-md) {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover,
|
2017-05-06 18:12:55 +02:00
|
|
|
&:focus { color: #fff; }
|
2017-05-04 14:27:12 +02:00
|
|
|
|
|
|
|
// the caret
|
|
|
|
.icon {
|
|
|
|
width: 12px;
|
|
|
|
height: 12px;
|
|
|
|
stroke: #fff;
|
|
|
|
display: block;
|
|
|
|
margin: auto;
|
|
|
|
}
|
|
|
|
}
|