From c68f345d54c3e8a131a0ebe49e3375af147743ed Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Sat, 3 Jan 2009 16:59:08 +0000 Subject: [PATCH] (bug 15427) Make monobook firstheading have an ID (instead of class) like modern --- skins/MonoBook.php | 2 +- skins/chick/IE50Fixes.css | 2 +- skins/chick/main.css | 2 +- skins/monobook/IE50Fixes.css | 2 +- skins/monobook/main.css | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/skins/MonoBook.php b/skins/MonoBook.php index 5d6a5b1a97..c76ff457a3 100644 --- a/skins/MonoBook.php +++ b/skins/MonoBook.php @@ -115,7 +115,7 @@ class MonoBookTemplate extends QuickTemplate {
data['sitenotice']) { ?>
html('sitenotice') ?>
-

data['displaytitle']!=""?$this->html('title'):$this->text('title') ?>

+

data['displaytitle']!=""?$this->html('title'):$this->text('title') ?>

msg('tagline') ?>

html('subtitle') ?>
diff --git a/skins/chick/IE50Fixes.css b/skins/chick/IE50Fixes.css index dd9eda3e5f..4a193e943d 100644 --- a/skins/chick/IE50Fixes.css +++ b/skins/chick/IE50Fixes.css @@ -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;}*/ diff --git a/skins/chick/main.css b/skins/chick/main.css index dddc879757..fde0330141 100644 --- a/skins/chick/main.css +++ b/skins/chick/main.css @@ -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 { diff --git a/skins/monobook/IE50Fixes.css b/skins/monobook/IE50Fixes.css index 027e32ed0c..26c3dc975f 100644 --- a/skins/monobook/IE50Fixes.css +++ b/skins/monobook/IE50Fixes.css @@ -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;}*/ diff --git a/skins/monobook/main.css b/skins/monobook/main.css index 1824fa59be..7e5809b55a 100644 --- a/skins/monobook/main.css +++ b/skins/monobook/main.css @@ -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. */ -- 2.20.1