-
Notifications
You must be signed in to change notification settings - Fork 3
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
0 parents
commit 8a4e978
Showing
1,480 changed files
with
389,179 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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,271 @@ | ||
/* | ||
* classic.css_t | ||
* ~~~~~~~~~~~~~ | ||
* | ||
* Sphinx stylesheet -- classic theme. | ||
* | ||
* :copyright: Copyright 2007-2020 by the Sphinx team, see AUTHORS. | ||
* :license: BSD, see LICENSE for details. | ||
* | ||
*/ | ||
|
||
@import url("basic.css"); | ||
|
||
/* -- page layout ----------------------------------------------------------- */ | ||
|
||
html { | ||
/* CSS hack for macOS's scrollbar (see #1125) */ | ||
background-color: #FFFFFF; | ||
} | ||
|
||
body { | ||
font-family: 'Lucida Grande', Arial, sans-serif; | ||
font-size: 100%; | ||
background-color: white; | ||
color: #000; | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
||
div.document { | ||
background-color: white; | ||
} | ||
|
||
div.documentwrapper { | ||
float: left; | ||
width: 100%; | ||
} | ||
|
||
div.bodywrapper { | ||
margin: 0 0 0 230px; | ||
} | ||
|
||
div.body { | ||
background-color: white; | ||
color: #222222; | ||
padding: 0 20px 30px 20px; | ||
} | ||
|
||
div.footer { | ||
color: #555555; | ||
width: 100%; | ||
padding: 9px 0 9px 0; | ||
text-align: center; | ||
font-size: 75%; | ||
} | ||
|
||
div.footer a { | ||
color: #555555; | ||
text-decoration: underline; | ||
} | ||
|
||
div.related { | ||
background-color: white; | ||
line-height: 30px; | ||
color: #666666; | ||
} | ||
|
||
div.related a { | ||
color: #444444; | ||
} | ||
|
||
div.sphinxsidebar { | ||
} | ||
|
||
div.sphinxsidebar h3 { | ||
font-family: 'Lucida Grande', Arial, sans-serif; | ||
color: #444444; | ||
font-size: 1.4em; | ||
font-weight: normal; | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
||
div.sphinxsidebar h3 a { | ||
color: #444444; | ||
} | ||
|
||
div.sphinxsidebar h4 { | ||
font-family: 'Lucida Grande', Arial, sans-serif; | ||
color: #444444; | ||
font-size: 1.3em; | ||
font-weight: normal; | ||
margin: 5px 0 0 0; | ||
padding: 0; | ||
} | ||
|
||
div.sphinxsidebar p { | ||
color: #444444; | ||
} | ||
|
||
div.sphinxsidebar p.topless { | ||
margin: 5px 10px 10px 10px; | ||
} | ||
|
||
div.sphinxsidebar ul { | ||
margin: 10px; | ||
padding: 0; | ||
color: #444444; | ||
} | ||
|
||
div.sphinxsidebar a { | ||
color: #444444; | ||
} | ||
|
||
div.sphinxsidebar input { | ||
border: 1px solid #444444; | ||
font-family: sans-serif; | ||
font-size: 1em; | ||
} | ||
|
||
|
||
/* for collapsible sidebar */ | ||
div#sidebarbutton { | ||
background-color: #3c6e83; | ||
} | ||
|
||
|
||
/* -- hyperlink styles ------------------------------------------------------ */ | ||
|
||
a { | ||
color: #0090c0; | ||
text-decoration: none; | ||
} | ||
|
||
a:visited { | ||
color: #00608f; | ||
text-decoration: none; | ||
} | ||
|
||
a:hover { | ||
text-decoration: underline; | ||
} | ||
|
||
|
||
|
||
/* -- body styles ----------------------------------------------------------- */ | ||
|
||
div.body h1, | ||
div.body h2, | ||
div.body h3, | ||
div.body h4, | ||
div.body h5, | ||
div.body h6 { | ||
font-family: 'Lucida Grande', Arial, sans-serif; | ||
background-color: white; | ||
font-weight: normal; | ||
color: #1a1a1a; | ||
border-bottom: 1px solid #ccc; | ||
margin: 20px -20px 10px -20px; | ||
padding: 3px 0 3px 10px; | ||
} | ||
|
||
div.body h1 { margin-top: 0; font-size: 200%; } | ||
div.body h2 { font-size: 160%; } | ||
div.body h3 { font-size: 140%; } | ||
div.body h4 { font-size: 120%; } | ||
div.body h5 { font-size: 110%; } | ||
div.body h6 { font-size: 100%; } | ||
|
||
a.headerlink { | ||
color: #aaaaaa; | ||
font-size: 0.8em; | ||
padding: 0 4px 0 4px; | ||
text-decoration: none; | ||
} | ||
|
||
a.headerlink:hover { | ||
background-color: #aaaaaa; | ||
color: white; | ||
} | ||
|
||
div.body p, div.body dd, div.body li, div.body blockquote { | ||
text-align: justify; | ||
line-height: 130%; | ||
} | ||
|
||
div.admonition p.admonition-title + p { | ||
display: inline; | ||
} | ||
|
||
div.admonition p { | ||
margin-bottom: 5px; | ||
} | ||
|
||
div.admonition pre { | ||
margin-bottom: 5px; | ||
} | ||
|
||
div.admonition ul, div.admonition ol { | ||
margin-bottom: 5px; | ||
} | ||
|
||
div.note { | ||
background-color: #eee; | ||
border: 1px solid #ccc; | ||
} | ||
|
||
div.seealso { | ||
background-color: #ffc; | ||
border: 1px solid #ff6; | ||
} | ||
|
||
div.topic { | ||
background-color: #eee; | ||
} | ||
|
||
div.warning { | ||
background-color: #ffe4e4; | ||
border: 1px solid #f66; | ||
} | ||
|
||
p.admonition-title { | ||
display: inline; | ||
} | ||
|
||
p.admonition-title:after { | ||
content: ":"; | ||
} | ||
|
||
pre { | ||
padding: 5px; | ||
background-color: #eeffcc; | ||
color: #333333; | ||
line-height: 120%; | ||
border: 1px solid #ac9; | ||
border-left: none; | ||
border-right: none; | ||
} | ||
|
||
code { | ||
background-color: #ecf0f3; | ||
padding: 0 1px 0 1px; | ||
font-size: 0.95em; | ||
} | ||
|
||
th, dl.field-list > dt { | ||
background-color: #ede; | ||
} | ||
|
||
.warning code { | ||
background: #efc2c2; | ||
} | ||
|
||
.note code { | ||
background: #d6d6d6; | ||
} | ||
|
||
.viewcode-back { | ||
font-family: 'Lucida Grande', Arial, sans-serif; | ||
} | ||
|
||
div.viewcode-block:target { | ||
background-color: #f4debf; | ||
border-top: 1px solid #ac9; | ||
border-bottom: 1px solid #ac9; | ||
} | ||
|
||
div.code-block-caption { | ||
color: #efefef; | ||
background-color: #1c4e63; | ||
} |
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,64 @@ | ||
$(document).ready(function() { | ||
/* Add a [>>>] button on the top-right corner of code samples to hide | ||
* the >>> and ... prompts and the output and thus make the code | ||
* copyable. */ | ||
var div = $('.highlight-python .highlight,' + | ||
'.highlight-python3 .highlight,' + | ||
'.highlight-pycon .highlight,' + | ||
'.highlight-default .highlight'); | ||
var pre = div.find('pre'); | ||
|
||
// get the styles from the current theme | ||
pre.parent().parent().css('position', 'relative'); | ||
var hide_text = 'Hide the prompts and output'; | ||
var show_text = 'Show the prompts and output'; | ||
var border_width = pre.css('border-top-width'); | ||
var border_style = pre.css('border-top-style'); | ||
var border_color = pre.css('border-top-color'); | ||
var button_styles = { | ||
'cursor':'pointer', 'position': 'absolute', 'top': '0', 'right': '0', | ||
'border-color': border_color, 'border-style': border_style, | ||
'border-width': border_width, 'color': border_color, 'text-size': '75%', | ||
'font-family': 'monospace', 'padding-left': '0.2em', 'padding-right': '0.2em', | ||
'border-radius': '0 3px 0 0' | ||
} | ||
|
||
// create and add the button to all the code blocks that contain >>> | ||
div.each(function(index) { | ||
var jthis = $(this); | ||
if (jthis.find('.gp').length > 0) { | ||
var button = $('<span class="copybutton">>>></span>'); | ||
button.css(button_styles) | ||
button.attr('title', hide_text); | ||
button.data('hidden', 'false'); | ||
jthis.prepend(button); | ||
} | ||
// tracebacks (.gt) contain bare text elements that need to be | ||
// wrapped in a span to work with .nextUntil() (see later) | ||
jthis.find('pre:has(.gt)').contents().filter(function() { | ||
return ((this.nodeType == 3) && (this.data.trim().length > 0)); | ||
}).wrap('<span>'); | ||
}); | ||
|
||
// define the behavior of the button when it's clicked | ||
$('.copybutton').click(function(e){ | ||
e.preventDefault(); | ||
var button = $(this); | ||
if (button.data('hidden') === 'false') { | ||
// hide the code output | ||
button.parent().find('.go, .gp, .gt').hide(); | ||
button.next('pre').find('.gt').nextUntil('.gp, .go').css('visibility', 'hidden'); | ||
button.css('text-decoration', 'line-through'); | ||
button.attr('title', show_text); | ||
button.data('hidden', 'true'); | ||
} else { | ||
// show the code output | ||
button.parent().find('.go, .gp, .gt').show(); | ||
button.next('pre').find('.gt').nextUntil('.gp, .go').css('visibility', 'visible'); | ||
button.css('text-decoration', 'none'); | ||
button.attr('title', hide_text); | ||
button.data('hidden', 'false'); | ||
} | ||
}); | ||
}); | ||
|
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 @@ | ||
@import url("classic.css"); |
Oops, something went wrong.