add docs menu sections (#1366)

This commit is contained in:
Shawn Erquhart
2018-05-17 17:14:29 -04:00
committed by GitHub
parent 8266d25a49
commit c1c30557a3
18 changed files with 133 additions and 89 deletions

View File

@ -27,6 +27,8 @@
@media screen and (min-width: $tablet) {
display: block;
height: 100%;
overflow-y: auto;
}
&.mobile {
@ -70,8 +72,10 @@
.subnav-link {
display: block;
font-weight: $regular;
font-size: $tiny;
color: $grey;
line-height: 32px;
line-height: 1.3;
margin: 10px 0;
text-decoration: none;
text-transform: capitalize;
transition: color .2s ease;
@ -87,6 +91,20 @@
}
}
.docs-nav-section {
margin-bottom: 30px;
}
.docs-nav-section-list {
margin: 0;
}
.docs-nav-section-title {
font-size: 20px;
font-weight: bold;
margin-bottom: 10px;
}
.nav-subsections {
margin: $tiny 0;
padding: 0 0 0 $tiny;