-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path404.html
95 lines (80 loc) · 3 KB
/
404.html
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
---
permalink: /404.html
---
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Encode+Sans+Expanded&family=Noto+Emoji&display=swap" rel="stylesheet">
<title>Will Paxton</title>
<style>
body {
font-family: 'Encode Sans Expanded', 'Comic Sans MS', sans-serif;
}
.emoji {
font-family: 'Noto Emoji';
}
.btn-primary {
background-color: #333 !important;
border-color: #333 !important;
}
.btn-primary:hover {
background-color: #0d1117 !important;
border-color: #0c1117 !important;
}
.btn:focus {
box-shadow: 0 0 0 0.25rem #ffffff10 !important;
}
.em-5 {
font-size: 0.5em
}
.footer_button_image {
height: 24px;
font-size: 24px;
}
img {
width: 100%;
}
</style>
<script>
function comic_sansify() {
const body = document.querySelector('.body');
// change text color to white
body.style.fontFamily = "'Comic Sans MS', sans-serif";
}
document.getElementById('secret_button').addEventListener('click', function () {
this.style.display = 'none';
console.log("Secret Button Pressed")
});
</script>
</head>
<body class="bg-dark text-light body">
<div class="my-5 container">
<div class="col-12 text-center rounded row align-items-center">
<div class="col-12 col-md-6">
<h1>404</h1>
<p><strong>Page not found :(</strong></p>
<p>The requested page could not be found.</p>
</div>
<div class="col-12 col-md-6">
<img src="assets/404 Not Found.svg">
</div>
</div>
</div>
<footer class="container border-top">
<div class="row py-5">
<div class="p-0 col-6 my-auto">
<span>© Will Paxton 2022</span>
</div>
<div class="p-0 text-end col-6">
<div>
<button class="btn btn-primary h-100" id="secret_button" onclick="comic_sansify()"><span class="footer_button_image emoji">😁</span></button>
<a href="newpage"><button class="btn btn-primary h-100"><span class="footer_button_image emoji">🐢</span></button></a>
<a href="https://github.com/willpaxton/willpaxton.dev"><button class=" btn btn-primary h-100"><img class="footer_button_image" src="assets/GitHub-Mark-Light-32px.png"></button></a>
</div>
</div>
</div>
</footer>
</body>