aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2014-06-09 17:53:14 +0200
committerHakim El Hattab <hakim.elhattab@gmail.com>2014-06-09 17:53:14 +0200
commit645734832dd264bb257a90256748cdf6f12a759f (patch)
tree8a0e960a7641a2f263f3b805d9a5b123322786f4
parent9ff00a72ae0cbf96b3c12d515ccfb31dbbc2283f (diff)
downloadperl-software-in-gnu-guix-645734832dd264bb257a90256748cdf6f12a759f.tar
perl-software-in-gnu-guix-645734832dd264bb257a90256748cdf6f12a759f.tar.gz
adjust list of displayed key shortcuts #943
-rw-r--r--css/reveal.css6
-rw-r--r--js/reveal.js22
2 files changed, 15 insertions, 13 deletions
diff --git a/css/reveal.css b/css/reveal.css
index f8dbf9c..72f2480 100644
--- a/css/reveal.css
+++ b/css/reveal.css
@@ -1741,18 +1741,20 @@ body {
transform: scale(0.2);
}
+ .reveal .overlay.overlay-help .viewport {
+ overflow: auto;
+ }
.reveal .overlay.overlay-help .viewport .viewport-inner {
width: 600px;
- height: 100%;
margin: 0 auto;
+ padding: 60px;
text-align: center;
letter-spacing: normal;
}
.reveal .overlay.overlay-help .viewport .viewport-inner .title {
font-size: 20px;
- margin-top: 60px;
}
.reveal .overlay.overlay-help .viewport .viewport-inner table {
diff --git a/js/reveal.js b/js/reveal.js
index f32ee1f..3f56435 100644
--- a/js/reveal.js
+++ b/js/reveal.js
@@ -200,16 +200,17 @@
// Holds information about the keyboard shortcuts
keyboardShortcuts = {
- 'P': 'Previous slide',
- 'N': 'Next slide',
- 'H': 'Navigate left',
- 'L': 'Navigate right',
- 'K': 'Navigate up',
- 'J': 'Navigate down',
- 'Home': 'First slide',
- 'End': 'Last slide',
- 'b': 'Pause',
- 'f': 'Fullscreen'
+ 'N , SPACE': 'Next slide',
+ 'P': 'Previous slide',
+ '&#8592; , H': 'Navigate left',
+ '&#8594; , L': 'Navigate right',
+ '&#8593; , K': 'Navigate up',
+ '&#8595; , J': 'Navigate down',
+ 'Home': 'First slide',
+ 'End': 'Last slide',
+ 'B , .': 'Pause',
+ 'F': 'Fullscreen',
+ 'ESC, O': 'Slide overview'
};
/**
@@ -1319,7 +1320,6 @@
function closeOverlay() {
if( dom.overlay ) {
- dom.overlay.setAttribute( 'src', '' );
dom.overlay.parentNode.removeChild( dom.overlay );
dom.overlay = null;
}