hextris/index.html

61 lines
2.5 KiB
HTML
Raw Normal View History

<!DOCTYPE html>
<html lang='en'>
2014-05-24 00:22:53 +00:00
<head>
<title>Hextris</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0, minimal-ui"/>
<link rel="icon" type="image/png" href="favicon.ico">
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Roboto">
<link rel="stylesheet" type="text/css" href="style.css">
<style>
* {
padding: 0;
margin: 0;
}
2014-05-18 18:12:33 +00:00
2014-05-24 00:22:53 +00:00
body {
color: #ecf0f1;
font-family: 'Roboto', sans-serif;
background-color:#2c3e50;
}
2014-05-22 21:04:57 +00:00
2014-05-24 00:22:53 +00:00
#clickToExit {
cursor:pointer;
}
2014-05-17 22:47:37 +00:00
2014-05-24 00:22:53 +00:00
#canvas {
position: absolute;
left: calc(50% - 80vmin / 2);
height: 80vmin;
width: 80vmin;
background: -webkit-radial-gradient(#2980b9 35%, rgba(44,62,80,50) 68%);
z-index:3;
}
2014-05-23 20:13:23 +00:00
2014-05-24 00:22:53 +00:00
#title {
z-index:99999;
margin-top:20px;
}
</style>
</head>
<body>
<center id='title'><div>Hextris</div></center>
<canvas id="canvas" width="800" height="800"></canvas>
<div id="leftTap" style="position: absolute; left: 0; top: 20%; height:80%; width:50%;"></div>
<div id="rightTap" style="position: absolute; right: 0; top: 20%; height:80%; width:50%;"></div>
<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>
<script type = 'text/javascript' src="vendor/hammer.min.js"></script>
<script type = 'text/javascript' src="vendor/keypress.min.js"></script>
<script type = 'text/javascript' src="vendor/jquery.js"></script>
<script type = 'text/javascript' src="js/view.js"></script>
<script type = 'text/javascript' src="js/wavegen.js"></script>
<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>
<script type = 'text/javascript' src="js/analytics.js"></script>
</body>
</html>