(bug 15427) Make monobook firstheading have an ID (instead of class) like modern
authorAaron Schulz <aaron@users.mediawiki.org>
Sat, 3 Jan 2009 16:59:08 +0000 (16:59 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Sat, 3 Jan 2009 16:59:08 +0000 (16:59 +0000)
skins/MonoBook.php
skins/chick/IE50Fixes.css
skins/chick/main.css
skins/monobook/IE50Fixes.css
skins/monobook/main.css

index 5d6a5b1..c76ff45 100644 (file)
@@ -115,7 +115,7 @@ class MonoBookTemplate extends QuickTemplate {
        <div id="content">
                <a name="top" id="top"></a>
                <?php if($this->data['sitenotice']) { ?><div id="siteNotice"><?php $this->html('sitenotice') ?></div><?php } ?>
-               <h1 class="firstHeading"><?php $this->data['displaytitle']!=""?$this->html('title'):$this->text('title') ?></h1>
+               <h1 id="firstHeading"><?php $this->data['displaytitle']!=""?$this->html('title'):$this->text('title') ?></h1>
                <div id="bodyContent">
                        <h3 id="siteSub"><?php $this->msg('tagline') ?></h3>
                        <div id="contentSub"><?php $this->html('subtitle') ?></div>
index dd9eda3..4a193e9 100644 (file)
@@ -63,5 +63,5 @@ li#pt-logout {
     padding:0;
     margin:0;
 }
-.firstHeading { margin-bottom: 0.3em; }
+#firstHeading { margin-bottom: 0.3em; }
 /*div{ border:1px solid Red !important;}*/
index dddc879..fde0330 100644 (file)
@@ -176,7 +176,7 @@ span.subpages { display: block; }
 #bodyContent h5 {
     margin-bottom: 0.3em;
 }
-.firstHeading { margin-bottom:0.1em; }
+#firstHeading { margin-bottom:0.1em; }
 
 /* user notification thing */
 .usermessage {
index 027e32e..26c3dc9 100644 (file)
@@ -63,5 +63,5 @@ li#pt-logout {
        padding:0;
        margin: 0;
 }
-.firstHeading { margin-bottom: .3em; }
+#firstHeading { margin-bottom: .3em; }
 /*div{ border:1px solid Red !important;}*/
index 1824fa5..7e5809b 100644 (file)
@@ -260,7 +260,7 @@ span.subpages {
 #bodyContent h3, #bodyContent h4, #bodyContent h5 {
        margin-bottom: .3em;
 }
-.firstHeading {
+#firstHeading {
        margin-bottom: .1em;
        /* These two rules hack around bug 2013 (fix for more limited bug 11325).
           When bug 2013 is fixed properly, they should be removed. */