Commits

Armin Ronacher committed 6ccfcc9

Added 404 page

Comments (0)

Files changed (3)

+public: yes
+
+404, Page Not Found
+===================
+
+    | The requested page,
+    | cannot be found —
+    | We're sorry.
+
+Maybe we can help you out though:
+
+-   `overview </>`_ — for a quick introduction into Jinja2
+-   the `documentation </docs/>`_, in case you need help
+-   our helpful `community </community/>`_

_templates/layout.html

     <p>The Python Template Engine
   </div>
   <p class=nav>
-    <a href="/">overview</a> |
-    <a href="/docs/">documentation</a> |
+    <a href="/">overview</a> ~
+    <a href="/docs/">documentation</a> ~
     <a href="/community/">community</a>
   {% block body %}{% endblock %}
   <p class=footer>
+@import url(http://fonts.googleapis.com/css?family=Crimson+Text);
+
 body         { font-family: 'Georgia', serif; font-size: 17px; color: #000; }
-a            { color: #aa0000; }
-a:hover      { color: #dd0000; }
+a            { color: #aa0000; border-bottom: 1px dotted #bb0000; text-decoration: none; }
+a:hover      { color: #dd0000; border-bottom: 1px solid #dd0000; }
 .box         { width: 540px; margin: 40px auto; }
-h1, h2, h3   { font-family: 'Georgia', serif; font-weight: normal; }
+h1, h2, h3   { font-family: 'Crimson Text', 'Georgia', serif; font-weight: normal; }
 .header      { height: 165px; }
 .header h1   { margin: 0 0 30px 0; background: url(/static/jinja.png) no-repeat center;
                font-size: 50px; padding-top: 50px; height: 120px; }
 h2           { font-size: 24px; margin: 25px 0 5px 0; }
 h3           { font-size: 19px; margin: 25px 0 5px 0; }
 textarea, code,
-pre          { font-family: 'Consolas', 'Menlo', 'Deja Vu Sans Mono', 'Bitstream Vera Sans Mono',
-               monospace!important; font-size: 15px; background: #eee; }
+pre          { font-family: 'Consolas', 'Menlo', 'Deja Vu Sans Mono',
+               'Bitstream Vera Sans Mono', monospace!important; font-size: 15px;
+               background: #eee; }
 pre          { padding: 7px 30px; margin: 15px -30px; line-height: 1.3; }
 .ig          { color: #888; }
 p            { line-height: 1.4; }