[yelp-xsl] [theme-html] Increase top/bottom padding on td, except in thead/tfoot



commit 33d3d25e75fe51e31b25f237c92d55209e538432
Author: Shaun McCance <shaunm gnome org>
Date:   Mon Mar 15 19:09:45 2010 -0500

    [theme-html] Increase top/bottom padding on td, except in thead/tfoot

 xslt/theme/theme-html.xsl |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/xslt/theme/theme-html.xsl b/xslt/theme/theme-html.xsl
index 46527e1..2fccb73 100644
--- a/xslt/theme/theme-html.xsl
+++ b/xslt/theme/theme-html.xsl
@@ -191,11 +191,14 @@ table {
   border-width: 1px;
 }
 td, th {
-  padding: 0.1em 0.5em 0.1em 0.5em;
+  padding: 0.5em;
   vertical-align: top;
   border-color: </xsl:text><xsl:value-of select="$theme.color.text_light"/><xsl:text>;
   border-width: 1px;
 }
+thead td, thead th, tfoot td, tfoot th {
+  padding: 0.2em 0.5em 0.2em 0.5em;
+}
 
 ul, ol, dl { margin: 0; padding: 0; }
 li {



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