summaryrefslogtreecommitdiff
path: root/data/templates
diff options
context:
space:
mode:
authorMauro Bieg <mb21@users.noreply.github.com>2017-03-04 22:52:11 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2017-03-04 22:52:11 +0100
commit40d1dc417aec8f7cbade5895a1f4ce549039c2c1 (patch)
tree45fadde59a394a69c4daa9483cf9704c58c90b57 /data/templates
parent739bf78c376320d19a525b7b0ec5f8e13d32bb4c (diff)
templates: CSS for .smallcaps, closes #1592 (#3485)
Diffstat (limited to 'data/templates')
-rw-r--r--data/templates/default.dzslides2
-rw-r--r--data/templates/default.epub21
-rw-r--r--data/templates/default.epub31
-rw-r--r--data/templates/default.html42
-rw-r--r--data/templates/default.html52
-rw-r--r--data/templates/default.revealjs2
-rw-r--r--data/templates/default.s52
-rw-r--r--data/templates/default.slideous2
-rw-r--r--data/templates/default.slidy2
9 files changed, 9 insertions, 7 deletions
diff --git a/data/templates/default.dzslides b/data/templates/default.dzslides
index 97d518931..cad4dba4b 100644
--- a/data/templates/default.dzslides
+++ b/data/templates/default.dzslides
@@ -12,7 +12,7 @@ $if(keywords)$
<meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$">
$endif$
<title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title>
- <style type="text/css">code{white-space: pre-wrap;}</style>
+ <style type="text/css">code{white-space: pre-wrap;} .smallcaps{font-variant: small-caps;}</style>
$if(quotes)$
<style type="text/css">q { quotes: "“" "”" "‘" "’"; }</style>
$endif$
diff --git a/data/templates/default.epub2 b/data/templates/default.epub2
index afcf96a3e..d5bb67fdb 100644
--- a/data/templates/default.epub2
+++ b/data/templates/default.epub2
@@ -6,6 +6,7 @@
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta name="generator" content="pandoc" />
<title>$pagetitle$</title>
+ <style type="text/css">.smallcaps{font-variant: small-caps;}</style>
$if(highlighting-css)$
<style type="text/css">
$highlighting-css$
diff --git a/data/templates/default.epub3 b/data/templates/default.epub3
index 8a12e0fb3..5c5b0307a 100644
--- a/data/templates/default.epub3
+++ b/data/templates/default.epub3
@@ -5,6 +5,7 @@
<meta charset="utf-8" />
<meta name="generator" content="pandoc" />
<title>$pagetitle$</title>
+ <style type="text/css">.smallcaps{font-variant: small-caps;}</style>
$if(quotes)$
<style type="text/css">
q { quotes: "“" "”" "‘" "’"; }
diff --git a/data/templates/default.html4 b/data/templates/default.html4
index 8caea26c8..7081c0bd1 100644
--- a/data/templates/default.html4
+++ b/data/templates/default.html4
@@ -14,7 +14,7 @@ $if(keywords)$
<meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$" />
$endif$
<title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title>
- <style type="text/css">code{white-space: pre;}</style>
+ <style type="text/css">code{white-space: pre;} .smallcaps{font-variant: small-caps;}</style>
$if(quotes)$
<style type="text/css">q { quotes: "“" "”" "‘" "’"; }</style>
$endif$
diff --git a/data/templates/default.html5 b/data/templates/default.html5
index 7d1b834eb..ee7ae771b 100644
--- a/data/templates/default.html5
+++ b/data/templates/default.html5
@@ -14,7 +14,7 @@ $if(keywords)$
<meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$" />
$endif$
<title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title>
- <style type="text/css">code{white-space: pre;}</style>
+ <style type="text/css">code{white-space: pre;} .smallcaps{font-variant: small-caps;}</style>
$if(quotes)$
<style type="text/css">q { quotes: "“" "”" "‘" "’"; }</style>
$endif$
diff --git a/data/templates/default.revealjs b/data/templates/default.revealjs
index 100e7c54d..d5a85737e 100644
--- a/data/templates/default.revealjs
+++ b/data/templates/default.revealjs
@@ -17,7 +17,7 @@ $endif$
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, minimal-ui">
<link rel="stylesheet" href="$revealjs-url$/css/reveal.css">
- <style type="text/css">code{white-space: pre;}</style>
+ <style type="text/css">code{white-space: pre;} .smallcaps{font-variant: small-caps;}</style>
$if(quotes)$
<style type="text/css">q { quotes: "“" "”" "‘" "’"; }</style>
$endif$
diff --git a/data/templates/default.s5 b/data/templates/default.s5
index 6ab482864..dc9dd8099 100644
--- a/data/templates/default.s5
+++ b/data/templates/default.s5
@@ -15,7 +15,7 @@ $if(keywords)$
<meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$" />
$endif$
<title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title>
- <style type="text/css">code{white-space: pre;}</style>
+ <style type="text/css">code{white-space: pre;} .smallcaps{font-variant: small-caps;}</style>
<!-- configuration parameters -->
<meta name="defaultView" content="slideshow" />
<meta name="controlVis" content="hidden" />
diff --git a/data/templates/default.slideous b/data/templates/default.slideous
index 30c93567d..f7c637b36 100644
--- a/data/templates/default.slideous
+++ b/data/templates/default.slideous
@@ -16,7 +16,7 @@ $if(keywords)$
<meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$" />
$endif$
<title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title>
- <style type="text/css">code{white-space: pre;}</style>
+ <style type="text/css">code{white-space: pre;} .smallcaps{font-variant: small-caps;}</style>
$if(quotes)$
<style type="text/css">q { quotes: "“" "”" "‘" "’"; }</style>
$endif$
diff --git a/data/templates/default.slidy b/data/templates/default.slidy
index cccf3537d..10b120503 100644
--- a/data/templates/default.slidy
+++ b/data/templates/default.slidy
@@ -16,7 +16,7 @@ $if(keywords)$
<meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$" />
$endif$
<title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title>
- <style type="text/css">code{white-space: pre;}</style>
+ <style type="text/css">code{white-space: pre;} .smallcaps{font-variant: small-caps;}</style>
$if(quotes)$
<style type="text/css">q { quotes: "“" "”" "‘" "’"; }</style>
$endif$