Mercurial > web
changeset 7:e22a954c2714
i fucked up
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Sun, 30 May 2021 18:10:36 -0400 |
parents | ac2f9715807c (diff) 4c9eb226fb44 (current diff) |
children | 84f89ee82594 |
files | index.html tomoko.html |
diffstat | 5 files changed, 88 insertions(+), 58 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/cool.html Sun May 30 18:10:36 2021 -0400 @@ -0,0 +1,31 @@ +<!DOCTYPE html> +<head> + <style> + body { + text-align: center; + background-image: url("capsule.jpg"); + background-size: 100% auto; + background-position: top center; + background-repeat: repeat; + image-rendering: pixelated; + text-shadow: -1px -1px 0px #000000, 1px 1px 0px #000000, -1px 1px 0px #000000, 1px -1px 0px #000000; + } + p { + font-size: 20px; + color: white; + } + h1 { + font-size: 40px; + color: white; + } + a { + text-decoration: none; + color: tomato; + } + </style> +</head> +<body> + <h1>cool shit</h1> + <p><a href="tomoko.html">it is a mystery</a></p> + <p>more cool shit to come</p> +</body>
--- a/index.html Sun May 30 15:55:16 2021 -0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,58 +0,0 @@ -<!DOCTYPE html> -<head> - <style> - body{ - margin:0; - background-image: url("tomoko.gif"); - background-position: center top; - background-size: 100% auto; - text-align: center; - } - </style> - <script> - window['libopenmpt'] = {}; - libopenmpt.locateFile = function (filename) { - return filename; - }; - libopenmpt.onRuntimeInitialized = function () { - if (document.referrer) { - init(); - path = "https://api.modarchive.org/downloads.php?moduleid=37049#christms.xm"; - if (player != undefined) { - player.load(path, afterLoad.bind(this, path)); - } - document.getElementById('button').style.visibility = "hidden"; - } - else { - document.getElementById('button').style.visibility = "visible"; - } - var player; - function init() { - if (player == undefined) { - player = new ChiptuneJsPlayer(new ChiptuneJsConfig(-1)); - } - else { - player.stop(); - player = undefined; - } - }; - function afterLoad(path, buffer) { - player.play(buffer); - }; - document.getElementById('button').onclick = function() { - init(); - path = "https://api.modarchive.org/downloads.php?moduleid=37049#christms.xm"; - if (player != undefined) { - player.load(path, afterLoad.bind(this, path)); - } - document.getElementById('button').style.visibility = "hidden"; - }; - } - </script> - <script src="libopenmpt.js"></script> - <script src="chiptune2.js"></script> -</head> -<body id="body"> - <br> - <input id="button" type="submit" name="button" value="epicness" style="visibility:hidden;"></input> -</body>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tomoko.html Sun May 30 18:10:36 2021 -0400 @@ -0,0 +1,57 @@ +<!DOCTYPE html> +<head> + <style> + body{ + margin:0; + background-image: url("tomoko.gif"); + background-position: center top; + background-size: 100% auto; + text-align: center; + } + </style> + <script> + window['libopenmpt'] = {}; + libopenmpt.locateFile = function (filename) { + return filename; + }; + libopenmpt.onRuntimeInitialized = function () { + if (document.referrer) { + init(); + path = "https://api.modarchive.org/downloads.php?moduleid=37049#christms.xm"; + if (player != undefined) { + player.load(path, afterLoad.bind(this, path)); + } + } + else { + document.getElementById('button').style.visibility = "visible"; + } + var player; + function init() { + if (player == undefined) { + player = new ChiptuneJsPlayer(new ChiptuneJsConfig(-1)); + } + else { + player.stop(); + player = undefined; + } + }; + function afterLoad(path, buffer) { + player.play(buffer); + }; + document.getElementById('button').onclick = function() { + init(); + path = "https://api.modarchive.org/downloads.php?moduleid=37049#christms.xm"; + if (player != undefined) { + player.load(path, afterLoad.bind(this, path)); + } + document.getElementById('button').style.visibility = "hidden"; + }; + } + </script> + <script src="libopenmpt.js"></script> + <script src="chiptune2.js"></script> +</head> +<body id="body"> + <br> + <input id="button" type="submit" name="button" value="epicness" style="visibility: hidden;"> +</body> \ No newline at end of file