1
0
mirror of https://github.com/bigchaindb/site.git synced 2024-11-23 02:00:18 +01:00
site/_src/_assets/styles/_page-guides.scss

114 lines
1.9 KiB
SCSS
Raw Normal View History

2017-11-16 12:30:35 +01:00
.content--guide {
2017-11-16 12:49:58 +01:00
.content--page--markdown {
h1,
h2,
h3,
h4 {
font-weight: $font-weight-normal;
}
2017-11-16 12:30:35 +01:00
2017-11-16 12:49:58 +01:00
h2,
h3,
h4 {
text-align: left;
border: 0;
padding: 0;
}
2017-11-16 12:30:35 +01:00
2017-11-16 12:49:58 +01:00
h1 {
font-size: $font-size-h3;
2017-11-16 12:49:58 +01:00
}
h2 {
font-size: $font-size-h4;
margin-bottom: ($spacer * 2);
margin-top: ($spacer * 2);
2017-11-16 12:49:58 +01:00
}
2017-11-16 12:30:35 +01:00
2017-11-16 12:49:58 +01:00
h3 {
font-size: $font-size-base;
font-weight: $font-weight-bold;
color: #fff;
margin-bottom: $spacer;
margin-top: ($spacer * 2);
2017-11-16 12:49:58 +01:00
}
2017-11-16 12:30:35 +01:00
}
}
.guide {
height: 100%;
a {
display: block;
box-shadow: none;
background: $brand-main-blue-dark;
2017-11-16 16:22:45 +01:00
padding: $spacer * 2;
2017-11-16 12:30:35 +01:00
height: 100%;
border-radius: $border-radius;
&:hover,
&:focus {
background: $brand-primary;
* {
color: $brand-main-blue-dark;
}
}
}
2017-11-16 16:22:45 +01:00
p:last-child,
.guide__title:only-child {
margin-bottom: 0;
}
2017-11-16 12:30:35 +01:00
}
.guide__title,
h1.guide__title {
font-size: $font-size-h4;
font-weight: $font-weight-normal;
margin-bottom: $spacer;
margin-top: 0;
color: $brand-primary;
}
//
// TOC
//
.section-nav {
background: darken($brand-main-gray, 2%);
margin-bottom: $spacer * 2;
padding: $spacer;
border-radius: $border-radius;
}
li.toc-h1 {
// custom numbers
&:before {
font-size: $font-size-base;
opacity: .6;
color: $brand-primary;
}
a {
font-size: $font-size-base;
margin: 0;
box-shadow: none;
color: $brand-primary;
}
ul {
padding-left: $spacer * 2.6;
}
}
li.toc-h2 {
a {
font-size: $font-size-sm;
color: $text-color;
}
}
li.toc-h3 {
display: none;
}