hides api sections when there are no items to display

This commit is contained in:
Robert Messerle 2015-10-19 05:58:33 -07:00
parent b32e57baa7
commit 1f3b153e99
1 changed files with 28 additions and 0 deletions

View File

@ -94,6 +94,22 @@ code {
line-height: 32px;
}
.docs-content {
h1 {
font-size: 24px;
opacity: 0.87;
}
h2 {
font-size: 20px;
}
h3 {
font-size: 16px;
}
h4 {
font-size: 16px;
}
}
table th,
.text-subhead,
.text-body,
@ -168,7 +184,19 @@ table td {
background: $snow;
}
.docs-content .l-sub-section {
padding: ($unit * 2) ($unit * 3);
h3 {
line-height: 1em;
}
pre:last-child {
margin-bottom: 0;
}
}
.docs-content .card-row {
> div > .card {
margin: $unit ($unit * 3);
}
> div:first-child > .card {
margin-left: 0;
}