Organize project slightly, clean html
This commit is contained in:
parent
257eebfdc7
commit
4f3c746212
9 changed files with 35 additions and 31 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -1 +1,2 @@
|
|||
.DS_Store
|
||||
.DS_Store
|
||||
.idea/*
|
||||
|
|
63
index.html
63
index.html
|
@ -1,39 +1,42 @@
|
|||
<!-- HackExeter -->
|
||||
<meta name="viewport" content="initial-scale = 1.0,maximum-scale = 1.0" />
|
||||
<!DOCTYPE html>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0, minimal-ui"/>
|
||||
<html>
|
||||
<head>
|
||||
<title>Wasted Time</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;
|
||||
font-size: 24px;
|
||||
}
|
||||
</style>
|
||||
<title>Wasted Time</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;
|
||||
font-size: 24px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<script src="vendor/hammer.min.js"></script>
|
||||
<script src="vendor/keypress.min.js"></script>
|
||||
</head>
|
||||
<body style="background-color:#2c3e50">
|
||||
|
||||
<div style='margin: 0 auto; width: 100%;text-align: center; margin-top: 20px;'><h1 style='color:#ecf0f1; font-size:50px;'>Hextris</h1>
|
||||
<span id="score">0 (x1)</span>
|
||||
</div>
|
||||
<canvas id="canvas" width = '700' height = '700' style='background-color:#2c3e50; position:absolute;left:50%;margin-left:-350px'></canvas>
|
||||
<div id="leftTap" style="position:absolute; left:0; top:0; height:400%;width:50%"></div>
|
||||
<div id="rightTap" style="position:absolute; left:50%; top:0; height:400%;width:50%"></div>
|
||||
<div style="margin: 20px auto 0 auto; width: 100%; text-align: center;">
|
||||
<h1 style="color:#ecf0f1; font-size:50px;">Hextris</h1>
|
||||
<span id="score">0 (x1)</span>
|
||||
</div>
|
||||
|
||||
<canvas id="canvas" width="700px" height="700px" style="background-color:#2c3e50; position:absolute; left:50%; margin-left:-350px;"></canvas>
|
||||
|
||||
<div id="leftTap" style="position:absolute; left:0; top:0; height:100%; width:50%;"></div>
|
||||
<div id="rightTap" style="position:absolute; left:50%; top:0; height:100%; width:50%;"></div>
|
||||
|
||||
<script src="js/math.js"></script>
|
||||
<script src="js/entities.js"></script>
|
||||
<script src="js/input.js"></script>
|
||||
<script src="js/checking.js"></script>
|
||||
<script src="js/main.js"></script>
|
||||
|
||||
|
||||
<script src="math.js"></script>
|
||||
<script src="entities.js"></script>
|
||||
<script src="math.js"></script>
|
||||
<script src="hammer.min.js"></script>
|
||||
<script src="keypress.min.js"></script>
|
||||
<script src="input.js"></script>
|
||||
<script src="checking.js"></script>
|
||||
<script src="main.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
0
hammer.min.js → vendor/hammer.min.js
vendored
0
hammer.min.js → vendor/hammer.min.js
vendored
0
keypress.min.js → vendor/keypress.min.js
vendored
0
keypress.min.js → vendor/keypress.min.js
vendored
Loading…
Reference in a new issue