feat(aio): api page column layout

This commit is contained in:
Stefanie Fluin
2017-04-24 10:49:37 -07:00
committed by Pete Bacon Darwin
parent 249cd8c2ec
commit 64ef69fb34
14 changed files with 101 additions and 180 deletions

View File

@ -1,42 +1,7 @@
.api-section {
display: flex;
flex-direction: row;
vertical-align: top;
position: relative;
margin-bottom: 32px;
padding: 8px 0 16px;
pre {
white-space: pre-line;
}
&:after {
content:"";
display: block;
position: absolute;
bottom: 0;
left: 0;
right: 0;
border-bottom: 1px solid $lightgray;
width: 100%;
}
}
.api-section-header {
width: 30%;
display: inline-block;
margin-right: 32px;
h2, p {
margin: 0;
}
}
.api-section-content {
width: 60%;
display: inline-block;
p {
margin: 0 0 8px 0;
}
}