open-vault/website/source/assets/stylesheets/_api.scss
Seth Vargo 19b2b049c3
Redo docs for system backend
This commit updates the API documentation for the system backend to
break things apart on a per-page basis and provide specific examples.
This pattern will give more flexibility for future documentation as
well.
2017-03-16 09:46:49 -07:00

64 lines
1 KiB
SCSS

//
// API
// --------------------------------------------------
body.layout-http {
// Extend bootstrap's table and table-striped classes on generic markdown
// tables. This enables GHFM tables instead of HTML.
table {
@extend .table;
@extend .table-striped;
}
}
.bs-api-section dl, dl.api {
margin-top: 30px;
line-height: 20px;
dt {
color: #888;
text-transform: uppercase;
font-weight: normal;
float: left;
width: 150px;
text-align: right;
}
dd {
margin-left: 170px;
pre.api-sample {
margin-top: 20px;
font-size: 14px;
padding: 10px;
}
}
ul {
margin: 0;
padding: 0;
li {
margin: 0;
list-style-type: none;
padding-bottom: 20px;
font-size: 15px;
font-family: $font-family-open-sans;
&:last-child {
padding-bottom: 0;
}
span.param {
font-weight: bold;
}
span.param-flags {
font-style: italic;
color: #888;
padding-right: 6px;
}
}
}
}