Fix centering of content

This commit is contained in:
Emi Simpson 2021-11-09 20:36:47 -05:00
parent ca238a5d38
commit 89acb43003
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG Key ID: A12F2C2FFDC3D847
2 changed files with 6 additions and 3 deletions

View File

@ -51,7 +51,9 @@
</div> </div>
{% for section in sections %} {% for section in sections %}
<section style="--section-number: {{ forloop.index }}"> <section style="--section-number: {{ forloop.index }}">
{{ section }} <div class="section-content-wrapper">
{{ section }}
</div>
</section> </section>
{% endfor %} {% endfor %}
<footer> <footer>

View File

@ -30,8 +30,9 @@ main > section {
padding: 50px 0; padding: 50px 0;
} }
main > section > * { main > section > .section-content-wrapper {
width: min(80vw, 700px) max-width: 700px;
width: 80vw;
} }
/* Styles for the header */ /* Styles for the header */