Added mobile background

This commit is contained in:
Patrick Alvin Alcala 2025-11-05 10:38:29 +08:00
parent bc67d9a445
commit b3b23c3ac6
4 changed files with 6 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 163 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

View file

@ -17,6 +17,12 @@
background-attachment: fixed background-attachment: fixed
background-size: cover background-size: cover
@media only screen and (max-width: views.$mobile)
background-image: url('/src/assets/images/optimized/background-mobile.avif'), url('/src/assets/images/optimized/background-mobile.webp')
min-width: 100vw
min-height: 100vh
object-fit: fill
.close-text .close-text
padding: 3rem 0 0 0 padding: 3rem 0 0 0
font-size: 0.75rem font-size: 0.75rem