404.html 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. <!DOCTYPE html>
  2. <!--
  3. ! Excerpted from "Agile Web Development with Rails",
  4. ! published by The Pragmatic Bookshelf.
  5. ! Copyrights apply to this code. It may not be used to create training material,
  6. ! courses, books, articles, and the like. Contact us if you are in doubt.
  7. ! We make no guarantees that this code is fit for any purpose.
  8. ! Visit http://www.pragmaticprogrammer.com/titles/rails4 for more book information.
  9. -->
  10. <html>
  11. <head>
  12. <title>The page you were looking for doesn't exist (404)</title>
  13. <meta name="viewport" content="width=device-width,initial-scale=1">
  14. <style>
  15. body {
  16. background-color: #EFEFEF;
  17. color: #2E2F30;
  18. text-align: center;
  19. font-family: arial, sans-serif;
  20. margin: 0;
  21. }
  22. div.dialog {
  23. width: 95%;
  24. max-width: 33em;
  25. margin: 4em auto 0;
  26. }
  27. div.dialog > div {
  28. border: 1px solid #CCC;
  29. border-right-color: #999;
  30. border-left-color: #999;
  31. border-bottom-color: #BBB;
  32. border-top: #B00100 solid 4px;
  33. border-top-left-radius: 9px;
  34. border-top-right-radius: 9px;
  35. background-color: white;
  36. padding: 7px 12% 0;
  37. box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
  38. }
  39. h1 {
  40. font-size: 100%;
  41. color: #730E15;
  42. line-height: 1.5em;
  43. }
  44. div.dialog > p {
  45. margin: 0 0 1em;
  46. padding: 1em;
  47. background-color: #F7F7F7;
  48. border: 1px solid #CCC;
  49. border-right-color: #999;
  50. border-left-color: #999;
  51. border-bottom-color: #999;
  52. border-bottom-left-radius: 4px;
  53. border-bottom-right-radius: 4px;
  54. border-top-color: #DADADA;
  55. color: #666;
  56. box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
  57. }
  58. </style>
  59. </head>
  60. <body>
  61. <!-- This file lives in public/404.html -->
  62. <div class="dialog">
  63. <div>
  64. <h1>The page you were looking for doesn't exist.</h1>
  65. <p>You may have mistyped the address or the page may have moved.</p>
  66. </div>
  67. <p>If you are the application owner check the logs for more information.</p>
  68. </div>
  69. </body>
  70. </html>