X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=simpleWebSlides.css;h=c2c72b72dcd254c52e0961f8180fcebcb350acff;hb=HEAD;hp=bd42f5ad884f2b4e7d1e592a4867a88743c120ea;hpb=8a2e36282654d761b5bee1b2832d25f27097094b;p=hacks%2FsimpleWebSlides.git diff --git a/simpleWebSlides.css b/simpleWebSlides.css index bd42f5a..c2c72b7 100644 --- a/simpleWebSlides.css +++ b/simpleWebSlides.css @@ -14,6 +14,7 @@ body { .sws-canvas { display:flex; + justify-content: center; flex-direction:column; box-sizing: border-box; } @@ -52,8 +53,6 @@ body { overflow:hidden; } - - body > h1, body > h2, body > h3, body > a.sws-previous { display: none; } @@ -161,14 +160,12 @@ body > h1, body > h2, body > h3, body > a.sws-previous { } :root.sws-print .sws-canvas { - position: relative; width: 297mm; - height: 209mm; + height: 210mm; /* 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 { @@ -179,11 +176,6 @@ body > h1, body > h2, body > h3, body > a.sws-previous { opacity: 1; } - - - - - p { width: 100%; } /* counters for the toc */