Skip to content

Instantly share code, notes, and snippets.

@lunelson
Forked from metaskills/info.md
Last active August 29, 2015 14:07
Show Gist options
  • Save lunelson/87ab024aa9a9d8dbea6f to your computer and use it in GitHub Desktop.
Save lunelson/87ab024aa9a9d8dbea6f to your computer and use it in GitHub Desktop.
Bookmarklets for Sassmeister "Presenter Mode"

Presenter Mode

This bookmarklet will put Sassmeister into presenter mode. I used it for screenshots for my talk.

javascript:(function(){var%20h,m,f;h=$('.site_header'),m=$('.main_body'),f=$('footer');if(h.is(':visible')){h.hide();m.css({top:0,bottom:0});f.hide();}else{h.show();m.css({top:'3.33333em',bottom:'1.77778em'});f.show()}}());

presenter-mode

Presenter Mode Zoomed

If you zoom in a bit and get the single column layout, you can use this bookmarklet to remove all other Sassmeister chrome.

javascript:(function(){var%20h,c;h=$('.editor-header'),c=$('.single-column%20#casement');if(h.is(':visible')){h.hide();c.css({top:'0'});}else{h.show();c.css({top:'1.5em'});}}());

zoomed

zoomed-bare

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment