From 9e1b3906ce204f73d64797b0cf43ecd2c44f5a85 Mon Sep 17 00:00:00 2001 From: Ryan Kaldari Date: Thu, 10 Jun 2010 08:01:13 +0000 Subject: [PATCH] putting local sitenotices in their own div and fixing sitenotice styling issues with Vector --- includes/GlobalFunctions.php | 2 +- skins/vector/main-ltr.css | 12 ++++++------ skins/vector/main-rtl.css | 12 ++++++------ 3 files changed, 13 insertions(+), 13 deletions(-) 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; -- 2.20.1