Skip to content

Commit 4d8035e

Browse files
committed
Allow footnote displayed
Code modified from upstream issue[1] [1]: hakimel/issues/180#issuecomment-217159099
1 parent eea63c4 commit 4d8035e

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

css/theme/template/theme.scss

+33
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,39 @@
3636
font-weight: inherit;
3737
}
3838

39+
/*********************************************
40+
* LAYOUT & FOOTNOTE
41+
*********************************************/
42+
43+
.reveal.center .slides section,
44+
.reveal.center .slides section > section {
45+
min-height: 100% !important;
46+
display: flex !important;
47+
flex-direction: column;
48+
justify-content: center;
49+
align-items: center;
50+
}
51+
52+
.reveal section > .footnote {
53+
position: absolute;
54+
bottom: 2em;
55+
left: 10%;
56+
right: 10%;
57+
font-size: 0.7em;
58+
text-align: left;
59+
}
60+
61+
html.print-pdf .reveal.center .slides section,
62+
html.print-pdf .reveal.center .slides section > section {
63+
min-height: 0 !important;
64+
}
65+
66+
html.print-pdf .reveal section > .footnote {
67+
position: relative;
68+
bottom: 0;
69+
width: 80%;
70+
}
71+
3972
/*********************************************
4073
* HEADERS
4174
*********************************************/

0 commit comments

Comments
 (0)