git.iko.soy/typeable/pandoc
on master help sign in
dzslides: better default template.
f8709a7John MacFarlane
default.dzslides+24−10
@@ -25,21 +25,31 @@ $else$
25 body { background-color: white; }
25 body { background-color: white; }
26 /* A section is a slide. Its size is 800x600, and this will never change */
26 /* A section is a slide. Its size is 800x600, and this will never change */
27 section {
27 section {
28− /* The font from Google */
29− font-family: 'Oswald', arial, serif;
28+ font-family: Arial, serif;
30− font-size: 2em;
29+ font-size: 20pt;
30+ line-height: 24pt;
31− padding-left: 1em;
31+ padding: 16pt;
32− }
32+ }
33+ section > * { margin-bottom: 1em; }
34+ section.titleslide h1 { margin-top: 200px; }
33 h1, h2, h3 {
35 h1, h2, h3 {
34 margin-top: 50px;
36 margin-top: 50px;
35 text-align: center;
37 text-align: center;
36− }
38+ }
39+ h1 { font-size: 180%: }
40+ h2 { font-size: 120%; }
41+ h3 { font-size: 100%; }
37− ul {
42+ ul, ol {
38 margin-left: 40px;
43 margin-left: 40px;
39 }
44 }
40 a { color: #FF0066; } a:hover { text-decoration: underline; }
45 a { color: #FF0066; } a:hover { text-decoration: underline; }
41 footer { position: absolute; bottom: 50px; right: 50px; }
46 footer { position: absolute; bottom: 50px; right: 50px; }
42−
47+ blockquote { font-style: italic }
48+ pre {
49+ font-size: 80%;
50+ font-weight: bold;
51+ padding: 0.2em 1em 0.2em 1em;
52+ }
43 .images {
53 .images {
44 margin: 20px;
54 margin: 20px;
45 text-align: center;
55 text-align: center;
@@ -66,7 +76,7 @@ $else$
66
76
67 /* Increment with lists */
77 /* Increment with lists */
68 .incremental > * { opacity: 1; }
78 .incremental > * { opacity: 1; }
69− .incremental > *[aria-selected] { color: red; opacity: 1; }
79+ .incremental > *[aria-selected] { opacity: 1; }
70 .incremental > *[aria-selected] ~ * { opacity: 0.2; }
80 .incremental > *[aria-selected] ~ * { opacity: 0.2; }
71 /* Increment with images */
81 /* Increment with images */
72 .incremental > img[aria-selected] { box-shadow: 0 0 10px #000 }
82 .incremental > img[aria-selected] { box-shadow: 0 0 10px #000 }
@@ -84,7 +94,11 @@ $endfor$
84<body>
94<body>
85$if(title)$
95$if(title)$
86<section>
96<section>
87− <h1>$title$</h1>
97+ <h1 class="title">$title$</h1>
98+ $for(author)$
99+ <h2 class="author">$author$</h2>
100+ $endfor$
101+ <h3 class="date">$date$</h3>
88</section>
102</section>
89$endif$
103$endif$
90$for(include-before)$
104$for(include-before)$