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.

error_404.php 2.0KB

2 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>404 Page Not Found</title>
  6. <style>
  7. div.logo {
  8. height: 200px;
  9. width: 155px;
  10. display: inline-block;
  11. opacity: 0.08;
  12. position: absolute;
  13. top: 2rem;
  14. left: 50%;
  15. margin-left: -73px;
  16. }
  17. body {
  18. height: 100%;
  19. background: #fafafa;
  20. font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  21. color: #777;
  22. font-weight: 300;
  23. }
  24. h1 {
  25. font-weight: lighter;
  26. letter-spacing: normal;
  27. font-size: 3rem;
  28. margin-top: 0;
  29. margin-bottom: 0;
  30. color: #222;
  31. }
  32. .wrap {
  33. max-width: 1024px;
  34. margin: 5rem auto;
  35. padding: 2rem;
  36. background: #fff;
  37. text-align: center;
  38. border: 1px solid #efefef;
  39. border-radius: 0.5rem;
  40. position: relative;
  41. }
  42. pre {
  43. white-space: normal;
  44. margin-top: 1.5rem;
  45. }
  46. code {
  47. background: #fafafa;
  48. border: 1px solid #efefef;
  49. padding: 0.5rem 1rem;
  50. border-radius: 5px;
  51. display: block;
  52. }
  53. p {
  54. margin-top: 1.5rem;
  55. }
  56. .footer {
  57. margin-top: 2rem;
  58. border-top: 1px solid #efefef;
  59. padding: 1em 2em 0 2em;
  60. font-size: 85%;
  61. color: #999;
  62. }
  63. a:active,
  64. a:link,
  65. a:visited {
  66. color: #dd4814;
  67. }
  68. </style>
  69. </head>
  70. <body>
  71. <div class="wrap">
  72. <h1>404 - File Not Found</h1>
  73. <p>
  74. <?php if (! empty($message) && $message !== '(null)') : ?>
  75. <?= nl2br(esc($message)) ?>
  76. <?php else : ?>
  77. Sorry! Cannot seem to find the page you were looking for.
  78. <?php endif ?>
  79. </p>
  80. </div>
  81. </body>
  82. </html>