Fix centering of content
This commit is contained in:
parent
ca238a5d38
commit
89acb43003
|
@ -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 }}">
|
||||||
|
<div class="section-content-wrapper">
|
||||||
{{ section }}
|
{{ section }}
|
||||||
|
</div>
|
||||||
</section>
|
</section>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
<footer>
|
<footer>
|
||||||
|
|
|
@ -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 */
|
||||||
|
|
Loading…
Reference in a new issue