reducing map width to 950px

This commit is contained in:
Micho 2013-05-23 16:43:15 +02:00
parent 0458c3d70d
commit 61b1d5d782
3 changed files with 11 additions and 13 deletions

View File

@ -12,8 +12,7 @@
}
#content {
position: relative;
width: 980px;
margin: auto;
width: 950px;
}
#container {
position: absolute;
@ -38,7 +37,7 @@
}
#statistics {
position: absolute;
top: 480px;
top: 465px;
left: 5px;
font-size: 12px;
color: #000;
@ -46,7 +45,7 @@
}
#timer {
position: absolute;
top: 460px;
top: 445px;
left: 5px;
font-size: 16px;
font-weight: bold;
@ -54,9 +53,9 @@
}
#slider {
position: absolute;
width: 980px;
width: 950px;
height: 50px;
top: 530px;
top: 515px;
left: 0px;
}
#play {
@ -97,7 +96,7 @@
color: #000;
}
#sliderWrapper {
width: 883px;
width: 853px;
height: 50px;
border-radius: 10px;
overflow: hidden;
@ -111,7 +110,6 @@
width: 6140px;
height: 50px;
position: relative;
left: -420px;
top: 0px;
cursor: pointer;
background-image: url(slider.png);
@ -159,8 +157,8 @@
<body>
<div id="content">
<div id="container">
<img id="map" src="map.png" width="980" height="490">
<canvas id="canvas" width="980" height="490"></canvas>
<img id="map" src="map.png" width="950" height="490">
<canvas id="canvas" width="950" height="490"></canvas>
<div class="label" style="left:110px;top:225px;width:160px" id="stage1"></div>
<div class="label" style="left:506px;top: 20px;width:90px;height:50px" id="stage2"></div>
<div class="label" style="left:160px;top:342px" id="stage3"></div>

View File

@ -1,13 +1,13 @@
var startTime = (24*1 + 9)*60;
var minTime = (24*0 + 15)*60;
var maxTime = (24*3 + 22)*60;
var maxTime = (24*3 + 24)*60;
var currentTime = startTime;
var clients = [];
var context;
var width = 980;
var height = 490;
var width = 950;
var height = 475;
var gridSize = 3;
var nearFieldRadius = 30;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

After

Width:  |  Height:  |  Size: 62 KiB