From 7b19031001ea742c21e2a41396c41f502c019689 Mon Sep 17 00:00:00 2001 From: burns Date: Tue, 8 Oct 2024 17:38:02 -0300 Subject: [PATCH] ajuste de layout em archives, issues #230 e #232 --- .../scss/6-pages/_p-archive-afluente.scss | 6 ++++- .../assets/scss/6-pages/_p-archive.scss | 9 +++++--- .../scss/6-pages/_p-generic-archive.scss | 23 ++++++++++++------- 3 files changed, 26 insertions(+), 12 deletions(-) diff --git a/themes/midia-ninja-theme/assets/scss/6-pages/_p-archive-afluente.scss b/themes/midia-ninja-theme/assets/scss/6-pages/_p-archive-afluente.scss index 96ebadb5..c5cacc68 100644 --- a/themes/midia-ninja-theme/assets/scss/6-pages/_p-archive-afluente.scss +++ b/themes/midia-ninja-theme/assets/scss/6-pages/_p-archive-afluente.scss @@ -17,6 +17,10 @@ main.content.col-md-12 { #app { background-color: #F5F5F5; + + a { + text-decoration: none; + } } .header-and-footer-archive { @@ -320,4 +324,4 @@ main.content.col-md-12 { margin: 64px 0px; } } -} \ No newline at end of file +} diff --git a/themes/midia-ninja-theme/assets/scss/6-pages/_p-archive.scss b/themes/midia-ninja-theme/assets/scss/6-pages/_p-archive.scss index ff4332ab..330f8b22 100644 --- a/themes/midia-ninja-theme/assets/scss/6-pages/_p-archive.scss +++ b/themes/midia-ninja-theme/assets/scss/6-pages/_p-archive.scss @@ -19,6 +19,10 @@ } } + .wp-block-newspack-blocks-homepage-articles.destaque-principal article { + border: none; + } + #app .container { main.content { width: 100%; @@ -33,8 +37,7 @@ .post-card--thumb .aspect-ratio img { width: 100%; - max-width: 370px; - max-height: 209px; + height: 209px; object-fit: cover; border-radius: 8px; } @@ -50,4 +53,4 @@ } } -} \ No newline at end of file +} diff --git a/themes/midia-ninja-theme/assets/scss/6-pages/_p-generic-archive.scss b/themes/midia-ninja-theme/assets/scss/6-pages/_p-generic-archive.scss index 36cf0ae6..624a0638 100644 --- a/themes/midia-ninja-theme/assets/scss/6-pages/_p-generic-archive.scss +++ b/themes/midia-ninja-theme/assets/scss/6-pages/_p-generic-archive.scss @@ -343,26 +343,30 @@ figure { @include mixins.small { - max-width: 300px; - height: 55px; + //max-width: 300px; + //height: 55px; + max-width: 100%; margin-right: auto; margin-left: auto; } @include mixins.mobile { - max-width: 300px; - height: 55px; + //max-width: 300px; + //height: 55px; + max-width: 100%; margin-right: auto; margin-left: auto; } img { @include mixins.small { - height: 50px; + //height: 50px; + height: 100%; } @include mixins.mobile { - height: 50px; + //height: 50px; + height: 100%; } } } @@ -405,6 +409,7 @@ margin-right: auto; margin-left: auto; align-items: center; + padding: 0 15px; } @include mixins.mobile { @@ -415,6 +420,7 @@ margin-right: auto; margin-left: auto; align-items: center; + padding: 0 15px; } .post { @@ -427,7 +433,7 @@ } @include mixins.mobile { - max-width: 328px; + max-width: 370px; width: 100%; height: auto; } @@ -468,6 +474,7 @@ &--content { display: flex; flex-direction: column-reverse; + margin-bottom: 2rem; .entry-title { color: #111111; @@ -649,4 +656,4 @@ } } } -} \ No newline at end of file +}