From b0fa432fee8e433d9d8d85502a47d08ae9829bae Mon Sep 17 00:00:00 2001 From: Redume Date: Sun, 22 Sep 2024 18:34:23 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A4=D0=B8=D0=BA=D1=81=20=D1=84=D1=83=D1=82?= =?UTF-8?q?=D0=B5=D1=80=D0=B0,=20=D1=82=D0=B5=D0=BF=D0=B5=D1=80=D1=8C=20?= =?UTF-8?q?=D0=BD=D0=B0=20=D0=BA=D0=BE=D0=BC=D0=BF=D0=B5=20=D0=B8=20=D1=82?= =?UTF-8?q?=D0=B5=D0=BB=D0=B5=D1=84=D0=BE=D0=BD=D0=B5=20=D0=BF=D1=80=D0=B8?= =?UTF-8?q?=D0=B6=D0=B0=D1=82=D0=BE=20=D0=BA=20=D0=BD=D0=B8=D0=B7=D1=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/web/static/styles/index.css | 38 ++++++++++++++++----------------- 1 file changed, 18 insertions(+), 20 deletions(-) diff --git a/src/web/static/styles/index.css b/src/web/static/styles/index.css index 5e8fd46..fdbe926 100644 --- a/src/web/static/styles/index.css +++ b/src/web/static/styles/index.css @@ -84,27 +84,13 @@ body { } -.footer-wrapper { - position: relative; - min-height: 100%; -} - -footer { - flex: 0 0 auto; - width: 100%; - background: rgba(0, 0, 0, 0.39); - position: absolute; - left: 0; - bottom: 0; -} - footer p{ word-wrap: break-word; text-align: center; } -footer a:visited { +footer a { color: white } @@ -114,6 +100,22 @@ footer a:visited { } } +@media (max-width: 768px) { + .footer-wrapper { + position: relative; + min-height: 100%; + } + + footer { + flex: 0 0 auto; + width: 100%; + background: rgba(0, 0, 0, 0.39); + position: absolute; + left: 0; + bottom: 0; + } +} + @media (min-width: 1200px) { .desc { font-size: 24px; @@ -125,12 +127,8 @@ footer a:visited { gap: 200px; } - .footer-wrapper { - position: relative; - min-height: 100%; - } - footer { + flex: 0 0 auto; width: 100%; background: rgba(0, 0, 0, 0.39); position: absolute;