From 2a40e619a4b55988562715755459d69ea5d8216c Mon Sep 17 00:00:00 2001 From: Emil Miler Date: Tue, 24 Mar 2020 23:25:44 +0100 Subject: [PATCH] =?UTF-8?q?Zm=C4=9Bna=20styl=C5=AF=20a=20metadat?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sass/style.scss | 15 +++++++++------ templates/section.html | 3 +++ 2 files changed, 12 insertions(+), 6 deletions(-) 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 %}