diff --git a/user/themes/epau-antimatter/css-compiled/template.css b/user/themes/epau-antimatter/css-compiled/template.css index 4736393..fa7f557 100644 --- a/user/themes/epau-antimatter/css-compiled/template.css +++ b/user/themes/epau-antimatter/css-compiled/template.css @@ -1276,6 +1276,9 @@ ul.pagination { padding: 0.8rem; } #new-footer .tothetop { bottom: 37rem; } } + @media (max-width: 768px) { + #new-footer .tothetop { + bottom: 16rem !important; } } @media (max-width: 1024px) { #new-footer .footer .contact img { max-height: 1.5rem; } diff --git a/user/themes/epau-antimatter/scss/template/_custom.scss b/user/themes/epau-antimatter/scss/template/_custom.scss index 4d6e524..8d5cafe 100644 --- a/user/themes/epau-antimatter/scss/template/_custom.scss +++ b/user/themes/epau-antimatter/scss/template/_custom.scss @@ -790,35 +790,26 @@ .tothetop { bottom: $footer-height + 31rem; } - - + } + @media (max-width: 768px) { + .tothetop { + bottom: $footer-height + 10rem !important; + } } @media (max-width: 1024px) { .footer { - .contact { - img { - max-height: 1.5rem; - } - h6 { - font-size:0.8rem; - } - p { - font-size: 0.8rem; - } - svg { - margin-bottom: 0.6rem; - } + img {max-height: 1.5rem;} + h6 {font-size:0.8rem;} + p {font-size: 0.8rem;} + svg {margin-bottom: 0.6rem;} } .footer-logos { - img { padding: 0.5rem; - &:last-of-type { padding: 0.8rem; - } } } @@ -828,6 +819,7 @@ } } + }