@@ -1,9 +1,8 @@
jQuery(document).ready(function() {
jQuery(document).foundation();
- var $title = jQuery('h3:contains(":")').text().split(":");
-
// Split the namespace title into a title and a label
- jQuery('h3:contains(":")').html('<small class="label">' + $title[0] + '</small>' + $title[1]);
+ var $title = jQuery('h2:not(:contains("\""))').jQuery('h2:contains(":")').text().split(":");
+ jQuery('h2:not(:contains("\""))').jQuery('h2:contains(":")').html('<small class="label">' + $title[0] + '</small><div class="clear_both"></div>' + $title[1]);
// Turn categories into labels
jQuery('#mw-normal-catlinks ul li a').addClass('label');
@@ -24,7 +24,10 @@ small {
h3 small.label {
font-size: small;
display:block;
- width:6em;
+}
+
+.clear_both {
+ clear:both;
}
@@ -128,11 +131,8 @@ h1,h2,h3,h4,h5,h6 {
margin-bottom: 0.5em;
-h2 {
- font-size: 2em;
-}
-h2 .editsection {
+.editsection {
font-weight: normal;
font-size: 0.3em;
@@ -99,7 +99,7 @@ class ForegroundTemplate extends BaseTemplate {
<div class="row">
<div class="large-12 columns">
- <h3><?php $this->html('title') ?></h3>
+ <h2><?php $this->html('title') ?></h2>
<h5><?php $this->html('subtitle') ?></h5>
<?php $this->html('bodytext') ?>
<div class="group"><?php $this->html('catlinks'); ?></div>