Make the presentation have the correct aspect ratio even when the window has a smalle...
[hacks/simpleWebSlides.git] / themes / uPsud.css
index 8dba5a9..f08cea5 100644 (file)
     display: none;
 }
 
-/* Title of the slide */
-.sws-title {
-    padding: 2vmin 0 2vmin 0;
-    height: 10%;
-    z-index:2;
-    vertical-align: middle;
-}
 
 h1 {
     color: #00486c;
     font-size: larger;
     text-align: center;
 }
-.sws-title h1 {
-    display:inline-block;
+
+.sws-title > h1 {
     margin:0;
+    padding:0;
 }
 
 .sws-cover { display:flex;
@@ -65,12 +59,21 @@ h1 {
 }
 
 .sws-inner-canvas {
-    height: 85%;
+    height: 88%;
     z-index: 2;
     position: relative; /* to make z-index work */
+    margin:0;
+}
+
+/* Title of the slide */
+.sws-title {
+    height: 7%;
+    z-index:2;
+
 }
 
 .sws-footer {
+    margin:0;
     height: 5%;
     text-align:right;
     padding-right:1ex;
@@ -119,10 +122,7 @@ body {
     color: #696968;
 }
 
-:root.sws-display .sws-canvas {
-    font-size: 2.2vw;
-}
-
+/*
 :root.sws-print body {
     font-size: 21pt;
 }
@@ -132,6 +132,7 @@ body {
 @media print {
     body { font-size: 21pt; }
 }
+*/
 
 p {
     display:block;