.
[hacks/simpleWebSlides.git] / themes / webTwoPointO.css
index 45beaef..3031736 100644 (file)
@@ -1,95 +1,72 @@
-@import url(http://fonts.googleapis.com/css?family=Armata&subset=latin,latin-ext);
+@import url(https://fonts.googleapis.com/css?family=Armata&subset=latin,latin-ext);
+@import url(https://fonts.googleapis.com/css?family=Inconsolata:400,700&subset=latin,latin-ext);
 
-/* Default document properties */
-body {
-    font-family: 'Armata',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
+/* Slide layout
+   .sws-{header,inner-canvas,footer} are in
+   a .sws-canvas which fills the whole viewport vertically
+   and is horizontally centered.
+   The .sws-canvas has an aspect ratio of 4/3 or 16/9
 */
-
-.slide {
-    margin: 0pt;
-    left:0pt;
-    right:0pt;
-    top:0pt;
-    bottom:0pt;
-    padding:5mm;
+/* No header in this theme */
+.sws-header {
+    display: none;
 }
 
-.cover {
+/* Title of the slide */
+h1 {
+    color: #f14a29;
+    font-size: 5vh;
     text-align:center;
-    vertical-align:middle;
 }
-.cover .centerbox {
-    display:inline-block;
-    vertical-align: middle;
+/* The inner canvas and content */
+.sws-inner-canvas {
+    top: 0vh;
+    height: 85vh;
 }
-.cover:before {
-    content: "";
-    display: inline-block;
-    width:10pt;
-    height:100%;
-    vertical-align:middle;
+.sws-content {
+    padding: 3vh;
 }
 
-a { text-decoration: none; }
-ul {
-    list-style-type: square;
+.sws-footer {
+    top: 95vh;
+    height: 5vh;
+    text-align: right;
 }
-@media screen {
-    body, .slide {
-        background-color: black;
-        color: white;
-    }
-    .slide h1 {
-        color: #f14a29;
 
-    }
-    a,em {
-        color: #0092bf;
-        text-decoration:none;
-        font-style:normal;
-    }
-}
-@media print {
-    body, .slide {
-        background-color: white;
-        color: black;
-    }
-    em {
-        font-style:italic;
-    }
+.sws-slide-num-sep:after {
+    content: "/";
 }
 
-/* slide title */
-.slide h1 {
-    font-size: xxx-large;
-    font-weight: bolder;
-    text-align: center;
+body {
+    font-family: 'Armata',sans-serif;
+    font-size: 3vh;
+    background-color: black;
+    color: white;
 }
 
-span.slide_num_sep:after {
-    content : "⋯";
+code, pre, tt {
+    font-family: 'Inconsolata', monospace;
 }
-.footer {
-    text-align: center;
+code {
+    white-space: pre;
 }
-.alert {
-    color: red;
+
+ul {
+    list-style-type: square;
 }
 
 
-@media screen {
-.other_slides {
-    opacity: 0.0;
-    transition: opacity 0.25s ease-in;
-}
-.current_slide {
-    opacity: 1.0;
-    transition: opacity 0.25s ease-out 0.25s;
+
+em { color: #f14a29;
+     font-style:normal;
+   }
+
+a {
+    color: #1092bf;
+    text-decoration:none;
+    font-style:normal;
 }
+
+.centerbox {
+    text-align: center;
 }
\ No newline at end of file