[Xfce4-commits] <docs:master> Use shared header css.

Nick Schermer noreply at xfce.org
Fri Dec 17 16:32:02 CET 2010


Updating branch refs/heads/master
         to b838be1cc8f98486dafc2499e8da8a475f40c56f (commit)
       from 8cda29e86258502a67409f8920cac8f0f806f930 (commit)

commit b838be1cc8f98486dafc2499e8da8a475f40c56f
Author: Nick Schermer <nick at xfce.org>
Date:   Fri Dec 17 16:30:14 2010 +0100

    Use shared header css.

 index.php               |   16 ++++++++--------
 style/base.css          |   34 +---------------------------------
 style/img/logosmall.png |  Bin 7035 -> 0 bytes
 3 files changed, 9 insertions(+), 41 deletions(-)

diff --git a/index.php b/index.php
index 295d0f4..9bd47e7 100644
--- a/index.php
+++ b/index.php
@@ -10,10 +10,10 @@
 
 <body id="top">
 
-<div id="page-header">
+<div id="xfce-header">
 	<div>
-		<h1 class="hidden">Xfce</h1>
-		<h5 class="hidden">Sub domains</h5>
+		<h1 id="xfce-header-title">Xfce Documentation</h1>
+		<h5 id="xfce-header-subtitle">Sub domains</h5>
 		<ul>
 			<li><a href="http://www.xfce.org" title="Go to the homepage">Home</a></li>
 			<li><a href="http://docs.xfce.org" title="Official documentation" class="active">Docs</a></li>
@@ -25,13 +25,13 @@
 			<li><a href="http://git.xfce.org" title="Project repositories">GIT</a></li>
 		</ul>
 	</div>
-	<div class="clearboth"></div>
+	<div id="xfce-header-clear"></div>
 </div>
 <div id="page-wrap">
-	<h1>Work in progress...</h1>
-	<p>
-		Soonish this page will contain the Xfce users and developers documentation.
-	</p>
+<h1>Work in progress...</h1>
+<p>
+  Soonish this page will contain the Xfce users and developers documentation.
+</p>
 </div>
 </body>
 </html>
diff --git a/style/base.css b/style/base.css
index 5f7b624..8c98b73 100644
--- a/style/base.css
+++ b/style/base.css
@@ -1,3 +1,4 @@
+ at import url('http://www-test.xfce.org/style/header.css');
 
 body {
 	margin: 0;
@@ -6,39 +7,6 @@ body {
 	font: 80% Verdana, Arial, Helvetica, sans-serif;
 }
 
-#page-header {
-        /*border-bottom: 2px #69f solid;*/
-        background: #333 url('img/logosmall.png') no-repeat 6px 55%;
-	padding-left: 120px;
-	min-height: 45px;
-}
-#page-header ul {
-	float: right ;
-	list-style: none;
-        margin: 0;
-        padding: 0 15px 0 0;
-        background: #333;
-}
-#page-header ul li {
-	float: left;
-        font-weight: bold;
-}
-#page-header a {
-	color: #fff;
-        text-decoration: none;
-        display: block;
-        float: right;
-        padding: 0 15px 0 15px;
-        line-height: 4em;
-}
-#page-header ul li a:hover {
-	color: #69f;
-}
-#page-header .active {
-        color: #69f;
-}
-
-
 #page-wrap {
 	margin: auto;
 	padding: 1em;
diff --git a/style/img/logosmall.png b/style/img/logosmall.png
deleted file mode 100644
index 8b3a50c..0000000
Binary files a/style/img/logosmall.png and /dev/null differ



More information about the Xfce4-commits mailing list