Skip to content

Commit 0bb3c02

Browse files
committed
DOC: Fix doc sidebar
Closes gh-1068
1 parent e14461c commit 0bb3c02

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

doc/source/_static/nibabel.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ body {
44
background-color: #E5E2E2;
55
}
66

7+
div.sphinxsidebar {
8+
position: relative;
9+
}
10+
711
div.sphinxsidebar h4, div.sphinxsidebar h3 {
812
background-color: #2F83C8;
913
}

doc/source/_templates/layout.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
<li><a href="legal.html">License</a> |&nbsp;</li>
99
{% endblock %}
1010

11+
{% block sidebar1 %}{{ sidebar() }}{% endblock %}
12+
{% block sidebar2 %}{% endblock %}
13+
1114
{% block extrahead %}
1215
<meta name="keywords" content="nipy, neuroimaging, python, neuroscience">
1316
{% endblock %}
@@ -30,6 +33,3 @@ <h3 style="margin-top:-5px;color:#2f83c8">Access a cacophony of neuro-imaging fi
3033
{% endblock %}
3134

3235
{% block relbar2 %}{% endblock %}
33-
34-
{% block sidebar1 %}{{ sidebar() }}{% endblock %}
35-
{% block sidebar2 %}{% endblock %}

0 commit comments

Comments
 (0)