From 69fe5d02213e0f17f576a9882bbd2ce4f18e8e91 Mon Sep 17 00:00:00 2001 From: fkDeath Date: Sat, 9 May 2026 20:05:55 +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=20div-content=20padding?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/css/squares-solar.css | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/public/css/squares-solar.css b/public/css/squares-solar.css index 4f327bd..54c9f6d 100644 --- a/public/css/squares-solar.css +++ b/public/css/squares-solar.css @@ -148,3 +148,38 @@ body #div-content { padding: 0.6rem; } } + +/* --- Ultrawide / Grand écran --- */ + +@media screen and (min-width: 1920px) { + .grid { + position: relative; + grid-template-columns: repeat(1, 120rem); + grid-template-rows: auto; + margin-top: 3rem; + } + + body #div-content { + height: auto; + padding-bottom: 8rem; + } +} + +@media screen and (min-width: 2560px) { + .grid { + grid-template-columns: repeat(1, 145rem); + } +} + +@media screen and (min-width: 3440px) { + .grid { + grid-template-columns: repeat(1, 170rem); + } +} + +/* Samsung Odyssey G9 — 5120x1440 */ +@media screen and (min-width: 5120px) { + .grid { + grid-template-columns: repeat(1, 210rem); + } +}