summaryrefslogtreecommitdiff
path: root/xslt/mallard/html/mal2html-page.xsl
diff options
context:
space:
mode:
authorShaun McCance <shaunm@redhat.com>2018-10-28 17:19:30 -0400
committerShaun McCance <shaunm@redhat.com>2018-10-28 17:19:30 -0400
commit0a73411dae3559bdeb17410b6a0a8a5727752630 (patch)
tree4c7a64ed5d9fa2ea72c1ee206347a0d394e5ee1e /xslt/mallard/html/mal2html-page.xsl
parentb34a615ff6c04c638805d73de26ecf195852bbd8 (diff)
downloadyelp-xsl-0a73411dae3559bdeb17410b6a0a8a5727752630.tar.gz
Allow non-experimental hi element, now with style hints
Diffstat (limited to 'xslt/mallard/html/mal2html-page.xsl')
-rw-r--r--xslt/mallard/html/mal2html-page.xsl23
1 files changed, 23 insertions, 0 deletions
diff --git a/xslt/mallard/html/mal2html-page.xsl b/xslt/mallard/html/mal2html-page.xsl
index f673d1f3..c2a01e7e 100644
--- a/xslt/mallard/html/mal2html-page.xsl
+++ b/xslt/mallard/html/mal2html-page.xsl
@@ -1429,6 +1429,29 @@ span.hi {
background-color: </xsl:text>
<xsl:value-of select="$color.bg.yellow"/><xsl:text>;
}
+span.hi.hi-ins {
+ background-color: </xsl:text>
+ <xsl:value-of select="$color.bg.green"/><xsl:text>;
+}
+span.hi.hi-del {
+ background-color: </xsl:text>
+ <xsl:value-of select="$color.bg.red"/><xsl:text>;
+ text-decoration: line-through;
+}
+span.hi.hi-red { background-color: </xsl:text>
+ <xsl:value-of select="$color.bg.red"/><xsl:text>; }
+span.hi.hi-orange { background-color: </xsl:text>
+ <xsl:value-of select="$color.bg.orange"/><xsl:text>; }
+span.hi.hi-yellow { background-color: </xsl:text>
+ <xsl:value-of select="$color.bg.yellow"/><xsl:text>; }
+span.hi.hi-green { background-color: </xsl:text>
+ <xsl:value-of select="$color.bg.green"/><xsl:text>; }
+span.hi.hi-blue { background-color: </xsl:text>
+ <xsl:value-of select="$color.bg.blue"/><xsl:text>; }
+span.hi.hi-purple { background-color: </xsl:text>
+ <xsl:value-of select="$color.bg.purple"/><xsl:text>; }
+span.hi.hi-gray { background-color: </xsl:text>
+ <xsl:value-of select="$color.bg.gray"/><xsl:text>; }
<!-- experimental/gloss -->
dt.gloss-term {