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" %}
|
{% 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 %}
|
||||||
|
@ -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 = []
|
||||||
|
Loading…
x
Reference in New Issue
Block a user