mirror of
https://github.com/bigchaindb/site.git
synced 2024-11-01 15:55:36 +01:00
89 lines
1.5 KiB
SCSS
89 lines
1.5 KiB
SCSS
//
|
|
// Hero
|
|
// ---
|
|
// bigchain.io
|
|
//
|
|
|
|
$menu-height-md: 73px;
|
|
|
|
.hero {
|
|
@extend .background--photo;
|
|
text-align: center;
|
|
overflow: hidden;
|
|
position: relative;
|
|
|
|
.section {
|
|
@media ($screen-md) {
|
|
min-height: calc(100vh - #{$menu-height-md});
|
|
}
|
|
}
|
|
|
|
.logo--full {
|
|
fill-opacity: .8;
|
|
margin: auto;
|
|
max-width: 31em;
|
|
|
|
@media ($screen-sm) {
|
|
margin-top: -$menu-height-md;
|
|
margin-bottom: ($spacer * 2);
|
|
}
|
|
}
|
|
|
|
.section-title {
|
|
margin-bottom: $spacer;
|
|
|
|
&:after { display: none }
|
|
}
|
|
|
|
.btn {
|
|
color: #fff;
|
|
margin-top: ($spacer * 4);
|
|
opacity: .8;
|
|
|
|
&:hover,
|
|
&:focus { opacity: 1; }
|
|
|
|
// the caret
|
|
.icon {
|
|
width: 12px;
|
|
height: 12px;
|
|
stroke: #fff;
|
|
display: block;
|
|
margin: auto;
|
|
}
|
|
}
|
|
|
|
// intro animation
|
|
.logo--full,
|
|
.section-title,
|
|
.btn {
|
|
@extend .animation-slide-in-from-bottom;
|
|
animation-duration: 1s;
|
|
animation-fill-mode: backwards;
|
|
}
|
|
|
|
.logo--full {
|
|
animation-timing-function: $timing-default;
|
|
}
|
|
|
|
.section-title,
|
|
.btn {
|
|
@extend .animation-slide-in-from-bottom;
|
|
animation-play-state: paused;
|
|
}
|
|
|
|
.btn { animation-delay: .2s; }
|
|
|
|
&.is-ready {
|
|
.section-title,
|
|
.btn {
|
|
animation-play-state: running;
|
|
}
|
|
}
|
|
}
|
|
|
|
.hero__content {
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|