bug #12894: missing css classes; new messages bar conflicts with tagline and subtitle...
authorRiver Tarnell <river@users.mediawiki.org>
Sun, 3 Feb 2008 20:15:19 +0000 (20:15 +0000)
committerRiver Tarnell <river@users.mediawiki.org>
Sun, 3 Feb 2008 20:15:19 +0000 (20:15 +0000)
includes/DefaultSettings.php
skins/Modern.php
skins/modern/main.css

index 482b2a0..1679c30 100644 (file)
@@ -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:
index f2d957d..24c87b3 100644 (file)
@@ -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 -->
        <div id="mw_contentholder">
+                       <?php if($this->data['newtalk'] ) { ?><div class="usermessage"><?php $this->html('newtalk')  ?></div><?php } ?>
                        <?php if($this->data['sitenotice']) { ?><div id="siteNotice"><?php $this->html('sitenotice') ?></div><?php } ?>
 
                        <h3 id="siteSub"><?php $this->msg('tagline') ?></h3>
                        <div id="contentSub"><?php $this->html('subtitle') ?></div>
 
                        <?php if($this->data['undelete']) { ?><div id="contentSub2"><?php     $this->html('undelete') ?></div><?php } ?>
-                       <?php if($this->data['newtalk'] ) { ?><div class="usermessage"><?php $this->html('newtalk')  ?></div><?php } ?>
                        <?php if($this->data['showjumplinks']) { ?><div id="jump-to-nav"><?php $this->msg('jumpto') ?> <a href="#column-one"><?php $this->msg('jumptonavigation') ?></a>, <a href="#searchInput"><?php $this->msg('jumptosearch') ?></a></div><?php } ?>
 
                        <?php $this->html('bodytext') ?>
index 9461563..d1bb561 100644 (file)
@@ -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;
+}
+
+