trip some excess padding to make the pages waste less space on small screens

This commit is contained in:
Axel Kohlmeyer 2020-03-18 20:25:26 -04:00
parent 9fa4d27bdd
commit a569027a14
No known key found for this signature in database
GPG Key ID: D9B44E93BF0C375A
4 changed files with 4 additions and 6 deletions

View File

@ -21,7 +21,7 @@
{% endif %}
</li>
</ul>
<hr width="100%"/>
<hr style="margin-top: 6px; margin-bottom: 6px;" width="100%"/>
{% if next or prev %}
<div class="rst-footer-buttons" style="margin-bottom: 1em" role="navigation" aria-label="footer navigation">
{% if next %}

View File

@ -10,7 +10,7 @@
</div>
{% endif %}
<hr/>
<hr style="margin-top: 6px; margin-bottom: 6px;" width="100%"/>
<div role="contentinfo">
<p>

View File

@ -97,7 +97,6 @@
{% if logo %}
{# Not strictly valid HTML, but it's the only way to display/scale it properly, without weird scripting or heaps of work #}
<img src="{{ pathto('_static/' + logo, 1) }}" class="logo" />
<div><b>{{ version }}</b></div>
{% endif %}
</a>

View File

@ -4189,8 +4189,7 @@ div[class^='highlight'] pre {
}
}
.wy-affix {
position: fixed;
top: 1.618em;
position: fixed; top: 0.618em;
}
.wy-menu a:hover {
@ -4540,7 +4539,7 @@ div[class^='highlight'] pre {
}
.wy-nav-content {
padding: 1.618em 3.236em;
padding: 0.5em 1.0em;
height: 100%;
margin: auto;
}