Add ─ Ultrawide responsive breakpoints (1920px, 2560px, 3440px, 5120px) for grid layout and div-content padding
This commit is contained in:
1 file changed
+35
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user