1
0
mirror of https://github.com/instaloader/instaloader.git synced 2024-08-17 20:29:38 +02:00

make doc more mobile-friendly

This commit is contained in:
Alexander Graf 2018-03-24 21:46:21 +01:00
parent 71331d37e4
commit 539273b963
2 changed files with 9 additions and 2 deletions

View File

@ -1,9 +1,17 @@
{% extends "!layout.html" %} {% extends "!layout.html" %}
{% block extrahead %} {% block extrahead %}
{{ super() }}
<meta name="google-site-verification" content="FNUsDdkOJM9obm9QEdrNBVd9AtAzHzA-aaSMCUrS6C8" /> <meta name="google-site-verification" content="FNUsDdkOJM9obm9QEdrNBVd9AtAzHzA-aaSMCUrS6C8" />
<script async defer src="https://buttons.github.io/buttons.js"></script> <script async defer src="https://buttons.github.io/buttons.js"></script>
{% if READTHEDOCS %} {% if READTHEDOCS %}
<meta http-equiv="refresh" content="0; URL=https://instaloader.github.io/{{ pagename }}.html" /> <meta http-equiv="refresh" content="0; URL=https://instaloader.github.io/{{ pagename }}.html" />
<meta name="robots" content="noindex" /> <meta name="robots" content="noindex" />
{% endif %} {% endif %}
<style type="text/css">
div.document { width: 1008px; }
@media screen and (max-width: 1008px) {
div.sphinxsidebar { display: none; }
div.document { width: 100%!important; }
}
</style>
{% endblock %} {% endblock %}

View File

@ -141,8 +141,7 @@ html_theme = 'alabaster'
# #
html_theme_options = { html_theme_options = {
'show_powered_by': False, 'show_powered_by': False,
'sidebar_width': '290px', 'sidebar_width': '290px' }
'page_width': '935px' }
# Add any paths that contain custom themes here, relative to this directory. # Add any paths that contain custom themes here, relative to this directory.
# html_theme_path = [] # html_theme_path = []