| 1 |
/* Avoid breaking parameters name, etc. in table cells. */ |
| 2 |
.doc-contents td code { |
| 3 |
word-break: normal !important; |
| 4 |
} |
| 5 |
|
| 6 |
/* No line break before first paragraph of descriptions. */ |
| 7 |
.doc-md-description, |
| 8 |
.doc-md-description>p:first-child { |
| 9 |
display: inline; |
| 10 |
} |
| 11 |
|
| 12 |
/* Avoid breaking code headings. */ |
| 13 |
.doc-heading code { |
| 14 |
white-space: normal; |
| 15 |
} |
| 16 |
|
| 17 |
/* Improve rendering of parameters, returns and exceptions. */ |
| 18 |
.doc-contents .field-name { |
| 19 |
min-width: 100px; |
| 20 |
} |
| 21 |
|
| 22 |
/* Other curious-spacing fixes. */ |
| 23 |
.doc-contents .field-name, |
| 24 |
.doc-contents .field-body { |
| 25 |
border: none !important; |
| 26 |
padding: 0 !important; |
| 27 |
} |
| 28 |
|
| 29 |
.doc-contents p { |
| 30 |
margin: 1em 0 1em; |
| 31 |
} |
| 32 |
|
| 33 |
.doc-contents .field-list { |
| 34 |
margin: 0 !important; |
| 35 |
} |
| 36 |
|
| 37 |
.doc-contents pre { |
| 38 |
padding: 0 !important; |
| 39 |
} |
| 40 |
|
| 41 |
.doc-contents .wy-table-responsive { |
| 42 |
margin-bottom: 0 !important; |
| 43 |
} |
| 44 |
|
| 45 |
.doc-contents td.code { |
| 46 |
padding: 0 !important; |
| 47 |
} |
| 48 |
|
| 49 |
.doc-contents td.linenos { |
| 50 |
padding: 0 8px !important; |
| 51 |
} |
| 52 |
|
| 53 |
.doc-children, |
| 54 |
footer { |
| 55 |
margin-top: 20px; |
| 56 |
} |