From 37ae869a584674fa0556f6fb57ff0174647564e4 Mon Sep 17 00:00:00 2001 From: Jim Martens Date: Fri, 29 Dec 2017 12:16:08 +0100 Subject: [PATCH] Fixed #14 Signed-off-by: Jim Martens --- _assets/css/main.css.scss | 14 +++++++++++++- _includes/footer.html | 10 ++++++---- 2 files changed, 19 insertions(+), 5 deletions(-) diff --git a/_assets/css/main.css.scss b/_assets/css/main.css.scss index 6e0582d..5dd0802 100644 --- a/_assets/css/main.css.scss +++ b/_assets/css/main.css.scss @@ -22,7 +22,7 @@ $navbarHeight: 58px; #main { margin-top: $navbarHeight + 15px; - margin-bottom: 295px; + margin-bottom: $navbarHeight + 15px; } #main.submenu { @@ -56,4 +56,16 @@ $navbarHeight: 58px; .card.sidebar { width: 20rem; +} + +@include media-breakpoint-up(md) { + #main { + margin-bottom: 295px; + } +} + +@include media-breakpoint-down(sm) { + .md-up { + display: none; + } } \ No newline at end of file diff --git a/_includes/footer.html b/_includes/footer.html index e3c2779..fd2b498 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -12,12 +12,14 @@ {% if site.data.promotion.show %} - - {{ site.data.promotion.title }} promotional image - +
+ + {{ site.data.promotion.title }} promotional image + +
{% endif %} -
+
    {% if site.data.author.github_username %}