From 8bfba45b30f8c61d329742898acc8a071c9fae4d Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Tue, 19 Dec 2017 12:22:48 +0100 Subject: [PATCH] spacing and menu cleanup --- _src/_assets/scss/page-front.scss | 7 ++++++- _src/_data/menus.yml | 2 ++ _src/_includes/contact.html | 13 ------------- _src/_includes/header.html | 2 ++ _src/_includes/menu-footer.html | 24 ------------------------ 5 files changed, 10 insertions(+), 38 deletions(-) diff --git a/_src/_assets/scss/page-front.scss b/_src/_assets/scss/page-front.scss index 5743015..ca9819d 100644 --- a/_src/_assets/scss/page-front.scss +++ b/_src/_assets/scss/page-front.scss @@ -4,7 +4,6 @@ .section--farewell { margin-top: -4rem; z-index: 2; - padding-top: $spacer * 3; } // @@ -12,6 +11,12 @@ // .articles { max-width: 100%; + margin-top: $spacer; + margin-bottom: -$spacer; + + .button { + padding-bottom: 0; + } } .article { diff --git a/_src/_data/menus.yml b/_src/_data/menus.yml index 24ac24b..61a0c04 100644 --- a/_src/_data/menus.yml +++ b/_src/_data/menus.yml @@ -3,5 +3,7 @@ main: url: /contact/ legal: + - title: Contact + url: /contact/ - title: Imprint url: /imprint/ diff --git a/_src/_includes/contact.html b/_src/_includes/contact.html index 8561c4b..ce3cdc5 100644 --- a/_src/_includes/contact.html +++ b/_src/_includes/contact.html @@ -20,16 +20,3 @@ {{ contact.address.country }}

- - diff --git a/_src/_includes/header.html b/_src/_includes/header.html index e8301a6..e3e6e2a 100644 --- a/_src/_includes/header.html +++ b/_src/_includes/header.html @@ -1,3 +1,5 @@ +{% include oceanprotocol.html %} + {% include menu-main.html %}
diff --git a/_src/_includes/menu-footer.html b/_src/_includes/menu-footer.html index 822129d..fe9c7e7 100644 --- a/_src/_includes/menu-footer.html +++ b/_src/_includes/menu-footer.html @@ -10,17 +10,6 @@ -
- {% for link in site.data.menus.main %} - {% assign active = nil %} - {% if page.url contains link.url %} - {% assign active = 'active' %} - {% endif %} - - {{ link.title }} - {% endfor %} -
-
{% for link in site.data.menus.footer %} {% assign active = nil %} @@ -32,18 +21,5 @@ {% endfor %}
-
- - -