Skip to content

Commit 1325a99

Browse files
committed
DOC: use svg logo in header layout
1 parent d96c654 commit 1325a99

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

doc/source/_templates/layout.html

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,14 @@
1313
{% endblock %}
1414

1515
{% block header %}
16-
<div style="background-color: white; text-align: left; padding-left: 150px; padding-bottom:50px; padding-top:20px; background-image: url({{ pathto('_static/nipy-logo-bg-138x120.png',1) }}); background-repeat: no-repeat;">
17-
<h1>NiBabel</h1>
18-
<h3 style="margin-top:-5px;color:#2f83c8">Access a cacophony of neuro-imaging file formats</h3>
16+
<div class="row" style="display: flex; flex-direction: row; flex-wrap: wrap; width: 100%;">
17+
<div class="column" style="background-color: white; display: flex; flex-direction: column; flex: 0 0 140px; padding-left: 2px; padding-bottom:2px; padding-top:2px;">
18+
<img src="{{ pathto('_static/nibabel-logo.svg',1) }}" class="logo" alt="Logo" width="130px"/>
19+
</div>
20+
<div class="column" style="background-color: white; text-align: left; padding-left: 10px; padding-bottom:50px; padding-top:20px; background-repeat: no-repeat; display: flex; flex-direction: column; flex-basis: 100%; flex: 1;">
21+
<h1>NiBabel</h1>
22+
<h3 style="margin-top:-5px;color:#2f83c8">Access a cacophony of neuro-imaging file formats</h3>
23+
</div>
1924
</div>
2025
{% endblock %}
2126

0 commit comments

Comments
 (0)