From 67028613f59e7699d57c230e5e2978370b4e31c9 Mon Sep 17 00:00:00 2001 From: River Tarnell Date: Sun, 3 Feb 2008 20:15:19 +0000 Subject: [PATCH] bug #12894: missing css classes; new messages bar conflicts with tagline and subtitle; new messages bar should be less subtle --- includes/DefaultSettings.php | 2 +- skins/Modern.php | 2 +- skins/modern/main.css | 23 ++++++++++++++++++++++- 3 files changed, 24 insertions(+), 3 deletions(-) diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 482b2a082e..1679c303f1 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -1320,7 +1320,7 @@ $wgCacheEpoch = '20030516000000'; * to ensure that client-side caches don't keep obsolete copies of global * styles. */ -$wgStyleVersion = '109'; +$wgStyleVersion = '110'; # Server-side caching: diff --git a/skins/Modern.php b/skins/Modern.php index f2d957d0fe..24c87b3eec 100644 --- a/skins/Modern.php +++ b/skins/Modern.php @@ -114,13 +114,13 @@ class ModernTemplate extends QuickTemplate { the content area without affecting the meaning of 'em' in #mw_content, which is used for the margins -->
+ data['newtalk'] ) { ?>
html('newtalk') ?>
data['sitenotice']) { ?>
html('sitenotice') ?>

msg('tagline') ?>

html('subtitle') ?>
data['undelete']) { ?>
html('undelete') ?>
- data['newtalk'] ) { ?>
html('newtalk') ?>
data['showjumplinks']) { ?> html('bodytext') ?> diff --git a/skins/modern/main.css b/skins/modern/main.css index 9461563894..d1bb561a0f 100644 --- a/skins/modern/main.css +++ b/skins/modern/main.css @@ -1073,5 +1073,26 @@ pre { margin: -1em -1em 0 -1em; padding: 0 1em 1em 1em; vertical-align: middle; - background: #f0f0f0 url(footer-grad.png) repeat-x bottom left; + background: #dadaff url(footer-grad.png) repeat-x bottom left; } + +/* emulate center */ +.center { + width:100%; + text-align:center; +} +*.center * { + margin-left:auto; + margin-right:auto; +} + +/* table standards */ +.toccolours { + border:1px solid #bbbbbb; + background-color:#f0f0f0; + border-spacing:0pt; + margin:0pt; + padding:0pt; +} + + -- 2.20.1