added demons stuff
This commit is contained in:
@@ -0,0 +1,67 @@
|
||||
body {
|
||||
background-color:black;
|
||||
font-family: 'Gochi Hand', cursive;
|
||||
}
|
||||
|
||||
a {
|
||||
color:white;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color:gray;
|
||||
}
|
||||
|
||||
#landingBack {
|
||||
margin-top: 25px;
|
||||
text-align: center;
|
||||
|
||||
-webkit-animation: fadein 2s; /* Safari, Chrome and Opera > 12.1 */
|
||||
-moz-animation: fadein 2s; /* Firefox < 16 */
|
||||
-ms-animation: fadein 2s; /* Internet Explorer */
|
||||
-o-animation: fadein 2s; /* Opera < 12.1 */
|
||||
animation: fadein 2s;
|
||||
}
|
||||
|
||||
#landingData {
|
||||
/* Animation Stuff */
|
||||
-webkit-animation: fadein 2s; /* Safari, Chrome and Opera > 12.1 */
|
||||
-moz-animation: fadein 2s; /* Firefox < 16 */
|
||||
-ms-animation: fadein 2s; /* Internet Explorer */
|
||||
-o-animation: fadein 2s; /* Opera < 12.1 */
|
||||
animation: fadein 2s;
|
||||
animation-delay: 1.3s;
|
||||
animation-fill-mode:both;
|
||||
|
||||
text-align:center;
|
||||
}
|
||||
|
||||
/* Animations */
|
||||
|
||||
@keyframes fadein {
|
||||
from { opacity: 0; }
|
||||
to { opacity: 1; }
|
||||
}
|
||||
|
||||
/* Firefox < 16 */
|
||||
@-moz-keyframes fadein {
|
||||
from { opacity: 0; }
|
||||
to { opacity: 1; }
|
||||
}
|
||||
|
||||
/* Safari, Chrome and Opera > 12.1 */
|
||||
@-webkit-keyframes fadein {
|
||||
from { opacity: 0; }
|
||||
to { opacity: 1; }
|
||||
}
|
||||
|
||||
/* Internet Explorer */
|
||||
@-ms-keyframes fadein {
|
||||
from { opacity: 0; }
|
||||
to { opacity: 1; }
|
||||
}
|
||||
|
||||
/* Opera < 12.1 */
|
||||
@-o-keyframes fadein {
|
||||
from { opacity: 0; }
|
||||
to { opacity: 1; }
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 63 KiB |
@@ -0,0 +1,31 @@
|
||||
async function generateCountdown() {
|
||||
var countDownDate = new Date("12/07/2021 11:09 AM").getTime();
|
||||
|
||||
// Update the count down every 1 second
|
||||
var x = setInterval(function() {
|
||||
|
||||
// Get today's date and time
|
||||
var now = new Date().getTime();
|
||||
|
||||
// Find the distance between now and the count down date
|
||||
var distance = countDownDate - now;
|
||||
|
||||
// Time calculations for days, hours, minutes and seconds
|
||||
var days = Math.floor(distance / (1000 * 60 * 60 * 24));
|
||||
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
||||
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
||||
|
||||
// Display the result in the element with id="demo"
|
||||
document.getElementById("countdown").innerHTML = days + "d " + hours + "h "
|
||||
+ minutes + "m " + seconds + "s ";
|
||||
|
||||
// If the count down is finished, write some text
|
||||
if (distance < 0) {
|
||||
clearInterval(x);
|
||||
document.getElementById("timeuntil").style.display = "none"
|
||||
document.getElementById("countdown").innerHTML = `Juice WRLD Day is on!<br>Watch it live on <a href="https://twitch.tv/amazonmusic" target="_blank">Amazon Music's</a> Twitch page.<br><br>
|
||||
<iframe src="https://player.twitch.tv/?channel=amazonmusic&parent=awexxx.xyz"height="50%"width="50%"allowfullscreen="true"></iframe>`;
|
||||
}
|
||||
}, 1000);
|
||||
}
|
||||
Reference in New Issue
Block a user