[Xfce4-commits] <wiki:master> Use shared css.
Nick Schermer
noreply at xfce.org
Fri Dec 17 16:34:02 CET 2010
Updating branch refs/heads/master
to f7e158257bfcaa175ba22aa106581db838704e8b (commit)
from 938dd87871b3894b1201771d9708af4a47b90081 (commit)
commit f7e158257bfcaa175ba22aa106581db838704e8b
Author: Nick Schermer <nick at xfce.org>
Date: Fri Dec 17 16:33:38 2010 +0100
Use shared css.
lib/tpl/xfce/design.css | 3 ++
lib/tpl/xfce/images/logosmall.png | Bin 7035 -> 0 bytes
lib/tpl/xfce/xfce-header.html | 44 +++---------------------------------
3 files changed, 7 insertions(+), 40 deletions(-)
diff --git a/lib/tpl/xfce/design.css b/lib/tpl/xfce/design.css
index b24b6bd..4a7c173 100644
--- a/lib/tpl/xfce/design.css
+++ b/lib/tpl/xfce/design.css
@@ -8,6 +8,9 @@
/* -------------- general elements --------------- */
+/* shared css for xfce-header.html */
+ at import url('http://www-test.xfce.org/style/header.css');
+
* { padding: 0; margin: 0; }
body {
diff --git a/lib/tpl/xfce/images/logosmall.png b/lib/tpl/xfce/images/logosmall.png
deleted file mode 100644
index 8b3a50c..0000000
Binary files a/lib/tpl/xfce/images/logosmall.png and /dev/null differ
diff --git a/lib/tpl/xfce/xfce-header.html b/lib/tpl/xfce/xfce-header.html
index b47c6ef..cb14b56 100644
--- a/lib/tpl/xfce/xfce-header.html
+++ b/lib/tpl/xfce/xfce-header.html
@@ -1,43 +1,7 @@
-<style type="text/css">
-#page-header {
- /*border-bottom: 2px #69f solid;*/
- background: #333 url('lib/tpl/xfce/images/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;
-}
-</style>
-
-<div id="page-header">
+<div id="xfce-header">
<div>
- <h1 style="display: none;">Xfce Wiki</h1>
- <h5 style="display: none;">Sub domains</h5>
+ <h1 id="xfce-header-title">Xfce</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>
@@ -50,5 +14,5 @@
<li><a href="http://git.xfce.org" title="Project repositories">GIT</a></li>
</ul>
</div>
- <div style="clear: both;"></div>
+ <div id="xfce-header-clear"></div>
</div>
More information about the Xfce4-commits
mailing list