[Xfce4-commits] <www:nick/gettext> Add header style and base html.

Nick Schermer noreply at xfce.org
Tue Nov 23 22:08:04 CET 2010


Updating branch refs/heads/nick/gettext
         to 2ab1586887c7e49376a19cb07c2476d5bfc8baf6 (commit)
       from b287dfeb7c5ba50bf9b2a27a80516eccd6fd3615 (commit)

commit 2ab1586887c7e49376a19cb07c2476d5bfc8baf6
Author: Nick Schermer <nick at xfce.org>
Date:   Tue Nov 23 22:04:56 2010 +0100

    Add header style and base html.

 pages/footer.php |    4 ++++
 pages/header.php |   41 +++++++++++++++++++++++++++++++++++++++++
 robots.txt       |    2 +-
 style/base.css   |   53 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 99 insertions(+), 1 deletions(-)

diff --git a/pages/footer.php b/pages/footer.php
index 8b13789..88bf8f3 100644
--- a/pages/footer.php
+++ b/pages/footer.php
@@ -1 +1,5 @@
 
+</div> <!-- pagewrap -->
+
+</body>
+</html>
diff --git a/pages/header.php b/pages/header.php
index 8b13789..a340059 100644
--- a/pages/header.php
+++ b/pages/header.php
@@ -1 +1,42 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
 
+<head>
+	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+        <title>Xfce</title>
+        <link rel="shortcut icon" href="/favicon.png" type="image/png" />
+        <link rel="stylesheet" media="screen" href="/style/base.css" type="text/css" />
+        <meta name="description" content="Xfce Desktop Environment" />
+        <meta name="keywords" content="desktop environment, window manager, desktop, speed, lightweight, gtk+, open source, xforms common environment" />
+</head>
+
+<body id="top">
+
+<div id="xfce-header">
+        <div>
+                <h1>Xfce</h1>
+                <ul>
+                        <li><a href="http://test.xfce.org" title="Go to the homepage" class="active">Home</a></li>
+                        <li><a href="http://docs.xfce.org" title="Official documentation">Docs</a></li>
+                        <li><a href="http://wiki.xfce.org" title="Community documentation">Wiki</a></li>
+                        <li><a href="http://forum.xfce.org" title="Community forums">Forum</a></li>
+                        <li><a href="http://bugzilla.xfce.org" title="Report and track bugs">Bugs</a></li>
+                        <li><a href="http://blog.xfce.org" title="Visit the blog">Blog</a></li>
+                        <li><a href="http://translations.xfce.org" title="Help translating the Xfce project">Translate</a></li>
+                </ul>
+        </div>
+        <div id="xfce-header-clear"></div>
+</div>
+
+<div id="pagewrap">
+        <div>
+                <ul>
+                        <li><a href="/">Home</a></li>
+                        <li><a href="/about/">About</a></li>
+                        <li><a href="/download/">Download</a></li>
+                        <li><a href="/community/">Community</a></li>
+                        <li><a href="/projects/">Projects</a></li>
+                        <li><a href="/development/">Development</a></li>
+                </ul>
+        </div>
diff --git a/robots.txt b/robots.txt
index 2d74f1b..5d98e3d 100644
--- a/robots.txt
+++ b/robots.txt
@@ -1,3 +1,3 @@
 User-agent: *
-Disallow: /layout/
 Disallow: /images/
+Disallow: /style/
diff --git a/style/base.css b/style/base.css
new file mode 100644
index 0000000..3632857
--- /dev/null
+++ b/style/base.css
@@ -0,0 +1,53 @@
+
+body {
+	margin: 0;
+        padding: 0;
+}
+
+#xfce-header {
+        border-bottom: 5px #09c solid;
+        background: #000;
+}
+#xfce-header h1 {
+        color: #fff;
+        line-height: 50px;
+        margin: 0 0 0 15px;
+        float: left;
+}
+#xfce-header ul {     
+	float: right ;
+	list-style: none;
+        margin: 0;
+        padding: 0 15px 0 0;
+        background: #000;
+}
+#xfce-header ul li {
+	float: left;
+        font-weight: bold;
+        line-height: 50px;
+}
+#xfce-header a {
+	color: #fff;
+        text-decoration: none;
+        display: block;
+        float: right;
+        padding: 0 15px 0 15px;
+}
+#xfce-header ul li a:hover {
+	color: #09c;
+}
+#xfce-header .active {
+        color: #09c;
+}
+#xfce-header-clear {
+	clear: both;
+}
+
+
+table th {
+        text-align: left;
+}
+
+table tr:nth-child(even) {
+        background: #ccc;
+}



More information about the Xfce4-commits mailing list