hextris/index.html

50 lines
2.3 KiB
HTML
Raw Normal View History

2014-05-17 23:26:31 +00:00
<!-- HackExeter -->
2014-05-18 18:12:33 +00:00
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0, minimal-ui"/>
2014-05-17 14:15:59 +00:00
<html>
2014-05-19 19:50:10 +00:00
<head>
2014-05-22 21:30:09 +00:00
<link rel="icon" type="image/png" href="favicon.ico">
2014-05-19 20:22:30 +00:00
<title>Hextris</title>
2014-05-19 19:50:10 +00:00
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Roboto">
<style>
* {
padding: 0;
margin: 0;
}
2014-05-18 18:12:33 +00:00
2014-05-19 19:50:10 +00:00
body {
color: white;
font-family: 'Roboto', sans-serif;
}
2014-05-22 21:04:57 +00:00
#clickToExit {
cursor:pointer;
}
2014-05-19 19:50:10 +00:00
</style>
</head>
<body style="background-color:#2c3e50">
2014-05-17 22:47:37 +00:00
2014-05-19 19:50:10 +00:00
<div style="margin: 1vmin auto 0 auto; width: 100%; text-align: center;">
<h1 style="color: #ecf0f1; font-size: 10vmin;">Hextris</h1>
</div>
2014-05-18 18:12:33 +00:00
2014-05-21 21:18:18 +00:00
<canvas id="canvas" width="800" height="800" style="position: absolute; left: calc(50% - 80vmin / 2); height: 80vmin; width: 80vmin; background: -webkit-radial-gradient(#2980b9 35%,rgba(44,62,80,50) 68%);"></canvas>
2014-05-18 18:12:33 +00:00
2014-05-19 19:50:10 +00:00
<div id="leftTap" style="position: absolute; left: 0; top: 0; height: 100%; width: 50%;"></div>
<div id="rightTap" style="position: absolute; right: 0; top: 0; height :100%; width: 50%;"></div>
2014-05-22 21:04:57 +00:00
<div id='devtools' style='z-index:3;display:none;position:absolute;left:50%;width:400px;height:400px;top:50%;margin-top:-200px;margin-left:-200px;'>
<h2 id = 'clickToExit' style = 'background-color:#fff;color:#000'>Click to exit</h2>
<textarea id ='devtoolsText' style = 'height:300px;width:400px;'></textarea>
</div>
2014-05-20 02:46:35 +00:00
<script type = 'text/javascript' src="vendor/hammer.min.js"></script>
<script type = 'text/javascript' src="vendor/keypress.min.js"></script>
2014-05-22 21:04:57 +00:00
<script type = 'text/javascript' src="vendor/jquery.js"></script>
<script type = 'text/javascript' src="js/view.js"></script>
2014-05-22 19:29:35 +00:00
<script type = 'text/javascript' src="js/wavegen.js"></script>
2014-05-20 02:46:35 +00:00
<script type = 'text/javascript' src="js/math.js"></script>
<script type = 'text/javascript' src="js/entities.js"></script>
<script type = 'text/javascript' src="js/input.js"></script>
<script type = 'text/javascript' src="js/checking.js"></script>
<script type = 'text/javascript' src="js/main.js"></script>
2014-05-19 19:50:10 +00:00
</body>
2014-05-17 16:45:22 +00:00
</html>