Fix the theme, restaure print mode.
authorKim Nguyễn <kn@lri.fr>
Fri, 14 Jun 2013 13:58:14 +0000 (15:58 +0200)
committerKim Nguyễn <kn@lri.fr>
Fri, 14 Jun 2013 13:58:14 +0000 (15:58 +0200)
simpleWebSlides.css
themes/webTwoPointO.css

index 3821e30..39249a2 100644 (file)
@@ -1,4 +1,11 @@
 /* default is 4:3 */
+
+@media print {
+    body {
+        width: 4cm;
+        height: 3cm;
+    }
+}
 .sws-canvas {
     width:133.3vh;
     height:100vh;
 
 }
 :root.sws-aspect-16-9 .sws-canvas {
-        width:177.7vh;
-        height:100vh;
+    width:177.7vh;
+    height:100vh;
 }
 
 :root.sws-aspect-16-10 .sws-canvas {
-        width:160vh;
-        height:100vh;
+    width:160vh;
+    height:100vh;
 }
 
+
+
+
 .sws-canvas {
     position: relative;
     margin-left: auto;
     display: block;
 }
 
-.sws-inactive-slide {
+@media print {
+    .sws-inactive-slide {
+        display: block;
+    }
+}
+
+@media screen {
+
+    .sws-inactive-slide {
         display: none;
+    }
 }
 
 .sws-active-object {
     visibility: visible;
 }
 
-.sws-inactive-object {
-    visibility: hidden;
+@media print {
+    .sws-inactive-object {
+        visibility: visible;
+    }
+}
+
+@media screen {
+    .sws-inactive-object {
+        visibility: hidden;
+    }
 }
 
 .sws-header, .sws-title, .sws-inner-canvas, .sws-footer {
index 9a8ba9b..4dd0c78 100644 (file)
@@ -7,28 +7,36 @@
    and is horizontally centered.
    The .sws-canvas has an aspect ratio of 4/3 or 16/9
 */
-
+/* No header in this theme */
 .sws-header {
-    top: 0vh;
-    height: 5vh;
+    display: none;
 }
+
+/* Title of the slide */
 .sws-title {
-    top: 5vh;
-    height: 15vh;
+    top: 0vh;
+    height: 10vh;
+}
+.sws-title h1 {
+    color: #f14a29;
+    font-size: 5vh;
+    text-align:center;
 }
+/* The inner canvas and content */
 .sws-inner-canvas {
-    top: 20vh;
-    height: 75vh;
+    top: 10vh;
+    height: 85vh;
+}
+.sws-content {
+    padding: 3vh;
 }
+
 .sws-footer {
     top: 95vh;
     height: 5vh;
     text-align: right;
 }
 
-.sws-content {
-    padding: 3vh;
-}
 
 .sws-slide-num-sep:after {
     content: "/";
@@ -36,7 +44,7 @@
 
 body {
     font-family: 'Armata',sans-serif;
-    font-size: 4vh;
+    font-size: 3vh;
     background-color: black;
     color: white;
 }
@@ -50,10 +58,6 @@ ul {
 }
 
 
-h1 { color: #f14a29;
-     font-size: 6vh;
-     text-align:center;
-   }
 
 em { color: #f14a29;
      font-style:normal;