lib/resources/backends/slim/revealjs/document.html.slim in hyla-1.0.3 vs lib/resources/backends/slim/revealjs/document.html.slim in hyla-1.0.4
- old
+ new
@@ -14,22 +14,28 @@
link href="revealjs/css/reveal.min.css" rel="stylesheet"
- if attr? :revealjs_theme
link rel='stylesheet' href='revealjs/css/theme/#{attr :revealjs_theme}.css' id='theme'
- else
- link rel='stylesheet' href='revealjs/css/theme/default.css' id='default_theme'
+ link rel='stylesheet' href='revealjs/css/theme/gpe.css' id='theme'
// For syntax highlighting
link href="revealjs/lib/css/zenburn.css" rel="stylesheet"
// If the query includes 'print-pdf', use the PDF print sheet
javascript:
document.write( '<link rel="stylesheet" href="css/print/' + ( window.location.search.match( /print-pdf/gi ) ? 'pdf' : 'paper' ) + '.css" type="text/css" media="print">' );
body
.reveal
+ - if attr? :header_image_path
+ .header
+ img src=image_uri(attr :header_image_path)
// Any section element inside of this container is displayed as a slide
.slides
=content
+ - if attr? :footer_copyright
+ .footer
+ =attr :footer_copyright
script src="revealjs/lib/js/head.min.js"
script src="revealjs/js/reveal.min.js"
javascript:
// Full list of configuration options available here:
// https://github.com/hakimel/reveal.js#configuration
@@ -58,18 +64,20 @@
// Enable slide navigation via mouse wheel
mouseWheel: false,
// Apply a 3D roll to links on hover
rollingLinks: true,
+ margin: 0.2,
+
// Transition speed
transitionSpeed: 'default', // default/fast/slow
// Transition style for full page backgrounds
backgroundTransition: 'default', // default/linear
theme: Reveal.getQueryHash().theme, // available themes are in /css/theme
// Transition style
- transition: Reveal.getQueryHash().transition || 'default', // default/cube/page/concave/zoom/linear/fade/none
+ transition: Reveal.getQueryHash().transition || 'none', // default/cube/page/concave/zoom/linear/fade/none
// Parallax scrolling
// parallaxBackgroundImage: 'https://s3.amazonaws.com/hakim-static/reveal-js/reveal-parallax-1.jpg',
// parallaxBackgroundSize: '2100px 900px',