changeset 2885:3ef8ecf05b51

tweak modernized theme css to reduce height of moin-header by floating user info right like basic theme
author RogerHaase <haaserd@gmail.com>
date Thu, 29 Jan 2015 06:59:58 -0700
parents 1e857f75122a
children b1096f1c555b
files MoinMoin/themes/modernized/static/css/stylus/theme.styl MoinMoin/themes/modernized/static/css/theme.css
diffstat 2 files changed, 5 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/themes/modernized/static/css/stylus/theme.styl	Sun Jan 25 08:38:32 2015 -0700
+++ b/MoinMoin/themes/modernized/static/css/stylus/theme.styl	Thu Jan 29 06:59:58 2015 -0700
@@ -569,7 +569,7 @@
 
 #moin-logo
     float left
-    margin 2px 10px
+    margin 2px 10px 8px 10px
     padding 0
     font-size 1.4em
     line-height 1em
@@ -590,8 +590,9 @@
 
 #moin-username
     display block
-    margin 0px 12px 4px 12px
+    margin 6px 4px 4px 4px
     padding 0
+    float right
     font-size 0.82em
     a
         color heading_color
--- a/MoinMoin/themes/modernized/static/css/theme.css	Sun Jan 25 08:38:32 2015 -0700
+++ b/MoinMoin/themes/modernized/static/css/theme.css	Thu Jan 29 06:59:58 2015 -0700
@@ -407,11 +407,11 @@
 #moin-search-query{padding-right:20px;font-size:100%;vertical-align:middle;color:#000;background-color:#fff;border:1px solid #4e7da9;border-radius:5px}
 #moin-long-searchform{padding:0;font-size:.82em;text-align:left}
 #moin-long-searchform div{margin:0}
-#moin-logo{float:left;margin:2px 10px;padding:0;font-size:1.4em;line-height:1em;font-weight:bold}
+#moin-logo{float:left;margin:2px 10px 8px 10px;padding:0;font-size:1.4em;line-height:1em;font-weight:bold}
 #moin-logo img{vertical-align:middle}
 #moin-logo a{color:#fff;text-decoration:none}
 a.moin-sitename{font-size:1.5em;font-weight:bold;color:#fff;line-height:1.5em}
-#moin-username{display:block;margin:0 12px 4px 12px;padding:0;font-size:.82em;}
+#moin-username{display:block;margin:6px 4px 4px 4px;padding:0;float:right;font-size:.82em;}
 #moin-username a{color:#fff}
 #moin-username input:hover{color:#1f9ae0}
 #moin-interwiki a{color:#fff}