hide left navigation bar for top level pages
This commit is contained in:
parent
8d9eaf5df9
commit
260f81d2d9
@ -25,5 +25,9 @@
|
||||
{% block styles %}
|
||||
{{ 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>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user