From c1e3732f9c6832fbd49a15825ded50c6e607c2bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yannik=20R=C3=B6del?= Date: Fri, 18 Mar 2022 19:11:18 +0100 Subject: [PATCH] Add some margin to the bottom of pages --- src/content/index.md | 1 + src/content/ueber-uns/index.md | 1 + src/styles/components/_page.scss | 4 ++++ 3 files changed, 6 insertions(+) diff --git a/src/content/index.md b/src/content/index.md index 48452c9..6ff2dfa 100644 --- a/src/content/index.md +++ b/src/content/index.md @@ -1,5 +1,6 @@ --- layout: layouts/home.njk +contentClass: expand --- {% banner diff --git a/src/content/ueber-uns/index.md b/src/content/ueber-uns/index.md index b597fe0..9ac2693 100644 --- a/src/content/ueber-uns/index.md +++ b/src/content/ueber-uns/index.md @@ -4,6 +4,7 @@ eleventyNavigation: key: Über uns order: 100 extraStylesheets: ['timeline'] +contentClass: expand --- # Über uns diff --git a/src/styles/components/_page.scss b/src/styles/components/_page.scss index bbbb531..91829ad 100644 --- a/src/styles/components/_page.scss +++ b/src/styles/components/_page.scss @@ -35,3 +35,7 @@ background-color: colors.$teal-500; } } + +main:not(.expand) + .page-section.footer { + margin-top: layout.$huge-gap; +}