forked from Hamidcc/de
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnav.html
92 lines (81 loc) · 2.47 KB
/
nav.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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<script src="/./key.js"></script>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!--
<link href="https://fonts.googleapis.com/css2?family=Oswald:wght@400;700&display=swap" rel="stylesheet">
<style>
.taskbar {
position: fixed;
top: 95%;
right: 0;
transform: translateY(-50%);
width: 100%;
height: 60px;
background-color: transparent;
backdrop-filter: blur(20px);
backface-visibility: visible;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 10px;
font-family: 'Oswald', sans-serif; /* Set font family */
font-weight: bold; /* Set bold style */
}
.icons {
display: flex;
align-items: center;
justify-content: space-evenly; /* Adjusted centering method */
}
.icons a {
margin: 0 15px; /* Removed individual left margin for each icon */
}
.icons img {
width: 24px;
height: 24px;
fill: #fff; /* Adjust icon color as needed */
}
.system-tray {
display: flex;
align-items: center;
}
.date-time {
margin-right: 10px;
font-size: 12px;
color: #fff;
}
.battery-percentage {
font-size: 12px;
color: #fff;
}
a[onclick="openRandomStudyResource()"] img {
cursor: pointer;
}
</style>
</head>
<body>
<div class="taskbar">
<div class="icons">
<a href="/./go.html"><img src="/./solar.png"></a>
<a href="/./chat"><img src="/./chat/favicon.ico"></a>
<a onclick="openRandomStudyResource()"><img src="https://play-lh.googleusercontent.com/w0s3au7cWptVf648ChCUP7sW6uzdwGFTSTenE178Tz87K_w1P1sFwI6h1CLZUlC2Ug"></a>
<a href="/./" style="text-decoration: none; color: white;">
<p>:(</p>
</a>
</div>
<div class="system-tray">
<span class="date-time"></span>
<span class="battery-percentage"> </span> </div>
</div>
<script>
// Update the time every second (without displaying seconds)
setInterval(() => {
const now = new Date();
const dateString = now.toLocaleDateString();
const timeString = now.toLocaleTimeString('short', { hour12: false }); // Remove seconds
const dateTimeElement = document.querySelector('.date-time');
dateTimeElement.textContent = `${dateString} ${timeString}`;
}, 1000); // Update every 1000 milliseconds (1 second)
</script>
</body>
-->