more pdf-export tweaks, added slide describing the feature (#92)
authorHakim El Hattab <hakim.elhattab@gmail.com>
Sat, 4 Aug 2012 20:16:23 +0000 (16:16 -0400)
committerHakim El Hattab <hakim.elhattab@gmail.com>
Sat, 4 Aug 2012 20:16:27 +0000 (16:16 -0400)
css/print-pdf.css
index.html

index bef637950240505230d096261ea5159f3939028a..26bc1427760346dec29f1032ecd9bc7adb4a8248 100644 (file)
@@ -15,7 +15,7 @@
 }
 
 body {
-       font-size: 20pt;
+       font-size: 22pt;
        width: auto;
        height: auto;
        border: 0;
@@ -47,7 +47,7 @@ html {
 /* SECTION 3: Set body font face, size, and color.
    Consider using a serif font for readability. */
 body, p, td, li, div, a {
-       font-size: 20pt;
+       font-size: 22pt;
 }
 
 /* SECTION 4: Set heading font face, sizes, and color.
@@ -118,7 +118,7 @@ ul, ol, div, p {
        left: 0%;
        top: 0%;
        margin-left: 0px;
-       margin-top: 15%;
+       margin-top: 50px;
        padding: 20px 0px;
 
        opacity: 1;
@@ -138,7 +138,8 @@ ul, ol, div, p {
        display: block !important;
 }
 .reveal section.stack {
-       margin-top: 0% !important;
+       margin: 0px !important;
+       padding: 0px !important;
        page-break-after: avoid !important; 
 }
 .reveal section .fragment {
@@ -146,4 +147,12 @@ ul, ol, div, p {
 }
 .reveal img {
        box-shadow: none;
+}
+.reveal .roll {
+       overflow: visible;
+       line-height: 1em;
+}
+
+.reveal small a {
+       font-size: 16pt !important;
 }
\ No newline at end of file
index e71b666146a92b1a7a3290b1dd9a7572c844bd34..299fcc8a2d81397794adcbf17e3452c58f8124a0 100644 (file)
@@ -245,6 +245,12 @@ function linkify( selector ) {
                                        </a>
                                </section>
                                
+                               <section>
+                                       <h2>Export to PDF</h2>
+                                       <p>Presentations can be <a href="https://github.com/hakimel/reveal.js#pdf-export">exported to PDF</a>, below is an example that's been uploaded to SlideShare.<p>
+                                       <iframe src="http://www.slideshare.net/slideshow/embed_code/13872948" width="455" height="356" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" style="border:1px solid #CCC;border-width:1px 1px 0;margin-bottom:5px" allowfullscreen> </iframe>
+                               </section>
+                               
                                <section>
                                        <h2>Stellar Links</h2>
                                        <ul>