dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0a8902c
)
add another div inside #mw_content to allow users to style font-size in the content...
author
River Tarnell
<river@users.mediawiki.org>
Thu, 24 Jan 2008 00:31:30 +0000
(
00:31
+0000)
committer
River Tarnell
<river@users.mediawiki.org>
Thu, 24 Jan 2008 00:31:30 +0000
(
00:31
+0000)
skins/Modern.php
patch
|
blob
|
history
diff --git
a/skins/Modern.php
b/skins/Modern.php
index
221fb04
..
9349ec4
100644
(file)
--- a/
skins/Modern.php
+++ b/
skins/Modern.php
@@
-110,6
+110,10
@@
class ModernTemplate extends QuickTemplate {
<!-- content -->
<div id="mw_content">
<!-- 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>
<?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 } ?>
<?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 -->
</div><!-- mw_content -->
</div><!-- mw_contentwrapper -->