From 98ab9ad0e1d51e54f33c63dfa0fa5f92c8388070 Mon Sep 17 00:00:00 2001 From: ouidade Date: Wed, 19 May 2021 12:39:29 +0200 Subject: [PATCH] tothetop --- .../epau-antimatter/css-compiled/template.css | 16 ++++--------- .../scss/template/_custom.scss | 24 +++++++++---------- 2 files changed, 17 insertions(+), 23 deletions(-) diff --git a/user/themes/epau-antimatter/css-compiled/template.css b/user/themes/epau-antimatter/css-compiled/template.css index 9e8a8a5..a61b9ba 100644 --- a/user/themes/epau-antimatter/css-compiled/template.css +++ b/user/themes/epau-antimatter/css-compiled/template.css @@ -1215,12 +1215,13 @@ ul.pagination { padding: 5% 5% 5% 5%; } } #new-footer { + position: absolute; display: flex; flex-direction: column; } #new-footer .tothetop { - position: absolute; + position: relative; height: 1rem; - bottom: 16rem; + bottom: 3rem; text-align: center; left: 0; right: 0; } @@ -1286,12 +1287,7 @@ ul.pagination { #new-footer .footer .footer-logos img { padding: 0.5rem; } #new-footer .footer .footer-logos img:last-of-type { - padding: 0.8rem; } - #new-footer .tothetop { - bottom: 37rem; } } - @media (max-width: 768px) { - #new-footer .tothetop { - bottom: 16rem !important; } } + padding: 0.8rem; } } @media (max-width: 1024px) { #new-footer .footer .contact img { max-height: 1.5rem; } @@ -1304,9 +1300,7 @@ ul.pagination { #new-footer .footer .footer-logos img { padding: 0.5rem; } #new-footer .footer .footer-logos img:last-of-type { - padding: 0.8rem; } - #new-footer .tothetop { - bottom: 14rem; } } + padding: 0.8rem; } } button:focus { border: solid !important; diff --git a/user/themes/epau-antimatter/scss/template/_custom.scss b/user/themes/epau-antimatter/scss/template/_custom.scss index 6f2d9cb..6001a39 100644 --- a/user/themes/epau-antimatter/scss/template/_custom.scss +++ b/user/themes/epau-antimatter/scss/template/_custom.scss @@ -703,15 +703,15 @@ #new-footer { - // position:absolute; + position:absolute; display: flex; flex-direction: column; .tothetop { - position: absolute; + position: relative; // align-self: center; height: 1rem; - bottom: $footer-height + 10rem; + bottom: 3rem; text-align: center; left: 0; right: 0; @@ -801,14 +801,14 @@ } } } - .tothetop { - bottom: $footer-height + 31rem; - } + // .tothetop { + // bottom: $footer-height + 28rem; + // } } @media (max-width: 768px) { - .tothetop { - bottom: $footer-height + 10rem !important; - } + // .tothetop { + // bottom: $footer-height + 10rem; + // } } @media (max-width: 1024px) { @@ -828,9 +828,9 @@ } } } - .tothetop { - bottom: $footer-height + 8rem; - } + // .tothetop { + // bottom: $footer-height + 11rem; + // } }