-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
100 lines (87 loc) · 1.86 KB
/
style.css
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
body, html {
margin: 0;
padding: 0;
height: 100%;
overflow: hidden;
}
.enderman-container {
position: relative;
width: 100%;
height: 100%;
}
/* Default style for larger screens */
.enderman-background {
background-image: url(''); /* Background image set in JS */
background-size: cover;
background-position: center;
position: absolute;
width: 100%;
height: 100%;
z-index: -1;
}
.error-message {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
text-align: center;
color: #fff;
}
.error-message h1 {
font-size: 10rem;
margin-bottom: 0;
}
.error-message p {
font-size: 2rem;
margin-bottom: 1rem;
}
.back-home {
display: inline-block;
padding: 10px 20px;
background-color: #9575cd;
color: #fff;
text-decoration: none;
border-radius: 5px;
}
/* Purple particles animation */
@keyframes particleAnimation {
0% {
transform: translateY(0);
opacity: 1;
}
50% {
transform: translateY(-20px);
opacity: 0.8;
}
100% {
transform: translateY(0);
opacity: 0;
}
}
@font-face {
font-family: 'Minecraft';
src: url('Minecraft.ttf') format('truetype');
}
.error-message {
font-family: 'Minecraft', sans-serif;
/* Other styles */
}
/*css for the particles*/
.particle {
position: absolute;
width: 2px;
height: 2px;
background-color: #bc01c9;
animation: particleAnimation 3s infinite linear;
}
/* style.css */
.reveal {
position: relative;
transform: translateY(150px);
opacity: 0;
transition: 2s all ease;
}
.reveal.active {
transform: translateY(0);
opacity: 1;
}