diff --git a/sass/style.scss b/sass/style.scss index aaf01a7..64c9c3c 100644 --- a/sass/style.scss +++ b/sass/style.scss @@ -5,7 +5,7 @@ body { padding: 0; font-family: Arial, Helvetica, sans-serif; font-size: 1.2em; - max-width:1000px; + max-width: 800px; } #header a, #menu a, #nav a { @@ -62,7 +62,7 @@ body { ul { - min-width: 25%; + min-width: 33.33%; a { display: block; @@ -86,14 +86,17 @@ body { } #main { - clear: both; padding: 1.5em; - flex-grow: 1; + line-height: 1.5em; + text-align: justify; + + h2, h3, h4, h5, h6, .title { + margin: 2em 0 1em 0; + } .title { - font-size: 1.2em; + font-size: 1.3em; font-weight: bold; - margin: 1em 0 .2em 0; } .metadata { diff --git a/templates/section.html b/templates/section.html index 8fbb6a4..92b4cfa 100644 --- a/templates/section.html +++ b/templates/section.html @@ -35,5 +35,8 @@ {% block content %}

{{ section.title }}

+ {% if section.extra.group %}
Cílová skupina – {{ section.extra.group }}
{% endif %} + {% if section.extra.time %}
Časová dotace – {{ section.extra.time }}
{% endif %} + {% if section.extra.author %}
Autor – {{ section.extra.author }}
{% endif %} {{ section.content | safe }} {% endblock content %}