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
|
|
|
//
|
|
|
|
|
2018-04-05 13:43:34 +02:00
|
|
|
$menu-height-md: 90px;
|
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
|
|
|
}
|
|
|
|
|
2017-10-02 11:47:49 +02:00
|
|
|
.hero__title {
|
2016-02-01 14:56:46 +01:00
|
|
|
color: #fff;
|
2016-02-14 14:43:12 +01:00
|
|
|
font-size: $font-size-h3;
|
2017-10-02 11:47:49 +02:00
|
|
|
margin-bottom: $spacer;
|
2016-02-14 14:43:12 +01:00
|
|
|
|
|
|
|
@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
|
|
|
|
2017-10-02 11:47:49 +02:00
|
|
|
.hero__subtitle {
|
|
|
|
font-size: $font-size-h4;
|
|
|
|
margin-top: 0;
|
|
|
|
|
|
|
|
@media ($screen-sm) {
|
|
|
|
font-size: $font-size-h3;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
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
|
|
|
|
//
|
2017-10-02 11:47:49 +02:00
|
|
|
.hero__title,
|
|
|
|
.hero__subtitle,
|
2017-05-18 19:33:14 +02:00
|
|
|
.hero__action,
|
2018-04-05 13:43:34 +02:00
|
|
|
.logo-services {
|
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-10-02 11:47:49 +02:00
|
|
|
.hero__subtitle {
|
2017-05-15 11:36:31 +02:00
|
|
|
.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
|
|
|
|
2018-03-19 13:31:51 +01:00
|
|
|
&:visited {
|
|
|
|
.release:after {
|
|
|
|
// make it appear hidden by changing background-color
|
|
|
|
// cause modifiying display is not allowed for :visited
|
|
|
|
background-color: rgb(15, 40, 56);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
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;
|
2018-03-19 13:31:51 +01:00
|
|
|
|
|
|
|
&:after {
|
|
|
|
content: '';
|
|
|
|
display: inline-block;
|
2018-04-04 11:11:18 +02:00
|
|
|
width: .35rem;
|
|
|
|
height: .35rem;
|
2018-03-19 13:31:51 +01:00
|
|
|
border-radius: 50%;
|
|
|
|
background-color: saturate(adjust-hue($brand-main-green, -170%), 15%);
|
|
|
|
vertical-align: top;
|
|
|
|
margin-left: $spacer / 8;
|
|
|
|
}
|
2017-05-04 14:27:12 +02:00
|
|
|
}
|
2017-10-10 10:40:28 +02:00
|
|
|
|
|
|
|
.icon {
|
|
|
|
margin-right: .1rem;
|
|
|
|
}
|
2017-10-10 11:11:00 +02:00
|
|
|
|
|
|
|
.icon--gitter {
|
|
|
|
animation: gitterPulse 5s ease-out infinite;
|
2018-02-01 15:40:29 +01:00
|
|
|
stroke-linecap: square;
|
|
|
|
stroke-width: 2px;
|
|
|
|
fill: none;
|
2017-10-10 11:11:00 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes gitterPulse {
|
|
|
|
0% {
|
|
|
|
stroke: $brand-main-gray-light;
|
|
|
|
}
|
|
|
|
|
|
|
|
50% {
|
|
|
|
stroke: $brand-main-green;
|
|
|
|
}
|
|
|
|
|
|
|
|
100% {
|
|
|
|
stroke: $brand-main-gray-light;
|
|
|
|
}
|
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;
|
|
|
|
}
|
|
|
|
}
|