From 70472d381490e8712a3d5ef9daa2a6171951d79c Mon Sep 17 00:00:00 2001 From: Emil Miler Date: Thu, 21 May 2020 19:17:44 +0200 Subject: [PATCH] =?UTF-8?q?Zm=C4=9Bna=20struktury=20obsahu=20indexu?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sass/style.scss | 13 ++++++++++--- templates/index.html | 6 +++--- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/sass/style.scss b/sass/style.scss index 6a9e272..7965177 100644 --- a/sass/style.scss +++ b/sass/style.scss @@ -33,8 +33,15 @@ main { padding: 1em; margin: 0 auto; - &.fullwidth { max-width: $header-width; } - .partial { max-width: 35%; } - h2 { font-size: 3em; } } + +main#index { + max-width: $header-width; + + display: flex; + align-items: center; + justify-content: space-between; + + section, aside { max-width: 35%; } +} diff --git a/templates/index.html b/templates/index.html index 18535d7..a5e681c 100644 --- a/templates/index.html +++ b/templates/index.html @@ -14,12 +14,12 @@ Menu {% block content %} -
-
+
+

{{ config.title }}

{{ section.content | safe }}
-