File tree Expand file tree Collapse file tree 2 files changed +49
-2
lines changed Expand file tree Collapse file tree 2 files changed +49
-2
lines changed Original file line number Diff line number Diff line change 9
9
<link rel =" stylesheet" type =" text/css" href =" ../css/common.css" >
10
10
<link rel =" stylesheet" type =" text/css" href =" ../css/<%= app %>.css" >
11
11
12
+ <% if (app === " minecraft" ) { % >
13
+ < style>
14
+ body {
15
+ margin: 0px ;
16
+ overflow: hidden;
17
+ - moz- user- select: none;
18
+ - webkit- user- select: none;
19
+ - ms- user- select: none;
20
+ }
21
+
22
+ #crosshair {
23
+ /* centered on div */
24
+ position: relative;
25
+ top: 50 % ;
26
+ left: 50 % ;
27
+ margin: - 16px 0 0 - 16px ;
28
+ width: 32px ;
29
+ height: 32px ;
30
+ }
31
+
32
+ #stats {
33
+ bottom: 0px ;
34
+ right: 0px ;
35
+ }
36
+
37
+ .logo {
38
+ position: absolute;
39
+ top: 5px ;
40
+ left: 5px ;
41
+ }
42
+
43
+ .errorMessage {
44
+ text- align: center;
45
+ width: 200px ;
46
+ margin: 20px auto;
47
+ }
48
+
49
+ #container {
50
+ width: 400px ;
51
+ height: 400px ;
52
+ }
53
+ < / style>
54
+ < script type= " text/javascript" src= " https://s3.amazonaws.com/cdo-dist/cdo-voxel/bundle.js" >< / script>
55
+ < % } %>
12
56
<% if ((app === " maze" && options .levelId .indexOf (' 3_' ) === 0 ) ||
13
57
(app === " webapp" && options .levelId .indexOf (' ec_' ) === 0 ) ||
14
58
(app === " studio" && options .levelId .indexOf (' ec_' ) === 0 ) ||
Original file line number Diff line number Diff line change 1
- <svg xmlns =" http://www.w3.org/2000/svg" version =" 1.1" id =" svgMinecraft" >
2
- </svg >
1
+ <div id =" container" width =" 500" height =" 500" >
2
+ <div id =" crosshair" ><img src =" https://s3.amazonaws.com/cdo-dist/cdo-voxel/crosshair4.png" ></div >
3
+ </div >
4
+ <svg xmlns =" http://www.w3.org/2000/svg" version =" 1.1" id =" svgMinecraft" ></svg >
5
+ <!-- TODO remove ^-->
You can’t perform that action at this time.
0 commit comments