-
Notifications
You must be signed in to change notification settings - Fork 2
/
error.html
82 lines (72 loc) · 1.94 KB
/
error.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
<style>
@font-face {
font-family: 'font1';
src: url('zrnic.ttf');
}
@keyframes rainbowbackground {
0%{background-position:90% 0%}
50%{background-position:0% 85%}
100%{background-position:90% 0%}
}
body {
font-family: system, -apple-system, '.SFNSText-Regular', 'SF UI Text', 'Lucida Grande', 'Segoe UI', Ubuntu, Cantarell, sans-serif;
color: #fff;
text-align: center;
font-size: 30px;
background: linear-gradient(200deg, #00ff00,#00adff,#ff0000);
background-size: 2000% 2000%;
animation: rainbowbackground 20s ease infinite;
animation-fill-mode: forwards;
-webkit-app-region: drag;
}
h2 {
padding: 0;
margin: 0;
position: fixed;
top: 30%;
left: 50%;
transform: translate(-50%, -50%);
}
form {
position: fixed;
bottom: -10%;
left: 50%;
width: 100%;
transform: translate(-50%, -50%);
}
a {
text-decoration: none;
color: #ffffff;
font-family: system, -apple-system, '.SFNSText-Regular', 'SF UI Text', 'Lucida Grande', 'Segoe UI', Ubuntu, Cantarell, sans-serif;
-webkit-app-region: no-drag;
}
#button {
display: inline-block;
border-radius: 4px;
background-color: Transparent;
/*background-color: (rgba(0, 0, 0, 100));*/
border: 5px solid #ffffff;
color: #ffffff;
text-align: center;
font-size: 40px;
padding: 15px;
width: 100px;
margin: 5px;
font-family: system, -apple-system, '.SFNSText-Regular', 'SF UI Text', 'Lucida Grande', 'Segoe UI', Ubuntu, Cantarell, sans-serif;
border-radius: 15px;
transition: 0.1 ease-in-out;
-webkit-app-region: no-drag;
}
#button:hover {
color: #00ff00;
border: 5px solid #00ff00;
}
#butto:active {
opacity: 0;
}
</style>
<h2>DiscordChroma has encountered an error!</h2>
<form>
Please restart the program<br>
<a id="button" href="javascript:window.close();" onclick="this.style.opacity = '0'">exit</a>
</form>