add-license-1
Guuq 5 years ago
parent 1d737d3ec4
commit 2afe5da2dc

@ -24,7 +24,7 @@ svg {
padding: 1rem;
font-family: 'Open Sans', sans-serif;
}
.time {
section div p {
display: inline-block;
font-size: 8rem;
margin: 0;

@ -22,7 +22,7 @@
<section class="box">
<!-- Clock -->
<div id="timeBox">
<p id="hours" class="time">uren</p><p id="mins" class="time">:minuten</p><br>
<p id="hours">uren</p><p id="mins">:minuten</p><p id="secs">:seconden</p><br>
<p id="date">datum</p>
</div> <br>

10
js.js

@ -8,10 +8,16 @@ function showTime() {
var days = ["Zondag","Maandag","Dinsdag","Woensdag","Donderdag","Vrijdag","Zaterdag"]
var months = ["Januari", "Februari", "Maart", "April", "Mei", "Juni", "Juli", "Augustus", "September", "Oktober", "November", "December"]
if (date.getMinutes() < 10) {
d("mins").innerHTML = "0" + date.getMinutes()
d("mins").innerHTML = "0" + date.getMinutes() + ":"
}
else {
d("mins").innerHTML = date.getMinutes()
d("mins").innerHTML = date.getMinutes() + ":"
}
if (date.getSeconds() < 10) {
d("secs").innerHTML = "0" + date.getSeconds()
}
else {
d("secs").innerHTML = date.getSeconds()
}
d("hours").innerHTML = date.getHours() + ":"
d("date").innerHTML = days[date.getDay()] + " " + date.getDate() + " " + months[date.getMonth()];

@ -12,8 +12,14 @@
<title>Vuurjongen en Watermeisje</title>
</head>
<body>
<style>
iframe {
width: 100%;
height: 100%;
}
</style>
<iframe id="game" src="https://html5.gamedistribution.com/3790681b69584409b7f681a8e400102d/" allowfullscreen></iframe>
<iframe id="game" frameborder="0" src="https://html5.gamedistribution.com/3790681b69584409b7f681a8e400102d/" allowfullscreen></iframe>
<script src="/resources/js/navbar.json.js"></script>
<script src="/resources/js/insertNavbar.js"></script>