Majestic
The majestic layout adds minimal CSS
(majestic-csc.css) and Javascript
(majestic.js) sugar on top of the Jekyll generated
HTML to make it into a very basic slideshow. Minimalistic is majestic!
How to use
- use arrow keys to change slides.
- print slides in PDF format from browser (Chrome)
How majestic JS works
- onload, split content into slides (DIVs) before H1, H2, and H3 headings
- set the display style of the current slide to ‘block’, and ‘none’ for other
slides
- detect events
- window resize
- key press
- slide changes (arrow keys)
- that’s all!