-
Notifications
You must be signed in to change notification settings - Fork 0
/
tab-mobile.html
64 lines (62 loc) · 1.55 KB
/
tab-mobile.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<html>
<title>New Tab</title>
<link rel="stylesheet" href="styleold.css">
<link rel="stylesheet" href="style-mobile.css">
<link rel="icon" type="image/x-icon" href="Clygro Logo Haloween 2023.svg">
<body onload="startTime()">
<center>
<style>
body {
color: white;
background-image: url("banner.svg");
background-size: cover;
background-color: #020432;
backdrop-filter: brightness(0.5) blur(0px);
background-position: center top;
}
</style>
<script>
function startTime() {
var today = new Date();
var hr = today.getHours();
var min = today.getMinutes();
var sec = today.getSeconds();
//Add a zero in front of numbers<10
min = checkTime(min);
sec = checkTime(sec);
document.getElementById("clock").innerHTML = hr + " : " + min + " : " + sec;
var time = setTimeout(function(){ startTime() }, 500);
}
function checkTime(i) {
if (i < 10) {
i = "0" + i;
}
return i;
}
</script>
<div class="status">
<div id="clockdate">
<div class="clockdate-wrapper">
<div id="clock"></div>
<div id="date"></div>
</div>
</div>
</div>
<br>
<div class="shortcuts">
<div class="youtube">
<a href="https://www.youtube.com/">YouTube</a></div>
<div class="reddit">
<a href="https://www.reddit.com/">Reddit</a></div>
<div class="google">
<a href="https://www.google.com/">Google</a></div>
<div class="twitter">
<a href="https://www.twitter.com/">Twitter</a></div>
<div class="twitch">
<a href="https://www.twitch.tv/">Twitch</a></div>
<div class="more">
<a href="twitch.tv">More</a></div>
</center>
</div>
</body>
</html>