-
Notifications
You must be signed in to change notification settings - Fork 16
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
smrgit
committed
Dec 27, 2015
1 parent
2c16a9e
commit bb28ffd
Showing
3 changed files
with
66 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,47 @@ | ||
/* NOTE: Add/update the date suffix to this file's filename if you want to | ||
* ensure folks pull in the most recent version instead of what is in their | ||
* browser cache. Then modify _templates/page.html to point to the updated | ||
* files. | ||
*/ | ||
|
||
/* http://stackoverflow.com/questions/2454577/sphinx-restructuredtext-show-hide-code-snippets */ | ||
.toggle .header { | ||
display: block; | ||
clear: both; | ||
} | ||
|
||
.toggle .container { | ||
border-top: 0px; | ||
margin-top: 0px; | ||
padding-top: 0px; | ||
/*background-color: red;*/ | ||
padding-bottom: 24px; | ||
} | ||
|
||
.toggle .header:after { | ||
content: " ▼"; | ||
} | ||
|
||
.toggle .header.open:after { | ||
content: " ▲"; | ||
} | ||
|
||
/* For http://sphinx-doc.org/config.html#confval-rst_epilog */ | ||
.isbcgcfooter p { | ||
font-size: small; | ||
font-style: italic; | ||
} | ||
|
||
.visible-only-on-github { | ||
display: none; | ||
} | ||
|
||
/* | ||
* By default tables add horizontal scrollbars instead of wrapping. | ||
* It is hard to conceive of when you would want this. | ||
* Issue discussed and workaround provided here: | ||
* https://github.com/snide/sphinx_rtd_theme/issues/117 | ||
*/ | ||
.wy-table-responsive table td, .wy-table-responsive table th { | ||
white-space: 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// Open all links in another window. | ||
$(document).ready(function() { | ||
$("a[href^='http']").attr('target','_blank'); | ||
}); | ||
|
||
// implement collapsible containers for content. | ||
jQuery($(document).ready(function() { | ||
$(".toggle > *").hide(); | ||
$(".toggle .header").show(); | ||
$(".toggle .header").click(function() { | ||
$(this).parent().children().not(".header").toggle(400); | ||
$(this).parent().children(".header").toggleClass("open"); | ||
}) | ||
})); |
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,5 @@ | ||
{% extends "!page.html" %} | ||
|
||
{% set css_files = css_files + ["_static/custom.css"] %} | ||
|
||
{% set script_files = script_files + ["_static/custom.js"] %} |