[yelp-xsl] mal2html-page.xsl: Remove dead space between mouseover links



commit 773abbd3f13721cc3951f8c6e8e94ed2c051db20
Author: Shaun McCance <shaunm gnome org>
Date:   Fri Mar 18 19:09:45 2011 -0400

    mal2html-page.xsl: Remove dead space between mouseover links

 xslt/mallard/html/mal2html-page.xsl |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)
---
diff --git a/xslt/mallard/html/mal2html-page.xsl b/xslt/mallard/html/mal2html-page.xsl
index dbcc330..dd6d166 100644
--- a/xslt/mallard/html/mal2html-page.xsl
+++ b/xslt/mallard/html/mal2html-page.xsl
@@ -809,7 +809,7 @@ REMARK: Describe this template
                 </img>
               </xsl:for-each>
             </div>
-            <ul>
+            <ul class="mouseovers">
               <xsl:for-each select="$_links">
                 <xsl:sort data-type="number" select="@groupsort"/>
                 <xsl:sort select="mal:title[ type = 'sort']"/>
@@ -1147,6 +1147,7 @@ div.copyrights {
 div.mouseovers {
   width: 250px;
   height: 200px;
+  text-align: center;
   margin: 0;
   margin-</xsl:text><xsl:value-of select="$right"/><xsl:text>: 1em;
   float: </xsl:text><xsl:value-of select="$left"/><xsl:text>;
@@ -1155,6 +1156,15 @@ div.mouseovers img {
   display: none;
   position: absolute;
 }
+ul.mouseovers li { margin: 0; }
+ul.mouseovers a {
+  display: block;
+  padding: 4px;
+}
+ul.mouseovers a:hover {
+  background: </xsl:text><xsl:value-of select="$color.blue_background"/><xsl:text>;
+  text-decoration: none;
+}
 
 table.toronto {
   clear: both;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]