diff --git a/html/src/css/style.css b/html/src/css/style.css index 1a035453..3c3b3ae0 100755 --- a/html/src/css/style.css +++ b/html/src/css/style.css @@ -289,7 +289,21 @@ footer { } .articles-list .article-illustration { - padding-right: 1em; + margin-right: 1em; + height: 8em; + width: 14em; + overflow: hidden; + border-radius: 10px; + display: flex; + align-items: center; + justify-content: center; +} + +.articles-list .article-illustration img { + border-radius: 0; + height: 100%; + width: 100%; + object-fit: cover; } .articles-list .article-miniature { @@ -573,15 +587,11 @@ footer { .articles-list .article-illustration { margin: 0 auto; padding: 2em 0; - height: 9em; - overflow: hidden; - border-radius: 10px; } .articles-list .article-illustration img { max-width: 100%; margin: 0 auto; - border-radius: 0; } .articles-list .article-info {