-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.html
140 lines (138 loc) · 4.07 KB
/
main.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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Centrum Dowodzenia Wszechświatem</title>
<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 : 200,
maxSpeed : 2,
maxSize : 5
});
});
</script>
<style>
html, body {
height: 100%;
margin: 0;
}
body {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background-color: #000000;
color: #fff;
font-family: Arial, sans-serif;
}
header {
background-image: url("https://i.imgur.com/bSHc8F0.png");
background-size: contain;
background-position: center;
background-repeat: no-repeat;
text-align: center;
height: 256px;
width: 100%;
}
main {
padding: 20px;
flex-grow: 1;
width: 100%;
max-width: 320;
}
img {
max-width: 100%;
}
footer {
background-color: #000;
color: #fff;
padding: 1px;
text-align: center;
font-weight: bold;
font-size: 20px;
}
.navbar {
background-color: #00000;
overflow: hidden;
display: flex;
justify-content: center;
padding: 5px 5px;
font-weight: bold;
}
.navbar a {
float: left;
display: flex;
color: #f2f2f2;
text-align: center;
padding: 4px 6px;
text-decoration: none;
font-size: 35px;
}
.navbar a:hover {
background-color: #ddd;
color: black;
}
.navbar a.active {
background-color: #4CAF50;
color: white;
}
.sample-text {
background-color: #000;
color: #fff;
padding: 0px;
}
audio {
display: flex;
color: #333;
padding: 5px;
width: 100%;
max-width: 600px;
}
/* Media query to adjust navbar style for mobile screens */
@media only screen and (max-width: 100%) {
.navbar a {
font-size: 15px;
padding: 10px;
}
</style>
</head>
<body>
<header></header>
<main>
<div class="navbar">
<a href="https://serainox420.github.io/szmelcdb/szmelcdb">[SzmelcDB]</a>
</div><div class="navbar">
<a href="https://github.com/GNU-Szmelc">[GitHub]</a>
</div><div class="navbar">
<a href="https://serainox420.github.io/entertainment">[Fun / Games]</a>
</div><div class="navbar">
<a href="https://discord.gg/y9h7FjVsX6">[Discord]</a>
</div><div class="navbar">
<a href="https://github.com/serainox420">[???]</a>
</div><div class="navbar">
<a href="https://linktr.ee/silverainox">[LINKTR.EE]</a>
</div>
</main>
<script src="https://widget2.gg.pl/widget.js"></script> <gg-widget params="hash=54ae967fc9a4c53f67496f8053f08eb92cf39201991f0dd4ef0d0978fa3dd278&uin=63236507&theme=ClassicBlack&msg_online=%28%25CB%25B5%2520%25CD%25A1%25C2%25B0%2520%25CD%259C%25CA%2596%2520%25CD%25A1%25C2%25B0%25CB%25B5%29%2520Lunux%253F&msg_offline=404&lng=en-US&alignment=right&no-fixed=true&margin=undefined&base-zindex=undefined" ></gg-widget>
<footer>
<p>© 2024 Szmelc Incorporated</p>
</footer>
<audio src="https://serainox420.github.io/audio/hollowpoint.mp3" loop controls></audio>
<script>
setInterval(() => {
const elements = document.querySelectorAll("*");
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; // generates a random value between 128 and 255 for green channel
let color = "#" + green.toString(14).padStart(2, "0").repeat(2);
return color;
}
</script>
</body>
</html>