| 1 |
{% extends "!layout.html" %} |
| 2 |
|
| 3 |
{# Custom CSS overrides #} |
| 4 |
{# set bootswatch_css_custom = ['_static/my-styles.css'] #} |
| 5 |
|
| 6 |
{# Add github banner (from: https://github.com/blog/273-github-ribbons). #} |
| 7 |
{% block header %} |
| 8 |
{{ super() }} |
| 9 |
<!-- PRIVACY-BREACH-GENERIC |
| 10 |
<a href="https://github.com/jupyter/sphinx-theme" |
| 11 |
class="visible-desktop hidden-xs"><img |
| 12 |
id="gh-banner" |
| 13 |
style="position: absolute; top: 50px; right: 0; border: 0;" |
| 14 |
src="https://s3.amazonaws.com/github/ribbons/forkme_right_white_ffffff.png" |
| 15 |
alt="Fork me on GitHub"></a> |
| 16 |
--> |
| 17 |
<script> |
| 18 |
// Adjust banner height. |
| 19 |
$(function () { |
| 20 |
var navHeight = $(".navbar .container").css("height"); |
| 21 |
$("#gh-banner").css("top", navHeight); |
| 22 |
}); |
| 23 |
</script> |
| 24 |
{% endblock %} |