
This mirrors in the version of the sphinx extension from Nova commit 1f67ab311422234335cda0e21e74186524617904 which includes the warnings for out of order parameters.yaml files. Static assets are stored in the assets/ sub directory, which includes: * bootstrap files (including fonts) - MIT licensed * api-site specific js and css fixes The extension is updated to move these assets into the build directory when building html, and to register these assets when we first start up. pep8 126 error fixed, and E129 ignored (because it's not compatible with emacs indentation, and annoys me). This builds the Nova api-ref tree correctly, which is not bad for a Friday afternoon. Change-Id: Ifd4fd570c8dbd981564326486f79b826f059543f
82 lines
1.6 KiB
CSS
82 lines
1.6 KiB
CSS
tt.literal {
|
|
padding: 2px 4px;
|
|
font-size: 90%;
|
|
color: #c7254e;
|
|
white-space: nowrap;
|
|
background-color: #f9f2f4;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
/* bootstrap users blockquote for pull quotes, so they are much
|
|
larger, we need them smaller */
|
|
blockquote { font-size: 1em; }
|
|
|
|
pre {
|
|
display: block;
|
|
padding: 9.5px;
|
|
margin: 0 0 10px;
|
|
font-size: 13px;
|
|
line-height: 1.428571429;
|
|
color: #333;
|
|
word-break: break-all;
|
|
word-wrap: break-word;
|
|
background-color: #f5f5f5;
|
|
border: 1px solid #ccc;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
tbody>tr:nth-child(odd)>td,
|
|
tbody>tr:nth-child(odd)>th {
|
|
background-color: #f9f9f9;
|
|
}
|
|
|
|
table>thead>tr>th, table>tbody>tr>th, table>tfoot>tr>th, table>thead>tr>td, table>tbody>tr>td, table>tfoot>tr>td {
|
|
padding: 8px;
|
|
line-height: 1.428571429;
|
|
vertical-align: top;
|
|
border-top: 1px solid #ddd;
|
|
}
|
|
|
|
td>p {
|
|
margin: 0 0 0.5em;
|
|
}
|
|
|
|
div.document {
|
|
width: 80% !important;
|
|
}
|
|
|
|
@media (max-width: 1200px) {
|
|
div.document {
|
|
width: 960px !important;
|
|
}
|
|
}
|
|
|
|
.operation-grp {
|
|
padding-top: 0.5em;
|
|
padding-bottom: 1em;
|
|
}
|
|
|
|
/* Ensure the method buttons and their links don't split lines when
|
|
the page is narrower */
|
|
.operation {
|
|
/* this moves the link icon into the gutter */
|
|
margin-left: -1.25em;
|
|
margin-right: 1.25em;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
/* These make the links only show up on hover */
|
|
a.operation-anchor {
|
|
visibility: hidden;
|
|
}
|
|
|
|
.operation-grp:hover a.operation-anchor {
|
|
visibility: visible;
|
|
}
|
|
|
|
/* All tables for requests should be full width */
|
|
|
|
.api-detail table.docutils {
|
|
width: 100%;
|
|
}
|