shrink background image

This commit is contained in:
Ell 2022-10-08 12:19:58 +02:00
parent 74d45ffd8b
commit 9ca20c56a3
3 changed files with 1 additions and 5 deletions

View file

@ -25,7 +25,3 @@
</div> </div>
</div> </div>
</div> </div>
<script>
$(".top").css("background-position", `${Math.random() * 100}% ${Math.random() * 100}%`);
</script>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 MiB

After

Width:  |  Height:  |  Size: 866 KiB

View file

@ -13,7 +13,7 @@ body {
.top { .top {
background-image: url("media/large_background.png"); background-image: url("media/large_background.png");
background-size: 400%; background-size: cover;
color: white; color: white;
} }