[yelp-xsl] html: Special formatting for thead and tfoot



commit 2c149f2a45a53cd6e93c4235836484cf2e078d27
Author: Shaun McCance <shaunm gnome org>
Date:   Fri Nov 4 17:53:25 2011 -0400

    html: Special formatting for thead and tfoot

 xslt/common/html.xsl |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/xslt/common/html.xsl b/xslt/common/html.xsl
index 7c2143b..8385a13 100644
--- a/xslt/common/html.xsl
+++ b/xslt/common/html.xsl
@@ -697,7 +697,9 @@ td, th {
   border-width: 1px;
 }
 thead td, thead th, tfoot td, tfoot th {
-  padding: 0.2em 0.5em 0.2em 0.5em;
+  font-weight: bold;
+  color: </xsl:text><xsl:value-of select="$color.text_light"/><xsl:text>;
+  background-color: </xsl:text><xsl:value-of select="$color.dark_background"/><xsl:text>;
 }
 
 ul, ol, dl { margin: 0; padding: 0; }



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