39 lines
1.7 KiB
HTML
39 lines
1.7 KiB
HTML
<!-- HackExeter -->
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0, minimal-ui"/>
|
|
<html>
|
|
<head>
|
|
<title>Hextris</title>
|
|
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Roboto">
|
|
<style>
|
|
* {
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
body {
|
|
color: white;
|
|
font-family: 'Roboto', sans-serif;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body style="background-color:#2c3e50">
|
|
|
|
<div style="margin: 1vmin auto 0 auto; width: 100%; text-align: center;">
|
|
<h1 style="color: #ecf0f1; font-size: 10vmin;">Hextris</h1>
|
|
</div>
|
|
|
|
<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>
|
|
|
|
<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>
|
|
|
|
<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="js/view.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>
|
|
</body>
|
|
</html>
|