-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathcredits.html
174 lines (154 loc) · 4.88 KB
/
credits.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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>RamOS Web | Credits</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
<script src="taskbar.js"></script>
<link rel="icon" href="https://raw.githubusercontent.com/theshmunguss1/RamOS/main/images/favicon.ico">
<style>
body {
background-color: #f5f5f5;
margin: 0;
padding: 0;
font-family: "Helvetica Neue", Arial, sans-serif;
color: #333;
}
h1 {
text-align: center;
font-size: 28px;
margin-top: 40px;
}
p {
text-align: center;
font-size: 18px;
margin-top: 20px;
}
#logo {
display: block;
margin: 0 auto;
width: 50%;
max-width: 400px;
}
a {
text-align: center;
text-decoration: none;
color: #007bff;
transition: color 0.3s;
}
a:hover {
color: #0056b3;
}
.taskbar {
background-color: #f0f0f0;
position: fixed;
bottom: 0;
left: 0;
width: 100%;
height: 50px;
display: flex;
justify-content: center;
align-items: center;
font-family: "Helvetica Neue", Arial, sans-serif;
color: #333;
text-decoration: none;
box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
}
.taskbar .task {
margin: 3px 10px;
padding: 8px 16px;
border-radius: 20px;
background-color: transparent;
border: 2px solid #d0d0d0;
/*transition: ;*/
display: flex;
align-items: center;
transition: transform 0.3s, margin 0.3s, background-color 0.3s, color 0.3s, border-color 0.3s;
transform: scale(1);
}
.taskbar .task:hover {
background-color: #d0d0d0;
color: #333;
border-color: #d0d0d0;
transition: transform 0.3s, margin 0.3s;
transform: scale(1.2);
margin: 3px 15px;
}
.taskbar .task:active {
background-color: #007bff;
color: white;
border-color: #007bff;
}
.taskbar .task img {
width: 20px;
height: 20px;
margin-right: 5px;
}
.upload-button {
display: inline-block;
margin: 0 10px;
padding: 8px 16px;
border-radius: 20px;
background-color: transparent;
border: 2px solid #007bff;
color: #007bff;
font-size: 16px;
cursor: pointer;
transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.upload-button:hover {
background-color: #007bff;
color: white;
border-color: #007bff;
}
.upload-button:active {
background-color: #0056b3;
border-color: #0056b3;
}
/* Hide the default file input */
#background-upload {
display: none;
}
</style>
<script>
function handleBackgroundUpload() {
const fileInput = document.getElementById('background-upload');
const file = fileInput.files[0];
const reader = new FileReader();
reader.onload = function(e) {
const backgroundImage = e.target.result;
document.body.style.backgroundImage = `url(${backgroundImage})`;
adaptTextColor();
}
reader.readAsDataURL(file);
}
function adaptTextColor() {
const body = document.body;
const computedStyle = getComputedStyle(body);
const backgroundColor = computedStyle.backgroundColor;
const rgb = backgroundColor.match(/\d+/g);
const brightness = (rgb[0] * 299 + rgb[1] * 587 + rgb[2] * 114) / 1000;
if (brightness > 125) {
body.style.color = '#333';
} else {
body.style.color = '#f5f5f5';
}
}
</script>
</head>
<body>
<h1>Credits</h1>
<p>Eaglercraft - lax1dude, Mojang Studios</p>
<p>Astroid - Vyper Group</p>
<p>Doge Unblocker - Doge Network</p>
<p>Incognito - Titanium Network</p>
<p>Graphing Calculator - Desmos</p>
<p>3hko Games - 3hko</p>
<p>Code - DJShelfmushroom, Yesn't, and Theshmunguss1</p>
<div class="taskbar"></div>
<script>
adaptTextColor();
</script>
</body>
</html>