uberpong/dev/index.html

134 lines
2.4 KiB
HTML
Executable file
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>UberPong proudly presented by Team ARG</title>
<link rel="shortcut icon" href="media/favicon.ico" type="image/x-icon" >
<style type="text/css">
body {
background: #070707 url(media/layout-background.jpg) no-repeat;
font-family: Arial;
font-size: 13px;
line-height: 13px;
}
#header {
width: 800px;
margin: 0 auto 0 auto;
}
#header img {
}
#canvas {
width: 624px;
height: 383px;
background: transparent;
display: block;
margin: -170px auto 0 auto;
}
#footer {
text-align: center;
color: #bebebe;
margin: 50px 0 0 0;
}
#footer div.acknowledgement {
}
#footer div.acknowledgement img {
vertical-align: text-bottom;
margin: 0 10px 0 10px;
display: inline-block;
}
#footer a.website {
display: inline-block;
margin: 30px 0 30px 0;
color: #0692d2;
text-decoration: none;
font-size: 15px;
}
body.tinyscreen {
background-position: 0 -275px;
}
body.tinyscreen #header {
position: absolute;
z-index: 1;
}
body.tinyscreen #header img {
width: 200px;
}
body.tinyscreen #canvas {
margin: 0;
position: absolute;
z-index: 2;
left: 50%;
margin-left: -312px;
}
body.tinyscreen #footer {
padding-top: 425px;
}
</style>
<script type="text/javascript" src="lib/vendors/jquery-1.9.1.js"></script>
<script type="text/javascript" src="lib/impact/impact.js"></script>
<script type="text/javascript" src="lib/game/main.js"></script>
<script type="text/javascript">
function jqUpdateSize()
{
var width = $(window).width();
var height = $(window).height();
if(width < 1000) {
$('body').addClass('tinyscreen');
} else {
$('body').removeClass('tinyscreen');
}
if(height < 700) {
$('body').addClass('tinyscreen');
} else {
$('body').removeClass('tinyscreen');
}
};
$(document).ready(jqUpdateSize);
$(window).resize(jqUpdateSize);
</script>
</head>
<body>
<div id="header">
<img src="media/layout-gamelogo.png">
</div>
<canvas id="canvas"></canvas>
<div id="footer">
<div class="acknowledgement">
<img src="media/logo-teamarg-s.png">
used
<img src="media/logo-impact-s.png">
for this awesome game.
</div>
<a class="website" href="http://team-arg.aaron-mueller.de"><strong>team-arg</strong>.aaron-mueller.de</a>
</div>
</body>
</html>