TIC-80-guile/build/html/index.html

36 lines
1.5 KiB
HTML
Raw Permalink Normal View History

2017-09-26 08:59:34 +02:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>TIC-80 tiny computer</title>
<style type="text/css">
.modal{display:none;position:fixed;z-index:1;padding-top:100px;left:0;top:0;width:100%;height:100%;overflow:auto;background-color:#000;background-color:rgba(0,0,0,.4)}.modal-content{position:relative;background-color:#fefefe;margin:auto;padding:2px 16px;border:1px solid #888;width:500px;box-shadow:0 4px 8px 0 rgba(0,0,0,.2),0 6px 20px 0 rgba(0,0,0,.19);-webkit-animation-name:animatetop;-webkit-animation-duration:.4s;animation-name:animatetop;animation-duration:.4s}@keyframes animatetop{from{top:-300px;opacity:0}to{top:0;opacity:1}}.close{color:#000;float:right;font-size:28px;font-weight:700}.close:focus,.close:hover{color:#000;text-decoration:none;cursor:pointer}
</style>
</head>
<body style="margin:0; padding:0;">
<div>
<canvas style="margin: 0 auto; display: block;" id="canvas" oncontextmenu="event.preventDefault()" onmousedown="window.focus()"></canvas>
</div>
<div id="add-modal" class="modal">
<div class="modal-content">
<span class="close">&times</span>
<p>Select a file to add to the computer</p>
<p><input type="file" id="upload-input"></input></p>
</div>
</div>
<script type="text/javascript">
var Module = {canvas: document.getElementById('canvas')};
</script>
<script async type="text/javascript" src="tic.js"></script>
</body>
</html>