Skip to content

Instantly share code, notes, and snippets.

@frantic1048
Last active November 12, 2015 07:15
Show Gist options
  • Save frantic1048/0e7d13cf731768abd6a7 to your computer and use it in GitHub Desktop.
Save frantic1048/0e7d13cf731768abd6a7 to your computer and use it in GitHub Desktop.
StackEdit.io with background image
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document domain("stackedit.io") {
/* set page background image
* adjust these rules to your flavor :)
*/
body{
background-color:white;
background-image:url('<path to your background image>');
background-repeat: no-repeat;
background-size:40%;
background-position:right top;
}
/* set semi-transparent editor background */
#wmd-input,
.preview-panel{
background:rgba(255,255,255,0.5);
}
.navbar-default{
background-color: rgba(74, 74, 74, 0.8);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment