add another div inside #mw_content to allow users to style font-size in the content...
authorRiver Tarnell <river@users.mediawiki.org>
Thu, 24 Jan 2008 00:31:30 +0000 (00:31 +0000)
committerRiver Tarnell <river@users.mediawiki.org>
Thu, 24 Jan 2008 00:31:30 +0000 (00:31 +0000)
skins/Modern.php

index 221fb04..9349ec4 100644 (file)
@@ -110,6 +110,10 @@ class ModernTemplate extends QuickTemplate {
 
        <!-- content -->
        <div id="mw_content">
+       <!-- contentholder does nothing by default, but it allows users to style the text inside
+            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['sitenotice']) { ?><div id="siteNotice"><?php $this->html('sitenotice') ?></div><?php } ?>
 
                        <h3 id="siteSub"><?php $this->msg('tagline') ?></h3>
@@ -121,6 +125,7 @@ class ModernTemplate extends QuickTemplate {
 
                        <?php $this->html('bodytext') ?>
                        <?php if($this->data['catlinks']) { ?><div id="catlinks"><?php       $this->html('catlinks') ?></div><?php } ?>
+       </div><!-- mw_contentholder -->
        </div><!-- mw_content -->
        </div><!-- mw_contentwrapper -->