-
Notifications
You must be signed in to change notification settings - Fork 184
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #522 from bashtage/doc-fixes-2604
DOC: Improve appearance
- Loading branch information
Showing
2 changed files
with
13 additions
and
40 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,53 +1,26 @@ | ||
span.versionmodified.deprecated { | ||
color: #c00; | ||
font-weight: bold; | ||
} | ||
|
||
span.classifier:before { | ||
font-style: normal; | ||
margin: 0 0.5em; | ||
content: ":"; | ||
display: inline-block; | ||
} | ||
|
||
div.deprecated, div.versionadded, div.versionchanged { | ||
background-color: #FFFFFF; | ||
border: .05rem solid; | ||
border-color: #459db9; | ||
border-radius: .2rem; | ||
/* box-shadow: 0 .2rem .5rem #d8d8d8,0 0 .0625rem #d8d8d8!important; */ | ||
margin: 1.5625em auto; | ||
overflow: hidden; | ||
padding: 0 .6rem; | ||
page-break-inside: avoid; | ||
position: relative; | ||
transition: color .25s,background-color .25s,border-color .25s; | ||
vertical-align: middle; | ||
font-size: 0.64rem; | ||
} | ||
div.deprecated>p, div.versionadded>p, div.versionchanged>p { | ||
margin-bottom: .6rem; | ||
margin-top: .6rem; | ||
} | ||
|
||
div.deprecated { | ||
border-color: #dc3545; | ||
background-color: rgba(255, 0, 0, 0.1); | ||
span.versionmodified.deprecated, span.versionmodified.changed, span.versionmodified.added { | ||
font-weight: bold; | ||
} | ||
|
||
span.versionmodified { | ||
font-weight: 600; | ||
span.versionmodified.deprecated { | ||
color: rgb(203,70,83); | ||
} | ||
|
||
.versionmodified { | ||
font-style: italic; | ||
span.versionmodified.changed { | ||
color: rgb(238,144,64); | ||
} | ||
|
||
div.deprecated p:before { | ||
background-color: #dc3545; | ||
span.versionmodified.added { | ||
color: rgb(72,138,87); | ||
} | ||
|
||
span.versionmodified.deprecated:before { | ||
color: #dc3545; | ||
div.versionadded p.admonition-title, div.deprecated.admonition p.admonition-title, div.versionchanged p.admonition-title { | ||
font-weight: normal !important; | ||
} | ||
|
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