projects
/
hacks
/
simpleWebSlides.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make the presentation have the correct aspect ratio even when the window has a smalle...
[hacks/simpleWebSlides.git]
/
simpleWebSlides.css
diff --git
a/simpleWebSlides.css
b/simpleWebSlides.css
index
3a56dd2
..
bd42f5a
100644
(file)
--- a/
simpleWebSlides.css
+++ b/
simpleWebSlides.css
@@
-13,9
+13,9
@@
body {
}
.sws-canvas {
}
.sws-canvas {
+ display:flex;
+ flex-direction:column;
box-sizing: border-box;
box-sizing: border-box;
- text-align: center;
- vertical-align:middle;
}
.sws-cover .sws-content {
}
.sws-cover .sws-content {
@@
-44,11
+44,12
@@
body {
}
.sws-header, .sws-title, .sws-inner-canvas, .sws-footer{
}
.sws-header, .sws-title, .sws-inner-canvas, .sws-footer{
- display:
inline-
block;
+ display:block;
margin:0;
padding:0;
width: 100%;
box-sizing: border-box;
margin:0;
padding:0;
width: 100%;
box-sizing: border-box;
+ overflow:hidden;
}
}
@@
-71,16
+72,16
@@
body > h1, body > h2, body > h3, body > a.sws-previous {
}
:root.sws-by-width body {
}
:root.sws-by-width body {
- font-size:
4
vh;
+ font-size:
3.5
vh;
}
:root.sws-by-height.sws-aspect-4-3 body {
}
:root.sws-by-height.sws-aspect-4-3 body {
- font-size:
3
vw;
+ font-size:
2.625
vw;
}
:root.sws-by-height.sws-aspect-16-9 body {
}
:root.sws-by-height.sws-aspect-16-9 body {
- font-size:
2.2
5vw;
+ font-size:
1.9687
5vw;
}
:root.sws-by-height.sws-aspect-16-10 body {
}
:root.sws-by-height.sws-aspect-16-10 body {
- font-size: 2.5vw;
+ font-size: 2.
187
5vw;
}
:root.sws-by-width.sws-aspect-4-3 .sws-canvas {
}
:root.sws-by-width.sws-aspect-4-3 .sws-canvas {
@@
-142,14
+143,14
@@
body > h1, body > h2, body > h3, body > a.sws-previous {
/* Print Mode */
/* ****************************************** */
/* Print Mode */
/* ****************************************** */
-
:root.sws-print body {
background: white;
width: 297mm;
:root.sws-print body {
background: white;
width: 297mm;
- padding: 0
pt 0pt 0pt 0pt
;
- margin: 0
pt 0pt 0pt 0pt
;
-
+ padding: 0;
+ margin: 0;
+ font-size: 21pt;
}
}
+
@media print {
@page {
@media print {
@page {
@@
-179,6
+180,10
@@
body > h1, body > h2, body > h3, body > a.sws-previous {
}
}
+
+
+
+
p { width: 100%; }
/* counters for the toc */
p { width: 100%; }
/* counters for the toc */