-
Notifications
You must be signed in to change notification settings - Fork 0
/
404_style.css
79 lines (72 loc) · 1.59 KB
/
404_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
body {
background: linear-gradient(to bottom, black, blue);
background-size: 200% 200%;
color: white;
font-family: 'Courier New', Courier, monospace;
display: flex;
flex-direction: column;
justify-content: space-between;
min-height: 100vh;
margin: 0;
animation: gradientShift 10s ease infinite;
}
@keyframes gradientShift {
0% {
background-position: 0% 0%;
}
50% {
background-position: 100% 100%;
}
100% {
background-position: 0% 0%;
}
}
/* the backround is inspired by the bootstrap academy If you are german you can lern programing there (for free)*/
h1 {
text-align: center;
margin-top: 50px;
font-size: 3rem;
opacity: 0;
animation: fadeInText 4s forwards;
animation-delay: 1s;
}
p {
text-align: center;
margin-top: 20px;
opacity: 0;
animation: fadeInText 4s forwards;
animation-delay: 2s;
}
.button-container {
text-align: center;
margin: 20px 0;
opacity: 0;
animation: fadeInText 4s forwards;
animation-delay: 3s;
}
.home-button {
background-color: #007BFF;
color: white;
padding: 15px 30px;
text-decoration: none;
font-size: 1.2rem;
border-radius: 8px;
transition: background-color 0.3s, transform 0.3s;
}
.home-button:hover {
background-color: #0056b3;
transform: scale(1.1);
}
footer {
text-align: center;
padding: 10px;
color: #ffffff;
margin-top: auto;
opacity: 0;
animation: fadeInText 4s forwards;
animation-delay: 4s;
}
@keyframes fadeInText {
from { opacity: 0; }
to { opacity: 1; }
}