Un-center headings on non-youth homesearch
authorWilliam Rockwood <wrockwood@tadl.org>
Tue, 19 Mar 2013 21:38:33 +0000 (17:38 -0400)
committerWilliam Rockwood <wrockwood@tadl.org>
Tue, 19 Mar 2013 21:39:57 +0000 (17:39 -0400)
- created new class for h1s on homesearch_ys
- applied it.

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

index ea2a612..ab6a133 100644 (file)
@@ -77,7 +77,12 @@ h1 {
 
 h1.home-header {
        font-size:2.5em;
-//     padding-left:3em;
+       padding-left:3em;
+       margin-bottom:5px;
+}
+
+h1.home-header-ys {
+       font-size:2.5em;
        text-align:center;
        margin-bottom:1em;
 }
index 049e3a3..15fed6b 100644 (file)
@@ -1,6 +1,6 @@
 <div id="homesearch_main_logo">
-<h1 class="home-header">[% l("Books on Display"); %]</h1>
+<h1 class="home-header-ys">[% l("Books on Display"); %]</h1>
 <iframe width="960" height="300" src="https://www.tadl.org/slider/youth/slider1.php" frameborder="0" marginwidth="5" marginheight="5" scrolling="no" style="text-align:center"></iframe>
-<h1 class="home-header">[% l("New Books!"); %]</h1>
+<h1 class="home-header-ys">[% l("New Books!"); %]</h1>
 <iframe width="960" height="150" src="https://www.tadl.org/slider/youth/slider2.php" frameborder="0" marginwidth="5" marginheight="5" scrolling="no" style="text-align:center"></iframe>
 </div>