Explorar o código

adding support for sitSub

Garrick van Buren %!s(int64=12) %!d(string=hai) anos
pai
achega
259f4c7c7a
Modificáronse 2 ficheiros con 11 adicións e 0 borrados
  1. 1 0
      Foreground.skin.php
  2. 10 0
      assets/stylesheets/foreground.css

+ 1 - 0
Foreground.skin.php

@@ -127,6 +127,7 @@ class foregroundTemplate extends BaseTemplate {
 						</ul>
 					<?php endif; ?>
 					<h2 class="title"><?php $this->html('title') ?></h2>
+					<?php if ( $this->data['isarticle'] ) { ?><h3 id="siteSub"><?php $this->msg( 'tagline' ) ?></h3><?php } ?>
 					<h5 class="subtitle"><?php $this->html('subtitle') ?></h5>
 					<?php $this->html('bodytext') ?>
 		    	<div class="group"><?php $this->html('catlinks'); ?></div>

+ 10 - 0
assets/stylesheets/foreground.css

@@ -46,6 +46,16 @@ h2 span {
   display:block;
 }
 
+h2.title {
+  margin-bottom: 0.1em;
+}
+
+h3#siteSub {
+  font-style: italic;
+  font-size: small;
+  margin-bottom: 0.5em;
+  color: #6f6f6f;
+}
 
 .clear_both {
   clear:both;