Permalink
Browse files

fix style

  • Loading branch information...
1 parent 6b58674 commit f4ee1631aca775e2236a3c21c9a23e8f4819bde6 @guileen committed Jun 1, 2011
Showing with 12 additions and 3 deletions.
  1. +2 −1 mkd2slide.js
  2. +10 −2 style.css
View
@@ -72,12 +72,13 @@ exports.run = function(args) {
function makeStaticHtml(title, body, css) {
css = path.resolve(css || 'style.css');
css = path.existsSync(css) ? css : (__dirname + '/style.css');
+ var highlight_style = 'sunburst';
return '<!DOCTYPE HTML>' +
'<html>' +
'<head>' +
' <meta charset="utf-8">' +
' <title>' + title + '</title>' +
- ' <link rel=stylesheet type="text/css" href="' + __dirname + '/sunburst.css">' +
+ ' <link rel=stylesheet type="text/css" href="' + __dirname + '/' + highlight_style + '.css">' +
' <link rel=stylesheet type="text/css" href="' + css + '">' +
'</head>' +
'<body>' +
View
@@ -32,12 +32,16 @@ code {
page-break-after: none;
}
-.page.first {
+.page.first,
+.page.last
+{
text-align: center;
line-height: 2;
}
-.page.first h1 {
+.page.first h1,
+.page.last h1
+{
margin-top: 1em;
}
@@ -53,6 +57,10 @@ li {
padding: .5em;
}
+li li {
+ font-size: 0.6em;
+}
+
#header {
text-align: center;
}

0 comments on commit f4ee163

Please sign in to comment.