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

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

Loading…
Cancel
Save