-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle1.css
More file actions
59 lines (51 loc) · 1.05 KB
/
Copy pathstyle1.css
File metadata and controls
59 lines (51 loc) · 1.05 KB
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
body {
font-family: Arial, sans-serif;
text-align: center;
background-color: #f0f0f0;
}
.game-container {
margin: 20px auto;
max-width: 600px;
}
h1 {
font-size: 2em;
margin-bottom: 20px;
}
.controls {
margin-bottom: 20px;
}
button {
padding: 10px 20px;
margin: 5px;
font-size: 1em;
}
.towers {
display: flex;
justify-content: space-around;
align-items: flex-end;
height: 300px;
background-color: #fff;
border: 2px solid #ccc;
border-radius: 10px;
}
.tower {
width: 30%;
border: 2px solid #000;
height: 100%;
display: flex;
flex-direction: column-reverse;
align-items: center;
}
.disk {
width: 60px;
height: 20px;
margin: 5px 0;
background-color: #2196F3;
border-radius: 5px;
transition: all 0.3s;
}
.disk[data-size="1"] { width: 20%; }
.disk[data-size="2"] { width: 40%; }
.disk[data-size="3"] { width: 60%; }
.disk[data-size="4"] { width: 80%; }
.disk[data-size="5"] { width: 100%; }