From 48036c03a711d55bf9cd5101a13b2cd0b973024c Mon Sep 17 00:00:00 2001 From: emerson Date: Tue, 8 Apr 2025 20:18:03 -0300 Subject: [PATCH] fix bernado image, fix images --- _includes/people.html | 2 +- assets/css/atual.css | 10 ++++++++-- collections/_people/ Bernardo Martins Corrêa.md | 2 +- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/_includes/people.html b/_includes/people.html index 991781c..3a2b278 100644 --- a/_includes/people.html +++ b/_includes/people.html @@ -1,7 +1,7 @@
- +

{{ people_item.name }}

diff --git a/assets/css/atual.css b/assets/css/atual.css index d8d4057..f80b33b 100644 --- a/assets/css/atual.css +++ b/assets/css/atual.css @@ -227,12 +227,18 @@ h1, h2, h3, h4, h5, h6 { } -.peoples .box .rounded{ +.peoples .box .rounded { background: var(--cornflower-blue); width: 200px; height: 200px; - border-radius: 50%; + overflow: hidden; /* Corta a imagem excedente */ +} + +.peoples .box .rounded img { + width: 100%; /* Preenche a largura do contêiner */ + height: 100%; /* Preenche a altura do contêiner */ + object-fit: cover; /* Mantém a proporção e cobre o espaço */ } .peoples .box h4{ diff --git a/collections/_people/ Bernardo Martins Corrêa.md b/collections/_people/ Bernardo Martins Corrêa.md index 0af41ba..0ea373f 100644 --- a/collections/_people/ Bernardo Martins Corrêa.md +++ b/collections/_people/ Bernardo Martins Corrêa.md @@ -3,7 +3,7 @@ name: Bernardo Martins Corrêa descricao: grouped_by: - master_students -img: /assets/people/ Bernardo Martins Corrêa.png +img: /assets/people/ Bernardo Martins Corrêa .png github: https://github.com/Bentroen lattes: http://lattes.cnpq.br/6550511332935264 ---