Skip to content

Instantly share code, notes, and snippets.

@ParkinT
Last active August 29, 2015 14:14
Show Gist options
  • Save ParkinT/49b6463d09ae353296a8 to your computer and use it in GitHub Desktop.
Save ParkinT/49b6463d09ae353296a8 to your computer and use it in GitHub Desktop.
After viewing the 'http://beesandbombs.com/roulette' site everyday, there were many images I *really* liked. I have collected those who lend themselves best to begin tiled and applied them here to be displayed - randomly - with each page load.
<!DOCTYPE html>
<html>
<head>
<title>The Best of Bees & Bombs</title>
<meta charset="UTF-8">
<script>
var imgs = new Array(
'http://33.media.tumblr.com/f734dcf8b6dbbe32f117b911cacec79d/tumblr_n1ko92ODOd1r2geqjo1_500.gif'
,'http://33.media.tumblr.com/a2bf33f31a8373a4607058af1162848f/tumblr_neh3v3ShSV1r2geqjo1_500.gif'
,'http://33.media.tumblr.com/363fded6d6148383b21218d0e8e415b8/tumblr_mpvsyv0cK81r2geqjo1_500.gif'
,'http://38.media.tumblr.com/e37411ececd502a58222f2c5d1cdc5f5/tumblr_n3z2a9DIBU1r2geqjo1_500.gif'
,'http://31.media.tumblr.com/619ff6181f9f81957b124d6558208a29/tumblr_n3d375EvBK1r2geqjo1_500.gif'
,'http://38.media.tumblr.com/ccacb45ebc1b0a7693d0d165b146b3e9/tumblr_mx36aiIW901r2geqjo1_500.gif'
,'http://38.media.tumblr.com/4c92d40123f286f8c32f8f865d1b1330/tumblr_ndrki5bm5N1r2geqjo1_500.gif'
,'http://38.media.tumblr.com/662723bd84307246df66ec629d7d1498/tumblr_ncmjetKuT01r2geqjo1_500.gif'
,'http://33.media.tumblr.com/13c4d1f0f0b0e99196a7b8b41fb41cb9/tumblr_mqejpucZr91r2geqjo1_500.gif'
,'http://33.media.tumblr.com/e9127e12d6ceae9010fa22d58874089a/tumblr_n4ggtkPuYI1r2geqjo1_500.gif'
,'http://38.media.tumblr.com/d15973d2fcb61739f63c67b64bbcef7c/tumblr_n43kn7Uoi11r2geqjo1_500.gif'
,'http://33.media.tumblr.com/e8e29545da00f16a0a5c0f79ab8f4fc3/tumblr_n7or39x84u1r2geqjo1_500.gif'
,'http://38.media.tumblr.com/c33ed364f43b68eb3bf1c3a966b3b098/tumblr_mygrvixLST1r2geqjo1_500.gif'
,'http://38.media.tumblr.com/25cefc9d9b9eaa18f80d08b6e76d66f2/tumblr_mz0bobTy9L1r2geqjo1_500.gif'
,'http://38.media.tumblr.com/edcddaa3def5fd4149a10de6c256fcf8/tumblr_n7u41x4Nr51r2geqjo1_500.gif'
,'http://38.media.tumblr.com/4971d9716ea3734c6a5de0053ea9831b/tumblr_n8kh60hNj91r2geqjo1_500.gif'
,'http://33.media.tumblr.com/284b71f0da4b53d37ef2abd6bb405085/tumblr_n58aoqFxlp1r2geqjo1_500.gif'
,'http://38.media.tumblr.com/93691a57a962bd0dbe9a2daca0c72788/tumblr_n9orwyTSaG1r2geqjo1_500.gif'
);
var sheet = (function() {
var style = document.createElement("style");
// WebKit hack :(
style.appendChild(document.createTextNode(""));
document.head.appendChild(style);
return style.sheet;
})();
sheet.insertRule("body { background-image: url('" + imgs[Math.floor(Math.random()*imgs.length)] + "'); }", 0);
var today = (new Date()).toUTCString();
</script>
</head>
<body>
<a style="text-decoration:none;color:inherit;" href="http://beesandbombs.com/roulette"><h1 style="background-color: white; width: 50%; margin-left: 25%; text-align: center;">Tiled Bees &amp;
Bombs</h1></a>
<!--
After viewing the 'http://beesandbombs.com/roulette' site everyday, there were many images I *really* liked. I have collected those who lend themselves best to begin tiled and applied them here to be displayed - randomly - with each page load.
-->
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment