The repository for my website https://ellpeck.de/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

89 lines
2.5 KiB

  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>404</title>
  6. <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto">
  7. <link rel="icon" href="favicon.ico">
  8. <style>
  9. body {
  10. font-family: Roboto;
  11. background-color: #383838;
  12. }
  13. .content {
  14. color: white;
  15. position: absolute;
  16. text-align: center;
  17. left: 50%;
  18. top: 40%;
  19. transform: translate(-50%, -60%);
  20. }
  21. .disclaimer {
  22. position: absolute;
  23. bottom: 10px;
  24. right: 10px;
  25. color: gray;
  26. }
  27. a {
  28. color: #8db3f4;
  29. text-decoration: none;
  30. }
  31. .email {
  32. color: #6c767c;
  33. }
  34. .go-home {
  35. margin-top: 25px;
  36. }
  37. </style>
  38. </head>
  39. <body>
  40. <div class="content">
  41. <h1>Four Oh Four</h1>
  42. <p>
  43. There's nothing here, I'm sorry.
  44. </p>
  45. <p>
  46. <span id="message"></span>
  47. <script>
  48. const messages = [
  49. 'Maybe try a different place?',
  50. 'Do you want to know a secret?',
  51. 'This is a magical place',
  52. 'What were you trying to find?',
  53. 'Now my day is ruined',
  54. 'There\'s a place like this somewhere',
  55. 'I shall overcome this obstacle.',
  56. 'Why are you like this?',
  57. 'this is so sad alexa play despacito',
  58. 'The server is at a loss for what you were trying to find',
  59. 'oh no :(',
  60. 'The world is quiet here.',
  61. "Instructions unclear, got site stuck in debug mode",
  62. "Please fix",
  63. "If we get this video to 400 likes, I'll put the site back up",
  64. "how could this happen to me"
  65. ];
  66. let message = Math.floor(Math.random() * messages.length);
  67. document.getElementById('message').innerHTML = '<em>' + messages[message] + '</em>';
  68. </script>
  69. </p>
  70. <p class="go-home">
  71. <a href="https://ellpeck.de">Go home</a>
  72. </p>
  73. </div>
  74. <div class="disclaimer">
  75. <em>If you think there should be something here, please notify me at <a class="email" href="mailto:me@ellpeck.de">me@ellpeck.de</a>.</em>
  76. </div>
  77. </body>
  78. </html>