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" %}
{% 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 %}