-
Notifications
You must be signed in to change notification settings - Fork 297
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move API docs related CSS to separate file (#476)
- Loading branch information
1 parent
501dde2
commit 8fa0080
Showing
5 changed files
with
53 additions
and
50 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
...ndex.193492646ce36602d287d5d23c98cd4a.css → ...ndex.ef515bf865743bbaed9984579188973e.css
Large diffs are not rendered by default.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
// Style API docs from sphinx' autodoc / autosummary | ||
|
||
|
||
/** | ||
* Styling for field lists | ||
*/ | ||
|
||
/* grey highlighting of 'parameter' and 'returns' field */ | ||
table.field-list { | ||
border-collapse: separate; | ||
border-spacing: 10px; | ||
margin-left: 1px; | ||
|
||
th.field-name { | ||
padding: 1px 8px 1px 5px; | ||
white-space: nowrap; | ||
background-color: rgb(238, 238, 238); | ||
} | ||
|
||
/* italic font for parameter types */ | ||
td.field-body { | ||
p { | ||
font-style: italic; | ||
|
||
> strong { | ||
font-style: normal; | ||
} | ||
} | ||
|
||
/* reduced space around parameter description */ | ||
blockquote { | ||
border-left: none; | ||
margin: 0em 0em 0.3em; | ||
padding-left: 30px; | ||
} | ||
} | ||
} | ||
|
||
/** | ||
* Styling for autosummary tables | ||
*/ | ||
|
||
.table.autosummary { | ||
// The first column (with the signature) should not wrap | ||
td:first-child { | ||
white-space: nowrap; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters