-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdf-log.html
More file actions
34 lines (34 loc) · 998 Bytes
/
df-log.html
File metadata and controls
34 lines (34 loc) · 998 Bytes
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
<!DOCTYPE html>
<html>
<head>
<style>
body {
margin: 0;
padding: 0;
background-color: #000; /* Fond noir pour éviter les flashs blancs au reload */
overflow: hidden;
}
iframe {
width: 100vw;
height: 100vh;
border: none;
/* C'est ici que la magie opère : Inversion des couleurs + teinte verte */
filter: invert(1) hue-rotate(120deg) saturate(3) contrast(1.5);
display: block;
}
</style>
<script>
// Votre logique de rafraichissement est conservée
function timedRefresh(timeoutPeriod) {
setTimeout("location.reload(true);", timeoutPeriod);
}
// Adaptez la durée ici selon le fichier (ex: 11000 pour le CPU)
window.onload = timedRefresh(11000);
</script>
</head>
</head>
<body>
<center>
<iframe src="df-log.txt" width="100%" height="100%"></iframe>
</center>
</body>