diff --git a/com.io7m.xstructural.documentation/src/main/resources/com/io7m/xstructural/documentation/banner.jpg b/com.io7m.xstructural.documentation/src/main/resources/com/io7m/xstructural/documentation/banner.jpg new file mode 100644 index 0000000..a340430 Binary files /dev/null and b/com.io7m.xstructural.documentation/src/main/resources/com/io7m/xstructural/documentation/banner.jpg differ diff --git a/com.io7m.xstructural.documentation/src/main/resources/com/io7m/xstructural/documentation/language-meta.xml b/com.io7m.xstructural.documentation/src/main/resources/com/io7m/xstructural/documentation/language-meta.xml index ea3227a..c8b4a71 100644 --- a/com.io7m.xstructural.documentation/src/main/resources/com/io7m/xstructural/documentation/language-meta.xml +++ b/com.io7m.xstructural.documentation/src/main/resources/com/io7m/xstructural/documentation/language-meta.xml @@ -137,6 +137,12 @@ file2.txt element. + + + The contents of this property denote the relative (to the input document) filename of the cover image that will + be used for the book. + + diff --git a/com.io7m.xstructural.documentation/src/main/resources/com/io7m/xstructural/documentation/main.xml b/com.io7m.xstructural.documentation/src/main/resources/com/io7m/xstructural/documentation/main.xml index d01a69f..b5a406b 100644 --- a/com.io7m.xstructural.documentation/src/main/resources/com/io7m/xstructural/documentation/main.xml +++ b/com.io7m.xstructural.documentation/src/main/resources/com/io7m/xstructural/documentation/main.xml @@ -18,6 +18,7 @@ cover.jpg brand.xml brand.xml + banner.jpg diff --git a/com.io7m.xstructural.xml/src/main/css/com/io7m/xstructural/xml/structural.css b/com.io7m.xstructural.xml/src/main/css/com/io7m/xstructural/xml/structural.css index 3c34352..a70e68d 100644 --- a/com.io7m.xstructural.xml/src/main/css/com/io7m/xstructural/xml/structural.css +++ b/com.io7m.xstructural.xml/src/main/css/com/io7m/xstructural/xml/structural.css @@ -382,3 +382,15 @@ h6 text-align: left; padding-right: 1em; } + +/* + * Cover image. + */ + +.stWebCoverImage img +{ + max-width: 100%; + max-height: 100%; + width: 100%; + height: auto; +} diff --git a/com.io7m.xstructural.xml/src/main/xsl/com/io7m/xstructural/xml/s8/xstructural8-blocks-web.xsl b/com.io7m.xstructural.xml/src/main/xsl/com/io7m/xstructural/xml/s8/xstructural8-blocks-web.xsl index 8b8efe5..a224563 100644 --- a/com.io7m.xstructural.xml/src/main/xsl/com/io7m/xstructural/xml/s8/xstructural8-blocks-web.xsl +++ b/com.io7m.xstructural.xml/src/main/xsl/com/io7m/xstructural/xml/s8/xstructural8-blocks-web.xsl @@ -371,4 +371,35 @@ + + Generate a document title image element in a rendered document. + + + + + +
+ + + + + + + + +
+
+ + + + + Empty + + + +
+
+ diff --git a/com.io7m.xstructural.xml/src/main/xsl/com/io7m/xstructural/xml/s8/xstructural8-web-multi.xsl b/com.io7m.xstructural.xml/src/main/xsl/com/io7m/xstructural/xml/s8/xstructural8-web-multi.xsl index 0fc42ba..d13f78e 100644 --- a/com.io7m.xstructural.xml/src/main/xsl/com/io7m/xstructural/xml/s8/xstructural8-web-multi.xsl +++ b/com.io7m.xstructural.xml/src/main/xsl/com/io7m/xstructural/xml/s8/xstructural8-web-multi.xsl @@ -155,6 +155,9 @@ + + diff --git a/com.io7m.xstructural.xml/src/main/xsl/com/io7m/xstructural/xml/s8/xstructural8-web-single.xsl b/com.io7m.xstructural.xml/src/main/xsl/com/io7m/xstructural/xml/s8/xstructural8-web-single.xsl index f0bfec8..f1f0d30 100644 --- a/com.io7m.xstructural.xml/src/main/xsl/com/io7m/xstructural/xml/s8/xstructural8-web-single.xsl +++ b/com.io7m.xstructural.xml/src/main/xsl/com/io7m/xstructural/xml/s8/xstructural8-web-single.xsl @@ -113,6 +113,9 @@ + +