[yelp-xsl] [theme-html] Indent wrapped lines of trails
- From: Shaun McCance <shaunm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [yelp-xsl] [theme-html] Indent wrapped lines of trails
- Date: Wed, 31 Mar 2010 23:34:10 +0000 (UTC)
commit 5d37afe296b287a73c9f4004ab00fec1437eefb9
Author: Shaun McCance <shaunm gnome org>
Date: Wed Mar 31 12:33:49 2010 -0500
[theme-html] Indent wrapped lines of trails
This makes it more clear where one trail ends and the next begings
when trails are wide enough to linewrap.
xslt/theme/theme-html.xsl | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/xslt/theme/theme-html.xsl b/xslt/theme/theme-html.xsl
index 2fccb73..0161c14 100644
--- a/xslt/theme/theme-html.xsl
+++ b/xslt/theme/theme-html.xsl
@@ -157,11 +157,15 @@ div.sect div.sect {
div.trails { margin: 0; }
div.trail {
font-size: 0.83em;
- margin: 0 1px 0.2em 1px;
- padding-</xsl:text><xsl:value-of select="$left"/><xsl:text>: 1.2em;
+ margin: 0 2.2em 0.2em 2.2em;
+ padding: 0;
+ text-indent: -1em;
color: </xsl:text>
<xsl:value-of select="$theme.color.text_light"/><xsl:text>;
}
+a.trail {
+ white-space: nowrap;
+}
div.header {
margin: 0;
color: </xsl:text>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]