Add ─ Ultrawide responsive breakpoints (1920px, 2560px, 3440px, 5120px) for grid layout and div-content height
This commit is contained in:
2 files changed
+88
No files matched your search
@@ -91,3 +91,41 @@
|
|||||||
padding-bottom: 0rem;
|
padding-bottom: 0rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* --- Ultrawide / Grand écran --- */
|
||||||
|
|
||||||
|
@media screen and (min-width: 1920px) {
|
||||||
|
.grid {
|
||||||
|
grid-template-columns: repeat(4, 26rem);
|
||||||
|
grid-template-rows: auto;
|
||||||
|
gap: 4.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
#div-content {
|
||||||
|
height: auto;
|
||||||
|
min-height: 55rem;
|
||||||
|
padding-bottom: 12rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (min-width: 2560px) {
|
||||||
|
.grid {
|
||||||
|
grid-template-columns: repeat(4, 32rem);
|
||||||
|
gap: 5rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (min-width: 3440px) {
|
||||||
|
.grid {
|
||||||
|
grid-template-columns: repeat(4, 38rem);
|
||||||
|
gap: 6rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Samsung Odyssey G9 — 5120x1440 */
|
||||||
|
@media screen and (min-width: 5120px) {
|
||||||
|
.grid {
|
||||||
|
grid-template-columns: repeat(4, 48rem);
|
||||||
|
gap: 7rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -78,3 +78,53 @@ body #div-content {
|
|||||||
padding-bottom: 0rem;
|
padding-bottom: 0rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* --- Ultrawide / Grand écran --- */
|
||||||
|
|
||||||
|
@media screen and (min-width: 1920px) {
|
||||||
|
.grid {
|
||||||
|
grid-template-columns: repeat(3, 26rem);
|
||||||
|
grid-template-rows: auto;
|
||||||
|
gap: 4.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
body #div-content {
|
||||||
|
height: auto;
|
||||||
|
min-height: 55rem;
|
||||||
|
padding-bottom: 12rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (min-width: 2560px) {
|
||||||
|
.grid {
|
||||||
|
grid-template-columns: repeat(3, 32rem);
|
||||||
|
gap: 5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
body #div-content {
|
||||||
|
min-height: 68rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (min-width: 3440px) {
|
||||||
|
.grid {
|
||||||
|
grid-template-columns: repeat(3, 38rem);
|
||||||
|
gap: 6rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
body #div-content {
|
||||||
|
min-height: 82rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Samsung Odyssey G9 — 5120x1440 */
|
||||||
|
@media screen and (min-width: 5120px) {
|
||||||
|
.grid {
|
||||||
|
grid-template-columns: repeat(3, 48rem);
|
||||||
|
gap: 7rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
body #div-content {
|
||||||
|
min-height: 105rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in new issue
Block a user