diff options
author | Ben Nathanson <github@bigriver.xyz> | 2020-08-01 13:10:53 -0400 |
---|---|---|
committer | Ben Nathanson <github@bigriver.xyz> | 2020-08-01 13:10:53 -0400 |
commit | 7bda953bdb808dcdf1837c0a853073cb762d38ac (patch) | |
tree | f6d098390168813ec3cbb885fce6ee70a18d9431 /doc/source/_templates | |
parent | 800c43bcf93133b99effcd1103d77bf7b3ed3618 (diff) | |
download | numpy-7bda953bdb808dcdf1837c0a853073cb762d38ac.tar.gz |
DOC: Add the new NumPy logo to Sphinx pages
The changes are in one file local to us -- doesn't mess with any
scipy files.
Diffstat (limited to 'doc/source/_templates')
-rw-r--r-- | doc/source/_templates/layout.html | 24 |
1 files changed, 21 insertions, 3 deletions
diff --git a/doc/source/_templates/layout.html b/doc/source/_templates/layout.html index beaa297db..c0fc20460 100644 --- a/doc/source/_templates/layout.html +++ b/doc/source/_templates/layout.html @@ -1,11 +1,29 @@ {% extends "!layout.html" %} +{%- block extrahead %} +<style> + div.top-scipy-org-logo-header { + background-color: #fafafa; + border-bottom: 1px solid #6c7a89; /* Aurometalsaurus */ + margin-top: 8px; + } + div.top-scipy-org-logo-header img { + height: 100px; + padding-left: 27px; + } + div.spc-navbar .nav-pills > li > a { + background-color: #4d77cf; /* Han Blue */ + } +</style> +{{ super() }} +{% endblock %} + {%- block header %} <div class="container"> - <div class="top-scipy-org-logo-header" style="background-color: #a2bae8;"> + <div class="top-scipy-org-logo-header"> <a href="{{ pathto('index') }}"> - <img border=0 alt="NumPy" src="{{ pathto('_static/numpy_logo.png', 1) }}"></a> - </div> + <img border=0 alt="NumPy" src="{{ pathto('_static/numpylogo.svg', 1) }}"> + </a> </div> </div> |