From 000f0751af4e3940fe3403599c6b6ab9b8d81b67 Mon Sep 17 00:00:00 2001 From: Julia Date: Thu, 10 Oct 2024 09:49:13 -0300 Subject: [PATCH 1/3] Mobile adjusts on the contact page --- .../assets/scss/6-pages/_p-page-fale-conosco.scss | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/themes/midia-ninja-theme/assets/scss/6-pages/_p-page-fale-conosco.scss b/themes/midia-ninja-theme/assets/scss/6-pages/_p-page-fale-conosco.scss index b93ed836..84e0bc99 100644 --- a/themes/midia-ninja-theme/assets/scss/6-pages/_p-page-fale-conosco.scss +++ b/themes/midia-ninja-theme/assets/scss/6-pages/_p-page-fale-conosco.scss @@ -70,7 +70,7 @@ .coluna-contato-mobile { padding-top: 40px; padding-left: 18px; - fill: rgba(51, 51, 51, 0.7); + background-color: rgba(51, 51, 51, 0.70); backdrop-filter: blur(10.699999809265137px); } } @@ -258,6 +258,10 @@ border: none; margin-left: 0; color: #FFF; + + @include mobile { + position: unset; + } } } } From 40b8ff879d0d88806fd07876f2b767ee139d9c47 Mon Sep 17 00:00:00 2001 From: Julia Date: Thu, 10 Oct 2024 09:50:36 -0300 Subject: [PATCH 2/3] Mobile adjusts on the home page --- .../scss/5-blocks/_b-newspack-blocks-homepage-articles.scss | 4 ++-- themes/midia-ninja-theme/assets/scss/6-pages/_p-home.scss | 3 ++- .../library/blocks/src/latest-horizontal-posts/style.scss | 4 ++++ 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/themes/midia-ninja-theme/assets/scss/5-blocks/_b-newspack-blocks-homepage-articles.scss b/themes/midia-ninja-theme/assets/scss/5-blocks/_b-newspack-blocks-homepage-articles.scss index 4dcbab9e..283d0011 100644 --- a/themes/midia-ninja-theme/assets/scss/5-blocks/_b-newspack-blocks-homepage-articles.scss +++ b/themes/midia-ninja-theme/assets/scss/5-blocks/_b-newspack-blocks-homepage-articles.scss @@ -230,6 +230,7 @@ top: 56%; @include mobile { + background: linear-gradient(180deg, rgba(51, 51, 51, 0.00) 0%, #333 75%); border-radius: 8px; gap: .2rem; padding: size(20) size(20); @@ -237,7 +238,6 @@ //height: 100%; //top: 0; position: absolute; - } .cat-links { @@ -382,7 +382,7 @@ border-radius: 8px; @include mobile { - background: linear-gradient(180deg, rgba(51, 51, 51, 0.00) 0%, #333 50.5%); + background: linear-gradient(180deg, rgba(51, 51, 51, 0.00) 0%, #333 65%); height: 100%; top: 0; padding: 16px 16px 12px; diff --git a/themes/midia-ninja-theme/assets/scss/6-pages/_p-home.scss b/themes/midia-ninja-theme/assets/scss/6-pages/_p-home.scss index 77140c64..05bd4fc0 100644 --- a/themes/midia-ninja-theme/assets/scss/6-pages/_p-home.scss +++ b/themes/midia-ninja-theme/assets/scss/6-pages/_p-home.scss @@ -285,6 +285,7 @@ li { margin: 0; + max-width: 110%; } } } @@ -297,7 +298,7 @@ .slide, .post-content { @media (max-width: 782px) { - width: calc(100vw - 30px) !important; + width: calc(50vw - 30px) !important; } } diff --git a/themes/midia-ninja-theme/library/blocks/src/latest-horizontal-posts/style.scss b/themes/midia-ninja-theme/library/blocks/src/latest-horizontal-posts/style.scss index cf9b3cfa..92f4ba08 100644 --- a/themes/midia-ninja-theme/library/blocks/src/latest-horizontal-posts/style.scss +++ b/themes/midia-ninja-theme/library/blocks/src/latest-horizontal-posts/style.scss @@ -286,6 +286,10 @@ margin-right: auto; } + @media (max-width: 769px){ + width: 230px; + } + .slick-arrow { background-color: var(--wp--preset--color--secondary-light); background-image: url("./images/slider-arrow.svg"); From d1015f346b1c5a931b30e2756535ea4fd3f0c97e Mon Sep 17 00:00:00 2001 From: Julia Date: Thu, 10 Oct 2024 09:52:37 -0300 Subject: [PATCH 3/3] Update theme version --- themes/midia-ninja-theme/style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/midia-ninja-theme/style.css b/themes/midia-ninja-theme/style.css index 99a7bb51..eaf3c21e 100644 --- a/themes/midia-ninja-theme/style.css +++ b/themes/midia-ninja-theme/style.css @@ -4,7 +4,7 @@ Theme URI: https://hacklab.com.br/ Author: Hacklab Author URI: https://hacklab.com.br/ Description: Tema base para desenvolvimento de novos sites. -Version: 1.1.55 +Version: 1.1.56 License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Tags: black, brown, orange, tan, white, yellow, light, one-column, two-columns, right-sidebar, flexible-width, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, translation-ready