Add ─ Ultrawide responsive breakpoints (1920px, 2560px, 3440px, 5120px) for nav, h1, h2 and wallpaper
This commit is contained in:
1 file changed
+75
@@ -364,3 +364,78 @@ nav legend {
|
|||||||
font-size: 10px;
|
font-size: 10px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* --- Ultrawide / Grand écran --- */
|
||||||
|
|
||||||
|
@media screen and (min-width: 1920px) {
|
||||||
|
nav {
|
||||||
|
max-width: 14rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
font-size: 72px;
|
||||||
|
}
|
||||||
|
|
||||||
|
h2 {
|
||||||
|
font-size: 36px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wallpaper {
|
||||||
|
height: 60rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (min-width: 2560px) {
|
||||||
|
nav {
|
||||||
|
max-width: 16rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
font-size: 88px;
|
||||||
|
}
|
||||||
|
|
||||||
|
h2 {
|
||||||
|
font-size: 44px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wallpaper {
|
||||||
|
height: 65rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (min-width: 3440px) {
|
||||||
|
nav {
|
||||||
|
max-width: 18rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
font-size: 106px;
|
||||||
|
}
|
||||||
|
|
||||||
|
h2 {
|
||||||
|
font-size: 52px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wallpaper {
|
||||||
|
height: 72rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Samsung Odyssey G9 — 5120x1440 */
|
||||||
|
@media screen and (min-width: 5120px) {
|
||||||
|
nav {
|
||||||
|
max-width: 20rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
font-size: 128px;
|
||||||
|
}
|
||||||
|
|
||||||
|
h2 {
|
||||||
|
font-size: 62px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wallpaper {
|
||||||
|
height: 80rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in new issue
Block a user