1
0
mirror of https://github.com/bigchaindb/site.git synced 2024-12-24 18:36:11 +01:00
site/_src/_assets/styles/bigchain/_content-page.scss

38 lines
840 B
SCSS

.content--page {
}
.content--page--markdown {
padding-top: ($spacer * 2);
padding-bottom: ($spacer * 2);
@media ($screen-sm) {
padding-top: ($spacer * 4);
padding-bottom: ($spacer * 4);
}
> h1, h2 {
border-bottom: 1px solid $brand-main-blue-light;
padding-bottom: $spacer;
margin-bottom: ($spacer * 2);
text-align: center;
.header-link {
@extend .transition;
transition-timing-function: $timing-bounce;
display: inline-block;
padding: 0 .5rem;
opacity: 0;
transform: translate3d(20px,0,0) scale(0);
.header-icon { font-style: normal; }
}
&:hover .header-link {
opacity: 1;
transform: translate3d(0,0,0) scale(.8);
}
}
}