From 0d66544c80d42563182200898a3912b80da733f8 Mon Sep 17 00:00:00 2001 From: Gabriel Wicke Date: Fri, 16 Apr 2004 11:41:24 +0000 Subject: [PATCH] auto margins for objects in center class --- stylesheets/monobook/main.css | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/stylesheets/monobook/main.css b/stylesheets/monobook/main.css index 6064a934b8..a25612707d 100644 --- a/stylesheets/monobook/main.css +++ b/stylesheets/monobook/main.css @@ -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 { -- 2.20.1