-
Notifications
You must be signed in to change notification settings - Fork 0
/
smx.html
92 lines (89 loc) · 2.18 KB
/
smx.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
<!DOCTYPE html>
<html>
<head>
<title>SMX-OS</title>
<link rel="stylesheet" href="https://serainox420.github.io/styles.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script src="https://serainox420.github.io/js/snowfall.js"></script>
<script>
$(document).ready(function(){
$(document).snowfall({
flakeCount : 100,
maxSpeed : 9,
maxSize : 9
});
});
</script>
<style>
body {
background-color: #000000;
color: #fff;
font-family: Ancient;
margin: 20;
}
.title {
font-size: 150px;
text-align: center;
padding 0px 0px;
height: 49px;
position: fixed;
top: -30px;
width: 100%;
}
.header {
font-size: 30px;
text-align: center;
position: fixed;
top: 250px;
width: 100%;
}
main {
padding: 20px;
margin-top: 20px;
}
.next-button {
text-align: center;
margin-top: 330px;
}
.next-link {
background-color: #000000;
color: #00FF00;
padding: 2px 2px;
text-decoration: none;
font-size: 40px;
border-radius: 5px;
}
.next-link:hover {
background-color: #005500;
}
</style>
</head>
<body>
<div class="title">
<p>$mx os</p>
</div>
<div class="header">
<p>Linux based operating system</p>
</div>
<div class="next-button">
<a href="https://www.google.com" target="_blank" class="next-link">[next]</a>
</div>
<main>
<!-- main goes here -->
</main>
<script>
setInterval(() => {
const elements = document.querySelectorAll("body, footer");
for (const el of elements) {
el.style.color = getRandomColor();
}
}, 200);
function getRandomColor() {
const letters = "0123456789ABCDEF";
let green = Math.floor(Math.random() * 7) + 255 + 100 + 100;
let color = "#" + green.toString(14).padStart(2, "0").repeat(2);
return color;
}
</script>
</body>
</html>