diff --git a/_src/_assets/scss/_footer.scss b/_src/_assets/scss/_footer.scss new file mode 100644 index 0000000..1b2431c --- /dev/null +++ b/_src/_assets/scss/_footer.scss @@ -0,0 +1,44 @@ +.footer { + color: $brand-05; + position: relative; + background: $brand-04; + padding-top: $spacer * 2; + margin-top: $edge-height-sm; + + @media ($screen-sm) { + margin-top: $edge-height; + } + + &:before { + content: ''; + width: 100%; + height: $edge-height-sm; + display: block; + position: absolute; + left: 0; + background: $brand-04; + top: -($edge-height-sm); + clip-path: polygon(100% 0, 0% 100%, 100% 100%); + + @media ($screen-sm) { + height: $edge-height; + top: -($edge-height); + } + } +} + +.footer__copyright { + font-size: $font-size-mini; + width: 100%; + opacity: .8; + + .row { + display: flex; + justify-content: space-between; + } +} + +.footer__title { + font-size: $font-size-base; + color: $brand-02; +} diff --git a/_src/_assets/scss/_grid.scss b/_src/_assets/scss/_grid.scss index 0f85c52..b199204 100644 --- a/_src/_assets/scss/_grid.scss +++ b/_src/_assets/scss/_grid.scss @@ -36,7 +36,7 @@ } .row { - max-width: 55em; + max-width: 55rem; margin-left: auto; margin-right: auto; padding-left: $spacer; diff --git a/_src/_assets/scss/_header.scss b/_src/_assets/scss/_header.scss index e7e751e..2ff1b54 100644 --- a/_src/_assets/scss/_header.scss +++ b/_src/_assets/scss/_header.scss @@ -1,5 +1,3 @@ -$edge-height: $spacer * 4; - .header { background: $brand-05; padding-top: $spacer * 2; diff --git a/_src/_assets/scss/_menus.scss b/_src/_assets/scss/_menus.scss index 7a7c506..03ad54f 100644 --- a/_src/_assets/scss/_menus.scss +++ b/_src/_assets/scss/_menus.scss @@ -133,7 +133,52 @@ .menu--footer { padding-top: $spacer * 2; + + .logo { + fill: $brand-05; + } + + .menu__link { + color: $brand-05; + display: block; + padding-top: $spacer / 4; + padding-bottom: $spacer / 4; + + &:after { display: none; } + } + + .social { + display: flex; + justify-content: space-between; + margin-top: $spacer; + } + + .social-link { + display: block; + border: 1.5px solid $brand-02; + border-radius: $border-radius; + padding: $spacer / 2; + width: 2rem; + height: 2rem; + line-height: 1; + + svg { + fill: $brand-05; + + } + } +} + + +.menu--legal { padding-bottom: $spacer * 2; + + .menu__link { + color: $brand-05; + font-size: $font-size-mini; + padding-top: 0; + padding-bottom: 0; + } } .menu--sub { diff --git a/_src/_assets/scss/_sections.scss b/_src/_assets/scss/_sections.scss index 83e81fc..0326f90 100644 --- a/_src/_assets/scss/_sections.scss +++ b/_src/_assets/scss/_sections.scss @@ -60,9 +60,6 @@ // // Section modifiers // -$edge-height-sm: $spacer * 2; -$edge-height: $spacer * 4; - .section--background { background: $brand-05; position: relative; diff --git a/_src/_assets/scss/_variables.scss b/_src/_assets/scss/_variables.scss index 51ca27d..2f4950b 100644 --- a/_src/_assets/scss/_variables.scss +++ b/_src/_assets/scss/_variables.scss @@ -66,25 +66,21 @@ $screen-lg: 'min-width: #{$screen-lg-min}'; // $btn-font-family: inherit; $btn-font-weight: $font-weight-bold !default; - $btn-padding-x: 2rem !default; $btn-padding-y: .5rem !default; - $btn-padding-x-sm: 1.5rem !default; $btn-padding-y-sm: .3rem !default; - $btn-padding-x-lg: 3rem !default; $btn-padding-y-lg: .7rem !default; - $btn-primary-color: #fff !default; $btn-primary-bg: $brand-01 !default; - $btn-secondary-color: #fff !default; $btn-secondary-bg: $brand-04 !default; - -$btn-dark-color: #fff !default; -$btn-dark-bg: $brand-03 !default; - +$btn-dark-color: #fff !default; +$btn-dark-bg: $brand-03 !default; $btn-link-disabled-color: $brand-05 !default; - $btn-border-radius: 10rem !default; + + +$edge-height-sm: $spacer * 2 !default; +$edge-height: $spacer * 4 !default; diff --git a/_src/_assets/scss/ipdb.scss b/_src/_assets/scss/ipdb.scss index d2ae09f..021c1ec 100644 --- a/_src/_assets/scss/ipdb.scss +++ b/_src/_assets/scss/ipdb.scss @@ -10,8 +10,9 @@ @import 'media'; @import 'icons'; @import 'sections'; -@import 'header'; @import 'menus'; +@import 'header'; +@import 'footer'; @import 'logo'; @import 'caretakers'; @import 'board'; diff --git a/_src/_data/contact.yml b/_src/_data/contact.yml index b7768d4..db62f7b 100644 --- a/_src/_data/contact.yml +++ b/_src/_data/contact.yml @@ -1,4 +1,4 @@ -name: "IPDB Foundation e.V." +company: "IPDB Foundation e.V." address: street: "Wichertstraße 14a" zip: "10439" diff --git a/_src/_data/content-front.yml b/_src/_data/content-front.yml index 04e1df6..0194274 100644 --- a/_src/_data/content-front.yml +++ b/_src/_data/content-front.yml @@ -71,4 +71,3 @@ connect: blog_title: "From the blog" newsletter_title: "Newsletter" newsletter_text: "Our email newsletter will keep you informed of major developments." - social_title: "Follow us" diff --git a/_src/_data/menus.yml b/_src/_data/menus.yml index d4da5f2..fd50927 100644 --- a/_src/_data/menus.yml +++ b/_src/_data/menus.yml @@ -3,5 +3,15 @@ main: url: /foundation/ - title: Contact url: /contact/ + +footer: - title: Style guide url: /styleguide/ + +legal: + - title: Terms + url: /terms/ + - title: Privacy + url: /privacy/ + - title: Imprint + url: /imprint/ diff --git a/_src/_includes/footer.html b/_src/_includes/footer.html index b10cd86..99f7659 100644 --- a/_src/_includes/footer.html +++ b/_src/_includes/footer.html @@ -1,10 +1,26 @@ diff --git a/_src/_includes/form-contact.html b/_src/_includes/form-contact.html index b84efdb..4001bc0 100644 --- a/_src/_includes/form-contact.html +++ b/_src/_includes/form-contact.html @@ -29,7 +29,7 @@ {% assign contact = site.data.contact %}
-

{{ contact.name }}

+

{{ contact.company }}

{{ contact.email }}

diff --git a/_src/_includes/menu-footer.html b/_src/_includes/menu-footer.html new file mode 100644 index 0000000..822129d --- /dev/null +++ b/_src/_includes/menu-footer.html @@ -0,0 +1,49 @@ + diff --git a/_src/index.html b/_src/index.html index 5bdc421..1f1052f 100644 --- a/_src/index.html +++ b/_src/index.html @@ -179,10 +179,22 @@ css: page-front
-
-

{{ content.connect.title }}

-

{{ content.connect.description }}

-
+
+
+
+

{{ content.connect.title }}

+

{{ content.connect.description }}

+
+
+
+ +
+

{{ content.connect.blog_title }}

@@ -205,34 +217,5 @@ css: page-front
-
-
- -
-
- -
-
-