1
0
mirror of https://github.com/bigchaindb/site.git synced 2024-11-22 09:46:57 +01:00

hero animation tweak

This commit is contained in:
Matthias Kretschmann 2017-05-15 11:36:31 +02:00
parent 1e0ab4e11b
commit 23c53f217d
Signed by: m
GPG Key ID: BD3C1F3EDD7831FC
2 changed files with 8 additions and 1 deletions

View File

@ -65,6 +65,13 @@ $menu-height-md: 66px;
}
}
.hero .section-description {
.wf-active &,
.wf-inactive & {
animation-delay: .3s;
}
}
.hero__action {
.wf-active &,
.wf-inactive & {

View File

@ -105,7 +105,7 @@ contact:
<p class="section-description">{{ page.hero.description }}</p>
{% for cta in page.hero.cta %}
<a class="btn {% if cta.scroll %}scroll{% endif %}" href="{{ cta.link }}">{{ cta.name }}</a>
<a class="btn hero__action {% if cta.scroll %}scroll{% endif %}" href="{{ cta.link }}">{{ cta.name }}</a>
{% endfor %}
</hgroup>
</div>