From 8c69d9605973c93f2eba83b60d53a8ea06823484 Mon Sep 17 00:00:00 2001 From: fkDeath Date: Sat, 9 May 2026 20:05:34 +0200 Subject: [PATCH] =?UTF-8?q?Add=20=E2=94=80=20Ultrawide=20responsive=20brea?= =?UTF-8?q?kpoints=20(1920px,=202560px,=203440px,=205120px)=20for=20grid?= =?UTF-8?q?=20layout,=20paragraph=20font-size=20and=20image=20max-width?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/css/squares.css | 51 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/public/css/squares.css b/public/css/squares.css index f2bac6a..4c504cb 100644 --- a/public/css/squares.css +++ b/public/css/squares.css @@ -138,4 +138,55 @@ body #div-content { body #div-content { padding: 2rem 0 4rem; } +} + +/* --- Ultrawide / Grand écran --- */ + +@media screen and (min-width: 1920px) { + .grid { + grid-template-columns: min(80%, 110rem); + gap: 6rem; + } + + .grid-item p { + font-size: 22px; + } + + .grid-item img { + max-width: 45%; + } +} + +@media screen and (min-width: 2560px) { + .grid { + grid-template-columns: min(75%, 130rem); + gap: 7rem; + } + + .grid-item p { + font-size: 24px; + } +} + +@media screen and (min-width: 3440px) { + .grid { + grid-template-columns: min(65%, 150rem); + gap: 8rem; + } + + .grid-item p { + font-size: 26px; + } +} + +/* Samsung Odyssey G9 — 5120x1440 */ +@media screen and (min-width: 5120px) { + .grid { + grid-template-columns: min(55%, 170rem); + gap: 10rem; + } + + .grid-item p { + font-size: 28px; + } } \ No newline at end of file