reducing map width to 950px
This commit is contained in:
		
							parent
							
								
									0458c3d70d
								
							
						
					
					
						commit
						61b1d5d782
					
				| 
						 | 
					@ -12,8 +12,7 @@
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
			#content {
 | 
								#content {
 | 
				
			||||||
				position: relative;
 | 
									position: relative;
 | 
				
			||||||
				width: 980px;
 | 
									width: 950px;
 | 
				
			||||||
				margin: auto;
 | 
					 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
			#container {
 | 
								#container {
 | 
				
			||||||
				position: absolute;
 | 
									position: absolute;
 | 
				
			||||||
| 
						 | 
					@ -38,7 +37,7 @@
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
			#statistics {
 | 
								#statistics {
 | 
				
			||||||
				position: absolute;
 | 
									position: absolute;
 | 
				
			||||||
				top: 480px;
 | 
									top: 465px;
 | 
				
			||||||
				left: 5px;
 | 
									left: 5px;
 | 
				
			||||||
				font-size: 12px;
 | 
									font-size: 12px;
 | 
				
			||||||
				color: #000;
 | 
									color: #000;
 | 
				
			||||||
| 
						 | 
					@ -46,7 +45,7 @@
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
			#timer {
 | 
								#timer {
 | 
				
			||||||
				position: absolute;
 | 
									position: absolute;
 | 
				
			||||||
				top: 460px;
 | 
									top: 445px;
 | 
				
			||||||
				left: 5px;
 | 
									left: 5px;
 | 
				
			||||||
				font-size: 16px;
 | 
									font-size: 16px;
 | 
				
			||||||
				font-weight: bold;
 | 
									font-weight: bold;
 | 
				
			||||||
| 
						 | 
					@ -54,9 +53,9 @@
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
			#slider {
 | 
								#slider {
 | 
				
			||||||
				position: absolute;
 | 
									position: absolute;
 | 
				
			||||||
				width: 980px;
 | 
									width: 950px;
 | 
				
			||||||
				height: 50px;
 | 
									height: 50px;
 | 
				
			||||||
				top: 530px;
 | 
									top: 515px;
 | 
				
			||||||
				left: 0px;
 | 
									left: 0px;
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
			#play {
 | 
								#play {
 | 
				
			||||||
| 
						 | 
					@ -97,7 +96,7 @@
 | 
				
			||||||
				color: #000;
 | 
									color: #000;
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
			#sliderWrapper {
 | 
								#sliderWrapper {
 | 
				
			||||||
				width: 883px;
 | 
									width: 853px;
 | 
				
			||||||
				height: 50px;
 | 
									height: 50px;
 | 
				
			||||||
				border-radius: 10px;
 | 
									border-radius: 10px;
 | 
				
			||||||
				overflow: hidden;
 | 
									overflow: hidden;
 | 
				
			||||||
| 
						 | 
					@ -111,7 +110,6 @@
 | 
				
			||||||
				width: 6140px;
 | 
									width: 6140px;
 | 
				
			||||||
				height: 50px;
 | 
									height: 50px;
 | 
				
			||||||
				position: relative;
 | 
									position: relative;
 | 
				
			||||||
				left: -420px;
 | 
					 | 
				
			||||||
				top: 0px;
 | 
									top: 0px;
 | 
				
			||||||
				cursor: pointer;
 | 
									cursor: pointer;
 | 
				
			||||||
				background-image: url(slider.png);
 | 
									background-image: url(slider.png);
 | 
				
			||||||
| 
						 | 
					@ -159,8 +157,8 @@
 | 
				
			||||||
	<body>
 | 
						<body>
 | 
				
			||||||
		<div id="content">
 | 
							<div id="content">
 | 
				
			||||||
			<div id="container">
 | 
								<div id="container">
 | 
				
			||||||
				<img id="map" src="map.png" width="980" height="490">
 | 
									<img id="map" src="map.png" width="950" height="490">
 | 
				
			||||||
				<canvas id="canvas" width="980" height="490"></canvas>
 | 
									<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: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:506px;top: 20px;width:90px;height:50px" id="stage2"></div>
 | 
				
			||||||
				<div class="label" style="left:160px;top:342px" id="stage3"></div>
 | 
									<div class="label" style="left:160px;top:342px" id="stage3"></div>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,13 +1,13 @@
 | 
				
			||||||
var startTime = (24*1 +  9)*60;
 | 
					var startTime = (24*1 +  9)*60;
 | 
				
			||||||
var minTime =   (24*0 + 15)*60;
 | 
					var minTime =   (24*0 + 15)*60;
 | 
				
			||||||
var maxTime =   (24*3 + 22)*60;
 | 
					var maxTime =   (24*3 + 24)*60;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
var currentTime = startTime;
 | 
					var currentTime = startTime;
 | 
				
			||||||
var clients = [];
 | 
					var clients = [];
 | 
				
			||||||
var context;
 | 
					var context;
 | 
				
			||||||
var width = 980;
 | 
					var width = 950;
 | 
				
			||||||
var height = 490;
 | 
					var height = 475;
 | 
				
			||||||
var gridSize = 3;
 | 
					var gridSize = 3;
 | 
				
			||||||
var nearFieldRadius = 30;
 | 
					var nearFieldRadius = 30;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
										
											Binary file not shown.
										
									
								
							| 
		 Before Width: | Height: | Size: 50 KiB After Width: | Height: | Size: 62 KiB  | 
		Loading…
	
		Reference in New Issue