[yelp-xsl] mal2html-page.xsl: Style tweaks for links and such
- From: Shaun McCance <shaunm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [yelp-xsl] mal2html-page.xsl: Style tweaks for links and such
- Date: Sat, 19 Mar 2011 02:03:43 +0000 (UTC)
commit 4bb7a6279ba485c67e1ac792a5b8da326c756b4d
Author: Shaun McCance <shaunm gnome org>
Date: Fri Mar 18 18:03:17 2011 -0400
mal2html-page.xsl: Style tweaks for links and such
xslt/mallard/html/mal2html-page.xsl | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/xslt/mallard/html/mal2html-page.xsl b/xslt/mallard/html/mal2html-page.xsl
index bb5e9e8..dbcc330 100644
--- a/xslt/mallard/html/mal2html-page.xsl
+++ b/xslt/mallard/html/mal2html-page.xsl
@@ -858,7 +858,7 @@ REMARK: Describe this template
</a></div>
<xsl:variable name="desc" select="$target/mal:info/mal:desc"/>
<xsl:if test="$desc">
- <div class="toronto-desc">
+ <div class="toronto-desc desc">
<span class="desc">
<xsl:apply-templates mode="mal2html.inline.mode" select="$desc/node()"/>
</span>
@@ -1163,6 +1163,7 @@ table.toronto {
table.toronto td {
padding-top: 1em;
padding-</xsl:text><xsl:value-of select="$right"/><xsl:text>: 0.83em;
+ width: 33%;
}
div.toronto-link {
margin: 0;
@@ -1185,8 +1186,15 @@ td.twocolumnright {
-moz-padding-end: 0;
}
+div.desc a {
+ color: </xsl:text><xsl:value-of select="$color.text_light"/><xsl:text>;
+}
+div.desc a:hover {
+ color: </xsl:text><xsl:value-of select="$color.link"/><xsl:text>;
+}
a.bold { font-weight: bold; }
a.linkdiv { display: block; }
+a.linkdiv:hover { text-decoration: none; }
div.linkdiv div.title {
font-size: 1em;
color: inherit;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]