[Midnightbsd-cvs] www: 404.html: new 404 error page
smultron at midnightbsd.org
smultron at midnightbsd.org
Thu Aug 28 02:06:22 EDT 2008
Log Message:
-----------
new 404 error page
Modified Files:
--------------
www:
404.html (r1.1 -> r1.2)
-------------- next part --------------
Index: 404.html
===================================================================
RCS file: /home/cvs/www/404.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -L 404.html -L 404.html -u -r1.1 -r1.2
--- 404.html
+++ 404.html
@@ -1,22 +1,43 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 TRANSITIONAL//EN">
+<html>
-<head>
-<meta http-equiv="content-type" content="text/html; charset=utf-8" />
-<title>404 Not Found</title>
-<style type="text/css">
-body { background: white; color: black; text-align: center;
- margin: auto; padding: auto; vertical-align: center;}
-h1 { margin: auto; }
-</style>
-</head>
-
-<body>
-
-<h1><img src="/404.png" alt="404 Not Found" /></h1>
-<p>Document not found. Go to <a href="/">home page</a>.</p>
-</body>
-
-</html>
+ <head>
+ <title>MidnightBSD: 404 Not Found</title>
+ <style type="text/css" media="screen">
+ <!--
+ * { text-align: center; }
+ html, body { margin: 0; padding: 0; }
+ body { background: #0e0e0e; color: #fff; font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, sans-serif; }
+ a:link, a:visited, a:active, a:hover { color: #fff; }
+ h1, h2, h3 { font-weight: normal; }
+ h1 { font-size: 3.5em; margin: .2em; }
+ h2 { }
+ #globe { width: 100%; }
+ #header { margin: 0 auto; width: 100%; height: 261px; background: #14202f url("images/404b.jpg") center center no-repeat; z-index: 0; }
+ #mountain { background: url("images/404a.png") repeat-x; width: 100%; height: 60px; position: absolute; top: 205px; }
+ #links { font-family: "HelveticaNeue-UltraLight", "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, sans-serif; letter-spacing: 1px; font-size: 1.2em; margin-bottom: 2em; }
+ ul { list-style: none; display: inline; }
+ ul li { display: inline; }
+ -->
+ </style>
+ </head>
+ <body>
+ <div id="globe">
+ <div id="mountain"></div>
+ <div id="header"></div>
+ <h1>Oops!</h1>
+ <h2>The page you're looking for can't be found.</h2>
+ <h3>Please try one of the following links.</h3>
+ <div id="links">
+ <ul>
+ <li><a href="/"> home</a><span class="dot"> • </span></li>
+ <li><a href="/about/">about</a><span class="dot"> • </span></li>
+ <li><a href="/news/">news</a><span class="dot"> • </span></li>
+ <li><a href="/download/">download</a><span class="dot"> • </span></li>
+ <li><a href="/community/">community</a><span class="dot"> • </span></li>
+ <li><a href="/developers/">developers</a><span class="dot"> • </span></li>
+ <li><a href="/support/">support</a></li>
+ </ul>
+ </div>
+ </body>
+</html>
\ No newline at end of file
More information about the Midnightbsd-cvs
mailing list