From a53e9cb80db9a860e89fd1ec0c4dce6b8a042856 Mon Sep 17 00:00:00 2001 From: Emil Miler Date: Tue, 19 Apr 2022 18:20:11 +0200 Subject: [PATCH] =?UTF-8?q?Zm=C4=9Bna=20n=C3=A1zvu=20receptu=20z=20H3=20na?= =?UTF-8?q?=20div.title?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sass/style.scss | 4 +++- templates/macros.html | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/sass/style.scss b/sass/style.scss index 260dbc2..c027b15 100644 --- a/sass/style.scss +++ b/sass/style.scss @@ -150,9 +150,11 @@ main { color: $article-color; } - h3 { + .title { margin: 1em .8em .5em .8em; text-align: center; + font-size: 1.1em; + font-weight: bold; } .date { diff --git a/templates/macros.html b/templates/macros.html index 0ba4667..c977835 100644 --- a/templates/macros.html +++ b/templates/macros.html @@ -19,7 +19,7 @@ {% endfor %} {% set image = resize_image(path=image, width=300, height=300, op="fill") %} {{ recipe.title }} -

{{ recipe.title }}

+
{{ recipe.title }}
{% if recipe.date %}{{ recipe.date | date(format="%d.%m.%Y") }}{% endif %}