make doc more mobile-friendly
This commit is contained in:
parent
71331d37e4
commit
539273b963
8
docs/_templates/layout.html
vendored
8
docs/_templates/layout.html
vendored
@ -1,9 +1,17 @@
|
||||
{% extends "!layout.html" %}
|
||||
{% block extrahead %}
|
||||
{{ super() }}
|
||||
<meta name="google-site-verification" content="FNUsDdkOJM9obm9QEdrNBVd9AtAzHzA-aaSMCUrS6C8" />
|
||||
<script async defer src="https://buttons.github.io/buttons.js"></script>
|
||||
{% if READTHEDOCS %}
|
||||
<meta http-equiv="refresh" content="0; URL=https://instaloader.github.io/{{ pagename }}.html" />
|
||||
<meta name="robots" content="noindex" />
|
||||
{% 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 %}
|
||||
|
@ -141,8 +141,7 @@ html_theme = 'alabaster'
|
||||
#
|
||||
html_theme_options = {
|
||||
'show_powered_by': False,
|
||||
'sidebar_width': '290px',
|
||||
'page_width': '935px' }
|
||||
'sidebar_width': '290px' }
|
||||
|
||||
# Add any paths that contain custom themes here, relative to this directory.
|
||||
# html_theme_path = []
|
||||
|
Loading…
Reference in New Issue
Block a user