From 1ea63ac6ea9cdc48fd44cc5ae20b21b18f83ece9 Mon Sep 17 00:00:00 2001 From: Shaun McCance Date: Tue, 19 May 2009 16:26:06 -0500 Subject: [mallard] Work on block_quote and block_synopsis --- xslt/common/theme.xsl | 11 +++++ xslt/mallard/html/mal2html-block.xsl | 82 ++++++++++++++++++++++++++++++++++-- 2 files changed, 90 insertions(+), 3 deletions(-) (limited to 'xslt') diff --git a/xslt/common/theme.xsl b/xslt/common/theme.xsl index c078c76..ac21fa5 100644 --- a/xslt/common/theme.xsl +++ b/xslt/common/theme.xsl @@ -255,4 +255,15 @@ document is written in. + + + + watermark-code.png + + diff --git a/xslt/mallard/html/mal2html-block.xsl b/xslt/mallard/html/mal2html-block.xsl index 8a1260d..e64825f 100644 --- a/xslt/mallard/html/mal2html-block.xsl +++ b/xslt/mallard/html/mal2html-block.xsl @@ -46,8 +46,8 @@ div.desc { margin: 0 0 0.2em 0; } div.desc-listing, div.desc-synopsis { font-style: italic; } div.desc-figure { margin: 0.2em 0 0 0; } pre.code { - - background: url(mallard-icon-code.png) no-repeat top right; + background: url(' + ') no-repeat top right; border: solid 2px ; padding: 0.5em 1em 0.5em 1em; @@ -109,6 +109,34 @@ div.note-tip div.note-inner { background-image: url(" div.note-warning div.note-inner { background-image: url(" "); } div.note-contents { margin: 0; padding: 0; } +div.quote-inner { + margin: 0; + + background-image: url(' + '); + background-repeat: no-repeat; + background-position: top left; + padding: 0.5em; + padding-left: 4em; +} +div.title-quote { + margin-left: 4em; +} +blockquote { + margin: 0; padding: 0; +} +div.cite-comment { + margin-top: 0.5em; + color: ; +} +div.cite-quote { + margin-top: 0.5em; + color: ; +} +div.cite-quote::before { + + content: '― '; +} pre.screen { padding: 0.5em 1em 0.5em 1em; background-color: @@ -216,7 +244,7 @@ FIXME -
+
from @@ -367,6 +395,54 @@ FIXME

+ + + +
+ + quote + + first-child + + + +
+
+ + + + + +
+ +
+
+
+ + + +
+ + + + + + + + + + + + + ( + + ) + +
+
+ -- cgit v1.2.1