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
4 changed files with 4 additions and 6 deletions

View File

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

View File

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

View File

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

View File

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