feat: use FlexBox to properly arrange the sidebar layouts
Some checks reported warnings
/ phplint (push) Has been cancelled

This commit is contained in:
David Bailey 2025-01-27 10:24:41 +01:00
parent 771e9a2ec8
commit de1f1446a3
10 changed files with 172 additions and 123 deletions

View file

@ -4,7 +4,7 @@
{{ page.basename }}
</li>
</menu>
<menu class="_path">
<menu class="_path" id="main_navbar_path">
{% set split_post = page.path |split('/') %}
{% for i in range(0, split_post|length - 1) %}
<li>

View file

@ -91,17 +91,28 @@
</menu>
</header>
<nav id="toc" class="table_of_contents">
</nav>
<div id="main_content_flexbox">
<nav id="toc_container" class="table_of_contents navbar">
<div class="_titles">
</div>
<div class="_path">
toc
</div>
<main id="main_content_wrapper">
{% block main_content %}
<h3>This here should have been replaced by content.
</h3>
If you can see this, complain to your nearest dragon.
{% endblock %}
</main>
<div id="toc">
</div>
</nav>
<main id="main_content_wrapper">
{% block main_content %}
<h3>This here should have been replaced by content.
</h3>
If you can see this, complain to your nearest dragon.
{% endblock %}
</main>
</div>
<footer id="main_footer">
{% block main_footer %}