Skip to content

Instantly share code, notes, and snippets.

@ialexryan
Last active August 29, 2015 14:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ialexryan/bf025703e11ee18c3dd1 to your computer and use it in GitHub Desktop.
Save ialexryan/bf025703e11ee18c3dd1 to your computer and use it in GitHub Desktop.
document.body.style.background="#ECECEC";
var css = "body{border-top-width: 0px !important;} #header{border-top-width: 0px !important;} #add_from_computer,#add_from_gdrive,#add_from_box{display: none;} #google_auth_row{display: none;} #google_auth_separator{display:none;} /*#logo{padding-left: 64px;}*/ ";
cssSetup = function() {
head = document.head || document.getElementsByTagName( 'head' )[ 0 ];
style = document.createElement( 'style' );
style.type = 'text/css';
if ( style.styleSheet ) {
style.styleSheet.cssText = css;
} else {
style.appendChild( document.createTextNode( css ) );
}
head.appendChild( style );
};
function init() {
cssSetup();
}
init();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment