-
Notifications
You must be signed in to change notification settings - Fork 180
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
98 additions
and
22 deletions.
There are no files selected for viewing
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,55 @@ | ||
/* | ||
* Custom stylesheets for alabaster Sphinx theme. | ||
*/ | ||
|
||
|
||
/* do not hyphenate "Parameters" and <code> tags */ | ||
th.field-name, code { | ||
-moz-hyphens: none; | ||
-ms-hyphens: none; | ||
-webkit-hyphens: none; | ||
hyphens: none; | ||
} | ||
|
||
/* add negative space between autodoc members */ | ||
dl + dl, dd > dl { | ||
margin-top: 2em; | ||
} | ||
|
||
dl + dl.class { | ||
margin-top: 3.5em; | ||
} | ||
|
||
/* reformat class attributes ... */ | ||
/* ... to be close together ... */ | ||
dl.attribute + dl.attribute { | ||
padding-top: 0; | ||
} | ||
/* ... to have a pseudo-heading ... */ | ||
dl.attribute:first-of-type:before { | ||
content: "Attributes:"; | ||
margin-left: -1em; | ||
font-weight: bold; | ||
} | ||
/* ... and to be indented slightly */ | ||
dl.attribute { | ||
padding-left: 1em; | ||
} | ||
|
||
/* fix negative margin for code-blocks */ | ||
dl dl pre, .admonition.note { | ||
margin-left: 0; | ||
padding-left: 30px; | ||
} | ||
|
||
/* fix negative margin and padding for admonition notes */ | ||
.admonition.note { | ||
margin-left: 0; | ||
padding-left: 30px; | ||
padding-right: 30px; | ||
} | ||
|
||
.admonition.note .first.admonition-title { | ||
line-height: 1.5; | ||
} | ||
|
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
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