summaryrefslogtreecommitdiff
path: root/xslt/mallard/html/mal2html-css.xsl
diff options
context:
space:
mode:
authorShaun McCance <shaunm@gnome.org>2008-11-14 12:34:53 -0600
committerShaun McCance <shaunm@gnome.org>2009-04-19 11:13:29 -0500
commita7a655c2716c4b3165f529272ff8e133e3951124 (patch)
treececd2455ba97d3b0abe7e514becbcc7ccd002722 /xslt/mallard/html/mal2html-css.xsl
parent1a15b44173bafd0cbd3f3fd72932d3a317530462 (diff)
downloadyelp-tools-a7a655c2716c4b3165f529272ff8e133e3951124.tar.gz
Adding optional two-column layout for page links
Diffstat (limited to 'xslt/mallard/html/mal2html-css.xsl')
-rw-r--r--xslt/mallard/html/mal2html-css.xsl14
1 files changed, 14 insertions, 0 deletions
diff --git a/xslt/mallard/html/mal2html-css.xsl b/xslt/mallard/html/mal2html-css.xsl
index 79efa89..bf99d5d 100644
--- a/xslt/mallard/html/mal2html-css.xsl
+++ b/xslt/mallard/html/mal2html-css.xsl
@@ -178,6 +178,7 @@ div.header {
</xsl:call-template>
<xsl:text>;
}
+table { border-collapse: collapse; }
div.section div.section div.header { border: none; }
h1, h2, h3, h4, h5, h6, h7 { margin: 0; }
h1.title { font-size: 1.44em; }
@@ -188,6 +189,19 @@ h5.title { font-size: 1em; }
h6.title { font-size: 1em; }
h7.title { font-size: 1em; }
+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;
+}
+
div.pagelink div.title {
font-size: 1em;
color: inherit;