[yelp-xsl] html.xsl: Style tweaks to linkdivs and link trails



commit b9c5bb0b150afc5b83ac251c8ab44fcbad18f5be
Author: Shaun McCance <shaunm gnome org>
Date:   Sun May 29 20:01:32 2011 -0400

    html.xsl: Style tweaks to linkdivs and link trails

 xslt/common/html.xsl                |    1 +
 xslt/mallard/html/mal2html-page.xsl |    6 +++---
 2 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/xslt/common/html.xsl b/xslt/common/html.xsl
index 4d3f74e..d012b00 100644
--- a/xslt/common/html.xsl
+++ b/xslt/common/html.xsl
@@ -688,6 +688,7 @@ div.links &gt; div.title &gt; span.title {
   border-bottom: solid 1px </xsl:text>
     <xsl:value-of select="$color.gray_border"/><xsl:text>;
 }
+div.links .desc { color: </xsl:text><xsl:value-of select="$color.text_light"/><xsl:text>; }
 div.links ul { margin: 0; padding: 0; }
 li.links {
   margin: 0.5em 0 0.5em 0;
diff --git a/xslt/mallard/html/mal2html-page.xsl b/xslt/mallard/html/mal2html-page.xsl
index 2db06d8..2d62e5d 100644
--- a/xslt/mallard/html/mal2html-page.xsl
+++ b/xslt/mallard/html/mal2html-page.xsl
@@ -1248,10 +1248,10 @@ td.twocolumnright {
   padding-</xsl:text><xsl:value-of select="$left"/><xsl:text>: 1em;
 }
 
-div.desc a {
-  color: </xsl:text><xsl:value-of select="$color.text_light"/><xsl:text>;
+div.links .desc a {
+  color: inherit;
 }
-div.desc a:hover {
+div.links .desc a:hover {
   color: </xsl:text><xsl:value-of select="$color.link"/><xsl:text>;
 }
 a.bold { font-weight: bold; }



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