Skip to content

Instantly share code, notes, and snippets.

@jahe
Last active August 29, 2015 14:23
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 jahe/ffdb844e8d6b679fc4ab to your computer and use it in GitHub Desktop.
Save jahe/ffdb844e8d6b679fc4ab to your computer and use it in GitHub Desktop.
Celebrate Pride Bookmarklet
javascript:(function(){var a='.celebrate-pride{position: fixed;z-index: 0;width: 100%;height: 100vh;background:-moz-linear-gradient(top,#ff3e18 0,#ff3e18 16%,#fc9a00 16%,#fc9a00 33%,#ffd800 33%,#ffd800 49%,#39ea7c 49%,#39ea7c 66%,#39ea7c 66%,#0bb2ff 66%,#0bb2ff 83%,#985aff 83%,#985aff 100%)!important;background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#ff3e18),color-stop(16%,#ff3e18),color-stop(16%,#fc9a00),color-stop(33%,#fc9a00),color-stop(33%,#ffd800),color-stop(49%,#ffd800),color-stop(49%,#39ea7c),color-stop(66%,#39ea7c),color-stop(66%,#39ea7c),color-stop(66%,#0bb2ff),color-stop(83%,#0bb2ff),color-stop(83%,#985aff),color-stop(100%,#985aff))!important;background:-webkit-linear-gradient(top,#ff3e18 0,#ff3e18 16%,#fc9a00 16%,#fc9a00 33%,#ffd800 33%,#ffd800 49%,#39ea7c 49%,#39ea7c 66%,#39ea7c 66%,#0bb2ff 66%,#0bb2ff 83%,#985aff 83%,#985aff 100%)!important;background:-o-linear-gradient(top,#ff3e18 0,#ff3e18 16%,#fc9a00 16%,#fc9a00 33%,#ffd800 33%,#ffd800 49%,#39ea7c 49%,#39ea7c 66%,#39ea7c 66%,#0bb2ff 66%,#0bb2ff 83%,#985aff 83%,#985aff 100%)!important;background:-ms-linear-gradient(top,#ff3e18 0,#ff3e18 16%,#fc9a00 16%,#fc9a00 33%,#ffd800 33%,#ffd800 49%,#39ea7c 49%,#39ea7c 66%,#39ea7c 66%,#0bb2ff 66%,#0bb2ff 83%,#985aff 83%,#985aff 100%)!important;background:linear-gradient(to bottom,#ff3e18 0,#ff3e18 16%,#fc9a00 16%,#fc9a00 33%,#ffd800 33%,#ffd800 49%,#39ea7c 49%,#39ea7c 66%,#39ea7c 66%,#0bb2ff 66%,#0bb2ff 83%,#985aff 83%,#985aff 100%)!important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=\'#ff3e18\', endColorstr=\'#985aff\', GradientType=0)}';var b=document.head||document.getElementsByTagName('head')[0];var c=document.createElement('style');c.type='text/css';if(c.styleSheet){c.styleSheet.cssText=a}else{c.appendChild(document.createTextNode(a))}b.appendChild(c);var d=document.createElement('div');d.className='celebrate-pride';document.body.style.background='initial';document.body.style.position='relative';document.documentElement.insertBefore(d,document.body)})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment