From: Ryan Kaldari Date: Thu, 10 Jun 2010 08:01:13 +0000 (+0000) Subject: putting local sitenotices in their own div and fixing sitenotice styling issues with... X-Git-Tag: 1.31.0-rc.0~36555 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=9e1b3906ce204f73d64797b0cf43ecd2c44f5a85;p=lhc%2Fweb%2Fwiklou.git putting local sitenotices in their own div and fixing sitenotice styling issues with Vector --- diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index 273a7d049e..67b8212a61 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -2034,7 +2034,7 @@ function wfGetCachedNotice( $name ) { $notice = ''; } } - + $notice = '
'.$notice.'
'; wfProfileOut( $fname ); return $notice; } diff --git a/skins/vector/main-ltr.css b/skins/vector/main-ltr.css index 4541ff7d21..2156179fe1 100644 --- a/skins/vector/main-ltr.css +++ b/skins/vector/main-ltr.css @@ -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; diff --git a/skins/vector/main-rtl.css b/skins/vector/main-rtl.css index 7211777f6a..333e0bc957 100644 --- a/skins/vector/main-rtl.css +++ b/skins/vector/main-rtl.css @@ -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;