From cd3410b2d696c2c500e99f562c7589d008afcfde Mon Sep 17 00:00:00 2001 From: Tony AVERTY Date: Thu, 3 Sep 2026 13:34:13 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20ajuste=20le=20cadrage=20du=20portrait=20?= =?UTF-8?q?et=20les=20propri=C3=A9t=C3=A9s=20CSS?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Aligne le portrait avec le titre À propos, réduit légèrement sa hauteur pour masquer les mains et ajoute les propriétés CSS standards de compatibilité. --- assets/css/style.css | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/assets/css/style.css b/assets/css/style.css index 3760232..8a35b7e 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -997,10 +997,16 @@ a:hover { position: relative; border-radius: var(--radius-lg); overflow: hidden; - aspect-ratio: 4 / 5; + aspect-ratio: 4 / 4.85; background-color: var(--bg-tertiary); } +@media (min-width: 901px) { + .about__photo-frame { + margin-top: var(--space-md); + } +} + .about__photo-frame::before { content: ''; position: absolute; @@ -1313,6 +1319,7 @@ a:hover { margin-bottom: var(--space-md); display: -webkit-box; -webkit-line-clamp: 2; + line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } @@ -1743,10 +1750,12 @@ a:hover { .form__input--captcha::-webkit-outer-spin-button, .form__input--captcha::-webkit-inner-spin-button { -webkit-appearance: none; + appearance: none; margin: 0; } .form__input--captcha[type=number] { -moz-appearance: textfield; + appearance: textfield; } .form__submit-loader {