mirror of
https://gitlab.com/octospacc/octospacc.gitlab.io
synced 2025-06-05 21:59:15 +02:00
Fix gif location
This commit is contained in:
@@ -9,7 +9,7 @@ a:active {
|
|||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
background-image: url(../Media/BG/0.gif);
|
background-image: url(/Web-ThirdParty-Unknown/Assets/Media/Backgrounds/0.gif);
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
function RandomGIF() {
|
function RandomGIF() {
|
||||||
GifID = Math.floor((Math.random() * 25)/2);
|
GifID = Math.floor((Math.random() * 25)/2);
|
||||||
GifURL = "Web-ThirdParty-Unknown/Assets/Media/Backgrounds/" + GifID + ".gif";
|
GifURL = "/Web-ThirdParty-Unknown/Assets/Media/Backgrounds/" + GifID + ".gif";
|
||||||
document.body.style.backgroundImage = "url(" + GifURL + ")";
|
document.body.style.backgroundImage = "url(" + GifURL + ")";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user