]> granicus.if.org Git - docbook-dsssl/commitdiff
- Apply some local improvements to S5 and Slidy
authorGábor Kövesdán <gabor@kovesdan.org>
Thu, 23 Aug 2012 17:35:18 +0000 (17:35 +0000)
committerGábor Kövesdán <gabor@kovesdan.org>
Thu, 23 Aug 2012 17:35:18 +0000 (17:35 +0000)
slides/files/s5/ui/default/framing.css
slides/files/s5/ui/default/pretty.css
slides/files/slidy/scripts/slidy.js
slides/files/slidy/scripts/slidy.js.gz

index 2a27dafbc8266f830e0a1f4b5fc0dce8c4fc8211..47e2d433fc83acb4a9a6c3b70bab19e09ff141db 100755 (executable)
@@ -8,7 +8,7 @@
 div#header, div#footer, .slide {width: 100%; top: 0; left: 0;}
 div#header {top: 0; height: 3em; z-index: 1;}
 div#footer {top: auto; bottom: 0; height: 2.5em; z-index: 5;}
-.slide {top: 0; width: 92%; padding: 3.5em 4% 4%; z-index: 2;  list-style: none;}
+.slide {top: 0; width: 92%; padding: 3.0em 4% 4%; z-index: 2;  list-style: none;}
 div#controls {left: 50%; bottom: 0; width: 50%; z-index: 100;}
 div#controls form {text-align: right; width: 100%; margin: 0;}
 #currentSlide {position: absolute; width: 10%; left: 45%; bottom: 1em; z-index: 10;}
index 838a7cf8d46759ec5f04de5116f153d58a075a1e..47d62a03563b356ae6af3f7d3f522d03b83d4884 100755 (executable)
@@ -1,6 +1,6 @@
 /* Following are the presentation styles -- edit away! */
 
-body {background: #FFF url(bodybg.gif) -16px 0 no-repeat; color: #000; font-size: 2.25em;}
+body {background: #FFF url(bodybg.gif) -16px 0 no-repeat; color: #000; font-size: 2.0em;}
 :link, :visited {text-decoration: none; color: #00C;}
 #controls :active {color: #88A !important;}
 #controls :focus {outline: 1px dotted #227;}
@@ -40,7 +40,7 @@ div#footer {font-size: 0.5em; font-weight: bold; padding: 1em 0;}
 div.long {font-size: 0.75em;}
 .slide h1 {position: absolute; top: 0.7em; left: 87px; z-index: 1;
   margin: 0; padding: 0.3em 0 0 50px; white-space: nowrap;
-  font: bold 150%/1em Helvetica, sans-serif; text-transform: capitalize;
+  font: bold 150%/1em Helvetica, sans-serif;
   color: #DDE; background: #005;}
 .slide h3 {font-size: 130%;}
 h1 abbr {font-variant: small-caps;}
@@ -71,12 +71,13 @@ ul.urls {list-style: none; display: inline; margin: 0;}
 html>body .external {border-bottom: none;}
 .external:after {content: " \274F"; font-size: smaller; color: #77B;}
 
-.incremental, .incremental *, .incremental *:after {color: #DDE; visibility: visible;}
+.incremental, .incremental *, .incremental *:after {visibility: hidden;}
 img.incremental {visibility: hidden;}
 .slide .current {color: #B02;}
 
+.footnote {font-size: 0.75em;}
 
 /* diagnostics
 
 li:after {content: " [" attr(class) "]"; color: #F88;}
- */
\ No newline at end of file
+ */
index 25b6e76505b4cac8aa8a9fd7eab0e5ab671176d1..6e0834dc3740ca7abab3d3df117aa58c25ada630 100755 (executable)
@@ -1036,7 +1036,7 @@ var w3c_slidy = {
              if (this.has_class(node, "slide"))
                break;
 
-             if (this.has_class(node, "handout"))
+             if (this.has_class(node, "handout") || this.has_class(node, "notes"))
                break;
            }
         }
@@ -1091,7 +1091,7 @@ var w3c_slidy = {
     {
       div = divs.item(i);
 
-      if (this.has_class(div, "handout"))
+      if (this.has_class(div, "handout") || this.has_class(div, "notes"))
       {
         // add note to collection
         notes[notes.length] = div;
index b1c58e4c9010ebe70ac57183d944ddc2b21efe33..5d34eaabc519dd1623f25ee657389042853cc0f9 100755 (executable)
Binary files a/slides/files/slidy/scripts/slidy.js.gz and b/slides/files/slidy/scripts/slidy.js.gz differ