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;
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>
{% block content %}{% endblock content %}
<footer>
<p>Magdalény Rettigové 4, 116 39, Praha 1</p>
<p>Praha UK PedF KITTV, {{ now() | date(format="%Y") }}</p>

@ -11,17 +11,19 @@
{% endblock extra %}
{% block content %}
<section>
<h1 class="centering">Aktuality</h1>
<div class="blocks">
{% set section = get_section(path="aktuality/_index.md") %}
{{ macro::list_posts(section=section) }}
</div>
</section>
<section>
<div class="websites blocks">
{% set section = get_section(path="externi_weby/_index.md") %}
{{ macro::list_posts(section=section) }}
</div>
</section>
<main class="index">
<section>
<h1 class="centering">Aktuality</h1>
<div class="blocks">
{% set section = get_section(path="aktuality/_index.md") %}
{{ macro::list_posts(section=section) }}
</div>
</section>
<section>
<div class="websites blocks">
{% set section = get_section(path="externi_weby/_index.md") %}
{{ macro::list_posts(section=section) }}
</div>
</section>
</main>
{% endblock content %}

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

Loading…
Cancel
Save