Last active
August 29, 2015 14:09
-
-
Save southrop/c409f733c9790b6682b7 to your computer and use it in GitHub Desktop.
Override style for shiropro
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var s = document.createElement('style'); | |
s.innerHTML = 'body{margin:0!important;overflow:hidden!important}#game_frame{position:fixed!important;left:50%!important;top:0px!important;margin-left:-400px!important;z-index:1!important}'; | |
document.head.appendChild(s); | |
// Minified to be run in browser console: | |
var s = document.createElement('style');s.innerHTML = 'body{margin:0!important;overflow:hidden!important}#game_frame{position:fixed!important;left:50%!important;top:0px!important;margin-left:-400px!important;z-index:1!important}';document.head.appendChild(s); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
margin: 0 !important; | |
overflow: hidden !important; | |
} | |
#game_frame { | |
position: fixed !important; | |
left: 50% !important; | |
top: 0px !important; | |
margin-left: -400px !important; | |
z-index: 1 !important; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment