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

Nick Schermer noreply at xfce.org
Fri Dec 17 16:50:01 CET 2010


Updating branch refs/heads/master
         to cd2884ca5369ce7b0c0d05332b8b910793f3c6ee (commit)
       from c7c30ac8dbe1d035a72cc4679e446805102e33cf (commit)

commit cd2884ca5369ce7b0c0d05332b8b910793f3c6ee
Author: Nick Schermer <nick at xfce.org>
Date:   Fri Dec 17 16:49:26 2010 +0100

    Use shared header css.

 img/logosmall.png         |  Bin 7035 -> 0 bytes
 include/template/main.tpl |   48 ++++----------------------------------------
 2 files changed, 5 insertions(+), 43 deletions(-)

diff --git a/img/logosmall.png b/img/logosmall.png
deleted file mode 100644
index 8b3a50c..0000000
Binary files a/img/logosmall.png and /dev/null differ
diff --git a/include/template/main.tpl b/include/template/main.tpl
index 615f80a..f17dafb 100644
--- a/include/template/main.tpl
+++ b/include/template/main.tpl
@@ -3,50 +3,12 @@
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 <pun_head>
+<link rel="stylesheet" media="screen" type="text/css" href="http://www-test.xfce.org/style/header.css" />
 <style type="text/css">
 body {
 	margin: 0;
 	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;
-	margin: 0;
-	padding: 0;
-}
-#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;
-}
-.hidden {
-	display: none;
-}
-.clearboth {
-	clear: both;
-}
 .pun {
 	font: inherit;
 }
@@ -54,10 +16,10 @@ body {
 </head>
 
 <body>
-<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 Forum</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>
@@ -70,7 +32,7 @@ body {
 			<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="pun<pun_page>" class="pun">



More information about the Xfce4-commits mailing list