From 1ec6893de9557e8198710a68f4fd0f922c66c2dc Mon Sep 17 00:00:00 2001 From: Saulo Klein Nery Date: Mon, 24 Oct 2022 14:47:28 -0300 Subject: [PATCH] perf: Altera a forma de renderizar os banners superiores e inferiores da pagina --- index.html | 18 ++++++++++-------- styles/main.css | 14 ++------------ 2 files changed, 12 insertions(+), 20 deletions(-) diff --git a/index.html b/index.html index 74e29e2..ea6bcba 100644 --- a/index.html +++ b/index.html @@ -26,10 +26,11 @@
-
- Banner Principal Desktop - Banner Principal Mobile -
+ + + + Banner Principal +
@@ -160,10 +161,11 @@

-
- Banner Inferior Desktop - Banner Inferior Mobile -
+ + + + Banner Inferior +
diff --git a/styles/main.css b/styles/main.css index 6f58433..9daddb7 100644 --- a/styles/main.css +++ b/styles/main.css @@ -154,7 +154,7 @@ body{ max-width: 29%; } -.bottom-article-figure{ +.bottom-article-picture{ width: 71%; } @@ -195,11 +195,6 @@ body{ } @media screen and (max-width: 1024px){ - .main-banner-desktop, - .bottom-banner-desktop{ - display: none; - } - .top-infocard{ margin-bottom: 90px; } @@ -293,7 +288,7 @@ body{ line-height: 29px; } - .bottom-article-figure{ + .bottom-article-picture{ width: 100%; } @@ -308,11 +303,6 @@ body{ } @media screen and (min-width: 1025px){ - .main-banner-mobile, - .bottom-banner-mobile{ - display: none; - } - .top-infocard-description{ text-align: left; }