Small fixes and brought back the monospace font
This commit is contained in:
parent
d7254205e8
commit
97cd138869
|
@ -1,22 +0,0 @@
|
|||
body {
|
||||
cursor: url('/misc/piz_normal_p1.cur'), auto;
|
||||
background: #000;
|
||||
margin: 8px;
|
||||
color: #00FF00;
|
||||
font: normal 16px/20px Courier, Courier New, monospace;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #FFF;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: #EEE;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
form {
|
||||
cursor: auto;
|
||||
text-align: center;
|
||||
}
|
|
@ -3,6 +3,7 @@ body {
|
|||
background: #000;
|
||||
margin: 8px;
|
||||
color: #00FF00;
|
||||
font: normal 16px/20px Courier, Courier New, monospace;
|
||||
}
|
||||
|
||||
a {
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
var countDownDate = new Date("Aug 17, 2021 00:00:00").getTime();
|
||||
|
||||
// Update the count down every 1 second
|
||||
var x = setInterval(function() {
|
||||
var x = setInterval(function () {
|
||||
|
||||
// Get today's date and time
|
||||
var now = new Date().getTime();
|
||||
|
@ -37,14 +37,14 @@ var x = setInterval(function() {
|
|||
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 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="dethKlok"
|
||||
document.getElementById("dethKlok").innerHTML = days + "d " + hours + "h "
|
||||
+ minutes + "m " + seconds + "s ";
|
||||
document.getElementById("dethKlok").innerHTML = days + "d " + hours + "h " +
|
||||
minutes + "m " + seconds + "s ";
|
||||
|
||||
// If the count down is finished, write some text
|
||||
if (distance < 0) {
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
<img alt="character from Doom video game" src="/Pictures/Doom.gif"
|
||||
height="18"><br>
|
||||
<br>
|
||||
When will Internet Explorer be <a href="/die/">deprecated</a>?
|
||||
When will Internet Explorer be <a href="/die">deprecated</a>?
|
||||
<img alt="Internet Explorer"
|
||||
src="/Pictures/internet_explorer_classic.gif" height="22"
|
||||
style="vertical-align:bottom"><br>
|
||||
|
|
Loading…
Reference in a new issue