auto margins for objects in center class
authorGabriel Wicke <gwicke@users.mediawiki.org>
Fri, 16 Apr 2004 11:41:24 +0000 (11:41 +0000)
committerGabriel Wicke <gwicke@users.mediawiki.org>
Fri, 16 Apr 2004 11:41:24 +0000 (11:41 +0000)
stylesheets/monobook/main.css

index 6064a93..a256127 100644 (file)
@@ -273,7 +273,7 @@ pre {
     text-align: right;
     float: right;
     position: relative;
-    margin-top: -1.5em;
+    top: -1.5em;
 }
 
 #content {
@@ -341,6 +341,10 @@ pre {
     width: 100%;
     text-align: center;
 }
+div.center * {
+    margin-left: auto;
+    margin-right: auto;
+}
 /*
 ** mediawiki-specific styles
 */
@@ -900,7 +904,7 @@ li#contentaction-watch {
 }
 #portal-footer li {
     display: inline;
-    margin-right: 2em;
+    margin: 0 1.3em;
 }
 /* hide from incapable browsers */
 head:first-child+body #portal-footer li {