forked from noops-challenge/mazebot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
105 lines (89 loc) · 1.33 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
body {
font-family: 'Roboto', sans-serif;
font-size: 18px;
}
h1, h2, h3, h4 {
font-family: 'Roboto Medium', sans-serif;
}
p {
margin: 20px auto;
max-width: 700px;
}
.mazebot-image {
max-width: 40vw;
max-height: 40vh;
margin: 20px;
}
button#start, button#next-maze {
font-family: 'Roboto', sans-serif;
font-size: 30px;
border-radius: 7px;
margin-top: 20px;
padding: 10px 20px;
}
#game {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
display: none;
}
#get-started, #results, #error {
display: none;
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
text-align: center;
}
.phase-starting #get-started{
display: block;
}
.phase-results #results {
display: block;
}
.phase-playing #game {
display: block;
}
.phase-error #error {
display: block;
}
#board, #overlay, #avatar-path {
position: absolute;
top: 0;
left: 0;
}
#board {
z-index: 1;
}
#avatar-path {
z-index: 1;
}
#overlay {
z-index: 3;
cursor: crosshair;
}
#status-bar {
padding: 5px 10px 10px;
z-index: 4;
display: fixed;
height: 30px;
bottom: 0;
width: 100%;
background:white;
display: flex;
border-top: 2px solid #222222;
}
#status-bar div {
flex: 1 1 33%;
}
.status-label {
text-align: center;
font-size: 8px;
color: #666666;
}
.status-value {
text-align: center;
}