summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSander Vesik <sander.vesik@sun.com>2002-08-05 22:13:46 +0000
committerSander Vesik <sander@src.gnome.org>2002-08-05 22:13:46 +0000
commitcddeb759a6db4e26ee23981e8f949f45e146dfe8 (patch)
tree165116ebf052f77dbf79a2984158221800aeb788
parent44c73d491118113ec392b9c0679d088741f7f4de (diff)
downloadyelp-cddeb759a6db4e26ee23981e8f949f45e146dfe8.tar.gz
- apply bold formating to guibuttons - apply mono formating to commands -
2002-08-05 Sander Vesik <sander.vesik@sun.com> * stylesheets/yelp-customization.xsl: - apply bold formating to guibuttons - apply mono formating to commands - fix left-margin instead of margin-left - relief from table formating quirks - leave space after inline media objects
-rw-r--r--ChangeLog8
-rw-r--r--stylesheets/yelp-customization.xsl43
2 files changed, 43 insertions, 8 deletions
diff --git a/ChangeLog b/ChangeLog
index 7c5f12ad..f7363b9d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2002-08-05 Sander Vesik <sander.vesik@sun.com>
+ * stylesheets/yelp-customization.xsl:
+ - apply bold formating to guibuttons
+ - apply mono formating to commands
+ - fix left-margin instead of margin-left
+ - relief from table formating quirks
+ - leave space after inline media objects
+
2002-08-05 Mikael Hallendal <micke@codefactory.se>
* Release 1.0.2
diff --git a/stylesheets/yelp-customization.xsl b/stylesheets/yelp-customization.xsl
index 75929801..4b0851af 100644
--- a/stylesheets/yelp-customization.xsl
+++ b/stylesheets/yelp-customization.xsl
@@ -15,10 +15,12 @@
<xsl:param name="gdb_stylesheet_path" select="'No Stylesheet'" />
+<xsl:output encoding="ISO-8859-1" />
+
<!-- Specifies the default path for admonition graphics -->
<xsl:param name="admon.graphics.path"><xsl:text>file://</xsl:text><xsl:value-of select="$gdb_stylesheet_path"/><xsl:text>/images/</xsl:text></xsl:param>
-<xsl:output encoding="ISO-8859-1" />
+<xsl:param name="table.borders.with.css" select="1"/>
<!-- direct parametrisation -->
<xsl:param name="admon.style"><xsl:text>margin-left: 0</xsl:text></xsl:param>
@@ -140,10 +142,10 @@
<xsl:template name="user.head.content">
<style>
<xsl:text>
- B {font-weight: 700}
+ B {font-weight: bold}
LI {margin-bottom: 0.66em;}
- UL LI {left-margin: 1em}
- OL LI {left-margin: 1.5em}
+ UL LI {margin-left: 1em}
+ OL LI {margin-left: 1.5em}
LI P {margin-bottom: 0}
LI P {margin-top: 0}
P.header-title {text-align: center; margin-top: 0; margin-bottom: 0}
@@ -178,14 +180,39 @@
DIV.table TH {border-width: 0}
LI DIV.informaltable {margin-top: 1em; margin-bottom: 1em}
DIV.revhistory TABLE {border-spacing: 0}
- H1 {font-size: 140%}
- H2 {font-size: 130%; margin-bottom: 0}
- H3 {font-size: 120%; margin-bottom: 0}
- H4 {font-size: 110%}
+ H1 {font-size: 1.4em}
+ H2 {font-size: 1.3em; margin-bottom: 0}
+ H3 {font-size: 1.2em; margin-bottom: 0}
+ H4 {font-size: 1.1em}
</xsl:text>
</style>
</xsl:template>
+<!-- change some formating choices -->
+
+<xsl:template match="guibutton">
+ <xsl:call-template name="inline.boldseq"/>
+</xsl:template>
+
+<xsl:template match="command">
+ <xsl:call-template name="inline.monoseq"/>
+</xsl:template>
+
+
+<xsl:template match="inlinemediaobject">
+ <span class="{name(.)}">
+ <xsl:if test="@id">
+ <a name="{@id}"/>
+ </xsl:if>
+ <xsl:call-template name="select.mediaobject"/>
+ </span>
+<xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text>
+</xsl:template>
+
+
+
+<!-- the chunking machinery -->
+
<xsl:template name="next.link.cell">
<xsl:param name="object" select="."/>
<td align="right" width="33%"><a accesskey="n">