Add ─ Ultrawide responsive breakpoints (1920px, 2560px, 3440px, 5120px) for grid layout and div-content padding

This commit is contained in:
nocode committed 2026-05-09 20:05:55 +02:00
1 parent 7b0dcf76c8
commit 69fe5d0221
1 file changed
+35
+35
View File
@@ -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);
}
}