[Xfce4-commits] <www:nick/gettext> Add logo in header.

Nick Schermer noreply at xfce.org
Sat Dec 4 20:54:01 CET 2010


Updating branch refs/heads/nick/gettext
         to 2156df35bbae10be248e1f25aa3463539a50b7cf (commit)
       from be2249f6038ed6ec4f6fcdffc95a0af582fbaac6 (commit)

commit 2156df35bbae10be248e1f25aa3463539a50b7cf
Author: Nick Schermer <nick at xfce.org>
Date:   Sat Dec 4 20:51:29 2010 +0100

    Add logo in header.

 pages/header.php        |    2 +-
 style/base.css          |   24 ++++++++----------------
 style/img/logosmall.png |  Bin 0 -> 6422 bytes
 3 files changed, 9 insertions(+), 17 deletions(-)

diff --git a/pages/header.php b/pages/header.php
index 935b8fb..dba2705 100644
--- a/pages/header.php
+++ b/pages/header.php
@@ -30,7 +30,7 @@ else
 
 <div id="page-header">
 	<div>
-		<h1>Xfce</h1>
+		<h1 class="hidden">Xfce</h1>
 		<h5 class="hidden">Sub domains</h5>
 		<ul>
 			<li><a href="http://www.xfce.org" title="Go to the homepage" class="active">Home</a></li>
diff --git a/style/base.css b/style/base.css
index fea7473..2fd408a 100644
--- a/style/base.css
+++ b/style/base.css
@@ -5,24 +5,14 @@ body {
 	line-height: 1.7em;
 	font-family: Arial;
 	font-size: 90%;
-	
-	/* background: -moz-Field; color: -moz-FieldText; */
 }
 
 #page-header {
-        /*border-bottom: 5px #0C6AD4 solid;*/
-        background: #333;
-}
-#page-header h1 {
-        color: #fff;
-        line-height: 50px;
-        margin: 0 0 0 15px;
-	padding: 0;
-        float: left;
-	border: 0;
-	font-size: 200%;
-	text-shadow: #69f 0px 1px 3px;
+        /*border-bottom: 2px #69f solid;*/
+        background: #333 url('img/logosmall.png') no-repeat 6px 55%;
+	padding-left: 120px;
 }
+
 #page-header ul {     
 	float: right ;
 	list-style: none;
@@ -67,7 +57,6 @@ body {
 	list-style: none;
 	margin: 0;
 	padding: 0;
-	
 }
 #menu-main ul li {
 	border-left: 1px solid #ccc;
@@ -83,7 +72,6 @@ body {
 #menu-main ul li a {
 	color: #666;
 	text-decoration: none;
-	
 }
 #menu-main ul li a:hover {
 	color: #06c;
@@ -99,6 +87,7 @@ body {
 	background: #eee;
 	border: 1px solid #ccc;
 	padding: 10px;
+	padding-top: 0;
 }
 #menu-sub ul {
 	list-style: none;
@@ -115,6 +104,9 @@ body {
 #menu-sub a {
 	display: block;
 }
+#menu-sub h5 {
+	margin-top: 10px;
+}
 
 table th {
         text-align: left;
diff --git a/style/img/logosmall.png b/style/img/logosmall.png
new file mode 100644
index 0000000..2c49bc6
Binary files /dev/null and b/style/img/logosmall.png differ



More information about the Xfce4-commits mailing list