From 7aba474b99d7e72c945be5677236f7727989c0b5 Mon Sep 17 00:00:00 2001 From: Olga Bulat Date: Tue, 19 May 2020 11:10:15 +0300 Subject: [PATCH 01/23] Make theme responsive --- python_docs_theme/layout.html | 64 ++++++- python_docs_theme/static/menu.js | 22 +++ python_docs_theme/static/pydoctheme.css | 236 +++++++++++++++++++++++- python_docs_theme/theme.conf | 4 +- 4 files changed, 321 insertions(+), 5 deletions(-) create mode 100644 python_docs_theme/static/menu.js diff --git a/python_docs_theme/layout.html b/python_docs_theme/layout.html index 4ad39cb..1cfb872 100644 --- a/python_docs_theme/layout.html +++ b/python_docs_theme/layout.html @@ -20,7 +20,7 @@ - + {%- endif %} {%- endmacro %} @@ -38,11 +38,71 @@ {% block extrahead %} {% if builder != "htmlhelp" %} - {% if not embedded %}{% endif %} + {% if not embedded %} + + + {% endif %} {% endif %} {{ super() }} {% endblock %} +{%- block css %} + + {{ super() }} +{%- endblock %} + +{%- block body_tag %} + + +{% endblock %} + +{% block sidebar1 %} + +{% endblock %} + {% block footer %}