-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
68 lines (64 loc) · 1.26 KB
/
index.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
*{
padding: 0;
margin: 0;
background-color: #ddd;
}
#containerBox{ /*Canvases(plural) container*/
margin: 0 auto;
width: 475px;
height: 300px;
}
#mainCanvas{ /*main game canvas*/
background: none;
vertical-align: bottom;
position: absolute;
z-index: 3;
}
#bgCanvas{ /*background scene canvas*/
background: #eee;
vertical-align: bottom;
position: absolute;
z-index: 2;
}
#keysAndInfoContainer{ /*key and instruction box */
margin: 0 auto;
width: 475px;
}
#controlBox{
background: #222;
padding: 50px;
}
#infoBox{
font-family:Georgia;
font-size: 15px;
background: #2ed936;
padding: 20px;
}
img{
display: none;
}
button{touch-action: manipulation;
width: 75px;
height: 50px;
user-select: none;
}
#userDialog{
width:300px;
font-family:monospace;
font-size:20px;
user-select:none;
position:fixed;
left:50%;top:50%;transform: translate(-50%, -50%);
z-index: 9999;
padding: 10px;
box-shadow: 0 .4rem .8rem -.1rem rgba(0, 32, 128, .1), 0 0 0 1px #f0f2f7;
border-radius: .5rem;
}
.stage {
margin: 0.7rem;
background: inherit;
display: flex;
justify-content: center;
/* box-shadow: 0 .4rem .8rem -.1rem rgba(0, 32, 128, .1), 0 0 0 1px #f0f2f7;
border-radius: .25rem;*/
}