From f8709a78e100e14a6b58a989ba61fd73665791cd Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 2 Oct 2011 19:40:17 -0700 Subject: [PATCH] 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. --- default.dzslides | 34 ++++++++++++++++++++++++---------- 1 file 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$ $if(title)$
-

$title$

+

$title$

+ $for(author)$ +

$author$

+ $endfor$ +

$date$

$endif$ $for(include-before)$