Commit 028a822e

mo khan <mo@mokhan.ca>
2013-04-27 15:17:50
clean up the 500 page
1 parent f5b400b
Changed files (1)
public
public/500.html
@@ -1,26 +1,30 @@
-<!DOCTYPE html>
-<html>
-<head>
-  <title>We're sorry, but something went wrong (500)</title>
-  <style type="text/css">
-    body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
-    div.dialog {
-      width: 25em;
-      padding: 0 4em;
-      margin: 4em auto 0 auto;
-      border: 1px solid #ccc;
-      border-right-color: #999;
-      border-bottom-color: #999;
-    }
-    h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
-  </style>
-</head>
+<!doctype html>
+<title>Don't you dare blow up at this table (500)</title>
+<style>
+  body { text-align: center;}
+  h1 { font-size: 50px; text-align: center }
+  span[frown] { transform: rotate(90deg); display:inline-block; color: #bbb; }
+  body { font: 20px Constantia, 'Hoefler Text',  "Adobe Caslon Pro", Baskerville, Georgia, Times, serif; color: #999; text-shadow: 2px 2px 2px rgba(200, 200, 200, 0.5); }
+  ::-moz-selection{ background:#FF5E99; color:#fff; }
+  ::selection { background:#FF5E99; color:#fff; } 
+  article {display:block; text-align: left; width: 500px; margin: 0 auto; }
+  
+  a { color: rgb(36, 109, 56); text-decoration:none; }
+  a:hover { color: rgb(96, 73, 141) ; text-shadow: 2px 2px 2px rgba(36, 109, 56, 0.5); }
+</style>
 
-<body>
-  <!-- This file lives in public/500.html -->
-  <div class="dialog">
-    <h1>We're sorry, but something went wrong.</h1>
-    <p>We've been notified about this issue and we'll take a look at it shortly.</p>
-  </div>
-</body>
-</html>
+<article>
+   <h1>Oh, Snap! <span frown>:(</span></h1>
+   <div>
+     <p>Sorry, but it looks like something blew up in the kitchen.</p>
+   </div>
+   <a href="/"><img src="/assets/homer-cake.jpg" alt="" /></a>
+   <blockquote>
+     "You don't make friends with salad."
+   </blockquote>
+    <script>
+    var GOOG_FIXURL_LANG = (navigator.language || '').slice(0,2),
+        GOOG_FIXURL_SITE = location.host;
+    </script>
+    <script src="http://linkhelp.clients.google.com/tbproxy/lh/wm/fixurl.js"></script>
+</article>