Změna šířek obsahu a hlavičky

remotes/1722757888236843906/tmp_refs/heads/search
Emil Miler 4 years ago
parent 8cc6964cdd
commit 0ec688436c

@ -25,7 +25,7 @@ header {
display: flex;
justify-content: space-between;
height: 6rem;
max-width: 1250px;
max-width: 1200px;
width: 100%;
}
@ -83,6 +83,10 @@ main {
margin: 0 auto;
padding: 1rem;
&.index {
max-width: 1200px;
}
h1, h2, h3, h4, h5, h6 {
font-weight: bold;
margin: 2em 0 1em 0;

@ -26,9 +26,7 @@
</div>
</header>
{% block extra %}{% endblock extra %}
<main>
{% block content %}{% endblock content %}
</main>
<footer>
<p>Magdalény Rettigové 4, 116 39, Praha 1</p>
<p>Praha UK PedF KITTV, {{ now() | date(format="%Y") }}</p>

@ -11,6 +11,7 @@
{% endblock extra %}
{% block content %}
<main class="index">
<section>
<h1 class="centering">Aktuality</h1>
<div class="blocks">
@ -24,4 +25,5 @@
{{ macro::list_posts(section=section) }}
</div>
</section>
</main>
{% endblock content %}

@ -5,8 +5,10 @@
{% endblock %}
{% block content %}
<main>
<section>
<h1>{{ page.title }}</h1>
{{ page.content | safe }}
</section>
</main>
{% endblock content %}

Loading…
Cancel
Save