Browse Source

center top level pages

selfhosted-fonts
Ulli Kehrle 5 months ago
parent
commit
1fe9e70ce7
Signed by untrusted user: hrnz GPG Key ID: 06E88726998AB3C7
  1. 3
      overrides/main.html

3
overrides/main.html

@ -26,8 +26,7 @@
{{ super() }}
<link rel="stylesheet" href="{{ 'assets/stylesheets/extra.css' | url }}" />
{% if page.parent == None %}
{# <style>.md-sidebar--primary{visibility:hidden}</style> #}
<style>@media screen and (min-width:76.25em){.md-sidebar--primary{display:none}.md-content__inner{margin-left:0.8rem;}.md-content{max-width:calc(100% - 12.1rem);}}</style>
<style>@media screen and (min-width:76.25em){.md-sidebar{visibility:hidden; width:6rem;}.md-content__inner{margin-left:0.8rem;}.md-content{max-width:calc(100% - 12rem);}}</style>
{% endif %}
{% endblock %}
Loading…
Cancel
Save