diff options
author | John MacFarlane <fiddlosopher@gmail.com> | 2011-10-02 19:40:17 -0700 |
---|---|---|
committer | John MacFarlane <fiddlosopher@gmail.com> | 2011-10-02 19:40:17 -0700 |
commit | f8709a78e100e14a6b58a989ba61fd73665791cd (patch) | |
tree | 6e29379922e8832f2201932a5d6d8d6b39a28769 | |
parent | 5eab90928ae17b6b371f660cfe7aa1dd4a29a3f1 (diff) | |
download | pandoc-f8709a78e100e14a6b58a989ba61fd73665791cd.tar.gz |
dzslides: better default template.
* No red color on incremental lists.
* Show authors and date on title page.
* Special styling for title slides (H1 by itself on slide).
* Better default font and font size.
* Better spacing between elements.
* Styling for blockquote and pre.
-rw-r--r-- | default.dzslides | 34 |
1 files changed, 24 insertions, 10 deletions
diff --git a/default.dzslides b/default.dzslides index 1de2aab8a..df5714fdf 100644 --- a/default.dzslides +++ b/default.dzslides @@ -25,21 +25,31 @@ $else$ body { background-color: white; } /* A section is a slide. Its size is 800x600, and this will never change */ section { - /* The font from Google */ - font-family: 'Oswald', arial, serif; - font-size: 2em; - padding-left: 1em; - } + font-family: Arial, serif; + font-size: 20pt; + line-height: 24pt; + padding: 16pt; + } + section > * { margin-bottom: 1em; } + section.titleslide h1 { margin-top: 200px; } h1, h2, h3 { margin-top: 50px; text-align: center; - } - ul { + } + h1 { font-size: 180%: } + h2 { font-size: 120%; } + h3 { font-size: 100%; } + ul, ol { margin-left: 40px; } a { color: #FF0066; } a:hover { text-decoration: underline; } footer { position: absolute; bottom: 50px; right: 50px; } - + blockquote { font-style: italic } + pre { + font-size: 80%; + font-weight: bold; + padding: 0.2em 1em 0.2em 1em; + } .images { margin: 20px; text-align: center; @@ -66,7 +76,7 @@ $else$ /* Increment with lists */ .incremental > * { opacity: 1; } - .incremental > *[aria-selected] { color: red; opacity: 1; } + .incremental > *[aria-selected] { opacity: 1; } .incremental > *[aria-selected] ~ * { opacity: 0.2; } /* Increment with images */ .incremental > img[aria-selected] { box-shadow: 0 0 10px #000 } @@ -84,7 +94,11 @@ $endfor$ <body> $if(title)$ <section> - <h1>$title$</h1> + <h1 class="title">$title$</h1> + $for(author)$ + <h2 class="author">$author$</h2> + $endfor$ + <h3 class="date">$date$</h3> </section> $endif$ $for(include-before)$ |