/* Title of the slide */
.sws-title {
padding: 2vmin 0 2vmin 0;
- height: 10vmin;
- background:red;
+ height: 10%;
+ z-index:2;
+ vertical-align: middle;
}
h1 {
color: #00486c;
font-size: larger;
- text-align:center;
+ text-align: center;
+}
+.sws-title h1 {
+ display:inline-block;
+ margin:0;
+}
+
+.sws-toc { position: absolute;
+ left: 0;
+ bottom: 0;
+ right: 0;
+ top:0;
+ }
+.sws-toc > ul {
+ display:inline-block;
+}
+
+.sws-toc::before {
+ display:inline-block;
+ content: "";
+ height:100%;
+ width: 0px;
+ vertical-align:middle;
}
.sws-canvas {
background: #fff;
padding:0;
margin: 0;
- z-index:2;
+ position:relative;
+ z-index:0;
}
-.sws-inner-canvas { /* allows the canvas to cover the logo if needed */
- z-index:2;
- height: 80vmin;
- background:blue;
+
+.sws-inner-canvas {
+ height: 85%;
+ z-index: 2;
+ position: relative; /* to make z-index work */
}
.sws-footer {
- height: 10vmin;
- background:pink;
+ height: 5%;
+ text-align:right;
+ padding-right:1ex;
+ vertical-align: middle;
+ z-index: 2;
}
.sws-footer::before {
+ display:inline-block;
+ height:12%;
+ width: 12%;
+ left: 0.5ch;
+ bottom:0.5ch;
position:absolute;
- bottom: 1vmin;
- left:1vmin;
- display:block;
- height:10vmin;
content:"";
- background-size: 100%;
+ background-size: contain;
background-image: url("logo_psud_psay.png");
background-repeat: no-repeat;
+ z-index: 1;
}
-:root.sws-display .sws-footer::before { z-index: -1; }
-/*:root.sws-print .sws-footer::before { z-index: 1; }*/
+
.sws-slide-num-sep:after {
content: "/";
}
+
@font-face {
src: url("DIN-Medium.ttf") format("truetype");
font-family: "DIN";
color: #696968;
}
-:root.sws-display body {
- font-size: 3.5vh;
+:root.sws-display .sws-canvas {
+ font-size: 2.2vw;
}
:root.sws-print body {
font-size: 21pt;
}
-.sws-footer {
- text-align: right;
- height: 5%;
-}
@media print {
color: #92b938;
}
-.done:after {
+.done::after {
content: " ✔";
}
li {
- margin-top:0.5vh;
+ margin-top:0.5vmin;
}
tt em, code em {
}
dl {
- padding: 1vh 1em 1vh 1em;
+ padding: 1vmin 1em 1vmin 1em;
}
dt { display: inline;