mirror of
https://github.com/bigchaindb/site.git
synced 2024-11-22 17:50:07 +01:00
header animate all the things
This commit is contained in:
parent
e7f4da77e6
commit
590d103712
@ -167,6 +167,14 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.header--usecase {
|
.header--usecase {
|
||||||
|
hgroup {
|
||||||
|
margin-top: ($spacer * 5);
|
||||||
|
}
|
||||||
|
|
||||||
|
.header__title {
|
||||||
|
padding-top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.header__logo {
|
.header__logo {
|
||||||
width: 140px;
|
width: 140px;
|
||||||
max-height: 100px;
|
max-height: 100px;
|
||||||
@ -178,6 +186,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.header__label {
|
.header__label {
|
||||||
|
text-align: center;
|
||||||
display: block;
|
display: block;
|
||||||
color: $brand-main-blue-light;
|
color: $brand-main-blue-light;
|
||||||
font-size: $font-size-lg;
|
font-size: $font-size-lg;
|
||||||
|
@ -2,6 +2,34 @@
|
|||||||
@extend .background--photo;
|
@extend .background--photo;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// intro animation
|
||||||
|
.header__title,
|
||||||
|
.header__description,
|
||||||
|
.header__logo,
|
||||||
|
.header__label {
|
||||||
|
.wf-active &,
|
||||||
|
.wf-inactive & {
|
||||||
|
@extend .animation-slide-in-from-bottom;
|
||||||
|
animation-fill-mode: backwards;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.header__description,
|
||||||
|
.header__logo {
|
||||||
|
.wf-active &,
|
||||||
|
.wf-inactive & {
|
||||||
|
animation-delay: .3s;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.header__btn,
|
||||||
|
.header__label {
|
||||||
|
.wf-active &,
|
||||||
|
.wf-inactive & {
|
||||||
|
animation-delay: .5s;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.header__title {
|
.header__title {
|
||||||
position: relative;
|
position: relative;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
|
@ -71,7 +71,6 @@ $menu-height-md: 66px;
|
|||||||
.wf-active &,
|
.wf-active &,
|
||||||
.wf-inactive & {
|
.wf-inactive & {
|
||||||
@extend .animation-slide-in-from-bottom;
|
@extend .animation-slide-in-from-bottom;
|
||||||
animation-duration: 1s;
|
|
||||||
animation-fill-mode: backwards;
|
animation-fill-mode: backwards;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -42,7 +42,7 @@
|
|||||||
transition: transform .2s ease-out;
|
transition: transform .2s ease-out;
|
||||||
|
|
||||||
@media ($screen-md) {
|
@media ($screen-md) {
|
||||||
bottom: $spacer * 1.5;
|
bottom: $spacer * 1.3;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@ cta:
|
|||||||
{% include menu-main.html %}
|
{% include menu-main.html %}
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<h1 class="header__title">
|
<hgroup>
|
||||||
<span class="header__label">{{ page.industry }}</span>
|
<span class="header__label">{{ page.industry }}</span>
|
||||||
{% if page.bitmaplogo %}
|
{% if page.bitmaplogo %}
|
||||||
<img class="header__logo" src="/assets/img/{{ page.bitmaplogo }}" />
|
<img class="header__logo" src="/assets/img/{{ page.bitmaplogo }}" />
|
||||||
@ -22,8 +22,8 @@ cta:
|
|||||||
</svg>
|
</svg>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{{ page.title }}
|
<h1 class="header__title">{{ page.title }}</h1>
|
||||||
</h1>
|
</hgroup>
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user