Add XPI course.
[hacks/simpleWebSlides.git] / simpleWebSlides.css
index 7b6a76b..794eed4 100644 (file)
@@ -3,20 +3,16 @@
 body {
     margin: 0 0 0 0;
     padding: 0 0 0 0;
-    overflow:hidden;
     -webkit-box-sizing: border-box;
     box-sizing: border-box;
     -moz-box-sizing: border-box;
 }
 
-.sws-active-slide {
-    display: block;
-}
 .sws-active-object {
     visibility: visible;
 }
 .sws-inactive-object {
-        visibility: hidden;
+    opacity: 0;
 }
 
 
@@ -84,6 +80,9 @@ body > h1, body > h2, body > h3 {
 /****************************************/
 
 
+:root.sws-display body {
+    overflow:hidden;
+}
 
 :root.sws-display .sws-canvas {
     width:133.3vh;
@@ -138,7 +137,6 @@ body > h1, body > h2, body > h3 {
 :root.sws-print body {
     width: 297mm;
     height: 210mm;
-    overflow:hidden;
     padding: 0pt 0pt 0pt 0pt;
     margin: 0pt 0pt 0pt 0pt;
 
@@ -166,6 +164,19 @@ body > h1, body > h2, body > h3 {
 
 p { width: 100%; }
 
+/* counters for the toc */
+
+.sws-toc ul {
+    counter-reset: list-item;
+}
+
+.sws-toc li {
+    counter-increment: list-item;
+
+}
+.sws-toc li::marker {
+    content : counters(list-item, '.');
+}
 
 
 /*             Control Panel             */