-
Notifications
You must be signed in to change notification settings - Fork 356
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e74e4b5
commit 61c2230
Showing
3 changed files
with
162 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale="> | ||
<link rel="stylesheet" href="style.css"> | ||
<title>Neon Glow Error Page</title> | ||
</head> | ||
<body> | ||
<div> | ||
<p id="error">E <span>r</span>ror</p> | ||
<p id="code">4<span>0</span><span>4</span></p> | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,142 @@ | ||
@import url('https://fonts.googleapis.com/css2?family=Monoton&display=swap'); | ||
|
||
body { | ||
background: radial-gradient(circle, #0D0015, #2B002C, #003660, #1A1A1A); | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
height: 100vh; | ||
margin: 0; | ||
} | ||
|
||
div { | ||
padding: 20px; | ||
font-size: 10vw; | ||
font-family: 'Monoton'; | ||
text-align: center; | ||
text-transform: uppercase; | ||
text-shadow: 0 0 80px red, 0 0 30px firebrick, 0 0 6px darkred; | ||
color: rgb(49, 17, 17); | ||
} | ||
|
||
div p { | ||
margin: 5px; | ||
} | ||
|
||
#error:hover { | ||
text-shadow: 0 0 120px #FFFF00, 0 0 80px #00FF00, 0 0 10px #00FFFF; | ||
} | ||
|
||
#code:hover { | ||
text-shadow: 0 0 150px #FF00FF, 0 0 60px #8A2BE2, 0 0 20px #FF4500; | ||
} | ||
|
||
#error { | ||
color: #00FFFF; /* Neon Cyan */ | ||
text-shadow: 0 0 80px #00FFFF, 0 0 40px #8A2BE2, 0 0 10px #FF00FF; | ||
} | ||
|
||
#code { | ||
color: #FF6347; /* Tomato Red */ | ||
text-shadow: 0 0 100px #FF4500, 0 0 50px #FF6347, 0 0 20px #FF7F50; | ||
} | ||
|
||
#error span, | ||
#code span { | ||
animation: glow 3s ease-in-out infinite alternate; | ||
} | ||
|
||
#code span:nth-of-type(2) { | ||
animation: lower 9s linear infinite; | ||
} | ||
|
||
#code span:nth-of-type(1) { | ||
text-shadow: none; | ||
opacity: .4; | ||
} | ||
|
||
@keyframes upper { | ||
0%, | ||
19.999%, | ||
22%, | ||
62.999%, | ||
64%, | ||
64.999%, | ||
70%, | ||
100% { | ||
opacity: .99; | ||
text-shadow: 0 0 80px #ffffff, 0 0 30px #008000, 0 0 6px #0000ff; | ||
} | ||
|
||
20%, | ||
21.999%, | ||
63%, | ||
63.999%, | ||
65%, | ||
69.999% { | ||
opacity: 0.4; | ||
text-shadow: none; | ||
} | ||
} | ||
|
||
@keyframes lower { | ||
0%, | ||
12%, | ||
18.999%, | ||
23%, | ||
31.999%, | ||
37%, | ||
44.999%, | ||
46%, | ||
49.999%, | ||
51%, | ||
58.999%, | ||
61%, | ||
68.999%, | ||
96%, | ||
100% { | ||
opacity: 0.99; | ||
text-shadow: 0 0 80px red, 0 0 30px firebrick, 0 0 6px darkred; | ||
} | ||
|
||
19%, | ||
22.99%, | ||
32%, | ||
36.999%, | ||
45%, | ||
45.666%, | ||
50%, | ||
50.999%, | ||
59%, | ||
60.999%, | ||
69%, | ||
70.999%, | ||
86%, | ||
95.999% { | ||
opacity: 0.4; | ||
text-shadow: none; | ||
} | ||
} | ||
|
||
@keyframes glow { | ||
0% { | ||
text-shadow: 0 0 10px #FFFF00, 0 0 20px #FF4500; | ||
} | ||
|
||
100% { | ||
text-shadow: 0 0 80px #FF00FF, 0 0 40px #8A2BE2; | ||
} | ||
} | ||
|
||
/* Media queries for different screen sizes */ | ||
@media (max-width: 600px) { | ||
div { | ||
font-size: 15vw; | ||
} | ||
} | ||
|
||
@media (min-width: 601px) and (max-width: 1200px) { | ||
div { | ||
font-size: 12vw; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters