Files
minesweeper.js/index.html
2018-05-11 13:24:31 +02:00

63 lines
1.5 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Minesweeper.js</title>
<!--<link rel="shortcut icon" type="image/x-icon" href="icons/icon.ico">-->
<!--<link rel="icon" type="image/png" href="icons/icon.png" sizes="32x32">-->
<style>
html {
overflow: hidden;
}
#minesweeper-overlay, #minesweeper-overlay2 {
position: absolute;
top: 0;
left: 0;
}
#game-container {
position: absolute;
bottom: 2.5%;
left: 50%;
transform: translateX(-50%);
}
#game-stats {
position: absolute;
top: calc(2.5vh / 2);
left: 50%;
height: 5vh;
width: 1592px;
transform: translateX(-50%);
}
.stat-container {
float: left;
background-color: black;
border-radius: 10px;
color: red;
font-size: 4vh;
font-family: "SF Digital Readout", Roboto, Arial, sans-serif;
margin: 0 10px;
}
.stat-container.right {
float: right;
}
#time, #bombs {
margin: 0 15px;
}
</style>
</head>
<body style="margin: 0">
<script type="text/javascript" src="animations/click.js"></script>
<script type="text/javascript" src="animations/victory.js"></script>
<script type="text/javascript" src="game.js"></script>
<script type="text/javascript" src="minesweeper.js"></script>
</body>
</html>