1
0
mirror of https://github.com/bigchaindb/site.git synced 2024-11-29 07:16:17 +01:00
site/_src/_assets/styles/bigchain/_content-page.scss

66 lines
1.3 KiB
SCSS
Raw Normal View History

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 * 5);
padding-bottom: ($spacer * 5);
2016-01-14 13:04:44 +01:00
}
2017-05-31 00:22:14 +02:00
> h1,
2018-04-12 11:03:54 +02:00
h2 {
border-bottom: 2px solid $brand-main-blue-light;
2017-11-16 12:49:58 +01:00
padding-bottom: $spacer;
2017-11-24 13:09:26 +01:00
margin-bottom: ($spacer * 1.5);
margin-top: ($spacer * 3);
position: relative;
font-size: $font-size-h3;
2016-01-17 16:43:46 +01:00
2017-05-31 18:43:00 +02:00
&:hover {
.header-link {
opacity: 1;
transform: translate3d(0, 0, 0) scale(.8);
}
2017-05-31 18:43:00 +02:00
}
}
h3 {
font-size: $font-size-h4;
}
h4 {
font-size: $font-size-h5;
}
2017-05-31 18:43:00 +02:00
.header-link {
box-shadow: none;
display: block;
2017-05-31 18:43:00 +02:00
padding: 0 .25rem;
opacity: 0;
transform: translate3d(20px, 0, 0) scale(0);
position: absolute;
left: -1.5rem;
top: 0;
2017-05-31 18:43:00 +02:00
&,
.header-icon {
transition: .2s $timing-bounce;
2017-05-31 18:43:00 +02:00
}
2017-05-31 18:43:00 +02:00
&:hover,
&:focus {
background: none;
.header-icon {
2017-05-31 18:43:00 +02:00
color: lighten($brand-primary, 10%);
}
}
2017-05-31 18:43:00 +02:00
.header-icon {
font-style: normal;
font-size: $font-size-h3;
2017-05-31 18:43:00 +02:00
color: $brand-primary;
2016-01-17 16:43:46 +01:00
}
2016-01-09 18:36:18 +01:00
}
}