From 144ff70f3028fdc4684123de616bfc24bd4678b9 Mon Sep 17 00:00:00 2001 From: Saulo Klein Nery Date: Fri, 7 Oct 2022 17:46:37 -0300 Subject: [PATCH] =?UTF-8?q?Cria=20footer=20desktop=20e=20mobile=C3=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/images/facebook-icon.svg | 3 +++ assets/images/instagram-icon.svg | 5 ++++ assets/images/youtube-icon.svg | 3 +++ assets/styles/main.css | 46 ++++++++++++++++++++++++++++++++ index.html | 32 ++++++++++++++++++++++ 5 files changed, 89 insertions(+) create mode 100644 assets/images/facebook-icon.svg create mode 100644 assets/images/instagram-icon.svg create mode 100644 assets/images/youtube-icon.svg diff --git a/assets/images/facebook-icon.svg b/assets/images/facebook-icon.svg new file mode 100644 index 0000000..411b9bc --- /dev/null +++ b/assets/images/facebook-icon.svg @@ -0,0 +1,3 @@ + + + diff --git a/assets/images/instagram-icon.svg b/assets/images/instagram-icon.svg new file mode 100644 index 0000000..b4ca66b --- /dev/null +++ b/assets/images/instagram-icon.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/assets/images/youtube-icon.svg b/assets/images/youtube-icon.svg new file mode 100644 index 0000000..de6f9a7 --- /dev/null +++ b/assets/images/youtube-icon.svg @@ -0,0 +1,3 @@ + + + diff --git a/assets/styles/main.css b/assets/styles/main.css index da75005..a993a74 100644 --- a/assets/styles/main.css +++ b/assets/styles/main.css @@ -159,6 +159,34 @@ body{ line-height: 24px; } +.page-footer{ + background-color: #000; + padding: 38px 0; + display: flex; + flex-direction: column; + align-items: center; + gap: 16px; +} + +.footer-icons{ + display: flex; + list-style: none; + gap: 16px; +} + +.footer-icon{ + display: block; +} + +.footer-text-desktop, +.footer-text-mobile{ + color: #BDBDBD; + font-weight: 400; + font-size: 10px; + line-height: 12px; + text-transform: uppercase; +} + @media screen and (max-width: 414px){ .main-banner-desktop, .middle-banner-desktop{ @@ -211,6 +239,24 @@ body{ font-size: 24px; line-height: 20px; } + + .page-footer{ + padding: 38px 76px 26px; + } + + .footer-text-desktop{ + display: none; + } + + .footer-text-mobile{ + text-align: center; + } +} + +@media screen and (min-width: 769px){ + .footer-text-mobile{ + display: none; + } } @media screen and (min-width: 769px) and (max-width:1200px){ diff --git a/index.html b/index.html index bd44c62..b0c71e6 100644 --- a/index.html +++ b/index.html @@ -132,5 +132,37 @@ + + \ No newline at end of file