From 7b0dcf76c839898f4905d5b9bcebe418f9d3deee Mon Sep 17 00:00:00 2001 From: fkDeath Date: Sat, 9 May 2026 20:05:39 +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=20and=20paragraph=20font-size?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/css/squares-lore.css | 47 +++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/public/css/squares-lore.css b/public/css/squares-lore.css index 0bdb0f6..4590bc9 100644 --- a/public/css/squares-lore.css +++ b/public/css/squares-lore.css @@ -115,3 +115,50 @@ 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; + } +} + +@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; + } +}