Skip to content
This repository was archived by the owner on Oct 6, 2024. It is now read-only.

Commit a92ab41

Browse files
authored
Revert changes in 404.html (#90)
1 parent 6fff963 commit a92ab41

File tree

1 file changed

+12
-49
lines changed

1 file changed

+12
-49
lines changed

404.html

Lines changed: 12 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
66
<title>404</title>
77
<style>
8-
* {
8+
* {
99
margin: 0;
1010
padding: 0;
1111
font-family: system-ui, -apple-system, "Segoe UI", Roboto, Oxygen,
@@ -15,53 +15,42 @@
1515
body {
1616
background-color: #212529;
1717
color: #dee2e6;
18-
display: flex;
19-
align-items: center;
20-
justify-content: center;
21-
height: 100vh;
2218
}
2319

2420
#wrapper {
2521
display: flex;
26-
flex-direction: column;
2722
background-color: #212529 !important;
2823
border: none;
29-
width: 60%;
30-
padding: 20px;
31-
border-radius: 15px;
32-
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
24+
width: 80%;
25+
height: 90vh;
26+
margin: 5vh auto;
27+
justify-content: center;
28+
align-items: center;
29+
vertical-align: middle;
30+
border-radius: 25px;
3331
}
3432

3533
#content {
3634
text-align: center;
3735
}
3836

3937
h1 {
40-
font-size: 10vw;
41-
line-height: 1.2;
42-
color: #f8f9fa; /* Lighter color for the heading */
38+
font-size: 30vh;
39+
line-height: 30vh;
4340
}
4441

4542
h2 {
4643
margin: 2vh 0;
47-
color: #adb5bd; /* Slightly lighter color for subheading */
4844
}
4945

46+
h2,
5047
p {
51-
color: #ced4da; /* Lighter color for paragraph text */
52-
margin-bottom: 20px;
48+
color: #a1a8ae;
5349
}
5450

5551
a {
5652
color: rgb(110, 168, 254);
57-
text-decoration: none;
58-
font-weight: bold;
59-
}
60-
61-
a:hover {
62-
text-decoration: underline; /* Underline on hover */
6353
}
64-
6554
</style>
6655
</head>
6756
<body>
@@ -72,31 +61,5 @@ <h2>Oops! Page not found</h2>
7261
<p>Sorry, the page you're looking for doesn't exist. Please, go to <a href="/">main page</a>.</p>
7362
</div>
7463
</div>
75-
<script>
76-
document.addEventListener('DOMContentLoaded', function () {
77-
const heading = document.querySelector('h1');
78-
79-
if (heading) {
80-
// Add a pulsating effect to the heading
81-
let scale = 1;
82-
let growing = true;
83-
84-
function updateScale() {
85-
if (growing) {
86-
scale += 0.1;
87-
if (scale >= 1.5) growing = false;
88-
} else {
89-
scale -= 0.1;
90-
if (scale <= 1) growing = true;
91-
}
92-
93-
heading.style.transform = `scale(${scale})`;
94-
requestAnimationFrame(updateScale);
95-
}
96-
97-
updateScale();
98-
}
99-
});
100-
</script>
10164
</body>
10265
</html>

0 commit comments

Comments
 (0)