From 0a73411dae3559bdeb17410b6a0a8a5727752630 Mon Sep 17 00:00:00 2001 From: Shaun McCance Date: Sun, 28 Oct 2018 17:19:30 -0400 Subject: Allow non-experimental hi element, now with style hints --- xslt/mallard/html/mal2html-inline.xsl | 37 +++++++++++++++++++++++++++++++++++ xslt/mallard/html/mal2html-page.xsl | 23 ++++++++++++++++++++++ 2 files changed, 60 insertions(+) diff --git a/xslt/mallard/html/mal2html-inline.xsl b/xslt/mallard/html/mal2html-inline.xsl index 4048b261..a65f276b 100644 --- a/xslt/mallard/html/mal2html-inline.xsl +++ b/xslt/mallard/html/mal2html-inline.xsl @@ -216,6 +216,43 @@ an `xref` or `href` attribute. + + + + + + + hi-ins + + + hi-del + + + hi-red + + + hi-orange + + + hi-yellow + + + hi-green + + + hi-blue + + + hi-purple + + + hi-gray + + + + + + 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: ; } +span.hi.hi-ins { + background-color: + ; +} +span.hi.hi-del { + background-color: + ; + text-decoration: line-through; +} +span.hi.hi-red { background-color: + ; } +span.hi.hi-orange { background-color: + ; } +span.hi.hi-yellow { background-color: + ; } +span.hi.hi-green { background-color: + ; } +span.hi.hi-blue { background-color: + ; } +span.hi.hi-purple { background-color: + ; } +span.hi.hi-gray { background-color: + ; } dt.gloss-term { -- cgit v1.2.1