From: Michael Tremer Date: Mon, 22 Oct 2018 10:31:17 +0000 (+0100) Subject: footer: Make sure that spacing is always present X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0509f6fd6c851d4cfe8a2c9029e6773c71c9c473;p=ipfire.org.git footer: Make sure that spacing is always present Signed-off-by: Michael Tremer --- diff --git a/src/scss/style.scss b/src/scss/style.scss index 18069ecd..68f4d7c2 100644 --- a/src/scss/style.scss +++ b/src/scss/style.scss @@ -117,39 +117,42 @@ footer { margin-top: auto; .footer { - margin-top: $spacer * 4; - padding: 2rem 0 0 0; + margin-top: $spacer * 3; - color: $white; - background-color: rgba($gray-400, .04); + .footer-info { + padding: 2rem 0 0 0; - @include media-breakpoint-down(md) { - padding-top: 31px; - } + color: $white; + background-color: rgba($gray-400, .04); - a, .btn-link { - color: inherit; + @include media-breakpoint-down(md) { + padding-top: 31px; + } - &:hover { + a, .btn-link { color: inherit; + + &:hover { + color: inherit; + } } - } - ul { - li { - margin-bottom: $spacer / 4; + ul { + li { + margin-bottom: $spacer / 4; + } } } - } - .copyright { - background-color: rgba($gray-400, .06); - padding: $spacer 0; + .copyright { + background-color: rgba($gray-400, .06); + padding: $spacer 0; - font-size: $small-font-size; + font-size: $small-font-size; - a { - color: $text-muted; + a { + color: $text-muted; + } } } } diff --git a/src/templates/base.html b/src/templates/base.html index 7b0e7a59..356e01e9 100644 --- a/src/templates/base.html +++ b/src/templates/base.html @@ -145,99 +145,101 @@ {% block footer %}