Permalink
Browse files

fix up css to support newer pandoc output format of slides with no title

  • Loading branch information...
1 parent 59e2549 commit 77d75ac3ed21485d1d3fc757771c0af9603a40ba @mzero committed Jun 12, 2012
Showing with 5 additions and 4 deletions.
  1. +5 −4 style.css
View
@@ -25,7 +25,8 @@ li p {
margin-left: 0;
}
-div.slide > p:first-child {
+div.slide > p:first-child,
+div.slide h1:empty + p {
margin-top: 5em;
text-align: center;
color: #009091;
@@ -36,7 +37,7 @@ h1 + pre.sourceCode {
margin-top: 3em;
}
-table.sourceCode, tr.sourceCode, td.lineNumbers, td.sourceCode, table.sourceCode pre
+table.sourceCode, tr.sourceCode, td.lineNumbers, td.sourceCode, table.sourceCode pre
{ margin: 0; padding: 0; border: 0; vertical-align: baseline; border: none; }
td.lineNumbers { border-right: 1px solid #AAAAAA; text-align: right; color: #AAAAAA; padding-right: 5px; padding-left: 5px; }
td.sourceCode { padding-left: 5px; }
@@ -50,7 +51,7 @@ pre {
}
-code.sourceCode span.kw { color: #007020; font-weight: bold; }
+code.sourceCode span.kw { color: #007020; font-weight: bold; }
code.sourceCode span.dt { color: #902000; }
code.sourceCode span.dv { color: #40a070; }
code.sourceCode span.bn { color: #40a070; }
@@ -62,4 +63,4 @@ xcode.sourceCode span.ot { color: #007020; }
code.sourceCode span.al { color: red; font-weight: bold; }
code.sourceCode span.fu { color: #06287e; }
code.sourceCode span.re { }
-code.sourceCode span.er { color: red; font-weight: bold; }
+code.sourceCode span.er { color: red; font-weight: bold; }

0 comments on commit 77d75ac

Please sign in to comment.