1
0
mirror of https://github.com/bigchaindb/site.git synced 2024-11-29 23:28:03 +01:00
site/_src/_assets/styles/bigchain/_header.scss

54 lines
910 B
SCSS
Raw Normal View History

.header {
2016-01-29 18:45:09 +01:00
@extend .background--photo;
background-image: url('../img/header-berlin.jpg');
2017-11-17 16:45:20 +01:00
background-position: center center;
}
.header__content {
padding: ($spacer * 4) 0;
text-align: center;
}
2017-04-12 19:08:58 +02:00
// intro animation
.header__title,
.header__tagline,
2017-04-12 19:08:58 +02:00
.header__logo,
.header__label {
.wf-active &,
.wf-inactive & {
@extend .animation-slide-in-from-bottom;
animation-fill-mode: backwards;
}
}
.header__tagline,
2017-04-12 19:08:58 +02:00
.header__logo {
.wf-active &,
.wf-inactive & {
animation-delay: .3s;
}
}
.header__btn,
.header__label {
.wf-active &,
.wf-inactive & {
animation-delay: .5s;
}
}
.header__title,
.header__tagline {
position: relative;
z-index: 1;
text-align: center;
margin: 0;
}
.header__tagline,
h2.header__tagline {
font-size: $font-size-h4;
font-weight: $font-weight-normal;
margin-top: $spacer;
}