1
0
mirror of https://github.com/bigchaindb/site.git synced 2024-11-26 11:38:58 +01:00
site/_src/_assets/styles/bigchain/_content-page.scss

63 lines
1.3 KiB
SCSS
Raw Normal View History

.content--page {
2016-01-14 13:04:44 +01:00
}
.content--page--markdown {
padding-top: ($spacer * 2);
padding-bottom: ($spacer * 2);
@media ($screen-sm) {
padding-top: ($spacer * 4);
padding-bottom: ($spacer * 4);
}
2016-02-11 15:51:51 +01:00
> p:first-child {
@extend .lead;
margin-bottom: ($spacer * 2);
}
2016-01-14 13:04:44 +01:00
> h1, h2 {
2016-01-22 16:03:56 +01:00
border-bottom: 1px solid $brand-main-blue-light;
2016-01-14 13:04:44 +01:00
padding-bottom: $spacer;
margin-bottom: ($spacer * 2);
text-align: center;
2016-01-17 16:43:46 +01:00
.header-link {
2016-02-10 00:31:35 +01:00
box-shadow: none;
2016-01-17 16:43:46 +01:00
transition-timing-function: $timing-bounce;
display: inline-block;
2016-02-10 00:31:35 +01:00
padding: 0 .25rem;
2016-01-17 16:43:46 +01:00
opacity: 0;
transform: translate3d(20px,0,0) scale(0);
2016-02-10 00:31:35 +01:00
&,
.header-icon {
@extend .transition;
}
&:hover,
&:focus {
background: none;
.header-icon {
color: lighten($brand-primary, 10%);
}
}
.header-icon {
font-style: normal;
font-size: 2rem;
color: $brand-primary;
}
2016-01-17 16:43:46 +01:00
}
2016-02-10 00:31:35 +01:00
&:hover {
.header-link {
opacity: 1;
transform: translate3d(0,0,0) scale(.8);
}
2016-01-17 16:43:46 +01:00
}
2016-01-09 18:36:18 +01:00
}
}