This commit is contained in:
howard
2023-04-06 10:13:21 +02:00
commit 132b735d79
35 changed files with 2328 additions and 0 deletions

22
klarkapodzim/index.css Normal file

File diff suppressed because one or more lines are too long

42
klarkapodzim/index.html Normal file
View File

@@ -0,0 +1,42 @@
<link rel="stylesheet" href="index.css" name="main-style" type="text/css">
<div>
<p id="demo_klara_time" style="font-size:50px;text-align: center;"></p>
<meta charset="UTF-8">
<p style="font-size:50px;text-align: center;">takže bych to viděl někdy na podzim</p>
<script>
// Set the date we're counting down to
var countDownDate = new Date("Sep 23, 2022 00:00:00").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_klara_time"
document.getElementById("demo_klara_time").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("demo_klara_time").innerHTML = "EXPIRED";
}
}, 1000);
</script>
</p>
</div>
<p align="center">
<iframe src="https://giphy.com/embed/n7KBLYG0Yqs0aZa4iP" width="480" height="423" frameBorder="0" class="giphy-embed" allowFullScreen></iframe><p><a href="https://giphy.com/gifs/CAinLA-i-love-you-ca-in-la-cainla-n7KBLYG0Yqs0aZa4iP"></a></p>
</p>