.
[hacks/simpleWebSlides.git] / themes / uPsud.css
index 99da253..a8ba435 100644 (file)
@@ -1,18 +1,7 @@
 @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);
 
-/* 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
-*/
 
-body {
-    padding: 0 0 0 0;
-    margin: 0 0 0 0;
-    overflow: hidden;
-}
 
 /* No header in this theme */
 .sws-header {
@@ -20,73 +9,42 @@ body {
 }
 
 /* Title of the slide */
+.sws-title {
+    padding: 2vh 0 2vh 0;
+    height: 5vh;
+}
+
 h1 {
     color: #00486c;
-    font-size: 5vh;
+    font-size: larger;
     text-align:center;
 }
-/* The inner canvas and content */
-.sws-inner-canvas {
-    top: 0vh;
-    height: 80vh;
-}
-
-.sws-content {
-    padding: 3vh 0;
-    left: 0;
-    right:0;
-}
 
 .sws-canvas {
-    border-style:solid;
-    border-width:1pt;
-    border-color: #696968;
     color: #696968;
     background: white;
-    display:block;
-}
-
-:root.sws-display body {
-    background: black;
-}
-
-:root.sws-print .sws-canvas {
-    margin-top:1cm;
-    padding: 0 0;
-    margin-bottom:1cm;
-    margin-left:1cm;
-    margin-right:1cm;
-    height: 18.6cm;
-    width:27.7cm;
-    overflow:visible;
+    padding: 0 0 0 0;
+    margin: 0 0 0 0;
+    z-index:2;
 }
+.sws-inner-canvas {     /* allows the canvas to cover the logo if needed */
+    z-index:2 }
 
 
-:root.sws-display .sws-canvas {
-    margin-top:0;
-    margin-bottom:0;
-    height: 99vh;
-}
-
-.sws-footer {
-    top: 88vh;
-    right: 5vh;
-    height: 5vh;
-    text-align: right;
-}
-
-.sws-canvas:after {
+.sws-footer::before {
     position:absolute;
     bottom: 1vh;
     left:1vh;
     display:block;
     width:10vh;
-    height:10vh;
+    height:13vh;
     content:"";
-    background-size: 10vh;
-    background-image: url("upsud.png");
+    background-size: 100%;
+    background-image: url("logo_psud_psay.png");
     background-repeat: no-repeat;
 }
+:root.sws-display .sws-footer::before { z-index: -1; }
+/*:root.sws-print .sws-footer::before { z-index: 1; }*/
 
 .sws-slide-num-sep:after {
     content: "/";
@@ -109,10 +67,28 @@ h1 {
 
 body {
     font-family: 'DIN',sans-serif;
-    font-size: 3.5vh;
     background-color: white;
     color: #696968;
 }
+
+:root.sws-display body {
+    font-size: 3.5vh;
+}
+
+:root.sws-print body {
+    font-size: 21pt;
+}
+
+.sws-footer {
+    text-align: right;
+    height: 5%;
+}
+
+
+@media print {
+    body { font-size: 21pt; }
+}
+
 p {
     display:block;
     width:92%;
@@ -120,11 +96,15 @@ p {
     text-align:justify;
 
 }
+
+
 code, pre, tt {
     font-family: 'Inconsolata', monospace;
-    color: #494948;
+    /*color: #494948;*/
 }
+
 code {
+    display: block;
     white-space: pre;
 }
 
@@ -132,7 +112,7 @@ ul  {
     list-style-type: square;
 }
 
-ul,il {
+ul, ol {
     list-style-position: inside;
     width: 92%;
     padding: 0 4% 0 4%;
@@ -144,8 +124,12 @@ ul.empty {
 
 .hl {
     color:    #92b938;
+}
 
+.done:after {
+    content: " ✔";
 }
+
 li {
     margin-top:0.5vh;
 }
@@ -158,6 +142,12 @@ em { color: #92b938;
      font-style:normal;
    }
 
+s {
+    color: #ff1111;
+    font-style: normal;
+    text-decoration: none;
+}
+
 a {
     color: #92b938;
     text-decoration:none;
@@ -170,15 +160,27 @@ table.desc {
     margin: 0 0 0 0;
 }
 
-.desc tr {
+table.desc tr {
     margin: 0 0 0 0;
     padding: 0 0 0 0;
+
 }
-.desc td {
+table.desc td {
     vertical-align: top;
     text-align: justify;
+    margin: 0 0 0 0;
+}
+
+table.desc td:first-child {
+    color: #92b938;
+}
+
+table.desc td:first-child:after {
+    content: " : ";
 }
 
+
+
 .centerbox {
     text-align: center;
 }
@@ -202,9 +204,110 @@ table.rounded {
     width: 100%;
     margin: 1em;
 }
+
 table.btable {
     border-collapse: collapse;
 }
+
 .btable td {
     border: solid 1pt #696968;
+}
+
+dl {
+    padding: 1vh 1em 1vh 1em;
+}
+
+dt { display: inline;
+     color: #92b938;
+     float:left;
+   }
+
+dt:after {
+    display:inline;
+    content: " : ";
+}
+
+dd { display: block;
+     padding: 0 0 0 4em;
+     text-indent: 1em;
+     margin: 0 0 0 0;
+   }
+
+table.simple {
+    table-layout:fixed;
+    padding: 0 4% 0 4%;
+    text-align:left;
+    border-spacing: 2em 0;
+}
+
+table.simple th{
+ color: #92b938;
+ font-weight: normal;
+ text-align:left;
+}
+table.simple th,
+table.simple tr {
+    vertical-align:top;
+}
+.css3:after {
+    content:"CSS3";
+    color:white;
+    background: #0a64a4;
+    border-radius:0.25em;
+    font-size:small;
+    margin: 0.25em;
+    padding:0.1em;
+}
+
+div.twocol {
+    width:99%;
+    position:absolute;
+    top:5em;
+}
+
+div.twocol > div:first-child {
+    display:inline-block;width:47%;
+    position:absolute;
+    box-sizing:border-box;
+    padding: 0 1em;
+    border-style:dashed;
+    border-width: 0 1pt 0 0;
+    border-color:gray;
+    left: 0pt;
+    top:0pt;
+}
+
+div.twocol > div:last-child {
+    display:inline-block;
+    width:47%;
+    position:absolute;
+    box-sizing:border-box;
+    padding: 0 0em 0 5em;
+    vertical-align:text-top;
+    right: 0pt;
+    top:0pt;
+}
+table.withborder {
+    border-collapse: collapse;
+}
+table.withborder td {
+    border-style: solid;
+    border-width: 1pt;
+    min-width:20pt;
+    height: 20pt;
+}
+
+mark {
+    color: #ff6612;
+    background: none;
+}
+u {
+    color: #00486c;
+    background: none;
+    text-decoration: none;
+}
+
+kbd {
+    color: #393938;
+    font-family:inherit;
 }
\ No newline at end of file