add h1 to home, style appropriately
authorWilliam Rockwood <wrockwood@tadl.org>
Mon, 23 Jul 2012 19:41:33 +0000 (15:41 -0400)
committerWilliam Rockwood <wrockwood@tadl.org>
Mon, 23 Jul 2012 19:41:33 +0000 (15:41 -0400)
- Added an h1 class home-heading to homesearch.tt2
- created h1.home-heading in tadl.css
- adjusted the padding for homesearch_main_logo which is ironically
  still in use.

Signed-off-by: William Rockwood <wrockwood@tadl.org>
css/tadl.css
templates_tadlskin/opac/parts/homesearch.tt2

index f2c4d8a..2de9dee 100644 (file)
@@ -15,7 +15,7 @@ img {
 }
 
 #homesearch_main_logo {
-        padding-top: 30px;
+        padding-top: 20px;
 }
 
 a {
@@ -66,6 +66,10 @@ h1 {
        font-weight:normal;
 }
 
+h1.home-header {
+       padding-left:3em;
+}
+
 h2 {
        font-size: 16px;
        font-weight:bold;
index ff2523d..4fb7ab2 100644 (file)
@@ -1,4 +1,4 @@
 <div id="homesearch_main_logo">
-    <!--<strong><center><img src="[% ctx.media_prefix %]/opac/images/main_logo.png" /></center></strong>-->
+<h1 class="home-header">[% l("New Books"); %]</h1>
 <iframe width="960" height="200" src="http://www.tadl.org/slider/books.php" frameborder="0" marginwidth="5" marginheight="5" scrolling="no" style="background:#F0F2F5;text-align:center"></iframe>
 </div>