-
/* Common */
body {
margin: 0 0 0 0;
opacity: 0;
}
-
.sws-canvas {
display: -webkit-flex;
display: flex;
/* We make the box sizing border-box so that the user can freely add
padding and borders to canvas without changing the overall
layout */
- -webkit-box-sizing: border-box;
box-sizing: border-box;
+ -webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
}
-
.sws-cover {
justify-content: center;
-webkit-justify-content: center;
:root.sws-display .sws-canvas {
width:133.3vh;
height:100vh;
+ overflow:hidden;
}
/* Print Mode */
/* ****************************************** */
-@page { margin: 0pt 0pt 0pt 0pt; }
:root.sws-print body {
background: white;
-}
-
-:root.sws-print body {
width: 297mm;
- height: 210mm;
padding: 0pt 0pt 0pt 0pt;
margin: 0pt 0pt 0pt 0pt;
+}
+@media print {
+
+ @page {
+ size: 297mm 210mm;
+ margin: 0pt;
+ padding: 0pt;
+
}
:root.sws-print .sws-canvas {
position: relative;
width: 297mm;
- height: 210mm;
- clear:both;
- float:left;
+ height: 209mm;
+ /* not 210mm to avoid rounding errors */
page-break-after: always;
padding: 0pt 0pt 0pt 0pt;
margin: 0pt 0pt 0pt 0pt;
overflow: hidden;
}
-:root.sws-print .sws-canvas:last{
+:root.sws-print .sws-canvas:last {
page-break-after: avoid;
}
+}
:root.sws-print .sws-inactive-slide {
opacity: 1;
}
}
#sws-help-panel-canvas h1 {
font-size: large;
+}
+
+/* embedded SVG images are inlined and their height matches twice the size of a small letter x */
+object[type="image/svg+xml"] {
+ display:inline-block;
+ font-size:inherit;
+ height: 2.5ex;
+ vertical-align:middle;
}
\ No newline at end of file