From: Michael Tremer Date: Tue, 3 Nov 2020 13:01:59 +0000 (+0000) Subject: index: Update design of footer X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=deae0443e43a9b26fcaaccfec0ef47e33e08465e;p=ipfire.org.git index: Update design of footer Signed-off-by: Michael Tremer --- diff --git a/src/scss/_variables.scss b/src/scss/_variables.scss index eb09aaf7..319b5803 100644 --- a/src/scss/_variables.scss +++ b/src/scss/_variables.scss @@ -66,7 +66,7 @@ $h1-font-size: 3.75rem; $h2-font-size: 2.5rem; $h3-font-size: 2.25rem; $h4-font-size: 1.875rem; -$h5-font-size: 1.5rem; +$h5-font-size: 1.625rem; $h6-font-size: 1.25rem; $display1-size: 5rem; diff --git a/src/scss/style.scss b/src/scss/style.scss index 9221a44d..2627c5c3 100644 --- a/src/scss/style.scss +++ b/src/scss/style.scss @@ -156,42 +156,22 @@ footer { margin-top: auto; .footer { - margin-top: $spacer * 3; + margin: ($spacer * 2) 0; - .footer-info { - padding: 2rem 0 0 0; + ul { + @include list-unstyled(); - color: $white; - background-color: rgba($gray-400, .04); - - @include media-breakpoint-down(md) { - padding-top: 31px; - } - - a, .btn-link { - color: inherit; - - &:hover { - color: inherit; - } - } - - ul { - li { - margin-bottom: $spacer / 4; - } + li { + padding: ($spacer / 2) 0; } } + } - .copyright { - background-color: rgba($gray-400, .06); - padding: $spacer 0; - - font-size: $small-font-size; + .footer-link { + color: inherit; - a { - color: $text-muted; - } + &:hover { + color: inherit; } } } diff --git a/src/templates/base.html b/src/templates/base.html index 82efc453..5598700c 100644 --- a/src/templates/base.html +++ b/src/templates/base.html @@ -273,122 +273,81 @@ {% block footer %}