404.php 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. <!doctype html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title>Error 404 - Not Found</title>
  6. <style>
  7. @import url(http://fonts.googleapis.com/css?family=Ubuntu);
  8. body {
  9. background:#eee;
  10. color: #6d6d6d;
  11. font: normal normal normal 16px/1.253 Ubuntu, sans-serif;
  12. margin:0;
  13. min-width:800px;
  14. padding:0;
  15. }
  16. #main {
  17. background-clip: padding-box;
  18. background-color: #fff;
  19. border:1px solid #ccc;
  20. border-radius: 5px;
  21. box-shadow: 0 0 10px #cdcdcd;
  22. margin: 50px auto 0;
  23. padding: 30px;
  24. width: 700px;
  25. }
  26. #main h1 {
  27. font-family: 'Ubuntu';
  28. font-size: 34px;
  29. margin: 0 0 20px 0;
  30. padding: 0;
  31. }
  32. #main h2,h3 {
  33. margin-top: 25px;
  34. padding: 0 0 0 0;
  35. }
  36. #main h3 {
  37. font-size: 18px;
  38. }
  39. #main p {
  40. line-height: 25px;
  41. margin: 10px 0;
  42. }
  43. </style>
  44. </head>
  45. <body>
  46. <div id="main">
  47. <?php $messages = array('We need a map.', 'I think we\'re lost.', 'We took a wrong turn.'); ?>
  48. <h1><?php echo $messages[mt_rand(0, 2)]; ?></h1>
  49. <p>We're really sorry, but we couldn't find the resource you requested.</p>
  50. <p>Perhaps you would like to go to our <?php echo HTML::link('/', 'home page'); ?> instead?</p>
  51. </div>
  52. </body>
  53. </html>