mirror of
https://github.com/Ellpeck/TinyLifeWeb.git
synced 2024-11-26 04:48:34 +01:00
shrink background image
This commit is contained in:
parent
74d45ffd8b
commit
9ca20c56a3
3 changed files with 1 additions and 5 deletions
|
@ -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 |
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue