summaryrefslogtreecommitdiff
path: root/xslt/mallard/html/mal2html-css.xsl
diff options
context:
space:
mode:
authorShaun McCance <shaunm@gnome.org>2009-05-03 19:13:16 -0500
committerShaun McCance <shaunm@gnome.org>2009-05-03 21:45:12 -0500
commit89ec0e581538735fcaf44a7dd4893500c90e8ece (patch)
tree2ad4b41daf24059328f31170f72304970dda3767 /xslt/mallard/html/mal2html-css.xsl
parentbca325a88952f22bd8d7c4b15cd13fd3b91f5490 (diff)
downloadyelp-tools-89ec0e581538735fcaf44a7dd4893500c90e8ece.tar.gz
[mallard] Simpler auto links
Diffstat (limited to 'xslt/mallard/html/mal2html-css.xsl')
-rw-r--r--xslt/mallard/html/mal2html-css.xsl12
1 files changed, 12 insertions, 0 deletions
diff --git a/xslt/mallard/html/mal2html-css.xsl b/xslt/mallard/html/mal2html-css.xsl
index 65b673c..f444b26 100644
--- a/xslt/mallard/html/mal2html-css.xsl
+++ b/xslt/mallard/html/mal2html-css.xsl
@@ -98,6 +98,7 @@ body {
padding: 12px;
min-height: 100%;
}
+ul, ol, dl { margin: 0; }
div, pre, p, li { margin: 1em 0 0 0; padding: 0; }
.first-child { margin-top: 0; }
a {
@@ -170,6 +171,17 @@ h5.title { font-size: 1em; }
h6.title { font-size: 1em; }
h7.title { font-size: 1em; }
+div.autolinks ul { margin: 0; padding: 0; }
+div.autolinks div.title { margin: 1em 0 0 1em; }
+div.autolinks div.title span {
+ border-bottom: solid 1px </xsl:text>
+ <xsl:call-template name="theme.get_color">
+ <xsl:with-param name="id" select="'gray-border'"/>
+ </xsl:call-template>
+ <xsl:text>;
+}
+li.autolink { margin: 0.5em 0 0 0; padding: 0 0 0 1em; list-style-type: none; }
+
td.twocolumnleft { width: 48%; vertical-align: top; padding: 0; margin: 0; }
td.twocolumnright { width: 52%; vertical-align: top; padding: 0 0 0 1em; margin: 0; }