diff --git a/style.css b/style.css index 01ee7f8..3cf8b65 100644 --- a/style.css +++ b/style.css @@ -354,9 +354,9 @@ button[type="reset"] { } /* PORTADA -> SECTION CAMPAÑA */ -.section-campana-conflictos .card-img-fixed { - min-height: 300px; - max-height: 300px; +.page-portada .section-campana-conflictos .card-img-fixed { + min-height: 350px; + max-height: 350px; object-fit: cover; width: 100%; } @@ -386,13 +386,17 @@ button[type="reset"] { /* efecto img */ .page-portada .img-noticias, -.posts-noticias .img-noticias { +.page-portada .img-noticias-small, +.posts-noticias .img-noticias, +.page-portada .section-campana-conflictos .card-img-fixed { transition: filter 0.3s ease; } /* efecto img */ .page-portada .img-noticias:hover, -.posts-noticias .img-noticias:hover { +.page-portada .img-noticias-small:hover, +.posts-noticias .img-noticias:hover, +.page-portada .section-campana-conflictos .card-img-fixed:hover { filter: grayscale(100%); } diff --git a/views/templates/page-portada.twig b/views/templates/page-portada.twig index d230d8d..e817417 100644 --- a/views/templates/page-portada.twig +++ b/views/templates/page-portada.twig @@ -96,7 +96,7 @@ {{ alt }} + class="card-img card-img-fixed" />

{{ main_article.title }} @@ -122,7 +122,7 @@ {{ alt }} + class="card-img card-img-fixed"/>