changeset 9:a7e3bc186b9c

Move the username to the right, over the search box
author Radomir Dopieralski <devel@sheep.art.pl>
date Fri, 16 May 2008 17:04:06 +0200
parents f00eb9a1977d
children d8e698bd3331
files css/screen.css modernized.py
diffstat 2 files changed, 9 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/css/screen.css	Fri May 16 16:59:04 2008 +0200
+++ b/css/screen.css	Fri May 16 17:04:06 2008 +0200
@@ -80,22 +80,19 @@
 }
 
 #username {
-    display: inline;
+    float: right;
+    clear: right;
     margin: 5px 12px;
     padding: 0;
-    text-align: right;
     font-size: 0.82em;
     white-space: nowrap;
 }
 
 *[dir="rtl"] #username {
     text-align: left;
-    margin: 5px 0px;
-}
-
-#username li {
-    display: inline;
-    padding: 0 0.5em 0 0;
+    margin: 0;
+    float: left;
+    clear: left;
 }
 
 #username form {
@@ -119,7 +116,8 @@
 
 #searchform {
     float: right;
-    margin: 5px 10px;
+    clear: right;
+    margin: 0 10px;
     padding: 0;
     white-space: nowrap;
     font-size: 0.82em;
@@ -127,6 +125,7 @@
 
 *[dir="rtl"] #searchform {
     float: left;
+    clear: left;
 }
 
 #searchform form div {
--- a/modernized.py	Fri May 16 16:59:04 2008 +0200
+++ b/modernized.py	Fri May 16 17:04:06 2008 +0200
@@ -28,8 +28,8 @@
             # Header
             u'<div id="header">',
             self.username(d),
+            self.logo(),
             self.searchform(d),
-            self.logo(),
             u'<h1 id="locationline">',
             self.interwiki(d),
             self.title(d),