putting local sitenotices in their own div and fixing sitenotice styling issues with...
authorRyan Kaldari <kaldari@users.mediawiki.org>
Thu, 10 Jun 2010 08:01:13 +0000 (08:01 +0000)
committerRyan Kaldari <kaldari@users.mediawiki.org>
Thu, 10 Jun 2010 08:01:13 +0000 (08:01 +0000)
includes/GlobalFunctions.php
skins/vector/main-ltr.css
skins/vector/main-rtl.css

index 273a7d0..67b8212 100644 (file)
@@ -2034,7 +2034,7 @@ function wfGetCachedNotice( $name ) {
                        $notice = '';
                }
        }
-
+       $notice = '<div id="localNotice">'.$notice.'</div>';
        wfProfileOut( $fname );
        return $notice;
 }
index 4541ff7..2156179 100644 (file)
@@ -929,12 +929,12 @@ img.thumbborder {
        font-size: 0.8em;
        margin: 0;
 }
-       #siteNotice div,
-       #siteNotice p {
-               margin: 0;
-               padding: 0;
-               margin-bottom: 0.9em;
-       }
+#centralNotice {
+       margin-bottom: 0.9em;
+}
+#localNotice {
+       margin-bottom: 0.9em;
+}
 /* Categories */
 .catlinks {
        border: 1px solid #aaa;
index 7211777..333e0bc 100644 (file)
@@ -929,12 +929,12 @@ img.thumbborder {
        font-size: 0.8em;
        margin: 0;
 }
-       #siteNotice div,
-       #siteNotice p {
-               margin: 0;
-               padding: 0;
-               margin-bottom: 0.9em;
-       }
+#centralNotice {
+       margin-bottom: 0.9em;
+}
+#localNotice {
+       margin-bottom: 0.9em;
+}
 /* Categories */
 .catlinks {
        border: 1px solid #aaa;