/
style.css
109 lines (93 loc) · 1.53 KB
/
style.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
106
107
108
109
#board {
display: grid;
grid-template-columns: auto auto auto auto auto ;
background-color: #93b775;
}
.square {
background-color: #93b775;
border: 1px solid #ffffff;
position: relative;
}
.square:hover {
background-color: #7ba050;
}
.worker {
border-radius: 50%;
width: 50%;
height: 50%;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
}
.human {
background: #666699;
}
.ai {
background: #800033;
}
.selected{
border: 1px solid yellow;
}
.level1 {
width: 90%;
height: 90%;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
background-color: #ffffff;
/* border: 10px solid #ffffff; */
}
.level2 {
border-radius: 10%;
width: 80%;
height: 80%;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
background-color: #d9d9d9;
/* border: 10px solid #ffffff; */
}
.level3 {
border-radius: 10%;
width: 70%;
height: 70%;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
background-color: #ffffff;
/* border: 10px solid #ffffff; */
}
.level4 {
border-radius: 50%;
width: 60%;
height: 60%;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
background-color: blue;
/* border: 10px solid #ffffff; */
}
#header {
font-size: 1.5em;
}
#instructions {
opacity: 0;
}
#button {
cursor: pointer;
}
img{
width: 30%;
}
body {
/* background-color: #ccebff; */
font-family: "Comic Sans MS", cursive, sans-serif ;
}
#bar {
margin: 1%
}