Změna stylů a metadat

master
Emil Miler 5 years ago
parent 491314fd0d
commit 2a40e619a4

@ -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 {

@ -35,5 +35,8 @@
{% block content %}
<h1>{{ section.title }}</h1>
{% if section.extra.group %}<div class="metadata">Cílová skupina &ndash; {{ section.extra.group }}</div>{% endif %}
{% if section.extra.time %}<div class="metadata">Časová dotace &ndash; {{ section.extra.time }}</div>{% endif %}
{% if section.extra.author %}<div class="metadata">Autor &ndash; {{ section.extra.author }}</div>{% endif %}
{{ section.content | safe }}
{% endblock content %}