Always use a 4/3 display. Vertically center the content of slides.
[hacks/simpleWebSlides.git] / themes / default.css
index 584cba4..cc5fe67 100644 (file)
@@ -1,31 +1,29 @@
 /* Default document properties */
 body {
     font-family: sans-serif;
-    font-size: 18pt;
 }
 
-/* The slide should be positioned w.r.t. to the canvas.
-   The canvas takes up the whole window in screen mode and a
-   whole page in print mode
-*/
-.sws-slide {
-    margin: 10pt;
-    border-width:1mm;
-    border-radius:5mm;
+.sws-inner-canvas {
+    top:3vh;
+    margin:auto;
+    height:90vh;
+    width:126vh;
+    border-width:0.1vh;
+    border-radius:1.5vh;
     border-color:black;
     border-style:solid;
-    left:0pt;
-    right:0pt;
-    top:0pt;
-    bottom:0pt;
-    padding:5mm;
+    padding:1.4vh;
+    overflow:hidden;
 }
 
-/* slide title */
-.sws-slide h1 {
+h1 {
     font-weight: bolder;
 }
 
+h1:first-child {
+    margin-top:0pt;
+}
+
 span.sws-slide-num-sep:after {
     content : "/";
 }