Implement table of content.
[hacks/simpleWebSlides.git] / simpleWebSlides.css
index a42c85e..794eed4 100644 (file)
@@ -164,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             */