fr
/
web
forked from kittv/web
1
0
Fork 0

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

search
Emil Miler 4 years ago
parent 8cc6964cdd
commit 0ec688436c

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

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

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

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

Loading…
Cancel
Save