Use mobile2.jpg for mobile devices background
- Mobile devices now use mobile2.jpg (1106x3070, 1.6 MB) - Desktop continues to use desktop.webp - Better composition for mobile screen aspect ratio
This commit is contained in:
@@ -1,12 +1,12 @@
|
|||||||
/* Adaptive Background Images for Mobile and Desktop */
|
/* Adaptive Background Images for Mobile and Desktop */
|
||||||
|
|
||||||
/* Mobile devices (max-width: 736px) - Use desktop.webp (same as desktop for consistency) */
|
/* Mobile devices (max-width: 736px) - Use mobile2.jpg */
|
||||||
@media screen and (max-width: 736px) {
|
@media screen and (max-width: 736px) {
|
||||||
#wrapper > .bg {
|
#wrapper > .bg {
|
||||||
background-image: url('../../images/overlay.png'),
|
background-image: url('../../images/overlay.png'),
|
||||||
linear-gradient(0deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)),
|
linear-gradient(0deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)),
|
||||||
url('../../images/desktop.webp') !important;
|
url('../../images/mobile2.jpg') !important;
|
||||||
background-size: 800%;
|
background-size: cover;
|
||||||
background-position: center;
|
background-position: center;
|
||||||
background-attachment: fixed;
|
background-attachment: fixed;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user