summaryrefslogtreecommitdiff
path: root/data/templates
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2022-10-17 16:59:56 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2022-10-17 16:59:56 -0700
commit1a61eec29325978c3bcbfa10e06e0f921b916efb (patch)
tree43c3f9b253626ff7565f07fc0451007b9ee06e55 /data/templates
parent5ca064b40187df5658fd3bece0b95e619494add4 (diff)
Adjust tests for CSS change; add CSS comments to mark...
highlighting CSS and citations CSS in the source.
Diffstat (limited to 'data/templates')
-rw-r--r--data/templates/default.epub21
-rw-r--r--data/templates/default.epub31
-rw-r--r--data/templates/styles.citations.html1
-rw-r--r--data/templates/styles.html1
4 files changed, 4 insertions, 0 deletions
diff --git a/data/templates/default.epub2 b/data/templates/default.epub2
index dbc3905be..b10705119 100644
--- a/data/templates/default.epub2
+++ b/data/templates/default.epub2
@@ -11,6 +11,7 @@ $if(csl-css)$
$styles.citations.html()$
$endif$
$if(highlighting-css)$
+ /* CSS for syntax highlighting */
$highlighting-css$
$endif$
</style>
diff --git a/data/templates/default.epub3 b/data/templates/default.epub3
index 3aa98b939..0fac2e11a 100644
--- a/data/templates/default.epub3
+++ b/data/templates/default.epub3
@@ -10,6 +10,7 @@ $if(csl-css)$
$styles.citations.html()$
$endif$
$if(highlighting-css)$
+ /* CSS for syntax highlighting */
$highlighting-css$
$endif$
</style>
diff --git a/data/templates/styles.citations.html b/data/templates/styles.citations.html
index 2f7c1023a..029755f31 100644
--- a/data/templates/styles.citations.html
+++ b/data/templates/styles.citations.html
@@ -1,3 +1,4 @@
+/* CSS for citations */
div.csl-bib-body { }
div.csl-entry {
clear: both;
diff --git a/data/templates/styles.html b/data/templates/styles.html
index f00bb25ac..11d2e0486 100644
--- a/data/templates/styles.html
+++ b/data/templates/styles.html
@@ -179,6 +179,7 @@ $if(displaymath-css)$
.display.math{display: block; text-align: center; margin: 0.5rem auto;}
$endif$
$if(highlighting-css)$
+/* CSS for syntax highlighting */
$highlighting-css$
$endif$
$if(csl-css)$