added 404 page

This commit is contained in:
Rushil Umaretiya 2020-03-22 19:25:24 +00:00
parent 36967d7f1c
commit 53a5149003
3 changed files with 50 additions and 0 deletions

14
404/index.html Executable file
View File

@ -0,0 +1,14 @@
<!DOCTYPE html>
<html>
<head>
<title>Page Not Found</title>
<link href="https://fonts.googleapis.com/css?family=Press+Start+2P" rel="stylesheet">
<link href="/404/style.css" type="text/css" rel="stylesheet">
</head>
<body>
<h1 class="header">404: page not found</h1>
<p class="desc">it's dangerous to go alone!<br>take this!</p>
<a href="http://crucialnet.org"><img src="/404/sword.png" width="50px;"></a>
<p class="foot">if you feel there's been a mistake, feel free to contact me <a href="http://crucialnet.org/contact-me">here</a></p>
</body>
</html>

36
404/style.css Executable file
View File

@ -0,0 +1,36 @@
* {
color: #fff;
}
body {
background-color: #000;
}
.header {
left: 50%;
transform: translateX(-50%) rotate(180deg);
font-family: monospace;
font-weight: 200;
font-size: 9vh;
}
.desc {
position: relative;
font-family: 'Press Start 2P', monospace;
text-transform: uppercase;
line-height: 25px;
text-align: center;
left: 50%;
transform: translateX(-50%);
}
.foot {
margin-top: 200px;
font-family: monospace;
}
img {
position: relative;
left: 50%;
transform: translateX(-50%);
}

BIN
404/sword.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB